From 88730d014fd86b3cda192fa5a0cb6ebb269040dd Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Wed, 16 Feb 2022 13:23:50 -0800 Subject: [PATCH 01/16] features --- crates/libs/metadata/src/features.rs | 32 ++++++++++ crates/libs/metadata/src/lib.rs | 2 + crates/libs/metadata/src/signature.rs | 5 ++ crates/libs/metadata/src/tables/field.rs | 4 ++ crates/libs/metadata/src/tables/method_def.rs | 4 ++ crates/libs/metadata/src/tables/type_def.rs | 30 +++++++++ crates/libs/metadata/src/type.rs | 62 ++++++++++++++++++- crates/libs/metadata/src/type_name.rs | 1 + 8 files changed, 139 insertions(+), 1 deletion(-) create mode 100644 crates/libs/metadata/src/features.rs diff --git a/crates/libs/metadata/src/features.rs b/crates/libs/metadata/src/features.rs new file mode 100644 index 0000000000..a06bd797ad --- /dev/null +++ b/crates/libs/metadata/src/features.rs @@ -0,0 +1,32 @@ +use super::*; +use std::collections::*; + +pub struct Features(BTreeMap<&'static str, BTreeSet>); + +impl Features { + pub fn get(&self) -> Vec<&'static str> { + let mut compact = Vec::<&'static str>::new(); + for feature in self.0.keys() { + for pos in 0..compact.len() { + if feature.starts_with(unsafe { compact.get_unchecked(pos) }) { + compact.remove(pos); + break; + } + } + compact.push(feature); + } + compact + } + + pub(crate) fn new() -> Self { + Self(BTreeMap::new()) + } + + pub(crate) fn add_type(&mut self, def: &TypeDef) -> bool { + self.0.entry(def.namespace()).or_default().insert(def.row.clone()) + } + + pub(crate) fn add_feature(&mut self, feature: &'static str) { + self.0.entry(feature).or_default(); + } +} diff --git a/crates/libs/metadata/src/lib.rs b/crates/libs/metadata/src/lib.rs index cfa75ab605..3a9639b156 100644 --- a/crates/libs/metadata/src/lib.rs +++ b/crates/libs/metadata/src/lib.rs @@ -2,6 +2,7 @@ mod async_kind; mod blob; mod codes; mod constant_value; +mod features; mod file; mod guid; mod interface_kind; @@ -22,6 +23,7 @@ pub use async_kind::*; pub use blob::*; pub use codes::*; pub use constant_value::*; +pub use features::*; pub use file::*; pub use guid::*; pub use interface_kind::*; diff --git a/crates/libs/metadata/src/signature.rs b/crates/libs/metadata/src/signature.rs index b1829efa5f..129da59c2c 100644 --- a/crates/libs/metadata/src/signature.rs +++ b/crates/libs/metadata/src/signature.rs @@ -62,6 +62,11 @@ impl Signature { pub fn size(&self) -> usize { self.params.iter().fold(0, |sum, param| sum + param.ty.size()) } + + pub(crate) fn combine_features(&self, features: &mut Features) { + self.return_type.iter().for_each(|def| def.combine_features(features)); + self.params.iter().for_each(|def| def.ty.combine_features(features)); + } } impl MethodParam { diff --git a/crates/libs/metadata/src/tables/field.rs b/crates/libs/metadata/src/tables/field.rs index d32dcf7fd9..79c119c66a 100644 --- a/crates/libs/metadata/src/tables/field.rs +++ b/crates/libs/metadata/src/tables/field.rs @@ -50,6 +50,10 @@ impl Field { fn has_attribute(&self, name: &str) -> bool { self.attributes().any(|attribute| attribute.name() == name) } + + pub(crate) fn combine_features(&self, enclosing: Option<&TypeDef>, features: &mut Features) { + self.get_type(enclosing).combine_features(features); + } } #[cfg(test)] diff --git a/crates/libs/metadata/src/tables/method_def.rs b/crates/libs/metadata/src/tables/method_def.rs index 8bee4e1d10..199f9d9eee 100644 --- a/crates/libs/metadata/src/tables/method_def.rs +++ b/crates/libs/metadata/src/tables/method_def.rs @@ -119,4 +119,8 @@ impl MethodDef { Signature { params, return_type, return_param, preserve_sig } } + + pub(crate) fn combine_features(&self, features: &mut Features) { + self.signature(&[]).combine_features(features); + } } diff --git a/crates/libs/metadata/src/tables/type_def.rs b/crates/libs/metadata/src/tables/type_def.rs index 4112e91e73..fca9f56325 100644 --- a/crates/libs/metadata/src/tables/type_def.rs +++ b/crates/libs/metadata/src/tables/type_def.rs @@ -573,6 +573,36 @@ impl TypeDef { _ => AsyncKind::None, } } + + pub(crate) fn combine_features(&self, features: &mut Features) { + for generic in &self.generics { + generic.combine_features(features); + } + + if features.add_type(self) { + match self.kind() { + TypeKind::Class => { + if let Some(def) = self.default_interface() { + features.add_feature(def.namespace()); + } + } + TypeKind::Interface => { + if !self.is_winrt() { + for def in self.vtable_types() { + if let Type::TypeDef(def) = def { + features.add_feature(def.namespace()); + } + } + } + } + TypeKind::Struct => { + self.fields().for_each(|field| field.combine_features(Some(self), features)); + } + TypeKind::Delegate => self.invoke_method().combine_features(features), + _ => {} + } + } + } } struct Bases(TypeDef); diff --git a/crates/libs/metadata/src/type.rs b/crates/libs/metadata/src/type.rs index b4babc4a07..a547ea76c2 100644 --- a/crates/libs/metadata/src/type.rs +++ b/crates/libs/metadata/src/type.rs @@ -62,6 +62,12 @@ impl Type { Self::MethodDef(def) => &def.0, Self::Field(def) => &def.0, Self::TypeDef(def) => &def.row, + Self::MutPtr((def, _)) => def.row(), + Self::ConstPtr((def, _)) => def.row(), + Self::Win32Array((def, _)) => def.row(), + Self::WinrtArray(def) => def.row(), + Self::WinrtArrayRef(def) => def.row(), + Self::WinrtConstRef(def) => def.row(), _ => unimplemented!(), } } @@ -92,7 +98,13 @@ impl Type { pub fn type_name(&self) -> TypeName { match self { Self::TypeDef(def) => def.type_name(), - _ => unimplemented!(), + Self::MutPtr((def, _)) => def.type_name(), + Self::ConstPtr((def, _)) => def.type_name(), + Self::Win32Array((def, _)) => def.type_name(), + Self::WinrtArray(def) => def.type_name(), + Self::WinrtArrayRef(def) => def.type_name(), + Self::WinrtConstRef(def) => def.type_name(), + _ => TypeName::None, } } @@ -262,4 +274,52 @@ impl Type { _ => false, } } + + pub fn features(&self) -> Features { + let mut features = Features::new(); + self.combine_features(&mut features); + features + } + + pub(crate) fn combine_features(&self, features: &mut Features) { + match self { + Type::TypeDef(def) => def.combine_features(features), + Type::Win32Array((def, _)) => def.combine_features(features), + Type::ConstPtr((def, _)) => def.combine_features(features), + Type::MutPtr((def, _)) => def.combine_features(features), + Type::WinrtArray(def) => def.combine_features(features), + Type::WinrtArrayRef(def) => def.combine_features(features), + _ => {} + } + } +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn features() { + let def = TypeReader::get().get_type(("Windows.Foundation", "IStringable")).unwrap(); + let features = def.features().get(); + assert_eq!(features.len(), 1); + assert_eq!(features[0], "Windows.Foundation"); + + let def = TypeReader::get().get_type(("Windows.Devices.Display.Core", "DisplayPresentationRate")).unwrap(); + let features = def.features().get(); + assert_eq!(features.len(), 2); + assert_eq!(features[0], "Windows.Devices.Display.Core"); + assert_eq!(features[1], "Windows.Foundation.Numerics"); + + let def = TypeReader::get().get_type(("Windows.Graphics.DirectX.Direct3D11", "Direct3DSurfaceDescription")).unwrap(); + let features = def.features().get(); + assert_eq!(features.len(), 1); + assert_eq!(features[0], "Windows.Graphics.DirectX.Direct3D11"); + + let def = TypeReader::get().get_type(("Windows.Win32.Security.Authorization.UI", "EFFPERM_RESULT_LIST")).unwrap(); + let features = def.features().get(); + assert_eq!(features.len(), 2); + assert_eq!(features[0], "Windows.Win32.Foundation"); + assert_eq!(features[1], "Windows.Win32.Security.Authorization.UI"); + } } diff --git a/crates/libs/metadata/src/type_name.rs b/crates/libs/metadata/src/type_name.rs index c08d523140..3b3b3739a3 100644 --- a/crates/libs/metadata/src/type_name.rs +++ b/crates/libs/metadata/src/type_name.rs @@ -1,3 +1,4 @@ +// TODO: can't these return &'static str? pub trait HasTypeName: Copy { fn namespace(&self) -> &str; fn name(&self) -> &str; From d1f06f0dc34a05be73f3aa8db5e181a52767d597 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Wed, 16 Feb 2022 13:26:02 -0800 Subject: [PATCH 02/16] simpler --- crates/libs/metadata/src/type.rs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/crates/libs/metadata/src/type.rs b/crates/libs/metadata/src/type.rs index a547ea76c2..25ebd2fc58 100644 --- a/crates/libs/metadata/src/type.rs +++ b/crates/libs/metadata/src/type.rs @@ -62,12 +62,6 @@ impl Type { Self::MethodDef(def) => &def.0, Self::Field(def) => &def.0, Self::TypeDef(def) => &def.row, - Self::MutPtr((def, _)) => def.row(), - Self::ConstPtr((def, _)) => def.row(), - Self::Win32Array((def, _)) => def.row(), - Self::WinrtArray(def) => def.row(), - Self::WinrtArrayRef(def) => def.row(), - Self::WinrtConstRef(def) => def.row(), _ => unimplemented!(), } } @@ -98,13 +92,7 @@ impl Type { pub fn type_name(&self) -> TypeName { match self { Self::TypeDef(def) => def.type_name(), - Self::MutPtr((def, _)) => def.type_name(), - Self::ConstPtr((def, _)) => def.type_name(), - Self::Win32Array((def, _)) => def.type_name(), - Self::WinrtArray(def) => def.type_name(), - Self::WinrtArrayRef(def) => def.type_name(), - Self::WinrtConstRef(def) => def.type_name(), - _ => TypeName::None, + _ => unimplemented!(), } } From 27e22d96bd583401d0be204ad349dd5c032efef0 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Wed, 16 Feb 2022 13:27:02 -0800 Subject: [PATCH 03/16] comment --- crates/libs/metadata/src/type_name.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/libs/metadata/src/type_name.rs b/crates/libs/metadata/src/type_name.rs index 3b3b3739a3..c08d523140 100644 --- a/crates/libs/metadata/src/type_name.rs +++ b/crates/libs/metadata/src/type_name.rs @@ -1,4 +1,3 @@ -// TODO: can't these return &'static str? pub trait HasTypeName: Copy { fn namespace(&self) -> &str; fn name(&self) -> &str; From d0591f8204d9c939a54cd8301beca79b879f66ec Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Wed, 16 Feb 2022 15:18:36 -0800 Subject: [PATCH 04/16] arch --- crates/libs/metadata/src/features.rs | 58 ++++++++++++++++-- crates/libs/metadata/src/tables/method_def.rs | 1 + crates/libs/metadata/src/tables/type_def.rs | 1 + crates/libs/metadata/src/type.rs | 59 +++++++++---------- 4 files changed, 84 insertions(+), 35 deletions(-) diff --git a/crates/libs/metadata/src/features.rs b/crates/libs/metadata/src/features.rs index a06bd797ad..7541a113f1 100644 --- a/crates/libs/metadata/src/features.rs +++ b/crates/libs/metadata/src/features.rs @@ -1,12 +1,15 @@ use super::*; use std::collections::*; -pub struct Features(BTreeMap<&'static str, BTreeSet>); +pub struct Features{ + types: BTreeMap<&'static str, BTreeSet>, + arch: BTreeSet<&'static str>, +} impl Features { pub fn get(&self) -> Vec<&'static str> { let mut compact = Vec::<&'static str>::new(); - for feature in self.0.keys() { + for feature in self.types.keys() { for pos in 0..compact.len() { if feature.starts_with(unsafe { compact.get_unchecked(pos) }) { compact.remove(pos); @@ -19,14 +22,59 @@ impl Features { } pub(crate) fn new() -> Self { - Self(BTreeMap::new()) + Self{types: BTreeMap::new(), arch: BTreeSet::new()} } pub(crate) fn add_type(&mut self, def: &TypeDef) -> bool { - self.0.entry(def.namespace()).or_default().insert(def.row.clone()) + self.types.entry(def.namespace()).or_default().insert(def.row.clone()) } pub(crate) fn add_feature(&mut self, feature: &'static str) { - self.0.entry(feature).or_default(); + self.types.entry(feature).or_default(); + } + + pub(crate) fn remove_feature(&mut self, feature: &'static str) { + let mut remove = Vec::<&'static str>::new(); + for existing in self.types.keys() { + if feature.starts_with(existing) { + remove.push(existing); + } + } + for remove in remove { + self.types.remove(remove); + } + } + + pub(crate) fn add_attributes(&mut self, attributes: impl Iterator) { + for attribute in attributes { + match attribute.name() { + "SupportedArchitectureAttribute" => { + if let Some((_, ConstantValue::I32(value))) = attribute.args().get(0) { + if value & 1 == 1 { + self.arch.insert("x86"); + } + if value & 2 == 2 { + self.arch.insert("x86_64"); + } + if value & 4 == 4 { + self.arch.insert("aarch64"); + } + } + } + "DeprecatedAttribute" => { + self.add_feature("deprecated"); + } + _ => {} + } + } + } + + pub fn union(&self, other: &Self) -> Self { + let mut union = Self::new(); + self.types.keys().for_each(|feature|union.add_feature(feature)); + other.types.keys().for_each(|feature|union.add_feature(feature)); + self.arch.iter().for_each(|arch|{union.arch.insert(arch);}); + other.arch.iter().for_each(|arch|{union.arch.insert(arch);}); + union } } diff --git a/crates/libs/metadata/src/tables/method_def.rs b/crates/libs/metadata/src/tables/method_def.rs index 199f9d9eee..8497b73c05 100644 --- a/crates/libs/metadata/src/tables/method_def.rs +++ b/crates/libs/metadata/src/tables/method_def.rs @@ -122,5 +122,6 @@ impl MethodDef { pub(crate) fn combine_features(&self, features: &mut Features) { self.signature(&[]).combine_features(features); + features.add_attributes(self.attributes()); } } diff --git a/crates/libs/metadata/src/tables/type_def.rs b/crates/libs/metadata/src/tables/type_def.rs index fca9f56325..af67e3f132 100644 --- a/crates/libs/metadata/src/tables/type_def.rs +++ b/crates/libs/metadata/src/tables/type_def.rs @@ -580,6 +580,7 @@ impl TypeDef { } if features.add_type(self) { + features.add_attributes(self.attributes()); match self.kind() { TypeKind::Class => { if let Some(def) = self.default_interface() { diff --git a/crates/libs/metadata/src/type.rs b/crates/libs/metadata/src/type.rs index 25ebd2fc58..94082ca025 100644 --- a/crates/libs/metadata/src/type.rs +++ b/crates/libs/metadata/src/type.rs @@ -148,7 +148,7 @@ impl Type { pub fn is_callback(&self) -> bool { match self { // TODO: do we need to know there's a callback behind the pointer? - Type::ConstPtr((kind, _)) | Type::MutPtr((kind, _)) => kind.is_callback(), + Self::ConstPtr((kind, _)) | Self::MutPtr((kind, _)) => kind.is_callback(), Self::TypeDef(def) => def.is_callback(), _ => false, } @@ -201,56 +201,56 @@ impl Type { } pub fn is_generic(&self) -> bool { - matches!(self, Type::GenericParam(_)) + matches!(self, Self::GenericParam(_)) } pub fn is_pointer(&self) -> bool { - matches!(self, Type::ConstPtr(_) | Type::MutPtr(_)) + matches!(self, Self::ConstPtr(_) | Self::MutPtr(_)) } pub fn is_void(&self) -> bool { match self { // TODO: do we care about void behind pointers? - Type::ConstPtr((kind, _)) | Type::MutPtr((kind, _)) => kind.is_void(), - Type::Void => true, + Self::ConstPtr((kind, _)) | Self::MutPtr((kind, _)) => kind.is_void(), + Self::Void => true, _ => false, } } pub fn deref(&self) -> Self { match self { - Type::ConstPtr((kind, 1)) => *kind.clone(), - Type::MutPtr((kind, 1)) => *kind.clone(), - Type::ConstPtr((kind, pointers)) => Type::ConstPtr((kind.clone(), pointers - 1)), - Type::MutPtr((kind, pointers)) => Type::MutPtr((kind.clone(), pointers - 1)), + Self::ConstPtr((kind, 1)) => *kind.clone(), + Self::MutPtr((kind, 1)) => *kind.clone(), + Self::ConstPtr((kind, pointers)) => Self::ConstPtr((kind.clone(), pointers - 1)), + Self::MutPtr((kind, pointers)) => Self::MutPtr((kind.clone(), pointers - 1)), _ => unimplemented!(), } } pub fn to_const(self) -> Self { match self { - Type::MutPtr((kind, pointers)) => Type::ConstPtr((kind, pointers)), + Self::MutPtr((kind, pointers)) => Self::ConstPtr((kind, pointers)), _ => self, } } pub fn is_winrt_array(&self) -> bool { - matches!(self, Type::WinrtArray(_)) + matches!(self, Self::WinrtArray(_)) } pub fn is_winrt_array_ref(&self) -> bool { - matches!(self, Type::WinrtArrayRef(_)) + matches!(self, Self::WinrtArrayRef(_)) } pub fn is_winrt_const_ref(&self) -> bool { - matches!(self, Type::WinrtConstRef(_)) + matches!(self, Self::WinrtConstRef(_)) } #[must_use] - pub fn underlying_type(&self) -> Type { + pub fn underlying_type(&self) -> Self { match self { Self::TypeDef(def) => def.underlying_type(), - Self::HRESULT => Type::I32, + Self::HRESULT => Self::I32, _ => self.clone(), } } @@ -266,17 +266,20 @@ impl Type { pub fn features(&self) -> Features { let mut features = Features::new(); self.combine_features(&mut features); + features.remove_feature(self.type_name().namespace); features } pub(crate) fn combine_features(&self, features: &mut Features) { match self { - Type::TypeDef(def) => def.combine_features(features), - Type::Win32Array((def, _)) => def.combine_features(features), - Type::ConstPtr((def, _)) => def.combine_features(features), - Type::MutPtr((def, _)) => def.combine_features(features), - Type::WinrtArray(def) => def.combine_features(features), - Type::WinrtArrayRef(def) => def.combine_features(features), + Self::MethodDef(def) => def.combine_features(features), + Self::Field(def) => def.combine_features(None, features), + Self::TypeDef(def) => def.combine_features(features), + Self::Win32Array((def, _)) => def.combine_features(features), + Self::ConstPtr((def, _)) => def.combine_features(features), + Self::MutPtr((def, _)) => def.combine_features(features), + Self::WinrtArray(def) => def.combine_features(features), + Self::WinrtArrayRef(def) => def.combine_features(features), _ => {} } } @@ -290,24 +293,20 @@ mod tests { fn features() { let def = TypeReader::get().get_type(("Windows.Foundation", "IStringable")).unwrap(); let features = def.features().get(); - assert_eq!(features.len(), 1); - assert_eq!(features[0], "Windows.Foundation"); + assert_eq!(features.len(), 0); let def = TypeReader::get().get_type(("Windows.Devices.Display.Core", "DisplayPresentationRate")).unwrap(); let features = def.features().get(); - assert_eq!(features.len(), 2); - assert_eq!(features[0], "Windows.Devices.Display.Core"); - assert_eq!(features[1], "Windows.Foundation.Numerics"); + assert_eq!(features.len(), 1); + assert_eq!(features[0], "Windows.Foundation.Numerics"); let def = TypeReader::get().get_type(("Windows.Graphics.DirectX.Direct3D11", "Direct3DSurfaceDescription")).unwrap(); let features = def.features().get(); - assert_eq!(features.len(), 1); - assert_eq!(features[0], "Windows.Graphics.DirectX.Direct3D11"); + assert_eq!(features.len(), 0); let def = TypeReader::get().get_type(("Windows.Win32.Security.Authorization.UI", "EFFPERM_RESULT_LIST")).unwrap(); let features = def.features().get(); - assert_eq!(features.len(), 2); + assert_eq!(features.len(), 1); assert_eq!(features[0], "Windows.Win32.Foundation"); - assert_eq!(features[1], "Windows.Win32.Security.Authorization.UI"); } } From 8de40c23ba60afd511900b50bd634835e95cc7e5 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Wed, 16 Feb 2022 15:21:16 -0800 Subject: [PATCH 05/16] compact --- crates/libs/metadata/src/features.rs | 16 ++++++++-------- crates/libs/metadata/src/type.rs | 20 ++++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/crates/libs/metadata/src/features.rs b/crates/libs/metadata/src/features.rs index 7541a113f1..ef4ecfea59 100644 --- a/crates/libs/metadata/src/features.rs +++ b/crates/libs/metadata/src/features.rs @@ -3,11 +3,11 @@ use std::collections::*; pub struct Features{ types: BTreeMap<&'static str, BTreeSet>, - arch: BTreeSet<&'static str>, + arches: BTreeSet<&'static str>, } impl Features { - pub fn get(&self) -> Vec<&'static str> { + pub fn namespaces(&self) -> Vec<&'static str> { let mut compact = Vec::<&'static str>::new(); for feature in self.types.keys() { for pos in 0..compact.len() { @@ -22,7 +22,7 @@ impl Features { } pub(crate) fn new() -> Self { - Self{types: BTreeMap::new(), arch: BTreeSet::new()} + Self{types: BTreeMap::new(), arches: BTreeSet::new()} } pub(crate) fn add_type(&mut self, def: &TypeDef) -> bool { @@ -51,13 +51,13 @@ impl Features { "SupportedArchitectureAttribute" => { if let Some((_, ConstantValue::I32(value))) = attribute.args().get(0) { if value & 1 == 1 { - self.arch.insert("x86"); + self.arches.insert("x86"); } if value & 2 == 2 { - self.arch.insert("x86_64"); + self.arches.insert("x86_64"); } if value & 4 == 4 { - self.arch.insert("aarch64"); + self.arches.insert("aarch64"); } } } @@ -73,8 +73,8 @@ impl Features { let mut union = Self::new(); self.types.keys().for_each(|feature|union.add_feature(feature)); other.types.keys().for_each(|feature|union.add_feature(feature)); - self.arch.iter().for_each(|arch|{union.arch.insert(arch);}); - other.arch.iter().for_each(|arch|{union.arch.insert(arch);}); + self.arches.iter().for_each(|arch|{union.arches.insert(arch);}); + other.arches.iter().for_each(|arch|{union.arches.insert(arch);}); union } } diff --git a/crates/libs/metadata/src/type.rs b/crates/libs/metadata/src/type.rs index 94082ca025..ea4df8805e 100644 --- a/crates/libs/metadata/src/type.rs +++ b/crates/libs/metadata/src/type.rs @@ -292,21 +292,21 @@ mod tests { #[test] fn features() { let def = TypeReader::get().get_type(("Windows.Foundation", "IStringable")).unwrap(); - let features = def.features().get(); - assert_eq!(features.len(), 0); + let namespaces = def.features().namespaces(); + assert_eq!(namespaces.len(), 0); let def = TypeReader::get().get_type(("Windows.Devices.Display.Core", "DisplayPresentationRate")).unwrap(); - let features = def.features().get(); - assert_eq!(features.len(), 1); - assert_eq!(features[0], "Windows.Foundation.Numerics"); + let namespaces = def.features().namespaces(); + assert_eq!(namespaces.len(), 1); + assert_eq!(namespaces[0], "Windows.Foundation.Numerics"); let def = TypeReader::get().get_type(("Windows.Graphics.DirectX.Direct3D11", "Direct3DSurfaceDescription")).unwrap(); - let features = def.features().get(); - assert_eq!(features.len(), 0); + let namespaces = def.features().namespaces(); + assert_eq!(namespaces.len(), 0); let def = TypeReader::get().get_type(("Windows.Win32.Security.Authorization.UI", "EFFPERM_RESULT_LIST")).unwrap(); - let features = def.features().get(); - assert_eq!(features.len(), 1); - assert_eq!(features[0], "Windows.Win32.Foundation"); + let namespaces = def.features().namespaces(); + assert_eq!(namespaces.len(), 1); + assert_eq!(namespaces[0], "Windows.Win32.Foundation"); } } From d59b4f5400086bf6480856651882a5ec41c26f4e Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Wed, 16 Feb 2022 15:36:20 -0800 Subject: [PATCH 06/16] cfg --- .../libs/metadata/src/{features.rs => cfg.rs} | 8 +++- crates/libs/metadata/src/lib.rs | 4 +- crates/libs/metadata/src/signature.rs | 6 +-- crates/libs/metadata/src/tables/field.rs | 4 +- crates/libs/metadata/src/tables/method_def.rs | 6 +-- crates/libs/metadata/src/tables/type_def.rs | 16 ++++---- crates/libs/metadata/src/type.rs | 38 +++++++++---------- 7 files changed, 43 insertions(+), 39 deletions(-) rename crates/libs/metadata/src/{features.rs => cfg.rs} (95%) diff --git a/crates/libs/metadata/src/features.rs b/crates/libs/metadata/src/cfg.rs similarity index 95% rename from crates/libs/metadata/src/features.rs rename to crates/libs/metadata/src/cfg.rs index ef4ecfea59..6b15688e0b 100644 --- a/crates/libs/metadata/src/features.rs +++ b/crates/libs/metadata/src/cfg.rs @@ -1,12 +1,12 @@ use super::*; use std::collections::*; -pub struct Features{ +pub struct Cfg{ types: BTreeMap<&'static str, BTreeSet>, arches: BTreeSet<&'static str>, } -impl Features { +impl Cfg { pub fn namespaces(&self) -> Vec<&'static str> { let mut compact = Vec::<&'static str>::new(); for feature in self.types.keys() { @@ -21,6 +21,10 @@ impl Features { compact } + pub fn arches(&self) -> &BTreeSet<&'static str> { + &self.arches + } + pub(crate) fn new() -> Self { Self{types: BTreeMap::new(), arches: BTreeSet::new()} } diff --git a/crates/libs/metadata/src/lib.rs b/crates/libs/metadata/src/lib.rs index 3a9639b156..91e806de02 100644 --- a/crates/libs/metadata/src/lib.rs +++ b/crates/libs/metadata/src/lib.rs @@ -2,7 +2,7 @@ mod async_kind; mod blob; mod codes; mod constant_value; -mod features; +mod cfg; mod file; mod guid; mod interface_kind; @@ -23,7 +23,7 @@ pub use async_kind::*; pub use blob::*; pub use codes::*; pub use constant_value::*; -pub use features::*; +pub use cfg::*; pub use file::*; pub use guid::*; pub use interface_kind::*; diff --git a/crates/libs/metadata/src/signature.rs b/crates/libs/metadata/src/signature.rs index 129da59c2c..b6e613f641 100644 --- a/crates/libs/metadata/src/signature.rs +++ b/crates/libs/metadata/src/signature.rs @@ -63,9 +63,9 @@ impl Signature { self.params.iter().fold(0, |sum, param| sum + param.ty.size()) } - pub(crate) fn combine_features(&self, features: &mut Features) { - self.return_type.iter().for_each(|def| def.combine_features(features)); - self.params.iter().for_each(|def| def.ty.combine_features(features)); + pub(crate) fn combine_cfg(&self, cfg: &mut Cfg) { + self.return_type.iter().for_each(|def| def.combine_cfg(cfg)); + self.params.iter().for_each(|def| def.ty.combine_cfg(cfg)); } } diff --git a/crates/libs/metadata/src/tables/field.rs b/crates/libs/metadata/src/tables/field.rs index 79c119c66a..4b2d089ef9 100644 --- a/crates/libs/metadata/src/tables/field.rs +++ b/crates/libs/metadata/src/tables/field.rs @@ -51,8 +51,8 @@ impl Field { self.attributes().any(|attribute| attribute.name() == name) } - pub(crate) fn combine_features(&self, enclosing: Option<&TypeDef>, features: &mut Features) { - self.get_type(enclosing).combine_features(features); + pub(crate) fn combine_cfg(&self, enclosing: Option<&TypeDef>, cfg: &mut Cfg) { + self.get_type(enclosing).combine_cfg(cfg); } } diff --git a/crates/libs/metadata/src/tables/method_def.rs b/crates/libs/metadata/src/tables/method_def.rs index 8497b73c05..3dc4f1dd3d 100644 --- a/crates/libs/metadata/src/tables/method_def.rs +++ b/crates/libs/metadata/src/tables/method_def.rs @@ -120,8 +120,8 @@ impl MethodDef { Signature { params, return_type, return_param, preserve_sig } } - pub(crate) fn combine_features(&self, features: &mut Features) { - self.signature(&[]).combine_features(features); - features.add_attributes(self.attributes()); + pub(crate) fn combine_cfg(&self, cfg: &mut Cfg) { + self.signature(&[]).combine_cfg(cfg); + cfg.add_attributes(self.attributes()); } } diff --git a/crates/libs/metadata/src/tables/type_def.rs b/crates/libs/metadata/src/tables/type_def.rs index af67e3f132..eb560c4c1b 100644 --- a/crates/libs/metadata/src/tables/type_def.rs +++ b/crates/libs/metadata/src/tables/type_def.rs @@ -574,32 +574,32 @@ impl TypeDef { } } - pub(crate) fn combine_features(&self, features: &mut Features) { + pub(crate) fn combine_cfg(&self, cfg: &mut Cfg) { for generic in &self.generics { - generic.combine_features(features); + generic.combine_cfg(cfg); } - if features.add_type(self) { - features.add_attributes(self.attributes()); + if cfg.add_type(self) { + cfg.add_attributes(self.attributes()); match self.kind() { TypeKind::Class => { if let Some(def) = self.default_interface() { - features.add_feature(def.namespace()); + cfg.add_feature(def.namespace()); } } TypeKind::Interface => { if !self.is_winrt() { for def in self.vtable_types() { if let Type::TypeDef(def) = def { - features.add_feature(def.namespace()); + cfg.add_feature(def.namespace()); } } } } TypeKind::Struct => { - self.fields().for_each(|field| field.combine_features(Some(self), features)); + self.fields().for_each(|field| field.combine_cfg(Some(self), cfg)); } - TypeKind::Delegate => self.invoke_method().combine_features(features), + TypeKind::Delegate => self.invoke_method().combine_cfg(cfg), _ => {} } } diff --git a/crates/libs/metadata/src/type.rs b/crates/libs/metadata/src/type.rs index ea4df8805e..911eeaad10 100644 --- a/crates/libs/metadata/src/type.rs +++ b/crates/libs/metadata/src/type.rs @@ -263,23 +263,23 @@ impl Type { } } - pub fn features(&self) -> Features { - let mut features = Features::new(); - self.combine_features(&mut features); - features.remove_feature(self.type_name().namespace); - features + pub fn cfg(&self) -> Cfg { + let mut cfg = Cfg::new(); + self.combine_cfg(&mut cfg); + cfg.remove_feature(self.type_name().namespace); + cfg } - pub(crate) fn combine_features(&self, features: &mut Features) { + pub(crate) fn combine_cfg(&self, cfg: &mut Cfg) { match self { - Self::MethodDef(def) => def.combine_features(features), - Self::Field(def) => def.combine_features(None, features), - Self::TypeDef(def) => def.combine_features(features), - Self::Win32Array((def, _)) => def.combine_features(features), - Self::ConstPtr((def, _)) => def.combine_features(features), - Self::MutPtr((def, _)) => def.combine_features(features), - Self::WinrtArray(def) => def.combine_features(features), - Self::WinrtArrayRef(def) => def.combine_features(features), + Self::MethodDef(def) => def.combine_cfg(cfg), + Self::Field(def) => def.combine_cfg(None, cfg), + Self::TypeDef(def) => def.combine_cfg(cfg), + Self::Win32Array((def, _)) => def.combine_cfg(cfg), + Self::ConstPtr((def, _)) => def.combine_cfg(cfg), + Self::MutPtr((def, _)) => def.combine_cfg(cfg), + Self::WinrtArray(def) => def.combine_cfg(cfg), + Self::WinrtArrayRef(def) => def.combine_cfg(cfg), _ => {} } } @@ -290,22 +290,22 @@ mod tests { use super::*; #[test] - fn features() { + fn cfg() { let def = TypeReader::get().get_type(("Windows.Foundation", "IStringable")).unwrap(); - let namespaces = def.features().namespaces(); + let namespaces = def.cfg().namespaces(); assert_eq!(namespaces.len(), 0); let def = TypeReader::get().get_type(("Windows.Devices.Display.Core", "DisplayPresentationRate")).unwrap(); - let namespaces = def.features().namespaces(); + let namespaces = def.cfg().namespaces(); assert_eq!(namespaces.len(), 1); assert_eq!(namespaces[0], "Windows.Foundation.Numerics"); let def = TypeReader::get().get_type(("Windows.Graphics.DirectX.Direct3D11", "Direct3DSurfaceDescription")).unwrap(); - let namespaces = def.features().namespaces(); + let namespaces = def.cfg().namespaces(); assert_eq!(namespaces.len(), 0); let def = TypeReader::get().get_type(("Windows.Win32.Security.Authorization.UI", "EFFPERM_RESULT_LIST")).unwrap(); - let namespaces = def.features().namespaces(); + let namespaces = def.cfg().namespaces(); assert_eq!(namespaces.len(), 1); assert_eq!(namespaces[0], "Windows.Win32.Foundation"); } From 5bb8982a9bb21907d296a4999cdc6b5f5ff205a1 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 17 Feb 2022 11:02:04 -0800 Subject: [PATCH 07/16] bindgen --- crates/libs/bindgen/src/async.rs | 4 +- crates/libs/bindgen/src/callbacks.rs | 7 +- crates/libs/bindgen/src/cfg.rs | 116 ---------- crates/libs/bindgen/src/classes.rs | 17 +- crates/libs/bindgen/src/constants.rs | 16 +- crates/libs/bindgen/src/delegates.rs | 6 +- crates/libs/bindgen/src/enums.rs | 6 +- crates/libs/bindgen/src/functions.rs | 29 ++- crates/libs/bindgen/src/gen.rs | 214 ++++++------------ crates/libs/bindgen/src/helpers.rs | 14 +- crates/libs/bindgen/src/implements.rs | 4 +- crates/libs/bindgen/src/interfaces.rs | 12 +- crates/libs/bindgen/src/iterator.rs | 4 +- crates/libs/bindgen/src/lib.rs | 2 - crates/libs/bindgen/src/methods.rs | 44 ++-- crates/libs/bindgen/src/structs.rs | 40 ++-- crates/libs/metadata/src/cfg.rs | 66 +++++- crates/libs/metadata/src/tables/field.rs | 7 + crates/libs/metadata/src/tables/method_def.rs | 8 +- crates/libs/metadata/src/tables/type_def.rs | 39 +++- crates/libs/metadata/src/type.rs | 27 --- 21 files changed, 302 insertions(+), 380 deletions(-) delete mode 100644 crates/libs/bindgen/src/cfg.rs diff --git a/crates/libs/bindgen/src/async.rs b/crates/libs/bindgen/src/async.rs index 30a03614cc..7977018e66 100644 --- a/crates/libs/bindgen/src/async.rs +++ b/crates/libs/bindgen/src/async.rs @@ -37,7 +37,9 @@ fn gen_async_kind(kind: AsyncKind, name: &TypeDef, self_name: &TypeDef, cfg: &Cf let constraints = gen_type_constraints(self_name, gen); let name = gen_type_name(self_name, gen); let namespace = gen.namespace("Windows.Foundation"); - let cfg = cfg.and_async().gen(gen); + let mut cfg = cfg.clone(); + cfg.add_feature("Windows.Foundation"); + let cfg = gen.cfg(&cfg); quote! { #cfg diff --git a/crates/libs/bindgen/src/callbacks.rs b/crates/libs/bindgen/src/callbacks.rs index dca1bba329..d354214d03 100644 --- a/crates/libs/bindgen/src/callbacks.rs +++ b/crates/libs/bindgen/src/callbacks.rs @@ -6,7 +6,9 @@ pub fn gen(def: &TypeDef, gen: &Gen) -> TokenStream { let method = def.invoke_method(); let signature = method.signature(&[]); let return_type = gen_return_sig(&signature, gen); - let cfg = gen.type_cfg(def).gen_with_doc(gen); + let cfg = def.cfg(); + let doc = gen.doc(&cfg); + let features = gen.cfg(&cfg); let params = signature.params.iter().map(|p| { let name = gen_param_name(&p.def); @@ -15,7 +17,8 @@ pub fn gen(def: &TypeDef, gen: &Gen) -> TokenStream { }); quote! { - #cfg + #doc + #features pub type #name = ::core::option::Option; } } diff --git a/crates/libs/bindgen/src/cfg.rs b/crates/libs/bindgen/src/cfg.rs deleted file mode 100644 index 296d8a1066..0000000000 --- a/crates/libs/bindgen/src/cfg.rs +++ /dev/null @@ -1,116 +0,0 @@ -use super::*; - -#[derive(Default, Clone)] -pub struct Cfg { - pub arch: BTreeSet<&'static str>, - pub features: BTreeSet<&'static str>, -} - -impl Cfg { - pub fn new() -> Self { - Default::default() - } - - pub fn union(&self, other: Self) -> Self { - Self { arch: self.arch.union(&other.arch).cloned().collect(), features: self.features.union(&other.features).cloned().collect() } - } - - pub fn and_iterator(&self) -> Self { - let mut combo = self.clone(); - combo.features.insert("Windows.Foundation.Collections"); - combo - } - - pub fn and_async(&self) -> Self { - let mut combo = self.clone(); - combo.features.insert("Windows.Foundation"); - combo - } - - pub fn gen_with_doc(&self, gen: &Gen) -> TokenStream { - let doc = self.gen_doc(gen); - let requires = self.gen(gen); - quote! { #doc #requires } - } - - pub fn gen_doc(&self, gen: &Gen) -> TokenStream { - if !gen.doc { - quote! {} - } else { - let mut tokens = format!("'{}'", to_feature(gen.namespace)); - - for features in &self.features { - tokens.push_str(&format!(", '{}'", to_feature(features))); - } - - format!(r#"#[doc = "*Required features: {}*"]"#, tokens).into() - } - } - - pub fn gen(&self, gen: &Gen) -> TokenStream { - if !gen.cfg { - quote! {} - } else { - let arch = match self.arch.len() { - 0 => quote! {}, - 1 => { - let arch = &self.arch; - quote! { #[cfg(#(target_arch = #arch),*)] } - } - _ => { - let arch = &self.arch; - quote! { #[cfg(any(#(target_arch = #arch),*))] } - } - }; - - let features = match self.features.len() { - 0 => quote! {}, - 1 => { - let features = self.features.iter().cloned().map(to_feature); - quote! { #[cfg(#(feature = #features)*)] } - } - _ => { - let features = self.features.iter().cloned().map(to_feature); - quote! { #[cfg(all( #(feature = #features),* ))] } - } - }; - - quote! { #arch #features } - } - } - - pub fn gen_not(&self, gen: &Gen) -> TokenStream { - if !gen.cfg || self.features.is_empty() { - quote! {} - } else { - match self.features.len() { - 0 => quote! {}, - 1 => { - let features = self.features.iter().cloned().map(to_feature); - quote! { #[cfg(not(#(feature = #features)*))] } - } - _ => { - let features = self.features.iter().cloned().map(to_feature); - quote! { #[cfg(not(all( #(feature = #features),* )))] } - } - } - } - } -} - -fn to_feature(name: &str) -> String { - let mut feature = String::new(); - - for name in name.split('.').skip(1) { - feature.push_str(name); - feature.push('_'); - } - - if feature.is_empty() { - feature = name.to_string(); - } else { - feature.truncate(feature.len() - 1); - } - - feature -} diff --git a/crates/libs/bindgen/src/classes.rs b/crates/libs/bindgen/src/classes.rs index f8898ac1d3..b827b714c7 100644 --- a/crates/libs/bindgen/src/classes.rs +++ b/crates/libs/bindgen/src/classes.rs @@ -22,9 +22,9 @@ fn gen_class(def: &TypeDef, gen: &Gen) -> TokenStream { let mut methods = quote! {}; let mut method_names = MethodNames::new(); - let cfg = gen.type_cfg(def); - let features = cfg.gen(gen); - let doc = cfg.gen_doc(gen); + let cfg = def.cfg(); + let doc = gen.doc(&cfg); + let features = gen.cfg(&cfg); for (def, kind) in &interfaces { if gen.min_xaml && *kind == InterfaceKind::Base && gen.namespace.starts_with("Windows.UI.Xaml") && !def.namespace().starts_with("Windows.Foundation") { @@ -43,7 +43,7 @@ fn gen_class(def: &TypeDef, gen: &Gen) -> TokenStream { if def.methods().next().is_some() { let interface_name = format_token!("{}", def.name()); let interface_type = gen_type_name(def, gen); - let features = gen.type_cfg(def).gen(gen); + let features = gen.cfg(&def.cfg()); let hidden = if gen.doc { quote! { #[doc(hidden)] } @@ -129,7 +129,7 @@ fn gen_class(def: &TypeDef, gen: &Gen) -> TokenStream { fn gen_agile(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { if def.is_agile() { let name = gen_type_ident(def, gen); - let cfg = cfg.gen(gen); + let cfg = gen.cfg(cfg); quote! { #cfg unsafe impl ::core::marker::Send for #name {} @@ -147,7 +147,7 @@ fn gen_conversions(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { for def in &[Type::IUnknown, Type::IInspectable] { let into = gen_element_name(def, gen); - let cfg = cfg.gen(gen); + let cfg = gen.cfg(cfg); tokens.combine("e! { #cfg impl ::core::convert::From<#name> for #into { @@ -186,7 +186,8 @@ fn gen_conversions(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { } let into = gen_type_name(&def, gen); - let cfg = cfg.union(gen.type_cfg(&def)).gen(gen); + // TODO: simplify - maybe provide + operator? + let cfg = gen.cfg(&cfg.union(&def.cfg())); tokens.combine("e! { #cfg @@ -222,7 +223,7 @@ fn gen_conversions(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { for def in def.bases() { let into = gen_type_name(&def, gen); - let cfg = cfg.union(gen.type_cfg(&def)).gen(gen); + let cfg = gen.cfg(&cfg.union(&def.cfg())); tokens.combine("e! { #cfg diff --git a/crates/libs/bindgen/src/constants.rs b/crates/libs/bindgen/src/constants.rs index f6268177e0..19cfac2c00 100644 --- a/crates/libs/bindgen/src/constants.rs +++ b/crates/libs/bindgen/src/constants.rs @@ -5,13 +5,16 @@ use super::*; pub fn gen(def: &Field, gen: &Gen) -> TokenStream { let name = gen_ident(def.name()); let ty = def.get_type(None); - let cfg = gen.field_cfg(def).gen_with_doc(gen); + let cfg = def.cfg(); + let doc = gen.doc(&cfg); + let features = gen.cfg(&cfg); if let Some(constant) = def.constant() { if ty == constant.value_type() { let value = gen_constant_type_value(&constant.value()); quote! { - #cfg + #doc + #features pub const #name: #value; } } else { @@ -26,12 +29,14 @@ pub fn gen(def: &Field, gen: &Gen) -> TokenStream { if !gen.sys && ty.has_replacement() { quote! { - #cfg + #doc + #features pub const #name: #kind = #kind(#value); } } else { quote! { - #cfg + #doc + #features pub const #name: #kind = #value; } } @@ -44,7 +49,8 @@ pub fn gen(def: &Field, gen: &Gen) -> TokenStream { let kind = gen_default_type(&ty, gen); let guid = gen_guid(&guid, gen); quote! { - #cfg + #doc + #features pub const #name: #kind = #kind { fmtid: #guid, pid: #id, diff --git a/crates/libs/bindgen/src/delegates.rs b/crates/libs/bindgen/src/delegates.rs index fafdfafa56..26390b9d34 100644 --- a/crates/libs/bindgen/src/delegates.rs +++ b/crates/libs/bindgen/src/delegates.rs @@ -25,9 +25,9 @@ fn gen_win_delegate(def: &TypeDef, gen: &Gen) -> TokenStream { let method = def.invoke_method(); let signature = method.signature(&def.generics); let fn_constraint = gen_fn_constraint(def, &method, gen); - let cfg = gen.type_cfg(def); - let doc = cfg.gen_doc(gen); - let features = cfg.gen(gen); + let cfg = def.cfg(); + let doc = gen.doc(&cfg); + let features = gen.cfg(&cfg); let vtbl_signature = gen_vtbl_signature(def, &method, gen); let invoke = gen_winrt_method(def, InterfaceKind::Default, &method, &mut MethodNames::new(), &mut MethodNames::new(), gen); let invoke_upcall = gen_winrt_upcall(&signature, quote! { ((*this).invoke) }); diff --git a/crates/libs/bindgen/src/enums.rs b/crates/libs/bindgen/src/enums.rs index 1022f6acf2..d42f10b188 100644 --- a/crates/libs/bindgen/src/enums.rs +++ b/crates/libs/bindgen/src/enums.rs @@ -6,9 +6,9 @@ pub fn gen(def: &TypeDef, gen: &Gen) -> TokenStream { let underlying_type = def.underlying_type(); let underlying_type = gen_element_name(&underlying_type, gen); let is_scoped = def.is_scoped(); - let cfg = gen.type_cfg(def); - let features = cfg.gen(gen); - let doc = cfg.gen_doc(gen); + let cfg = def.cfg(); + let doc = gen.doc(&cfg); + let features = gen.cfg(&cfg); let mut fields: Vec<(TokenStream, TokenStream)> = def .fields() diff --git a/crates/libs/bindgen/src/functions.rs b/crates/libs/bindgen/src/functions.rs index db9dea40cf..3169539ea1 100644 --- a/crates/libs/bindgen/src/functions.rs +++ b/crates/libs/bindgen/src/functions.rs @@ -53,7 +53,9 @@ fn gen_function_if(entry: &[Type], gen: &Gen) -> TokenStream { fn gen_sys_function(def: &MethodDef, gen: &Gen) -> TokenStream { let name = gen_ident(def.name()); let signature = def.signature(&[]); - let cfg = gen.function_cfg(def).gen_with_doc(gen); + let cfg = def.cfg(); + let doc = gen.doc(&cfg); + let features = gen.cfg(&cfg); let mut return_type = gen_return_sig(&signature, gen); if return_type.is_empty() { @@ -67,7 +69,8 @@ fn gen_sys_function(def: &MethodDef, gen: &Gen) -> TokenStream { }); quote! { - #cfg + #doc + #features pub fn #name(#(#params),*) #return_type; } } @@ -98,7 +101,9 @@ fn gen_win_function(def: &MethodDef, gen: &Gen) -> TokenStream { } }; - let cfg = gen.function_cfg(def).gen_with_doc(gen); + let cfg = def.cfg(); + let doc = gen.doc(&cfg); + let features = gen.cfg(&cfg); match signature.kind() { SignatureKind::Query => { @@ -107,7 +112,8 @@ fn gen_win_function(def: &MethodDef, gen: &Gen) -> TokenStream { let params = gen_win32_params(leading_params, gen); quote! { - #cfg + #doc + #features #[inline] pub unsafe fn #name<#constraints T: ::windows::core::Interface>(#params) -> ::windows::core::Result { #[cfg(windows)] @@ -130,7 +136,8 @@ fn gen_win_function(def: &MethodDef, gen: &Gen) -> TokenStream { let params = gen_win32_params(leading_params, gen); quote! { - #cfg + #doc + #features #[inline] pub unsafe fn #name<#constraints T: ::windows::core::Interface>(#params result__: *mut ::core::option::Option) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -155,7 +162,8 @@ fn gen_win_function(def: &MethodDef, gen: &Gen) -> TokenStream { let abi_return_type_tokens = gen_abi_element_name(&return_type, gen); quote! { - #cfg + #doc + #features #[inline] pub unsafe fn #name<#constraints>(#params) -> ::windows::core::Result<#return_type_tokens> { #[cfg(windows)] @@ -177,7 +185,8 @@ fn gen_win_function(def: &MethodDef, gen: &Gen) -> TokenStream { let args = signature.params.iter().map(gen_win32_abi_arg); quote! { - #cfg + #doc + #features #[inline] pub unsafe fn #name<#constraints>(#params) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -198,7 +207,8 @@ fn gen_win_function(def: &MethodDef, gen: &Gen) -> TokenStream { let args = signature.params.iter().map(gen_win32_abi_arg); quote! { - #cfg + #doc + #features #[inline] pub unsafe fn #name<#constraints>(#params) #abi_return_type { #[cfg(windows)] @@ -220,7 +230,8 @@ fn gen_win_function(def: &MethodDef, gen: &Gen) -> TokenStream { let does_not_return = does_not_return(def); quote! { - #cfg + #doc + #features #[inline] pub unsafe fn #name<#constraints>(#params) #does_not_return { #[cfg(windows)] diff --git a/crates/libs/bindgen/src/gen.rs b/crates/libs/bindgen/src/gen.rs index 858aadbe9f..86b5051866 100644 --- a/crates/libs/bindgen/src/gen.rs +++ b/crates/libs/bindgen/src/gen.rs @@ -1,5 +1,4 @@ use super::*; -use std::collections::*; #[derive(Default)] pub struct Gen<'a> { @@ -44,176 +43,101 @@ impl Gen<'_> { } } + // TODO: remove pub(crate) fn element_cfg(&self, def: &Type) -> Cfg { if let Type::TypeDef(def) = def { - self.type_cfg(def) + def.cfg() } else { - Default::default() + Cfg::new() } } - pub(crate) fn type_cfg(&self, def: &TypeDef) -> Cfg { - let mut features = BTreeSet::new(); - let mut keys = HashSet::new(); - self.type_requirements(def, &mut features, &mut keys); - - if def.is_deprecated() { - features.insert("deprecated"); - } - - Cfg { arch: arch(def.attributes()), features } + // TODO: remove + pub(crate) fn method_cfg(&self, def: &TypeDef, method: &MethodDef) -> Cfg { + let mut cfg = method.cfg(); + cfg.add_feature(def.namespace()); + cfg } + + pub(crate) fn doc(&self, cfg: &Cfg) -> TokenStream { + if !self.doc { + quote! {} + } else { + let mut tokens = format!("'{}'", to_feature(self.namespace)); - pub(crate) fn type_impl_cfg(&self, def: &TypeDef) -> Cfg { - let mut features = BTreeSet::new(); - let mut keys = HashSet::new(); - self.type_and_method_requirements(def, &mut features, &mut keys); - - for def in def.vtable_types() { - if let Type::TypeDef(def) = def { - self.type_and_method_requirements(&def, &mut features, &mut keys); - } - } - - if def.is_winrt() { - for def in def.required_interfaces() { - self.type_and_method_requirements(&def, &mut features, &mut keys); + for features in &cfg.features() { + tokens.push_str(&format!(", '{}'", to_feature(features))); } - } - - if def.is_deprecated() { - features.insert("deprecated"); - } - - Cfg { arch: arch(def.attributes()), features } - } - - pub(crate) fn field_cfg(&self, def: &Field) -> Cfg { - let mut features = BTreeSet::new(); - let mut keys = HashSet::new(); - self.field_requirements(def, None, &mut features, &mut keys); - Cfg { arch: Default::default(), features } - } - - pub(crate) fn function_cfg(&self, method: &MethodDef) -> Cfg { - let mut features = BTreeSet::new(); - let mut keys = HashSet::new(); - self.method_requirements(&method.signature(&[]), &mut features, &mut keys); - Cfg { arch: arch(method.attributes()), features } - } - - pub(crate) fn method_cfg(&self, def: &TypeDef, method: &MethodDef) -> Cfg { - let mut features = BTreeSet::new(); - let mut keys = HashSet::new(); - self.add_namespace(def.namespace(), &mut features); - self.method_requirements(&method.signature(&[]), &mut features, &mut keys); - if method.is_deprecated() { - features.insert("deprecated"); + format!(r#"#[doc = "*Required features: {}*"]"#, tokens).into() } - - Cfg { arch: Default::default(), features } } - fn add_namespace(&self, namespace: &'static str, namespaces: &mut BTreeSet<&'static str>) { - if !namespace.is_empty() && namespace != self.namespace && !self.namespace.starts_with(format!("{}.", namespace).as_str()) { - namespaces.insert(namespace); - } - } + pub(crate) fn cfg(&self, cfg: &Cfg) -> TokenStream { + if !self.cfg { + quote! {} + } else { + let arches = cfg.arches(); + let arch = match arches.len() { + 0 => quote! {}, + 1 => { + quote! { #[cfg(#(target_arch = #arches),*)] } + } + _ => { + quote! { #[cfg(any(#(target_arch = #arches),*))] } + } + }; + + let features = &cfg.features(); + let features = match features.len() { + 0 => quote! {}, + 1 => { + let features = features.iter().cloned().map(to_feature); + quote! { #[cfg(#(feature = #features)*)] } + } + _ => { + let features = features.iter().cloned().map(to_feature); + quote! { #[cfg(all( #(feature = #features),* ))] } + } + }; - // TODO: move to windows-metadata - fn element_requirements(&self, def: &Type, namespaces: &mut BTreeSet<&'static str>, keys: &mut HashSet) { - // TODO: this should just be def.requirements() - match def { - Type::TypeDef(def) => self.type_requirements(def, namespaces, keys), - Type::Win32Array((kind, _)) => self.element_requirements(kind, namespaces, keys), - Type::ConstPtr((kind, _)) => self.element_requirements(kind, namespaces, keys), - Type::MutPtr((kind, _)) => self.element_requirements(kind, namespaces, keys), - Type::WinrtArray(kind) => self.element_requirements(kind, namespaces, keys), - Type::WinrtArrayRef(kind) => self.element_requirements(kind, namespaces, keys), - _ => {} + quote! { #arch #features } } } - fn type_requirements(&self, def: &TypeDef, namespaces: &mut BTreeSet<&'static str>, keys: &mut HashSet) { - self.add_namespace(def.namespace(), namespaces); - - for generic in &def.generics { - self.element_requirements(generic, namespaces, keys); - } - - if !keys.insert(def.row.clone()) { - return; - } - - match def.kind() { - TypeKind::Class => { - if let Some(def) = def.default_interface() { - self.add_namespace(def.namespace(), namespaces); - } - } - TypeKind::Interface => { - if !def.is_winrt() { - for def in def.vtable_types() { - if let Type::TypeDef(def) = def { - self.add_namespace(def.namespace(), namespaces); - } - } + pub(crate) fn not_cfg(&self, cfg: &Cfg) -> TokenStream { + let features = &cfg.features(); + if !self.cfg || features.is_empty() { + quote! {} + } else { + match features.len() { + 0 => quote! {}, + 1 => { + let features = features.iter().cloned().map(to_feature); + quote! { #[cfg(not(#(feature = #features)*))] } } - } - TypeKind::Struct => { - def.fields().for_each(|field| self.field_requirements(&field, Some(def), namespaces, keys)); - } - TypeKind::Delegate => self.method_requirements(&def.invoke_method().signature(&[]), namespaces, keys), - _ => {} - } - - if let Some(entry) = TypeReader::get().get_type_entry(def.type_name()) { - for def in entry { - if let Type::TypeDef(def) = def { - self.type_requirements(def, namespaces, keys); + _ => { + let features = features.iter().cloned().map(to_feature); + quote! { #[cfg(not(all( #(feature = #features),* )))] } } } } } +} - fn method_requirements(&self, def: &Signature, namespaces: &mut BTreeSet<&'static str>, keys: &mut HashSet) { - def.return_type.iter().for_each(|def| self.element_requirements(def, namespaces, keys)); - def.params.iter().for_each(|def| self.element_requirements(&def.ty, namespaces, keys)); - } - - fn type_and_method_requirements(&self, def: &TypeDef, namespaces: &mut BTreeSet<&'static str>, keys: &mut HashSet) { - self.type_requirements(def, namespaces, keys); - - for method in def.methods() { - self.method_requirements(&method.signature(&[]), namespaces, keys); - } - } +fn to_feature(name: &str) -> String { + let mut feature = String::new(); - fn field_requirements(&self, def: &Field, enclosing: Option<&TypeDef>, namespaces: &mut BTreeSet<&'static str>, keys: &mut HashSet) { - self.element_requirements(&def.get_type(enclosing), namespaces, keys); + for name in name.split('.').skip(1) { + feature.push_str(name); + feature.push('_'); } -} - -fn arch(attributes: impl Iterator) -> BTreeSet<&'static str> { - let mut set = BTreeSet::new(); - for attribute in attributes { - if attribute.name() == "SupportedArchitectureAttribute" { - if let Some((_, ConstantValue::I32(value))) = attribute.args().get(0) { - if value & 1 == 1 { - set.insert("x86"); - } - if value & 2 == 2 { - set.insert("x86_64"); - } - if value & 4 == 4 { - set.insert("aarch64"); - } - } - break; - } + if feature.is_empty() { + feature = name.to_string(); + } else { + feature.truncate(feature.len() - 1); } - set + feature } diff --git a/crates/libs/bindgen/src/helpers.rs b/crates/libs/bindgen/src/helpers.rs index de9067cca3..88c30ea94f 100644 --- a/crates/libs/bindgen/src/helpers.rs +++ b/crates/libs/bindgen/src/helpers.rs @@ -5,7 +5,7 @@ pub fn gen_std_traits(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { let name = ident.as_str(); let constraints = gen_type_constraints(def, gen); let phantoms = gen_phantoms(def, gen); - let cfg = cfg.gen(gen); + let cfg = gen.cfg(cfg); quote! { #cfg @@ -32,7 +32,7 @@ pub fn gen_std_traits(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { } pub fn gen_interface_trait(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { - let cfg = cfg.gen(gen); + let cfg = gen.cfg(cfg); if let Some(default) = def.default_interface() { let name = gen_type_ident(def, gen); let default_name = gen_type_ident(&default, gen); @@ -63,7 +63,7 @@ pub fn gen_interface_trait(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { } pub fn gen_runtime_trait(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { - let cfg = cfg.gen(gen); + let cfg = gen.cfg(cfg); if def.is_winrt() { let name = gen_type_ident(def, gen); let constraints = gen_type_constraints(def, gen); @@ -149,7 +149,7 @@ pub fn gen_vtbl_signature(def: &TypeDef, method: &MethodDef, gen: &Gen) -> Token } pub fn gen_vtbl(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { - let cfg = cfg.gen(gen); + let cfg = gen.cfg(cfg); let vtbl = gen_vtbl_ident(def, gen); let phantoms = gen_named_phantoms(def, gen); let constraints = gen_type_constraints(def, gen); @@ -176,8 +176,8 @@ pub fn gen_vtbl(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { let name = method_names.add(&method); let signature = gen_vtbl_signature(def, &method, gen); let cfg = gen.method_cfg(def, &method); - let cfg_all = cfg.gen(gen); - let cfg_not = cfg.gen_not(gen); + let cfg_all = gen.cfg(&cfg); + let cfg_not = gen.not_cfg(&cfg); let signature = quote! { pub #name: unsafe extern "system" fn #signature, }; @@ -297,7 +297,7 @@ pub fn gen_constant_value(value: &ConstantValue) -> TokenStream { pub fn gen_runtime_name(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { let name = gen_type_ident(def, gen); - let cfg = cfg.gen(gen); + let cfg = gen.cfg(cfg); if def.is_winrt() { let constraints = gen_type_constraints(def, gen); diff --git a/crates/libs/bindgen/src/implements.rs b/crates/libs/bindgen/src/implements.rs index 9cd4da330a..0ea08cf234 100644 --- a/crates/libs/bindgen/src/implements.rs +++ b/crates/libs/bindgen/src/implements.rs @@ -11,7 +11,7 @@ pub fn gen(def: &TypeDef, gen: &Gen) -> TokenStream { let constraints = gen_type_constraints(def, gen); let generics = gen_type_generics(def, gen); let phantoms = gen_named_phantoms(def, gen); - let cfg = gen.type_impl_cfg(def); + let cfg = def.impl_cfg(); let mut requires = quote! {}; fn gen_required_trait(def: &TypeDef, gen: &Gen) -> TokenStream { @@ -44,7 +44,7 @@ pub fn gen(def: &TypeDef, gen: &Gen) -> TokenStream { } let runtime_name = gen_runtime_name(def, &cfg, gen); - let cfg = cfg.gen(gen); + let cfg = gen.cfg(&cfg); let mut method_names = MethodNames::new(); method_names.add_vtable_types(def); diff --git a/crates/libs/bindgen/src/interfaces.rs b/crates/libs/bindgen/src/interfaces.rs index a2fbe3551d..0d90ebe5e3 100644 --- a/crates/libs/bindgen/src/interfaces.rs +++ b/crates/libs/bindgen/src/interfaces.rs @@ -28,9 +28,9 @@ fn gen_win_interface(def: &TypeDef, gen: &Gen) -> TokenStream { let is_exclusive = def.is_exclusive(); let phantoms = gen_phantoms(def, gen); let constraints = gen_type_constraints(def, gen); - let cfg = gen.type_cfg(def); - let doc = cfg.gen_doc(gen); - let features = cfg.gen(gen); + let cfg = def.cfg(); + let doc = gen.doc(&cfg); + let features = gen.cfg(&cfg); let mut tokens = if is_exclusive { quote! { #[doc(hidden)] } @@ -66,7 +66,7 @@ fn gen_methods(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { let is_winrt = def.is_winrt(); let mut method_names = MethodNames::new(); let mut virtual_names = MethodNames::new(); - let cfg = cfg.gen(gen); + let cfg = gen.cfg(cfg); let vtable_types = def.vtable_types(); let mut bases = vtable_types.len(); @@ -121,7 +121,7 @@ fn gen_conversions(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { for def in def.vtable_types() { let into = gen_element_name(&def, gen); - let cfg = cfg.union(gen.element_cfg(&def)).gen(gen); + let cfg = gen.cfg(&cfg.union(&gen.element_cfg(&def))); tokens.combine("e! { #cfg impl<#(#constraints)*> ::core::convert::From<#name> for #into { @@ -153,7 +153,7 @@ fn gen_conversions(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { if def.is_winrt() { for def in def.required_interfaces() { let into = gen_type_name(&def, gen); - let cfg = cfg.union(gen.type_cfg(&def)).gen(gen); + let cfg = gen.cfg(&cfg.union(&def.cfg())); tokens.combine("e! { #cfg impl<#(#constraints)*> ::core::convert::TryFrom<#name> for #into { diff --git a/crates/libs/bindgen/src/iterator.rs b/crates/libs/bindgen/src/iterator.rs index 5a43db34fa..ccbca842a0 100644 --- a/crates/libs/bindgen/src/iterator.rs +++ b/crates/libs/bindgen/src/iterator.rs @@ -148,7 +148,9 @@ pub fn gen_iterator(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { let mut iterable = None; let wfc = gen.namespace("Windows.Foundation.Collections"); - let cfg = cfg.and_iterator().gen(gen); + let mut cfg = cfg.clone(); + cfg.add_feature("Windows.Foundation.Collections"); + let cfg = gen.cfg(&cfg); let interfaces = if def.kind() == TypeKind::Class { def.class_interfaces().iter().map(|(def, _)| def.clone()).collect() } else { def.required_interfaces() }; diff --git a/crates/libs/bindgen/src/lib.rs b/crates/libs/bindgen/src/lib.rs index 84be341fe5..c5a6472877 100644 --- a/crates/libs/bindgen/src/lib.rs +++ b/crates/libs/bindgen/src/lib.rs @@ -1,6 +1,5 @@ mod r#async; mod callbacks; -mod cfg; mod classes; mod constants; mod delegates; @@ -20,7 +19,6 @@ mod replacements; mod signatures; mod structs; -use cfg::*; use functions::*; pub use gen::*; use helpers::*; diff --git a/crates/libs/bindgen/src/methods.rs b/crates/libs/bindgen/src/methods.rs index 0b001e8d56..2008c835bf 100644 --- a/crates/libs/bindgen/src/methods.rs +++ b/crates/libs/bindgen/src/methods.rs @@ -15,7 +15,9 @@ pub fn gen_winrt_method(def: &TypeDef, kind: InterfaceKind, method: &MethodDef, let vname = virtual_names.add(method); let constraints = gen_param_constraints(params, gen); - let cfg = gen.method_cfg(def, method).gen_with_doc(gen); + let cfg = gen.method_cfg(def, method); + let doc = gen.doc(&cfg); + let features = gen.cfg(&cfg); let args = params.iter().map(gen_winrt_abi_arg); let params = gen_winrt_params(params, gen); let interface_name = gen_type_name(def, gen); @@ -87,7 +89,8 @@ pub fn gen_winrt_method(def: &TypeDef, kind: InterfaceKind, method: &MethodDef, match kind { InterfaceKind::Default => quote! { - #cfg + #doc + #features pub fn #name<#constraints>(&self, #params) -> ::windows::core::Result<#return_type_tokens> { let this = self; unsafe { @@ -97,7 +100,8 @@ pub fn gen_winrt_method(def: &TypeDef, kind: InterfaceKind, method: &MethodDef, }, InterfaceKind::NonDefault | InterfaceKind::Base => { quote! { - #cfg + #doc + #features pub fn #name<#constraints>(&self, #params) -> ::windows::core::Result<#return_type_tokens> { let this = &::windows::core::Interface::cast::<#interface_name>(self)?; unsafe { @@ -108,7 +112,8 @@ pub fn gen_winrt_method(def: &TypeDef, kind: InterfaceKind, method: &MethodDef, } InterfaceKind::Static => { quote! { - #cfg + #doc + #features pub fn #name<#constraints>(#params) -> ::windows::core::Result<#return_type_tokens> { Self::#interface_name(|this| unsafe { #vcall }) } @@ -116,11 +121,13 @@ pub fn gen_winrt_method(def: &TypeDef, kind: InterfaceKind, method: &MethodDef, } InterfaceKind::Composable => { quote! { - #cfg + #doc + #features pub fn #name<#constraints>(#params) -> ::windows::core::Result<#return_type_tokens> { Self::#interface_name(|this| unsafe { #vcall_none }) } - #cfg + #doc + #features pub fn #name_compose<#constraints T: ::windows::core::Compose>(#params compose: T) -> ::windows::core::Result<#return_type_tokens> { Self::#interface_name(|this| unsafe { let (derived__, base__) = ::windows::core::Compose::compose(compose); @@ -137,7 +144,9 @@ pub fn gen_com_method(def: &TypeDef, method: &MethodDef, method_names: &mut Meth let name = method_names.add(method); let vname = virtual_names.add(method); let constraints = gen_param_constraints(&signature.params, gen); - let cfg = gen.method_cfg(def, method).gen_with_doc(gen); + let cfg = gen.method_cfg(def, method); + let doc = gen.doc(&cfg); + let features = gen.cfg(&cfg); let mut bases = quote! {}; @@ -152,7 +161,8 @@ pub fn gen_com_method(def: &TypeDef, method: &MethodDef, method_names: &mut Meth let params = gen_win32_params(leading_params, gen); quote! { - #cfg + #doc + #features pub unsafe fn #name<#constraints T: ::windows::core::Interface>(&self, #params) -> ::windows::core::Result { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self)#bases.#vname)(::core::mem::transmute_copy(self), #(#args,)* &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) @@ -165,7 +175,8 @@ pub fn gen_com_method(def: &TypeDef, method: &MethodDef, method_names: &mut Meth let params = gen_win32_params(leading_params, gen); quote! { - #cfg + #doc + #features pub unsafe fn #name<#constraints T: ::windows::core::Interface>(&self, #params result__: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self)#bases.#vname)(::core::mem::transmute_copy(self), #(#args,)* &::IID, result__ as *mut _ as *mut _).ok() } @@ -181,7 +192,8 @@ pub fn gen_com_method(def: &TypeDef, method: &MethodDef, method_names: &mut Meth let abi_return_type_tokens = gen_abi_element_name(&return_type, gen); quote! { - #cfg + #doc + #features pub unsafe fn #name<#constraints>(&self, #params) -> ::windows::core::Result<#return_type_tokens> { let mut result__: #abi_return_type_tokens = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self)#bases.#vname)(::core::mem::transmute_copy(self), #(#args,)* ::core::mem::transmute(&mut result__)) @@ -194,7 +206,8 @@ pub fn gen_com_method(def: &TypeDef, method: &MethodDef, method_names: &mut Meth let args = signature.params.iter().map(gen_win32_abi_arg); quote! { - #cfg + #doc + #features pub unsafe fn #name<#constraints>(&self, #params) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self)#bases.#vname)(::core::mem::transmute_copy(self), #(#args,)*).ok() } @@ -207,7 +220,8 @@ pub fn gen_com_method(def: &TypeDef, method: &MethodDef, method_names: &mut Meth let return_type = gen_abi_element_name(&signature.return_type.unwrap(), gen); quote! { - #cfg + #doc + #features pub unsafe fn #name<#constraints>(&self, #params) -> #return_type { let mut result__: #return_type = :: core::mem::zeroed(); (::windows::core::Interface::vtable(self)#bases.#vname)(::core::mem::transmute_copy(self), &mut result__ #(,#args)*); @@ -222,7 +236,8 @@ pub fn gen_com_method(def: &TypeDef, method: &MethodDef, method_names: &mut Meth let return_type = gen_return_sig(&signature, gen); quote! { - #cfg + #doc + #features pub unsafe fn #name<#constraints>(&self, #params) #return_type { ::core::mem::transmute((::windows::core::Interface::vtable(self)#bases.#vname)(::core::mem::transmute_copy(self), #(#args,)*)) } @@ -233,7 +248,8 @@ pub fn gen_com_method(def: &TypeDef, method: &MethodDef, method_names: &mut Meth let args = signature.params.iter().map(gen_win32_abi_arg); quote! { - #cfg + #doc + #features pub unsafe fn #name<#constraints>(&self, #params) { (::windows::core::Interface::vtable(self)#bases.#vname)(::core::mem::transmute_copy(self), #(#args,)*) } diff --git a/crates/libs/bindgen/src/structs.rs b/crates/libs/bindgen/src/structs.rs index 9b2a15e19d..32533eaabe 100644 --- a/crates/libs/bindgen/src/structs.rs +++ b/crates/libs/bindgen/src/structs.rs @@ -38,7 +38,7 @@ fn gen_struct_with_name(def: &TypeDef, struct_name: &str, cfg: &Cfg, gen: &Gen) } let is_union = def.is_union(); - let cfg = cfg.union(gen.type_cfg(def)); + let cfg = cfg.union(&def.cfg()); let repr = if let Some(layout) = def.class_layout() { let packing = Literal::u32_unsuffixed(layout.packing_size()); @@ -67,8 +67,8 @@ fn gen_struct_with_name(def: &TypeDef, struct_name: &str, cfg: &Cfg, gen: &Gen) quote! { struct } }; - let features = cfg.gen(gen); - let doc = cfg.gen_doc(gen); + let doc = gen.doc(&cfg); + let features = gen.cfg(&cfg); let mut tokens = quote! { #repr @@ -116,10 +116,10 @@ fn gen_windows_traits(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) - quote! { ::core::mem::ManuallyDrop } }; - let cfg = cfg.gen(gen); + let features = gen.cfg(&cfg); let mut tokens = quote! { - #cfg + #features unsafe impl ::windows::core::Abi for #name { type Abi = #abi; } @@ -135,7 +135,7 @@ fn gen_windows_traits(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) - }; tokens.combine("e! { - #cfg + #features unsafe impl ::windows::core::RuntimeType for #name { const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(#signature); type DefaultType = Self; @@ -151,13 +151,13 @@ fn gen_windows_traits(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) - } fn gen_compare_traits(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) -> TokenStream { - let cfg = cfg.gen(gen); + let features = gen.cfg(&cfg); if gen.sys { quote! {} } else if def.is_blittable() || def.is_union() || def.class_layout().is_some() { quote! { - #cfg + #features impl ::core::cmp::PartialEq for #name { fn eq(&self, other: &Self) -> bool { unsafe { @@ -165,7 +165,7 @@ fn gen_compare_traits(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) - } } } - #cfg + #features impl ::core::cmp::Eq for #name {} } } else { @@ -186,13 +186,13 @@ fn gen_compare_traits(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) - }); quote! { - #cfg + #features impl ::core::cmp::PartialEq for #name { fn eq(&self, other: &Self) -> bool { #(#fields)&&* } } - #cfg + #features impl ::core::cmp::Eq for #name {} } } @@ -203,7 +203,7 @@ fn gen_debug(def: &TypeDef, ident: &TokenStream, cfg: &Cfg, gen: &Gen) -> TokenS quote! {} } else { let name = ident.as_str(); - let cfg = cfg.gen(gen); + let features = gen.cfg(&cfg); let fields = def.fields().map(|f| { if f.is_literal() { @@ -223,7 +223,7 @@ fn gen_debug(def: &TypeDef, ident: &TokenStream, cfg: &Cfg, gen: &Gen) -> TokenS }); quote! { - #cfg + #features impl ::core::fmt::Debug for #ident { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct(#name) #(#fields)* .finish() @@ -234,13 +234,13 @@ fn gen_debug(def: &TypeDef, ident: &TokenStream, cfg: &Cfg, gen: &Gen) -> TokenS } fn gen_copy_clone(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) -> TokenStream { - let cfg = cfg.gen(gen); + let features = gen.cfg(&cfg); if gen.sys || def.is_blittable() { quote! { - #cfg + #features impl ::core::marker::Copy for #name {} - #cfg + #features impl ::core::clone::Clone for #name { fn clone(&self) -> Self { *self @@ -249,7 +249,7 @@ fn gen_copy_clone(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) -> To } } else if def.is_union() { quote! { - #cfg + #features impl ::core::clone::Clone for #name { fn clone(&self) -> Self { unsafe { ::core::mem::transmute_copy(self) } @@ -272,7 +272,7 @@ fn gen_copy_clone(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) -> To }); quote! { - #cfg + #features impl ::core::clone::Clone for #name { fn clone(&self) -> Self { Self { #(#fields),* } @@ -283,7 +283,7 @@ fn gen_copy_clone(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) -> To } fn gen_struct_constants(def: &TypeDef, struct_name: &TokenStream, cfg: &Cfg, gen: &Gen) -> TokenStream { - let cfg = cfg.gen(gen); + let features = gen.cfg(&cfg); let constants = def.fields().filter_map(|f| { if f.is_literal() { @@ -304,7 +304,7 @@ fn gen_struct_constants(def: &TypeDef, struct_name: &TokenStream, cfg: &Cfg, gen if !tokens.is_empty() { tokens = quote! { - #cfg + #features impl #struct_name { #tokens } diff --git a/crates/libs/metadata/src/cfg.rs b/crates/libs/metadata/src/cfg.rs index 6b15688e0b..9840263876 100644 --- a/crates/libs/metadata/src/cfg.rs +++ b/crates/libs/metadata/src/cfg.rs @@ -1,13 +1,18 @@ use super::*; use std::collections::*; +#[derive(Clone)] pub struct Cfg{ types: BTreeMap<&'static str, BTreeSet>, arches: BTreeSet<&'static str>, } impl Cfg { - pub fn namespaces(&self) -> Vec<&'static str> { + pub fn new() -> Self { + Self{types: BTreeMap::new(), arches: BTreeSet::new()} + } + + pub fn features(&self) -> Vec<&'static str> { let mut compact = Vec::<&'static str>::new(); for feature in self.types.keys() { for pos in 0..compact.len() { @@ -25,15 +30,11 @@ impl Cfg { &self.arches } - pub(crate) fn new() -> Self { - Self{types: BTreeMap::new(), arches: BTreeSet::new()} - } - pub(crate) fn add_type(&mut self, def: &TypeDef) -> bool { self.types.entry(def.namespace()).or_default().insert(def.row.clone()) } - pub(crate) fn add_feature(&mut self, feature: &'static str) { + pub fn add_feature(&mut self, feature: &'static str) { self.types.entry(feature).or_default(); } @@ -49,7 +50,7 @@ impl Cfg { } } - pub(crate) fn add_attributes(&mut self, attributes: impl Iterator) { + pub fn add_attributes(&mut self, attributes: impl Iterator) { for attribute in attributes { match attribute.name() { "SupportedArchitectureAttribute" => { @@ -82,3 +83,54 @@ impl Cfg { union } } + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn types() { + let def = TypeReader::get().get_type(("Windows.Foundation", "IStringable")).unwrap(); + let namespaces = def.cfg().features(); + assert_eq!(namespaces.len(), 1); + assert_eq!(namespaces[0], "Windows.Foundation"); + + let def = TypeReader::get().get_type(("Windows.Devices.Display.Core", "DisplayPresentationRate")).unwrap(); + let namespaces = def.cfg().features(); + assert_eq!(namespaces.len(), 2); + assert_eq!(namespaces[0], "Windows.Devices.Display.Core"); + assert_eq!(namespaces[1], "Windows.Foundation.Numerics"); + + let def = TypeReader::get().get_type(("Windows.Graphics.DirectX.Direct3D11", "Direct3DSurfaceDescription")).unwrap(); + let namespaces = def.cfg().features(); + assert_eq!(namespaces.len(), 1); + assert_eq!(namespaces[0], "Windows.Graphics.DirectX.Direct3D11"); + + let def = TypeReader::get().get_type(("Windows.Win32.Security.Authorization.UI", "EFFPERM_RESULT_LIST")).unwrap(); + let namespaces = def.cfg().features(); + assert_eq!(namespaces.len(), 2); + assert_eq!(namespaces[0], "Windows.Win32.Foundation"); + assert_eq!(namespaces[1], "Windows.Win32.Security.Authorization.UI"); + } + + #[test] + fn type_defs() { + let def = TypeReader::get().expect_type_def(("Windows.Foundation", "IStringable")); + let namespaces = def.cfg().features(); + assert_eq!(namespaces.len(), 0); + + let def = TypeReader::get().expect_type_def(("Windows.Devices.Display.Core", "DisplayPresentationRate")); + let namespaces = def.cfg().features(); + assert_eq!(namespaces.len(), 1); + assert_eq!(namespaces[0], "Windows.Foundation.Numerics"); + + let def = TypeReader::get().expect_type_def(("Windows.Graphics.DirectX.Direct3D11", "Direct3DSurfaceDescription")); + let namespaces = def.cfg().features(); + assert_eq!(namespaces.len(), 0); + + let def = TypeReader::get().expect_type_def(("Windows.Win32.Security.Authorization.UI", "EFFPERM_RESULT_LIST")); + let namespaces = def.cfg().features(); + assert_eq!(namespaces.len(), 1); + assert_eq!(namespaces[0], "Windows.Win32.Foundation"); + } +} diff --git a/crates/libs/metadata/src/tables/field.rs b/crates/libs/metadata/src/tables/field.rs index 4b2d089ef9..8afa32d1c0 100644 --- a/crates/libs/metadata/src/tables/field.rs +++ b/crates/libs/metadata/src/tables/field.rs @@ -51,6 +51,13 @@ impl Field { self.attributes().any(|attribute| attribute.name() == name) } + pub fn cfg(&self) -> Cfg { + let mut cfg = Cfg::new(); + self.combine_cfg(None, &mut cfg); + cfg.add_attributes(self.attributes()); + cfg + } + pub(crate) fn combine_cfg(&self, enclosing: Option<&TypeDef>, cfg: &mut Cfg) { self.get_type(enclosing).combine_cfg(cfg); } diff --git a/crates/libs/metadata/src/tables/method_def.rs b/crates/libs/metadata/src/tables/method_def.rs index 3dc4f1dd3d..111543fe91 100644 --- a/crates/libs/metadata/src/tables/method_def.rs +++ b/crates/libs/metadata/src/tables/method_def.rs @@ -120,8 +120,14 @@ impl MethodDef { Signature { params, return_type, return_param, preserve_sig } } + pub fn cfg(&self) -> Cfg { + let mut cfg = Cfg::new(); + self.combine_cfg(&mut cfg); + cfg.add_attributes(self.attributes()); + cfg + } + pub(crate) fn combine_cfg(&self, cfg: &mut Cfg) { self.signature(&[]).combine_cfg(cfg); - cfg.add_attributes(self.attributes()); } } diff --git a/crates/libs/metadata/src/tables/type_def.rs b/crates/libs/metadata/src/tables/type_def.rs index eb560c4c1b..9773e7ea71 100644 --- a/crates/libs/metadata/src/tables/type_def.rs +++ b/crates/libs/metadata/src/tables/type_def.rs @@ -574,13 +574,50 @@ impl TypeDef { } } + pub fn cfg(&self) -> Cfg { + let mut cfg = Cfg::new(); + self.combine_cfg(&mut cfg); + cfg.add_attributes(self.attributes()); + cfg.remove_feature(self.namespace()); + cfg + } + + pub fn impl_cfg(&self) -> Cfg { + let mut cfg = Cfg::new(); + + fn combine(def: &TypeDef, cfg: &mut Cfg) { + def.combine_cfg(cfg); + + for method in def.methods() { + method.combine_cfg(cfg); + } + } + + combine(self, &mut cfg); + + for def in self.vtable_types() { + if let Type::TypeDef(def) = def { + combine(&def, &mut cfg); + } + } + + if self.is_winrt() { + for def in self.required_interfaces() { + combine(&def, &mut cfg); + } + } + + cfg.add_attributes(self.attributes()); + cfg.remove_feature(self.namespace()); + cfg + } + pub(crate) fn combine_cfg(&self, cfg: &mut Cfg) { for generic in &self.generics { generic.combine_cfg(cfg); } if cfg.add_type(self) { - cfg.add_attributes(self.attributes()); match self.kind() { TypeKind::Class => { if let Some(def) = self.default_interface() { diff --git a/crates/libs/metadata/src/type.rs b/crates/libs/metadata/src/type.rs index 911eeaad10..8afa138b47 100644 --- a/crates/libs/metadata/src/type.rs +++ b/crates/libs/metadata/src/type.rs @@ -266,7 +266,6 @@ impl Type { pub fn cfg(&self) -> Cfg { let mut cfg = Cfg::new(); self.combine_cfg(&mut cfg); - cfg.remove_feature(self.type_name().namespace); cfg } @@ -284,29 +283,3 @@ impl Type { } } } - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn cfg() { - let def = TypeReader::get().get_type(("Windows.Foundation", "IStringable")).unwrap(); - let namespaces = def.cfg().namespaces(); - assert_eq!(namespaces.len(), 0); - - let def = TypeReader::get().get_type(("Windows.Devices.Display.Core", "DisplayPresentationRate")).unwrap(); - let namespaces = def.cfg().namespaces(); - assert_eq!(namespaces.len(), 1); - assert_eq!(namespaces[0], "Windows.Foundation.Numerics"); - - let def = TypeReader::get().get_type(("Windows.Graphics.DirectX.Direct3D11", "Direct3DSurfaceDescription")).unwrap(); - let namespaces = def.cfg().namespaces(); - assert_eq!(namespaces.len(), 0); - - let def = TypeReader::get().get_type(("Windows.Win32.Security.Authorization.UI", "EFFPERM_RESULT_LIST")).unwrap(); - let namespaces = def.cfg().namespaces(); - assert_eq!(namespaces.len(), 1); - assert_eq!(namespaces[0], "Windows.Win32.Foundation"); - } -} From 910a6ac3d3dd537252608b5cc561218e98e76fab Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 17 Feb 2022 12:17:09 -0800 Subject: [PATCH 08/16] closer --- crates/libs/bindgen/src/gen.rs | 6 +- crates/libs/metadata/src/cfg.rs | 79 ++++++++++++--------- crates/libs/metadata/src/tables/type_def.rs | 2 - 3 files changed, 49 insertions(+), 38 deletions(-) diff --git a/crates/libs/bindgen/src/gen.rs b/crates/libs/bindgen/src/gen.rs index 86b5051866..dd5dd09adf 100644 --- a/crates/libs/bindgen/src/gen.rs +++ b/crates/libs/bindgen/src/gen.rs @@ -65,7 +65,7 @@ impl Gen<'_> { } else { let mut tokens = format!("'{}'", to_feature(self.namespace)); - for features in &cfg.features() { + for features in &cfg.features(self.namespace) { tokens.push_str(&format!(", '{}'", to_feature(features))); } @@ -88,7 +88,7 @@ impl Gen<'_> { } }; - let features = &cfg.features(); + let features = &cfg.features(self.namespace); let features = match features.len() { 0 => quote! {}, 1 => { @@ -106,7 +106,7 @@ impl Gen<'_> { } pub(crate) fn not_cfg(&self, cfg: &Cfg) -> TokenStream { - let features = &cfg.features(); + let features = &cfg.features(self.namespace); if !self.cfg || features.is_empty() { quote! {} } else { diff --git a/crates/libs/metadata/src/cfg.rs b/crates/libs/metadata/src/cfg.rs index 9840263876..d93956bd40 100644 --- a/crates/libs/metadata/src/cfg.rs +++ b/crates/libs/metadata/src/cfg.rs @@ -12,16 +12,18 @@ impl Cfg { Self{types: BTreeMap::new(), arches: BTreeSet::new()} } - pub fn features(&self) -> Vec<&'static str> { + pub fn features(&self, namespace: &str) -> Vec<&'static str> { let mut compact = Vec::<&'static str>::new(); for feature in self.types.keys() { - for pos in 0..compact.len() { - if feature.starts_with(unsafe { compact.get_unchecked(pos) }) { - compact.remove(pos); - break; + if !feature.is_empty() && !starts_with(namespace, feature) { + for pos in 0..compact.len() { + if feature.starts_with(unsafe { compact.get_unchecked(pos) }) { + compact.remove(pos); + break; + } } + compact.push(feature); } - compact.push(feature); } compact } @@ -38,19 +40,7 @@ impl Cfg { self.types.entry(feature).or_default(); } - pub(crate) fn remove_feature(&mut self, feature: &'static str) { - let mut remove = Vec::<&'static str>::new(); - for existing in self.types.keys() { - if feature.starts_with(existing) { - remove.push(existing); - } - } - for remove in remove { - self.types.remove(remove); - } - } - - pub fn add_attributes(&mut self, attributes: impl Iterator) { + pub(crate) fn add_attributes(&mut self, attributes: impl Iterator) { for attribute in attributes { match attribute.name() { "SupportedArchitectureAttribute" => { @@ -84,53 +74,76 @@ impl Cfg { } } +fn starts_with(namespace: &str, feature:&str) -> bool { + if namespace.len() == feature.len() { + return namespace == feature; + } + + if namespace.len() > feature.len() { + if namespace.as_bytes().get(feature.len()) == Some(&b'.') { + return namespace.starts_with(feature); + } + } + + false +} + #[cfg(test)] mod tests { use super::*; #[test] - fn types() { - let def = TypeReader::get().get_type(("Windows.Foundation", "IStringable")).unwrap(); - let namespaces = def.cfg().features(); + fn relative() { + let def = TypeReader::get().expect_type_def(("Windows.Foundation", "IStringable")); + let namespaces = def.cfg().features("Windows"); assert_eq!(namespaces.len(), 1); assert_eq!(namespaces[0], "Windows.Foundation"); - let def = TypeReader::get().get_type(("Windows.Devices.Display.Core", "DisplayPresentationRate")).unwrap(); - let namespaces = def.cfg().features(); + let def = TypeReader::get().expect_type_def(("Windows.Devices.Display.Core", "DisplayPresentationRate")); + let namespaces = def.cfg().features("Windows"); assert_eq!(namespaces.len(), 2); assert_eq!(namespaces[0], "Windows.Devices.Display.Core"); assert_eq!(namespaces[1], "Windows.Foundation.Numerics"); - let def = TypeReader::get().get_type(("Windows.Graphics.DirectX.Direct3D11", "Direct3DSurfaceDescription")).unwrap(); - let namespaces = def.cfg().features(); + let def = TypeReader::get().expect_type_def(("Windows.Graphics.DirectX.Direct3D11", "Direct3DSurfaceDescription")); + let namespaces = def.cfg().features("Windows"); assert_eq!(namespaces.len(), 1); assert_eq!(namespaces[0], "Windows.Graphics.DirectX.Direct3D11"); - let def = TypeReader::get().get_type(("Windows.Win32.Security.Authorization.UI", "EFFPERM_RESULT_LIST")).unwrap(); - let namespaces = def.cfg().features(); + let def = TypeReader::get().expect_type_def(("Windows.Win32.Security.Authorization.UI", "EFFPERM_RESULT_LIST")); + let namespaces = def.cfg().features("Windows"); assert_eq!(namespaces.len(), 2); assert_eq!(namespaces[0], "Windows.Win32.Foundation"); assert_eq!(namespaces[1], "Windows.Win32.Security.Authorization.UI"); + + let def = TypeReader::get().expect_type_def(("Windows.Win32.AI.MachineLearning.WinML", "MLOperatorEdgeDescription")); + let namespaces = def.cfg().features("Windows"); + assert_eq!(namespaces.len(), 1); + assert_eq!(namespaces[0], "Windows.Win32.AI.MachineLearning.WinML"); } #[test] - fn type_defs() { + fn local() { let def = TypeReader::get().expect_type_def(("Windows.Foundation", "IStringable")); - let namespaces = def.cfg().features(); + let namespaces = def.cfg().features("Windows.Foundation"); assert_eq!(namespaces.len(), 0); let def = TypeReader::get().expect_type_def(("Windows.Devices.Display.Core", "DisplayPresentationRate")); - let namespaces = def.cfg().features(); + let namespaces = def.cfg().features("Windows.Devices.Display.Core"); assert_eq!(namespaces.len(), 1); assert_eq!(namespaces[0], "Windows.Foundation.Numerics"); let def = TypeReader::get().expect_type_def(("Windows.Graphics.DirectX.Direct3D11", "Direct3DSurfaceDescription")); - let namespaces = def.cfg().features(); + let namespaces = def.cfg().features("Windows.Graphics.DirectX.Direct3D11"); assert_eq!(namespaces.len(), 0); let def = TypeReader::get().expect_type_def(("Windows.Win32.Security.Authorization.UI", "EFFPERM_RESULT_LIST")); - let namespaces = def.cfg().features(); + let namespaces = def.cfg().features("Windows.Win32.Security.Authorization.UI"); assert_eq!(namespaces.len(), 1); assert_eq!(namespaces[0], "Windows.Win32.Foundation"); + + let def = TypeReader::get().expect_type_def(("Windows.Win32.AI.MachineLearning.WinML", "MLOperatorEdgeDescription")); + let namespaces = def.cfg().features("Windows.Win32.AI.MachineLearning.WinML"); + assert_eq!(namespaces.len(), 0); } } diff --git a/crates/libs/metadata/src/tables/type_def.rs b/crates/libs/metadata/src/tables/type_def.rs index 9773e7ea71..b3bde8de1a 100644 --- a/crates/libs/metadata/src/tables/type_def.rs +++ b/crates/libs/metadata/src/tables/type_def.rs @@ -578,7 +578,6 @@ impl TypeDef { let mut cfg = Cfg::new(); self.combine_cfg(&mut cfg); cfg.add_attributes(self.attributes()); - cfg.remove_feature(self.namespace()); cfg } @@ -608,7 +607,6 @@ impl TypeDef { } cfg.add_attributes(self.attributes()); - cfg.remove_feature(self.namespace()); cfg } From 7f81033cc9a4e0fdac5a3eefcc1ac6c66d74503b Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 17 Feb 2022 12:33:19 -0800 Subject: [PATCH 09/16] starts_with --- crates/libs/metadata/src/cfg.rs | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/crates/libs/metadata/src/cfg.rs b/crates/libs/metadata/src/cfg.rs index d93956bd40..775a7b7ae3 100644 --- a/crates/libs/metadata/src/cfg.rs +++ b/crates/libs/metadata/src/cfg.rs @@ -17,7 +17,7 @@ impl Cfg { for feature in self.types.keys() { if !feature.is_empty() && !starts_with(namespace, feature) { for pos in 0..compact.len() { - if feature.starts_with(unsafe { compact.get_unchecked(pos) }) { + if starts_with(feature, unsafe { compact.get_unchecked(pos) }) { compact.remove(pos); break; } @@ -75,8 +75,8 @@ impl Cfg { } fn starts_with(namespace: &str, feature:&str) -> bool { - if namespace.len() == feature.len() { - return namespace == feature; + if namespace == feature { + return true; } if namespace.len() > feature.len() { @@ -92,6 +92,14 @@ fn starts_with(namespace: &str, feature:&str) -> bool { mod tests { use super::*; + #[test] + fn test_starts_with() { + assert!(starts_with("Windows.Win32.Graphics.Direct3D11on12", "Windows.Win32.Graphics.Direct3D11on12")); + assert!(starts_with("Windows.Win32.Graphics.Direct3D11on12", "Windows.Win32.Graphics")); + assert!(!starts_with("Windows.Win32.Graphics.Direct3D11on12", "Windows.Win32.Graphics.Direct3D11")); + assert!(!starts_with("Windows.Win32.Graphics.Direct3D", "Windows.Win32.Graphics.Direct3D11")); + } + #[test] fn relative() { let def = TypeReader::get().expect_type_def(("Windows.Foundation", "IStringable")); @@ -120,6 +128,12 @@ mod tests { let namespaces = def.cfg().features("Windows"); assert_eq!(namespaces.len(), 1); assert_eq!(namespaces[0], "Windows.Win32.AI.MachineLearning.WinML"); + + let def = TypeReader::get().get_type(("Windows.Win32.Graphics.Direct3D11on12", "D3D11On12CreateDevice")).unwrap(); + let namespaces = def.cfg().features("Windows"); + assert_eq!(namespaces.len(), 2); + assert_eq!(namespaces[0], "Windows.Win32.Graphics.Direct3D"); + assert_eq!(namespaces[1], "Windows.Win32.Graphics.Direct3D11"); } #[test] @@ -145,5 +159,11 @@ mod tests { let def = TypeReader::get().expect_type_def(("Windows.Win32.AI.MachineLearning.WinML", "MLOperatorEdgeDescription")); let namespaces = def.cfg().features("Windows.Win32.AI.MachineLearning.WinML"); assert_eq!(namespaces.len(), 0); + + let def = TypeReader::get().get_type(("Windows.Win32.Graphics.Direct3D11on12", "D3D11On12CreateDevice")).unwrap(); + let namespaces = def.cfg().features("Windows.Win32.Graphics.Direct3D11on12"); + assert_eq!(namespaces.len(), 2); + assert_eq!(namespaces[0], "Windows.Win32.Graphics.Direct3D"); + assert_eq!(namespaces[1], "Windows.Win32.Graphics.Direct3D11"); } } From 45c3ed717b0d3a2a733d18217618894dbd622636 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 17 Feb 2022 13:10:08 -0800 Subject: [PATCH 10/16] arch --- crates/libs/metadata/src/cfg.rs | 11 +++++++++++ crates/libs/metadata/src/tables/type_def.rs | 8 ++++++++ 2 files changed, 19 insertions(+) diff --git a/crates/libs/metadata/src/cfg.rs b/crates/libs/metadata/src/cfg.rs index 775a7b7ae3..a79b2830d0 100644 --- a/crates/libs/metadata/src/cfg.rs +++ b/crates/libs/metadata/src/cfg.rs @@ -134,6 +134,12 @@ mod tests { assert_eq!(namespaces.len(), 2); assert_eq!(namespaces[0], "Windows.Win32.Graphics.Direct3D"); assert_eq!(namespaces[1], "Windows.Win32.Graphics.Direct3D11"); + + let def = TypeReader::get().expect_type_def(("Windows.Win32.System.Diagnostics.Debug", "CONTEXT")); + let namespaces = def.cfg().features("Windows"); + assert_eq!(namespaces.len(), 2); + assert_eq!(namespaces[0], "Windows.Win32.System.Diagnostics.Debug"); + assert_eq!(namespaces[1], "Windows.Win32.System.Kernel"); } #[test] @@ -165,5 +171,10 @@ mod tests { assert_eq!(namespaces.len(), 2); assert_eq!(namespaces[0], "Windows.Win32.Graphics.Direct3D"); assert_eq!(namespaces[1], "Windows.Win32.Graphics.Direct3D11"); + + let def = TypeReader::get().expect_type_def(("Windows.Win32.System.Diagnostics.Debug", "CONTEXT")); + let namespaces = def.cfg().features("Windows.Win32.System.Diagnostics.Debug"); + assert_eq!(namespaces.len(), 1); + assert_eq!(namespaces[0], "Windows.Win32.System.Kernel"); } } diff --git a/crates/libs/metadata/src/tables/type_def.rs b/crates/libs/metadata/src/tables/type_def.rs index b3bde8de1a..6196acbdf3 100644 --- a/crates/libs/metadata/src/tables/type_def.rs +++ b/crates/libs/metadata/src/tables/type_def.rs @@ -633,6 +633,14 @@ impl TypeDef { } TypeKind::Struct => { self.fields().for_each(|field| field.combine_cfg(Some(self), cfg)); + + if let Some(entry) = TypeReader::get().get_type_entry(self.type_name()) { + for def in entry { + if let Type::TypeDef(def) = def { + def.combine_cfg(cfg); + } + } + } } TypeKind::Delegate => self.invoke_method().combine_cfg(cfg), _ => {} From 5495073a1239cb8429319d9b2b0a0fbfa983f206 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 17 Feb 2022 13:21:53 -0800 Subject: [PATCH 11/16] fmt --- crates/libs/bindgen/src/gen.rs | 2 +- crates/libs/metadata/src/cfg.rs | 22 +++++++++++++--------- crates/libs/metadata/src/lib.rs | 4 ++-- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/crates/libs/bindgen/src/gen.rs b/crates/libs/bindgen/src/gen.rs index dd5dd09adf..a1c5bb07f3 100644 --- a/crates/libs/bindgen/src/gen.rs +++ b/crates/libs/bindgen/src/gen.rs @@ -58,7 +58,7 @@ impl Gen<'_> { cfg.add_feature(def.namespace()); cfg } - + pub(crate) fn doc(&self, cfg: &Cfg) -> TokenStream { if !self.doc { quote! {} diff --git a/crates/libs/metadata/src/cfg.rs b/crates/libs/metadata/src/cfg.rs index a79b2830d0..16f49507f1 100644 --- a/crates/libs/metadata/src/cfg.rs +++ b/crates/libs/metadata/src/cfg.rs @@ -2,14 +2,14 @@ use super::*; use std::collections::*; #[derive(Clone)] -pub struct Cfg{ +pub struct Cfg { types: BTreeMap<&'static str, BTreeSet>, - arches: BTreeSet<&'static str>, + arches: BTreeSet<&'static str>, } impl Cfg { pub fn new() -> Self { - Self{types: BTreeMap::new(), arches: BTreeSet::new()} + Self { types: BTreeMap::new(), arches: BTreeSet::new() } } pub fn features(&self, namespace: &str) -> Vec<&'static str> { @@ -66,19 +66,23 @@ impl Cfg { pub fn union(&self, other: &Self) -> Self { let mut union = Self::new(); - self.types.keys().for_each(|feature|union.add_feature(feature)); - other.types.keys().for_each(|feature|union.add_feature(feature)); - self.arches.iter().for_each(|arch|{union.arches.insert(arch);}); - other.arches.iter().for_each(|arch|{union.arches.insert(arch);}); + self.types.keys().for_each(|feature| union.add_feature(feature)); + other.types.keys().for_each(|feature| union.add_feature(feature)); + self.arches.iter().for_each(|arch| { + union.arches.insert(arch); + }); + other.arches.iter().for_each(|arch| { + union.arches.insert(arch); + }); union } } -fn starts_with(namespace: &str, feature:&str) -> bool { +fn starts_with(namespace: &str, feature: &str) -> bool { if namespace == feature { return true; } - + if namespace.len() > feature.len() { if namespace.as_bytes().get(feature.len()) == Some(&b'.') { return namespace.starts_with(feature); diff --git a/crates/libs/metadata/src/lib.rs b/crates/libs/metadata/src/lib.rs index 91e806de02..48c3da009d 100644 --- a/crates/libs/metadata/src/lib.rs +++ b/crates/libs/metadata/src/lib.rs @@ -1,8 +1,8 @@ mod async_kind; mod blob; +mod cfg; mod codes; mod constant_value; -mod cfg; mod file; mod guid; mod interface_kind; @@ -21,9 +21,9 @@ mod workspace; pub use async_kind::*; pub use blob::*; +pub use cfg::*; pub use codes::*; pub use constant_value::*; -pub use cfg::*; pub use file::*; pub use guid::*; pub use interface_kind::*; From 3c22a6b142590c3ad1702b968f5be39d9e37940d Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 17 Feb 2022 13:22:25 -0800 Subject: [PATCH 12/16] clippy --- crates/libs/bindgen/src/structs.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/libs/bindgen/src/structs.rs b/crates/libs/bindgen/src/structs.rs index 32533eaabe..fb6d579fc8 100644 --- a/crates/libs/bindgen/src/structs.rs +++ b/crates/libs/bindgen/src/structs.rs @@ -116,7 +116,7 @@ fn gen_windows_traits(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) - quote! { ::core::mem::ManuallyDrop } }; - let features = gen.cfg(&cfg); + let features = gen.cfg(cfg); let mut tokens = quote! { #features @@ -151,7 +151,7 @@ fn gen_windows_traits(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) - } fn gen_compare_traits(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) -> TokenStream { - let features = gen.cfg(&cfg); + let features = gen.cfg(cfg); if gen.sys { quote! {} @@ -203,7 +203,7 @@ fn gen_debug(def: &TypeDef, ident: &TokenStream, cfg: &Cfg, gen: &Gen) -> TokenS quote! {} } else { let name = ident.as_str(); - let features = gen.cfg(&cfg); + let features = gen.cfg(cfg); let fields = def.fields().map(|f| { if f.is_literal() { @@ -234,7 +234,7 @@ fn gen_debug(def: &TypeDef, ident: &TokenStream, cfg: &Cfg, gen: &Gen) -> TokenS } fn gen_copy_clone(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) -> TokenStream { - let features = gen.cfg(&cfg); + let features = gen.cfg(cfg); if gen.sys || def.is_blittable() { quote! { @@ -283,7 +283,7 @@ fn gen_copy_clone(def: &TypeDef, name: &TokenStream, cfg: &Cfg, gen: &Gen) -> To } fn gen_struct_constants(def: &TypeDef, struct_name: &TokenStream, cfg: &Cfg, gen: &Gen) -> TokenStream { - let features = gen.cfg(&cfg); + let features = gen.cfg(cfg); let constants = def.fields().filter_map(|f| { if f.is_literal() { From ccdab5cbdb442df0324bc6ab61f272b8d674d49b Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 17 Feb 2022 13:23:29 -0800 Subject: [PATCH 13/16] clippy --- crates/libs/metadata/src/cfg.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/crates/libs/metadata/src/cfg.rs b/crates/libs/metadata/src/cfg.rs index 16f49507f1..f2a576629e 100644 --- a/crates/libs/metadata/src/cfg.rs +++ b/crates/libs/metadata/src/cfg.rs @@ -1,7 +1,7 @@ use super::*; use std::collections::*; -#[derive(Clone)] +#[derive(Default, Clone)] pub struct Cfg { types: BTreeMap<&'static str, BTreeSet>, arches: BTreeSet<&'static str>, @@ -83,10 +83,8 @@ fn starts_with(namespace: &str, feature: &str) -> bool { return true; } - if namespace.len() > feature.len() { - if namespace.as_bytes().get(feature.len()) == Some(&b'.') { - return namespace.starts_with(feature); - } + if namespace.len() > feature.len() && namespace.as_bytes().get(feature.len()) == Some(&b'.') { + return namespace.starts_with(feature); } false From 69fa83042f68c28660a2dd12a86ebef6898bff76 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 17 Feb 2022 13:34:49 -0800 Subject: [PATCH 14/16] generated code --- .../src/Windows/Win32/Devices/Sensors/mod.rs | 144 ++-- .../Windows/Win32/Graphics/Direct3D10/mod.rs | 12 +- .../Windows/Win32/Graphics/Direct3D11/mod.rs | 8 +- .../sys/src/Windows/Win32/Media/Audio/mod.rs | 20 +- .../Windows/Win32/Media/DeviceManager/mod.rs | 48 +- .../Win32/Media/MediaFoundation/mod.rs | 16 +- .../Win32/Networking/ActiveDirectory/mod.rs | 16 +- .../Windows/Win32/Security/WinTrust/mod.rs | 132 ++-- .../src/Windows/Win32/Storage/Imapi/mod.rs | 4 +- .../Win32/System/Diagnostics/Debug/mod.rs | 8 +- .../sys/src/Windows/Win32/System/Ole/mod.rs | 84 +-- .../src/Windows/Win32/System/Search/mod.rs | 104 +-- .../Win32/System/VirtualDosMachines/mod.rs | 12 +- .../Win32/UI/Shell/PropertiesSystem/mod.rs | 384 +++++------ .../sys/src/Windows/Win32/UI/Shell/mod.rs | 8 +- .../Windows/AI/MachineLearning/Preview/mod.rs | 8 +- .../src/Windows/AI/MachineLearning/mod.rs | 8 +- .../ApplicationModel/Activation/impl.rs | 6 +- .../ApplicationModel/AppExtensions/mod.rs | 16 +- .../ApplicationModel/AppService/mod.rs | 32 +- .../ApplicationModel/Appointments/mod.rs | 112 ++-- .../ApplicationModel/Background/mod.rs | 16 +- .../src/Windows/ApplicationModel/Calls/mod.rs | 48 +- .../src/Windows/ApplicationModel/Chat/mod.rs | 104 +-- .../Windows/ApplicationModel/Contacts/mod.rs | 120 ++-- .../ConversationalAgent/mod.rs | 56 +- .../ApplicationModel/DataTransfer/mod.rs | 16 +- .../Email/DataProvider/mod.rs | 16 +- .../src/Windows/ApplicationModel/Email/mod.rs | 64 +- .../ApplicationModel/Payments/Provider/mod.rs | 8 +- .../Windows/ApplicationModel/Payments/mod.rs | 8 +- .../ApplicationModel/Resources/Core/mod.rs | 8 +- .../Resources/Management/mod.rs | 8 +- .../Store/LicenseManagement/mod.rs | 8 +- .../Store/Preview/InstallControl/mod.rs | 72 +- .../ApplicationModel/Store/Preview/mod.rs | 16 +- .../src/Windows/ApplicationModel/Store/mod.rs | 48 +- .../ApplicationModel/UserActivities/mod.rs | 16 +- .../UserDataAccounts/SystemAccess/mod.rs | 8 +- .../ApplicationModel/UserDataAccounts/mod.rs | 56 +- .../ApplicationModel/UserDataTasks/mod.rs | 8 +- .../ApplicationModel/VoiceCommands/mod.rs | 8 +- .../ApplicationModel/Wallet/System/mod.rs | 8 +- .../Windows/ApplicationModel/Wallet/mod.rs | 16 +- .../src/Windows/ApplicationModel/mod.rs | 88 +-- .../libs/windows/src/Windows/Data/Text/mod.rs | 56 +- .../windows/src/Windows/Devices/Adc/mod.rs | 8 +- .../Bluetooth/GenericAttributeProfile/mod.rs | 8 +- .../Windows/Devices/Bluetooth/Rfcomm/mod.rs | 16 +- .../src/Windows/Devices/Display/Core/mod.rs | 48 +- .../Windows/Devices/Enumeration/Pnp/mod.rs | 24 +- .../src/Windows/Devices/Enumeration/mod.rs | 56 +- .../src/Windows/Devices/Geolocation/mod.rs | 16 +- .../windows/src/Windows/Devices/Gpio/mod.rs | 16 +- .../src/Windows/Devices/Haptics/mod.rs | 8 +- .../src/Windows/Devices/I2c/Provider/impl.rs | 6 +- .../src/Windows/Devices/I2c/Provider/mod.rs | 8 +- .../windows/src/Windows/Devices/I2c/mod.rs | 8 +- .../Devices/Perception/Provider/impl.rs | 6 +- .../src/Windows/Devices/Perception/mod.rs | 56 +- .../src/Windows/Devices/PointOfService/mod.rs | 128 ++-- .../src/Windows/Devices/Printers/mod.rs | 32 +- .../windows/src/Windows/Devices/Pwm/mod.rs | 8 +- .../windows/src/Windows/Devices/Radios/mod.rs | 8 +- .../src/Windows/Devices/Sensors/mod.rs | 32 +- .../src/Windows/Devices/SmartCards/mod.rs | 56 +- .../windows/src/Windows/Devices/Sms/impl.rs | 6 +- .../windows/src/Windows/Devices/Sms/mod.rs | 16 +- .../src/Windows/Devices/Spi/Provider/impl.rs | 6 +- .../src/Windows/Devices/Spi/Provider/mod.rs | 8 +- .../windows/src/Windows/Devices/Spi/mod.rs | 8 +- .../windows/src/Windows/Devices/WiFi/mod.rs | 8 +- .../src/Windows/Foundation/Collections/mod.rs | 16 - .../windows/src/Windows/Foundation/mod.rs | 8 - .../Windows/Gaming/Input/ForceFeedback/mod.rs | 48 +- .../Gaming/Preview/GamesEnumeration/impl.rs | 6 +- .../Gaming/Preview/GamesEnumeration/mod.rs | 24 +- .../Windows/Gaming/XboxLive/Storage/mod.rs | 32 +- .../src/Windows/Graphics/Capture/mod.rs | 24 +- .../src/Windows/Graphics/Holographic/mod.rs | 24 +- .../src/Windows/Graphics/Imaging/impl.rs | 6 +- .../src/Windows/Graphics/Imaging/mod.rs | 40 +- .../src/Windows/Management/Deployment/mod.rs | 232 +++---- .../windows/src/Windows/Management/mod.rs | 8 +- .../src/Windows/Media/AppRecording/mod.rs | 8 +- .../windows/src/Windows/Media/Audio/impl.rs | 24 +- .../src/Windows/Media/Capture/Frames/mod.rs | 8 +- .../windows/src/Windows/Media/Capture/mod.rs | 48 +- .../windows/src/Windows/Media/Core/mod.rs | 24 +- .../src/Windows/Media/Devices/Core/mod.rs | 48 +- .../windows/src/Windows/Media/Devices/impl.rs | 6 +- .../windows/src/Windows/Media/Devices/mod.rs | 16 +- .../src/Windows/Media/DialProtocol/mod.rs | 16 +- .../windows/src/Windows/Media/Editing/mod.rs | 8 +- .../src/Windows/Media/FaceAnalysis/mod.rs | 24 +- .../windows/src/Windows/Media/Import/mod.rs | 8 +- .../windows/src/Windows/Media/Playback/mod.rs | 56 +- .../Windows/Media/SpeechRecognition/mod.rs | 8 +- crates/libs/windows/src/Windows/Media/impl.rs | 6 +- crates/libs/windows/src/Windows/Media/mod.rs | 8 +- .../Networking/BackgroundTransfer/mod.rs | 104 +-- .../Windows/Networking/Connectivity/mod.rs | 48 +- .../Networking/NetworkOperators/mod.rs | 24 +- .../src/Windows/Networking/Proximity/mod.rs | 8 +- .../src/Windows/Networking/Sockets/mod.rs | 32 +- .../windows/src/Windows/Networking/Vpn/mod.rs | 40 +- .../src/Windows/Perception/People/mod.rs | 8 +- .../Perception/Spatial/Surfaces/mod.rs | 8 +- .../src/Windows/Perception/Spatial/mod.rs | 24 +- .../Phone/Management/Deployment/mod.rs | 16 +- .../PersonalInformation/Provisioning/mod.rs | 16 +- .../Windows/Phone/PersonalInformation/impl.rs | 6 +- .../Windows/Phone/PersonalInformation/mod.rs | 64 +- .../Authentication/Identity/Core/mod.rs | 16 +- .../Authentication/Identity/Provider/mod.rs | 8 +- .../Security/Authentication/Identity/mod.rs | 8 +- .../Security/Authentication/OnlineId/mod.rs | 8 +- .../Authentication/Web/Provider/impl.rs | 6 +- .../Authentication/Web/Provider/mod.rs | 88 +-- .../Security/Authentication/Web/mod.rs | 8 +- .../Authorization/AppCapabilityAccess/mod.rs | 16 +- .../src/Windows/Security/Credentials/mod.rs | 8 +- .../Security/Cryptography/Certificates/mod.rs | 48 +- .../Windows/Security/EnterpriseData/mod.rs | 40 +- .../src/Windows/Security/Isolation/mod.rs | 16 +- .../src/Windows/Services/Cortana/mod.rs | 24 +- .../windows/src/Windows/Services/Maps/mod.rs | 56 +- .../windows/src/Windows/Services/Store/mod.rs | 144 ++-- .../Windows/Services/TargetedContent/mod.rs | 8 +- .../src/Windows/Storage/AccessCache/impl.rs | 6 +- .../src/Windows/Storage/BulkAccess/mod.rs | 80 +-- .../Windows/Storage/FileProperties/impl.rs | 6 +- .../src/Windows/Storage/FileProperties/mod.rs | 64 +- .../src/Windows/Storage/Pickers/mod.rs | 8 +- .../src/Windows/Storage/Provider/mod.rs | 8 +- .../src/Windows/Storage/Search/impl.rs | 6 +- .../windows/src/Windows/Storage/Search/mod.rs | 136 ++-- .../libs/windows/src/Windows/Storage/impl.rs | 6 +- .../libs/windows/src/Windows/Storage/mod.rs | 176 ++--- .../src/Windows/System/Inventory/mod.rs | 8 +- .../windows/src/Windows/System/Profile/mod.rs | 8 +- .../src/Windows/System/RemoteSystems/mod.rs | 24 +- crates/libs/windows/src/Windows/System/mod.rs | 152 ++--- .../UI/Composition/Interactions/mod.rs | 24 +- .../src/Windows/UI/Composition/Scenes/mod.rs | 16 +- .../windows/src/Windows/UI/Composition/mod.rs | 184 +++--- .../libs/windows/src/Windows/UI/Core/impl.rs | 6 +- .../Windows/UI/Input/Inking/Analysis/impl.rs | 6 +- .../Windows/UI/Input/Inking/Analysis/mod.rs | 52 +- .../src/Windows/UI/Input/Inking/Core/mod.rs | 8 +- .../src/Windows/UI/Input/Inking/impl.rs | 12 +- .../src/Windows/UI/Input/Inking/mod.rs | 56 +- .../src/Windows/UI/Input/Spatial/mod.rs | 48 +- .../UI/Notifications/Management/mod.rs | 8 +- .../src/Windows/UI/Notifications/mod.rs | 24 +- .../windows/src/Windows/UI/StartScreen/mod.rs | 40 +- .../libs/windows/src/Windows/UI/WebUI/mod.rs | 8 +- .../Windows/UI/Xaml/Automation/Peers/impl.rs | 12 +- .../src/Windows/UI/Xaml/Controls/Maps/mod.rs | 16 +- .../UI/Xaml/Controls/Primitives/impl.rs | 6 +- .../src/Windows/UI/Xaml/Controls/mod.rs | 104 +-- .../windows/src/Windows/UI/Xaml/Data/impl.rs | 12 +- .../windows/src/Windows/UI/Xaml/Data/mod.rs | 8 +- .../windows/src/Windows/UI/Xaml/Media/mod.rs | 48 +- .../libs/windows/src/Windows/UI/Xaml/impl.rs | 6 +- .../libs/windows/src/Windows/UI/Xaml/mod.rs | 12 +- .../libs/windows/src/Windows/Web/Http/mod.rs | 8 +- .../src/Windows/Web/Syndication/impl.rs | 12 +- .../windows/src/Windows/Web/UI/Interop/mod.rs | 4 +- .../libs/windows/src/Windows/Web/UI/impl.rs | 6 +- crates/libs/windows/src/Windows/Web/UI/mod.rs | 8 +- .../Win32/Devices/FunctionDiscovery/impl.rs | 16 +- .../Win32/Devices/FunctionDiscovery/mod.rs | 48 +- .../Windows/Win32/Devices/Geolocation/impl.rs | 12 +- .../Windows/Win32/Devices/Geolocation/mod.rs | 16 +- .../Win32/Devices/ImageAcquisition/impl.rs | 8 +- .../Win32/Devices/ImageAcquisition/mod.rs | 32 +- .../Win32/Devices/PortableDevices/impl.rs | 12 +- .../Win32/Devices/PortableDevices/mod.rs | 44 +- .../src/Windows/Win32/Devices/Sensors/impl.rs | 8 +- .../src/Windows/Win32/Devices/Sensors/mod.rs | 172 ++--- .../Windows/Win32/Graphics/Direct2D/impl.rs | 64 +- .../Windows/Win32/Graphics/Direct2D/mod.rs | 92 +-- .../Windows/Win32/Graphics/Direct3D10/mod.rs | 12 +- .../Windows/Win32/Graphics/Direct3D11/impl.rs | 8 +- .../Windows/Win32/Graphics/Direct3D11/mod.rs | 8 +- .../Win32/Graphics/Imaging/D2D/impl.rs | 4 +- .../Windows/Win32/Graphics/Imaging/D2D/mod.rs | 24 +- .../Windows/Win32/Graphics/Imaging/impl.rs | 32 +- .../src/Windows/Win32/Graphics/Imaging/mod.rs | 80 +-- .../src/Windows/Win32/Media/Audio/impl.rs | 16 +- .../src/Windows/Win32/Media/Audio/mod.rs | 68 +- .../Windows/Win32/Media/DeviceManager/impl.rs | 8 +- .../Windows/Win32/Media/DeviceManager/mod.rs | 144 ++-- .../Windows/Win32/Media/DirectShow/impl.rs | 12 +- .../src/Windows/Win32/Media/DirectShow/mod.rs | 24 +- .../Win32/Media/MediaFoundation/impl.rs | 148 ++--- .../Win32/Media/MediaFoundation/mod.rs | 588 ++++++++--------- .../Win32/Media/PictureAcquisition/impl.rs | 12 +- .../Win32/Media/PictureAcquisition/mod.rs | 32 +- .../src/Windows/Win32/Media/Speech/impl.rs | 24 +- .../src/Windows/Win32/Media/Speech/mod.rs | 20 +- .../Win32/Networking/ActiveDirectory/impl.rs | 4 +- .../Win32/Networking/ActiveDirectory/mod.rs | 36 +- .../Authentication/Identity/Provider/impl.rs | 16 +- .../Authentication/Identity/Provider/mod.rs | 64 +- .../Windows/Win32/Security/WinTrust/mod.rs | 194 +++--- .../src/Windows/Win32/Storage/Imapi/impl.rs | 12 +- .../src/Windows/Win32/Storage/Imapi/mod.rs | 16 +- .../Windows/Win32/Storage/IndexServer/impl.rs | 4 +- .../Windows/Win32/Storage/IndexServer/mod.rs | 8 +- .../src/Windows/Win32/Storage/Xps/impl.rs | 4 +- .../Win32/System/Diagnostics/Debug/impl.rs | 8 +- .../Win32/System/Diagnostics/Debug/mod.rs | 30 +- .../src/Windows/Win32/System/Ole/impl.rs | 24 +- .../src/Windows/Win32/System/Ole/mod.rs | 140 ++-- .../Win32/System/RemoteDesktop/impl.rs | 24 +- .../Windows/Win32/System/RemoteDesktop/mod.rs | 40 +- .../src/Windows/Win32/System/Search/impl.rs | 92 +-- .../src/Windows/Win32/System/Search/mod.rs | 436 ++++++------ .../src/Windows/Win32/System/SideShow/impl.rs | 12 +- .../src/Windows/Win32/System/SideShow/mod.rs | 28 +- .../Win32/System/VirtualDosMachines/mod.rs | 12 +- .../Windows/Win32/System/WinRT/Pdf/impl.rs | 4 +- .../src/Windows/Win32/System/WinRT/Pdf/mod.rs | 8 +- .../Windows/Win32/System/WindowsSync/impl.rs | 8 +- .../Windows/Win32/System/WindowsSync/mod.rs | 16 +- .../Win32/UI/Controls/RichEdit/impl.rs | 8 +- .../LegacyWindowsEnvironmentFeatures/impl.rs | 4 +- .../LegacyWindowsEnvironmentFeatures/mod.rs | 8 +- .../src/Windows/Win32/UI/Ribbon/impl.rs | 12 +- .../src/Windows/Win32/UI/Ribbon/mod.rs | 40 +- .../Win32/UI/Shell/PropertiesSystem/impl.rs | 56 +- .../Win32/UI/Shell/PropertiesSystem/mod.rs | 620 +++++++++--------- .../src/Windows/Win32/UI/Shell/impl.rs | 28 +- .../windows/src/Windows/Win32/UI/Shell/mod.rs | 76 +-- .../src/Windows/Win32/Web/MsHtml/impl.rs | 4 +- .../src/Windows/Win32/Web/MsHtml/mod.rs | 8 +- 238 files changed, 4828 insertions(+), 4852 deletions(-) diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Sensors/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Sensors/mod.rs index 58faa2f353..f2c5313967 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Sensors/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Sensors/mod.rs @@ -1,117 +1,117 @@ #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] #[link(name = "windows")] extern "system" { - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn CollectionsListAllocateBufferAndSerialize(sourcecollection: *const SENSOR_COLLECTION_LIST, ptargetbuffersizeinbytes: *mut u32, ptargetbuffer: *mut *mut u8) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn CollectionsListCopyAndMarshall(target: *mut SENSOR_COLLECTION_LIST, source: *const SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn CollectionsListDeserializeFromBuffer(sourcebuffersizeinbytes: u32, sourcebuffer: *const u8, targetcollection: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; #[doc = "*Required features: 'Win32_Devices_Sensors'*"] pub fn CollectionsListGetFillableCount(buffersizebytes: u32) -> u32; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn CollectionsListGetMarshalledSize(collection: *const SENSOR_COLLECTION_LIST) -> u32; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn CollectionsListGetMarshalledSizeWithoutSerialization(collection: *const SENSOR_COLLECTION_LIST) -> u32; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn CollectionsListGetSerializedSize(collection: *const SENSOR_COLLECTION_LIST) -> u32; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn CollectionsListMarshall(target: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn CollectionsListSerializeToBuffer(sourcecollection: *const SENSOR_COLLECTION_LIST, targetbuffersizeinbytes: u32, targetbuffer: *mut u8) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn CollectionsListSortSubscribedActivitiesByConfidence(thresholds: *const SENSOR_COLLECTION_LIST, pcollection: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn CollectionsListUpdateMarshalledPointer(collection: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn EvaluateActivityThresholds(newsample: *const SENSOR_COLLECTION_LIST, oldsample: *const SENSOR_COLLECTION_LIST, thresholds: *const SENSOR_COLLECTION_LIST) -> super::super::Foundation::BOOLEAN; #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub fn GetPerformanceTime(timems: *mut u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromCLSIDArray(members: *const ::windows_sys::core::GUID, size: u32, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromFloat(fltval: f32, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn IsCollectionListSame(lista: *const SENSOR_COLLECTION_LIST, listb: *const SENSOR_COLLECTION_LIST) -> super::super::Foundation::BOOLEAN; #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub fn IsGUIDPresentInList(guidarray: *const ::windows_sys::core::GUID, arraylength: u32, guidelem: *const ::windows_sys::core::GUID) -> super::super::Foundation::BOOLEAN; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn IsKeyPresentInCollectionList(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> super::super::Foundation::BOOLEAN; #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_UI_Shell_PropertiesSystem'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn IsKeyPresentInPropertyList(plist: *const SENSOR_PROPERTY_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> super::super::Foundation::BOOLEAN; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn IsSensorSubscribed(subscriptionlist: *const SENSOR_COLLECTION_LIST, currenttype: ::windows_sys::core::GUID) -> super::super::Foundation::BOOLEAN; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub 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; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn PropKeyFindKeyGetDouble(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut f64) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub 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; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn PropKeyFindKeyGetFloat(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut f32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn PropKeyFindKeyGetGuid(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut ::windows_sys::core::GUID) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn PropKeyFindKeyGetInt32(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut i32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn PropKeyFindKeyGetInt64(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut i64) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn PropKeyFindKeyGetNthInt64(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut i64) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn PropKeyFindKeyGetNthUlong(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn PropKeyFindKeyGetNthUshort(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut u16) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub 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; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn PropKeyFindKeyGetUlong(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub fn PropKeyFindKeyGetUshort(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut u16) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub 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; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub 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; #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_UI_Shell_PropertiesSystem'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))] pub fn PropertiesListCopy(target: *mut SENSOR_PROPERTY_LIST, source: *const SENSOR_PROPERTY_LIST) -> super::super::Foundation::NTSTATUS; #[doc = "*Required features: 'Win32_Devices_Sensors'*"] pub fn PropertiesListGetFillableCount(buffersizebytes: u32) -> u32; - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub 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; #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] @@ -370,16 +370,16 @@ pub const SENSOR_CATEGORY_OTHER: ::windows_sys::core::GUID = ::windows_sys::core pub const SENSOR_CATEGORY_SCANNER: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2952849278, data2: 62901, data3: 16911, data4: [129, 93, 2, 112, 167, 38, 242, 112] }; pub const SENSOR_CATEGORY_UNSUPPORTED: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 736815098, data2: 6576, data3: 18629, data4: [161, 246, 181, 72, 13, 194, 6, 176] }; #[repr(C)] -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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"))] pub struct SENSOR_COLLECTION_LIST { pub AllocatedSizeInBytes: u32, pub Count: u32, pub List: [SENSOR_VALUE_PAIR; 1], } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ::core::marker::Copy for SENSOR_COLLECTION_LIST {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ::core::clone::Clone for SENSOR_COLLECTION_LIST { fn clone(&self) -> Self { *self @@ -967,15 +967,15 @@ pub const SENSOR_TYPE_TOUCH: ::windows_sys::core::GUID = ::windows_sys::core::GU pub const SENSOR_TYPE_UNKNOWN: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 280658915, data2: 61263, data3: 16877, data4: [152, 133, 168, 125, 100, 53, 168, 225] }; pub const SENSOR_TYPE_VOLTAGE: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3309848119, data2: 20407, data3: 18771, data4: [152, 184, 165, 109, 138, 161, 251, 30] }; #[repr(C)] -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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"))] pub struct SENSOR_VALUE_PAIR { pub Key: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pub Value: super::super::System::Com::StructuredStorage::PROPVARIANT, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ::core::marker::Copy for SENSOR_VALUE_PAIR {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ::core::clone::Clone for SENSOR_VALUE_PAIR { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D10/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D10/mod.rs index 0989922e4b..5454337752 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D10/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D10/mod.rs @@ -16,11 +16,11 @@ extern "system" { #[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi"))] pub fn D3D10CreateDevice1(padapter: super::Dxgi::IDXGIAdapter, drivertype: D3D10_DRIVER_TYPE, software: super::super::Foundation::HINSTANCE, flags: u32, hardwarelevel: D3D10_FEATURE_LEVEL1, sdkversion: u32, ppdevice: *mut ID3D10Device1) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub fn D3D10CreateDeviceAndSwapChain(padapter: super::Dxgi::IDXGIAdapter, drivertype: D3D10_DRIVER_TYPE, software: super::super::Foundation::HINSTANCE, flags: u32, sdkversion: u32, pswapchaindesc: *const super::Dxgi::DXGI_SWAP_CHAIN_DESC, ppswapchain: *mut super::Dxgi::IDXGISwapChain, ppdevice: *mut ID3D10Device) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub fn D3D10CreateDeviceAndSwapChain1(padapter: super::Dxgi::IDXGIAdapter, 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 super::Dxgi::IDXGISwapChain, ppdevice: *mut ID3D10Device1) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_Graphics_Direct3D10'*"] pub fn D3D10CreateEffectFromMemory(pdata: *const ::core::ffi::c_void, datalength: usize, fxflags: u32, pdevice: ID3D10Device, peffectpool: ID3D10EffectPool, ppeffect: *mut ID3D10Effect) -> ::windows_sys::core::HRESULT; @@ -3824,8 +3824,8 @@ pub type ID3D10View = *mut ::core::ffi::c_void; #[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi"))] pub type PFN_D3D10_CREATE_DEVICE1 = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] +#[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi_Common'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub type PFN_D3D10_CREATE_DEVICE_AND_SWAP_CHAIN1 = ::core::option::Option ::windows_sys::core::HRESULT>; #[doc = "*Required features: 'Win32_Graphics_Direct3D10'*"] pub const _FACD3D10: u32 = 2169u32; diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D11/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D11/mod.rs index ed213cae2e..467c2146e1 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D11/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Direct3D11/mod.rs @@ -4,8 +4,8 @@ extern "system" { #[doc = "*Required features: 'Win32_Graphics_Direct3D11', 'Win32_Foundation', 'Win32_Graphics_Direct3D', 'Win32_Graphics_Dxgi'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi"))] pub fn D3D11CreateDevice(padapter: super::Dxgi::IDXGIAdapter, 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 ID3D11Device, pfeaturelevel: *mut super::Direct3D::D3D_FEATURE_LEVEL, ppimmediatecontext: *mut ID3D11DeviceContext) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_Graphics_Direct3D11', 'Win32_Foundation', 'Win32_Graphics_Direct3D', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct3D11', 'Win32_Foundation', 'Win32_Graphics_Direct3D', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] pub fn D3D11CreateDeviceAndSwapChain(padapter: super::Dxgi::IDXGIAdapter, 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 super::Dxgi::IDXGISwapChain, ppdevice: *mut ID3D11Device, pfeaturelevel: *mut super::Direct3D::D3D_FEATURE_LEVEL, ppimmediatecontext: *mut ID3D11DeviceContext) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_Graphics_Direct3D11', 'Win32_Graphics_Direct3D'*"] #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -8499,8 +8499,8 @@ pub type ID3DX11SegmentedScan = *mut ::core::ffi::c_void; #[doc = "*Required features: 'Win32_Graphics_Direct3D11', 'Win32_Foundation', 'Win32_Graphics_Direct3D', 'Win32_Graphics_Dxgi'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi"))] pub type PFN_D3D11_CREATE_DEVICE = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "*Required features: 'Win32_Graphics_Direct3D11', 'Win32_Foundation', 'Win32_Graphics_Direct3D', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] +#[doc = "*Required features: 'Win32_Graphics_Direct3D11', 'Win32_Foundation', 'Win32_Graphics_Direct3D', 'Win32_Graphics_Dxgi_Common'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] pub type PFN_D3D11_CREATE_DEVICE_AND_SWAP_CHAIN = ::core::option::Option ::windows_sys::core::HRESULT>; #[doc = "*Required features: 'Win32_Graphics_Direct3D11'*"] pub const _FACD3D11: u32 = 2172u32; diff --git a/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs index f150f37ec9..bf301c8b54 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs @@ -11,8 +11,8 @@ pub mod Endpoints; pub mod XAudio2; #[link(name = "windows")] extern "system" { - #[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn ActivateAudioInterfaceAsync(deviceinterfacepath: super::super::Foundation::PWSTR, riid: *const ::windows_sys::core::GUID, activationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, completionhandler: IActivateAudioInterfaceCompletionHandler, activationoperation: *mut IActivateAudioInterfaceAsyncOperation) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_Media_Audio'*"] pub fn CoRegisterMessageFilter(lpmessagefilter: IMessageFilter, lplpmessagefilter: *mut IMessageFilter) -> ::windows_sys::core::HRESULT; @@ -3333,8 +3333,8 @@ impl ::core::clone::Clone for SpatialAudioObjectRenderStreamActivationParams2 { } } #[repr(C, packed(1))] -#[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct SpatialAudioObjectRenderStreamForMetadataActivationParams { pub ObjectFormat: *const WAVEFORMATEX, pub StaticObjectTypeMask: AudioObjectType, @@ -3347,17 +3347,17 @@ pub struct SpatialAudioObjectRenderStreamForMetadataActivationParams { pub MetadataActivationParams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pub NotifyObject: ISpatialAudioObjectRenderStreamNotify, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for SpatialAudioObjectRenderStreamForMetadataActivationParams {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for SpatialAudioObjectRenderStreamForMetadataActivationParams { fn clone(&self) -> Self { *self } } #[repr(C, packed(1))] -#[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct SpatialAudioObjectRenderStreamForMetadataActivationParams2 { pub ObjectFormat: *const WAVEFORMATEX, pub StaticObjectTypeMask: AudioObjectType, @@ -3371,9 +3371,9 @@ pub struct SpatialAudioObjectRenderStreamForMetadataActivationParams2 { pub NotifyObject: ISpatialAudioObjectRenderStreamNotify, pub Options: SPATIAL_AUDIO_STREAM_OPTIONS, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for SpatialAudioObjectRenderStreamForMetadataActivationParams2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for SpatialAudioObjectRenderStreamForMetadataActivationParams2 { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/Media/DeviceManager/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/DeviceManager/mod.rs index f8b631681a..9551ec3d11 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/DeviceManager/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/DeviceManager/mod.rs @@ -658,15 +658,15 @@ pub const WMDM_FORMATCODE_3G2A: WMDM_FORMATCODE = 860303937i32; #[doc = "*Required features: 'Win32_Media_DeviceManager'*"] pub const WMDM_FORMATCODE_SECTION: WMDM_FORMATCODE = 48770i32; #[repr(C)] -#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct WMDM_FORMAT_CAPABILITY { pub nPropConfig: u32, pub pConfigs: *mut WMDM_PROP_CONFIG, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for WMDM_FORMAT_CAPABILITY {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for WMDM_FORMAT_CAPABILITY { fn clone(&self) -> Self { *self @@ -713,78 +713,78 @@ pub const WMDM_POWER_IS_EXTERNAL: u32 = 8u32; #[doc = "*Required features: 'Win32_Media_DeviceManager'*"] pub const WMDM_POWER_PERCENT_AVAILABLE: u32 = 16u32; #[repr(C)] -#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct WMDM_PROP_CONFIG { pub nPreference: u32, pub nPropDesc: u32, pub pPropDesc: *mut WMDM_PROP_DESC, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for WMDM_PROP_CONFIG {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for WMDM_PROP_CONFIG { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct WMDM_PROP_DESC { pub pwszPropName: super::super::Foundation::PWSTR, pub ValidValuesForm: WMDM_ENUM_PROP_VALID_VALUES_FORM, pub ValidValues: WMDM_PROP_DESC_0, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for WMDM_PROP_DESC {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for WMDM_PROP_DESC { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub union WMDM_PROP_DESC_0 { pub ValidValuesRange: WMDM_PROP_VALUES_RANGE, pub EnumeratedValidValues: WMDM_PROP_VALUES_ENUM, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for WMDM_PROP_DESC_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for WMDM_PROP_DESC_0 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct WMDM_PROP_VALUES_ENUM { pub cEnumValues: u32, pub pValues: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for WMDM_PROP_VALUES_ENUM {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for WMDM_PROP_VALUES_ENUM { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct WMDM_PROP_VALUES_RANGE { pub rangeMin: super::super::System::Com::StructuredStorage::PROPVARIANT, pub rangeMax: super::super::System::Com::StructuredStorage::PROPVARIANT, pub rangeStep: super::super::System::Com::StructuredStorage::PROPVARIANT, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for WMDM_PROP_VALUES_RANGE {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for WMDM_PROP_VALUES_RANGE { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/Media/MediaFoundation/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/MediaFoundation/mod.rs index af3329f466..50adea359d 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/MediaFoundation/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/MediaFoundation/mod.rs @@ -178,8 +178,8 @@ extern "system" { pub fn MFCreateMediaBufferFromMediaType(pmediatype: IMFMediaType, llduration: i64, dwminlength: u32, dwminalignment: u32, ppbuffer: *mut IMFMediaBuffer) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_Media_MediaFoundation'*"] pub fn MFCreateMediaBufferWrapper(pbuffer: IMFMediaBuffer, cboffset: u32, dwlength: u32, ppbuffer: *mut IMFMediaBuffer) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn MFCreateMediaEvent(met: u32, guidextendedtype: *const ::windows_sys::core::GUID, hrstatus: ::windows_sys::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, ppevent: *mut IMFMediaEvent) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] @@ -244,8 +244,8 @@ extern "system" { pub fn MFCreateSensorProfileCollection(ppsensorprofile: *mut IMFSensorProfileCollection) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_Media_MediaFoundation'*"] pub fn MFCreateSensorStream(streamid: u32, pattributes: IMFAttributes, pmediatypecollection: IMFCollection, ppstream: *mut IMFSensorStream) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn MFCreateSequencerSegmentOffset(dwid: u32, hnsoffset: i64, pvarsegmentoffset: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_Media_MediaFoundation'*"] pub fn MFCreateSequencerSource(preserved: ::windows_sys::core::IUnknown, ppsequencersource: *mut IMFSequencerSource) -> ::windows_sys::core::HRESULT; @@ -375,11 +375,11 @@ extern "system" { pub fn MFGetService(punkobject: ::windows_sys::core::IUnknown, guidservice: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_Media_MediaFoundation'*"] pub fn MFGetStrideForBitmapInfoHeader(format: u32, dwwidth: u32, pstride: *mut i32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn MFGetSupportedMimeTypes(ppropvarmimetypearray: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn MFGetSupportedSchemes(ppropvarschemearray: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_Media_MediaFoundation'*"] pub fn MFGetSystemId(ppid: *mut IMFSystemId) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs index 294d078383..e1d38fe47e 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs @@ -4216,8 +4216,8 @@ pub const NTDSTRANSPORT_OPT_IGNORE_SCHEDULES: u32 = 1u32; pub const NameTranslate: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 659533343, data2: 13862, data3: 4561, data4: [163, 164, 0, 192, 79, 185, 80, 220] }; pub const NetAddress: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2964787783, data2: 16512, data3: 4561, data4: [163, 172, 0, 192, 79, 185, 80, 220] }; #[repr(C)] -#[doc = "*Required features: 'Win32_Networking_ActiveDirectory', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Networking_ActiveDirectory', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] pub struct OPENQUERYWINDOW { pub cbStruct: u32, pub dwFlags: u32, @@ -4227,24 +4227,24 @@ pub struct OPENQUERYWINDOW { pub pPersistQuery: IPersistQuery, pub Anonymous: OPENQUERYWINDOW_0, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::marker::Copy for OPENQUERYWINDOW {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::clone::Clone for OPENQUERYWINDOW { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: 'Win32_Networking_ActiveDirectory', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Networking_ActiveDirectory', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] pub union OPENQUERYWINDOW_0 { pub pFormParameters: *mut ::core::ffi::c_void, pub ppbFormParameters: super::super::System::Com::StructuredStorage::IPropertyBag, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::marker::Copy for OPENQUERYWINDOW_0 {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::clone::Clone for OPENQUERYWINDOW_0 { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/Security/WinTrust/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/WinTrust/mod.rs index 79280eda4e..21d41e794b 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/WinTrust/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/WinTrust/mod.rs @@ -7,8 +7,8 @@ extern "system" { #[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub fn OpenPersonalTrustDBDialogEx(hwndparent: super::super::Foundation::HWND, dwflags: u32, pvreserved: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] + #[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"))] pub fn WTHelperCertCheckValidSignature(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] @@ -16,14 +16,14 @@ extern "system" { #[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub fn WTHelperGetProvCertFromChain(psgnr: *mut CRYPT_PROVIDER_SGNR, idxcert: u32) -> *mut CRYPT_PROVIDER_CERT; - #[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] + #[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"))] pub fn WTHelperGetProvPrivateDataFromChain(pprovdata: *mut CRYPT_PROVIDER_DATA, pgproviderid: *mut ::windows_sys::core::GUID) -> *mut CRYPT_PROVIDER_PRIVDATA; - #[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] + #[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"))] pub fn WTHelperGetProvSignerFromChain(pprovdata: *mut CRYPT_PROVIDER_DATA, idxsigner: u32, fcountersigner: super::super::Foundation::BOOL, idxcountersigner: u32) -> *mut CRYPT_PROVIDER_SGNR; - #[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] + #[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"))] pub fn WTHelperProvDataFromStateData(hstatedata: super::super::Foundation::HANDLE) -> *mut CRYPT_PROVIDER_DATA; #[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] @@ -42,8 +42,8 @@ extern "system" { pub fn WintrustGetDefaultForUsage(dwaction: WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION, pszusageoid: super::super::Foundation::PSTR, psusage: *mut CRYPT_PROVIDER_DEFUSAGE) -> super::super::Foundation::BOOL; #[doc = "*Required features: 'Win32_Security_WinTrust'*"] pub fn WintrustGetRegPolicyFlags(pdwpolicyflags: *mut WINTRUST_POLICY_FLAGS); - #[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] + #[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"))] pub fn WintrustLoadFunctionPointers(pgactionid: *mut ::windows_sys::core::GUID, ppfns: *mut CRYPT_PROVIDER_FUNCTIONS) -> super::super::Foundation::BOOL; #[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] @@ -217,8 +217,8 @@ impl ::core::clone::Clone for CRYPT_PROVIDER_CERT { } } #[repr(C)] -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub struct CRYPT_PROVIDER_DATA { pub cbStruct: u32, pub pWintrustData: *mut WINTRUST_DATA, @@ -254,23 +254,23 @@ pub struct CRYPT_PROVIDER_DATA { pub pSigState: *mut CRYPT_PROVIDER_SIGSTATE, pub pSigSettings: *mut WINTRUST_SIGNATURE_SETTINGS, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::marker::Copy for CRYPT_PROVIDER_DATA {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::clone::Clone for CRYPT_PROVIDER_DATA { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub union CRYPT_PROVIDER_DATA_0 { pub pPDSip: *mut PROVDATA_SIP, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::marker::Copy for CRYPT_PROVIDER_DATA_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::clone::Clone for CRYPT_PROVIDER_DATA_0 { fn clone(&self) -> Self { *self @@ -291,8 +291,8 @@ impl ::core::clone::Clone for CRYPT_PROVIDER_DEFUSAGE { } } #[repr(C)] -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub struct CRYPT_PROVIDER_FUNCTIONS { pub cbStruct: u32, pub pfnAlloc: PFN_CPD_MEM_ALLOC, @@ -311,9 +311,9 @@ pub struct CRYPT_PROVIDER_FUNCTIONS { pub psUIpfns: *mut CRYPT_PROVUI_FUNCS, pub pfnCleanupPolicy: PFN_PROVIDER_CLEANUP_CALL, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::marker::Copy for CRYPT_PROVIDER_FUNCTIONS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::clone::Clone for CRYPT_PROVIDER_FUNCTIONS { fn clone(&self) -> Self { *self @@ -422,8 +422,8 @@ impl ::core::clone::Clone for CRYPT_PROVUI_DATA { } } #[repr(C)] -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub struct CRYPT_PROVUI_FUNCS { pub cbStruct: u32, pub psUIData: *mut CRYPT_PROVUI_DATA, @@ -432,9 +432,9 @@ pub struct CRYPT_PROVUI_FUNCS { pub pfnOnAdvancedClick: PFN_PROVUI_CALL, pub pfnOnAdvancedClickDefault: PFN_PROVUI_CALL, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::marker::Copy for CRYPT_PROVUI_FUNCS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::clone::Clone for CRYPT_PROVUI_FUNCS { fn clone(&self) -> Self { *self @@ -558,17 +558,17 @@ pub const OFFICE_POLICY_PROVIDER_DLL_NAME: &'static str = "WINTRUST.DLL"; #[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub type PFN_ALLOCANDFILLDEFUSAGE = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_CPD_ADD_CERT = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_CPD_ADD_PRIVDATA = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_CPD_ADD_SGNR = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_CPD_ADD_STORE = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "*Required features: 'Win32_Security_WinTrust'*"] pub type PFN_CPD_MEM_ALLOC = ::core::option::Option *mut ::core::ffi::c_void>; @@ -577,39 +577,39 @@ pub type PFN_CPD_MEM_FREE = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_CERTCHKPOLICY_CALL = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_CERTTRUST_CALL = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_CLEANUP_CALL = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_FINALPOLICY_CALL = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_INIT_CALL = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_OBJTRUST_CALL = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_SIGTRUST_CALL = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_TESTFINALPOLICY_CALL = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVUI_CALL = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_WTD_GENERIC_CHAIN_POLICY_CALLBACK = ::core::option::Option ::windows_sys::core::HRESULT>; #[repr(C)] -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub struct PROVDATA_SIP { pub cbStruct: u32, pub gSubject: ::windows_sys::core::GUID, @@ -619,9 +619,9 @@ pub struct PROVDATA_SIP { pub psSipCATSubjectInfo: *mut super::Cryptography::Sip::SIP_SUBJECTINFO, pub psIndirectData: *mut super::Cryptography::Sip::SIP_INDIRECT_DATA, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::marker::Copy for PROVDATA_SIP {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::clone::Clone for PROVDATA_SIP { fn clone(&self) -> Self { *self @@ -1449,8 +1449,8 @@ impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_CREATE_INFO_0 { } } #[repr(C)] -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub struct WTD_GENERIC_CHAIN_POLICY_DATA { pub Anonymous: WTD_GENERIC_CHAIN_POLICY_DATA_0, pub pSignerChainInfo: *mut WTD_GENERIC_CHAIN_POLICY_CREATE_INFO, @@ -1458,24 +1458,24 @@ pub struct WTD_GENERIC_CHAIN_POLICY_DATA { pub pfnPolicyCallback: PFN_WTD_GENERIC_CHAIN_POLICY_CALLBACK, pub pvPolicyArg: *mut ::core::ffi::c_void, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_DATA {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_DATA { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub union WTD_GENERIC_CHAIN_POLICY_DATA_0 { pub cbStruct: u32, pub cbSize: u32, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_DATA_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_DATA_0 { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Imapi/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Imapi/mod.rs index 08d64d7ec8..cdffdbeb55 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Imapi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Imapi/mod.rs @@ -8,8 +8,8 @@ extern "system" { pub fn GetAttribIMsgOnIStg(lpobject: *mut ::core::ffi::c_void, lpproptagarray: *mut super::super::System::AddressBook::SPropTagArray, lpppropattrarray: *mut *mut SPropAttrArray) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_Storage_Imapi'*"] pub fn MapStorageSCode(stgscode: i32) -> i32; - #[doc = "*Required features: 'Win32_Storage_Imapi', 'Win32_System_AddressBook', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_AddressBook", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Storage_Imapi', 'Win32_System_AddressBook', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_System_AddressBook", feature = "Win32_System_Com_StructuredStorage"))] pub fn OpenIMsgOnIStg(lpmsgsess: *mut _MSGSESS, lpallocatebuffer: super::super::System::AddressBook::LPALLOCATEBUFFER, lpallocatemore: super::super::System::AddressBook::LPALLOCATEMORE, lpfreebuffer: super::super::System::AddressBook::LPFREEBUFFER, lpmalloc: super::super::System::Com::IMalloc, lpmapisup: *mut ::core::ffi::c_void, lpstg: super::super::System::Com::StructuredStorage::IStorage, lpfmsgcallrelease: *mut MSGCALLRELEASE, ulcallerdata: u32, ulflags: u32, lppmsg: *mut super::super::System::AddressBook::IMessage) -> i32; #[doc = "*Required features: 'Win32_Storage_Imapi', 'Win32_System_Com'*"] #[cfg(feature = "Win32_System_Com")] diff --git a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs index 200f290627..9831e17bef 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs @@ -5941,8 +5941,8 @@ pub const ErrorClassWarning: ErrorClass = 0i32; #[doc = "*Required features: 'Win32_System_Diagnostics_Debug'*"] pub const ErrorClassError: ErrorClass = 1i32; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Diagnostics_Debug', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[doc = "*Required features: 'Win32_System_Diagnostics_Debug', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub struct ExtendedDebugPropertyInfo { pub dwValidFields: u32, pub pszName: super::super::super::Foundation::PWSTR, @@ -5957,9 +5957,9 @@ pub struct ExtendedDebugPropertyInfo { pub plbValue: super::super::Com::StructuredStorage::ILockBytes, pub pDebugExtProp: IDebugExtendedProperty, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::marker::Copy for ExtendedDebugPropertyInfo {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::clone::Clone for ExtendedDebugPropertyInfo { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs index f3997471c5..964d24ce07 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs @@ -98,49 +98,49 @@ extern "system" { pub fn OaEnablePerUserTLibRegistration(); #[doc = "*Required features: 'Win32_System_Ole'*"] pub fn OleBuildVersion() -> u32; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreate(rclsid: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_System_Ole'*"] pub fn OleCreateDefaultHandler(clsid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, riid: *const ::windows_sys::core::GUID, lplpobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com'*"] #[cfg(feature = "Win32_System_Com")] pub fn OleCreateEmbeddingHelper(clsid: *const ::windows_sys::core::GUID, punkouter: ::windows_sys::core::IUnknown, flags: u32, pcf: super::Com::IClassFactory, riid: *const ::windows_sys::core::GUID, lplpobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateEx(rclsid: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: super::Com::IAdviseSink, rgdwconnection: *mut u32, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn OleCreateFontIndirect(lpfontdesc: *mut FONTDESC, riid: *const ::windows_sys::core::GUID, lplpvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateFromData(psrcdataobj: super::Com::IDataObject, riid: *const ::windows_sys::core::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateFromDataEx(psrcdataobj: super::Com::IDataObject, riid: *const ::windows_sys::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: super::Com::IAdviseSink, rgdwconnection: *mut u32, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn OleCreateFromFile(rclsid: *const ::windows_sys::core::GUID, lpszfilename: super::super::Foundation::PWSTR, riid: *const ::windows_sys::core::GUID, renderopt: u32, lpformatetc: *mut super::Com::FORMATETC, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn OleCreateFromFileEx(rclsid: *const ::windows_sys::core::GUID, lpszfilename: super::super::Foundation::PWSTR, riid: *const ::windows_sys::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: super::Com::IAdviseSink, rgdwconnection: *mut u32, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateLink(pmklinksrc: super::Com::IMoniker, riid: *const ::windows_sys::core::GUID, renderopt: u32, lpformatetc: *mut super::Com::FORMATETC, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateLinkEx(pmklinksrc: super::Com::IMoniker, riid: *const ::windows_sys::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: super::Com::IAdviseSink, rgdwconnection: *mut u32, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateLinkFromData(psrcdataobj: super::Com::IDataObject, riid: *const ::windows_sys::core::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateLinkFromDataEx(psrcdataobj: super::Com::IDataObject, riid: *const ::windows_sys::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: super::Com::IAdviseSink, rgdwconnection: *mut u32, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn OleCreateLinkToFile(lpszfilename: super::super::Foundation::PWSTR, riid: *const ::windows_sys::core::GUID, renderopt: u32, lpformatetc: *mut super::Com::FORMATETC, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn OleCreateLinkToFileEx(lpszfilename: super::super::Foundation::PWSTR, riid: *const ::windows_sys::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: super::Com::IAdviseSink, rgdwconnection: *mut u32, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_System_Ole', 'Win32_UI_WindowsAndMessaging'*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -154,8 +154,8 @@ extern "system" { #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub fn OleCreatePropertyFrameIndirect(lpparams: *mut OCPFIPARAMS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn OleCreateStaticFromData(psrcdataobj: super::Com::IDataObject, iid: *const ::windows_sys::core::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: IOleClientSite, pstg: super::Com::StructuredStorage::IStorage, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_System_Ole'*"] pub fn OleDestroyMenuDescriptor(holemenu: isize) -> ::windows_sys::core::HRESULT; @@ -243,8 +243,8 @@ extern "system" { pub fn OleRegGetUserType(clsid: *const ::windows_sys::core::GUID, dwformoftype: u32, pszusertype: *mut super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_System_Ole'*"] pub fn OleRun(punknown: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn OleSave(pps: super::Com::StructuredStorage::IPersistStorage, pstg: super::Com::StructuredStorage::IStorage, fsameasload: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] @@ -308,11 +308,11 @@ extern "system" { #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub fn OleUIEditLinksW(param0: *const OLEUIEDITLINKSW) -> u32; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn OleUIInsertObjectA(param0: *const OLEUIINSERTOBJECTA) -> u32; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn OleUIInsertObjectW(param0: *const OLEUIINSERTOBJECTW) -> u32; #[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"))] @@ -353,8 +353,8 @@ extern "system" { #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub fn RegisterTypeLibForUser(ptlib: super::Com::ITypeLib, szfullpath: super::super::Foundation::PWSTR, szhelpdir: super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub fn ReleaseStgMedium(param0: *mut super::Com::STGMEDIUM); #[doc = "*Required features: 'Win32_System_Ole'*"] pub fn RevokeActiveObject(dwregister: u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; @@ -3405,8 +3405,8 @@ impl ::core::clone::Clone for OLEUIGNRLPROPSW { } } #[repr(C)] -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct OLEUIINSERTOBJECTA { pub cbStruct: u32, pub dwFlags: u32, @@ -3431,17 +3431,17 @@ pub struct OLEUIINSERTOBJECTA { pub sc: i32, pub hMetaPict: isize, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for OLEUIINSERTOBJECTA {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for OLEUIINSERTOBJECTA { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct OLEUIINSERTOBJECTW { pub cbStruct: u32, pub dwFlags: u32, @@ -3466,9 +3466,9 @@ pub struct OLEUIINSERTOBJECTW { pub sc: i32, pub hMetaPict: isize, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for OLEUIINSERTOBJECTW {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for OLEUIINSERTOBJECTW { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs index cf0c822f7c..79e1700a45 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs @@ -644,47 +644,47 @@ pub const CASE_REQUIREMENT_ANY: CASE_REQUIREMENT = 0i32; #[doc = "*Required features: 'Win32_System_Search'*"] pub const CASE_REQUIREMENT_UPPER_IF_AQS: CASE_REQUIREMENT = 1i32; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub struct CATEGORIZATION { pub ulCatType: u32, pub Anonymous: CATEGORIZATION_0, pub csColumns: COLUMNSET, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for CATEGORIZATION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for CATEGORIZATION { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub union CATEGORIZATION_0 { pub cClusters: u32, pub bucket: BUCKETCATEGORIZE, pub range: RANGECATEGORIZE, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for CATEGORIZATION_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for CATEGORIZATION_0 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub struct CATEGORIZATIONSET { pub cCat: u32, pub aCat: *mut CATEGORIZATION, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for CATEGORIZATIONSET {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for CATEGORIZATIONSET { fn clone(&self) -> Self { *self @@ -6504,16 +6504,16 @@ pub const NLADMIN_E_FAILED_TO_GIVE_ACCOUNT_PRIVILEGE: i32 = -2147215101i32; #[doc = "*Required features: 'Win32_System_Search'*"] pub const NLADMIN_S_NOT_ALL_BUILD_CATALOGS_INITIALIZED: i32 = 268546i32; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub struct NODERESTRICTION { pub cRes: u32, pub paRes: *mut *mut RESTRICTION, pub reserved: u32, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for NODERESTRICTION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for NODERESTRICTION { fn clone(&self) -> Self { *self @@ -6542,14 +6542,14 @@ pub const NOTESPH_S_IGNORE_ID: i32 = 271874i32; #[doc = "*Required features: 'Win32_System_Search'*"] pub const NOTESPH_S_LISTKNOWNFIELDS: i32 = 271888i32; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub struct NOTRESTRICTION { pub pRes: *mut RESTRICTION, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for NOTRESTRICTION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for NOTRESTRICTION { fn clone(&self) -> Self { *self @@ -6827,16 +6827,16 @@ pub const PROGID_MSPersist_Version_W: &'static str = "MSPersist.1"; #[doc = "*Required features: 'Win32_System_Search'*"] pub const PROGID_MSPersist_W: &'static str = "MSPersist"; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub struct PROPERTYRESTRICTION { pub rel: u32, pub prop: super::super::Storage::IndexServer::FULLPROPSPEC, pub prval: super::Com::StructuredStorage::PROPVARIANT, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for PROPERTYRESTRICTION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for PROPERTYRESTRICTION { fn clone(&self) -> Self { *self @@ -7037,39 +7037,39 @@ pub const QUERY_VALIDBITS: u32 = 3u32; pub const QueryParser: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3073347544, data2: 4011, data3: 19929, data4: [189, 191, 36, 90, 108, 225, 72, 91] }; pub const QueryParserManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1351136154, data2: 10676, data3: 19869, data4: [130, 69, 78, 226, 137, 34, 47, 102] }; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct RANGECATEGORIZE { pub cRange: u32, pub aRangeBegin: *mut super::Com::StructuredStorage::PROPVARIANT, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for RANGECATEGORIZE {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for RANGECATEGORIZE { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub struct RESTRICTION { pub rt: u32, pub weight: u32, pub res: RESTRICTION_0, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for RESTRICTION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for RESTRICTION { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub union RESTRICTION_0 { pub ar: NODERESTRICTION, pub orRestriction: NODERESTRICTION, @@ -7080,9 +7080,9 @@ pub union RESTRICTION_0 { pub nlr: NATLANGUAGERESTRICTION, pub pr: PROPERTYRESTRICTION, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for RESTRICTION_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for RESTRICTION_0 { fn clone(&self) -> Self { *self @@ -7109,9 +7109,9 @@ pub const REXSPH_E_UNKNOWN_DATA_TYPE: i32 = -2147207929i32; #[doc = "*Required features: 'Win32_System_Search'*"] pub const REXSPH_S_REDIRECTED: i32 = 275713i32; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub struct RMTPACK { pub pISeqStream: super::Com::ISequentialStream, pub cbData: u32, @@ -7129,19 +7129,19 @@ pub struct RMTPACK { pub rgArray: *mut super::Com::VARIANT, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::marker::Copy for RMTPACK {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::clone::Clone for RMTPACK { fn clone(&self) -> Self { *self } } #[repr(C, packed(2))] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub struct RMTPACK { pub pISeqStream: super::Com::ISequentialStream, pub cbData: u32, @@ -7159,10 +7159,10 @@ pub struct RMTPACK { pub rgArray: *mut super::Com::VARIANT, } #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::marker::Copy for RMTPACK {} #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::clone::Clone for RMTPACK { fn clone(&self) -> Self { *self @@ -7274,15 +7274,15 @@ pub const SCRIPTPI_E_PID_NOT_NAME: i32 = -2147213311i32; #[doc = "*Required features: 'Win32_System_Search'*"] pub const SCRIPTPI_E_PID_NOT_NUMERIC: i32 = -2147213310i32; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct SEARCH_COLUMN_PROPERTIES { pub Value: super::Com::StructuredStorage::PROPVARIANT, pub lcid: u32, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for SEARCH_COLUMN_PROPERTIES {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for SEARCH_COLUMN_PROPERTIES { fn clone(&self) -> Self { *self @@ -11423,15 +11423,15 @@ pub const TRACE_VERSION: u32 = 1000u32; #[doc = "*Required features: 'Win32_System_Search'*"] pub const TRACE_VS_EVENT_ON: i32 = 2i32; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub struct VECTORRESTRICTION { pub Node: NODERESTRICTION, pub RankMethod: u32, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for VECTORRESTRICTION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for VECTORRESTRICTION { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/System/VirtualDosMachines/mod.rs b/crates/libs/sys/src/Windows/Win32/System/VirtualDosMachines/mod.rs index f86781b9da..cc41a2b12f 100644 --- a/crates/libs/sys/src/Windows/Win32/System/VirtualDosMachines/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/VirtualDosMachines/mod.rs @@ -389,9 +389,9 @@ pub const VDMEVENT_VERBOSE: u32 = 16384u32; #[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub type VDMGETADDREXPRESSIONPROC = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Diagnostics_Debug', 'Win32_System_Kernel'*"] +#[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Kernel'*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub type VDMGETCONTEXTPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Diagnostics_Debug', 'Win32_System_Kernel'*"] #[cfg(target_arch = "x86")] @@ -415,9 +415,9 @@ pub type VDMGETSELECTORMODULEPROC = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Diagnostics_Debug'*"] +#[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation'*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] +#[cfg(feature = "Win32_Foundation")] pub type VDMGETTHREADSELECTORENTRYPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Diagnostics_Debug'*"] #[cfg(target_arch = "x86")] @@ -506,9 +506,9 @@ pub type VDMMODULENEXTPROC = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Diagnostics_Debug', 'Win32_System_Kernel'*"] +#[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Kernel'*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub type VDMSETCONTEXTPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Diagnostics_Debug', 'Win32_System_Kernel'*"] #[cfg(target_arch = "x86")] diff --git a/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs index 0e4a00dcc4..7443fa5a1e 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs @@ -1,68 +1,68 @@ #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] #[link(name = "windows")] extern "system" { - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn ClearPropVariantArray(rgpropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT, cvars: u32); #[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"))] pub fn ClearVariantArray(pvars: *mut super::super::super::System::Com::VARIANT, cvars: u32); - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromBooleanVector(prgf: *const super::super::super::Foundation::BOOL, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromBuffer(pv: *const ::core::ffi::c_void, cb: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromCLSID(clsid: *const ::windows_sys::core::GUID, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromDoubleVector(prgn: *const f64, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromFileTime(pftin: *const super::super::super::Foundation::FILETIME, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromFileTimeVector(prgft: *const super::super::super::Foundation::FILETIME, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromGUIDAsString(guid: *const ::windows_sys::core::GUID, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromInt16Vector(prgn: *const i16, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromInt32Vector(prgn: *const i32, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromInt64Vector(prgn: *const i64, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromPropVariantVectorElem(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromResource(hinst: super::super::super::Foundation::HINSTANCE, id: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_Common'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common"))] + #[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"))] pub fn InitPropVariantFromStrRet(pstrret: *mut super::Common::STRRET, pidl: *const super::Common::ITEMIDLIST, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromStringAsVector(psz: super::super::super::Foundation::PWSTR, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromStringVector(prgsz: *const super::super::super::Foundation::PWSTR, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromUInt16Vector(prgn: *const u16, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromUInt32Vector(prgn: *const u32, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantFromUInt64Vector(prgn: *const u64, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn InitPropVariantVectorFromPropVariant(propvarsingle: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppropvarvector: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; #[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"))] @@ -112,8 +112,8 @@ extern "system" { #[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"))] pub fn InitVariantFromVariantArrayElem(varin: *const super::super::super::System::Com::VARIANT, ielem: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSCoerceToCanonicalValue(key: *const PROPERTYKEY, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem'*"] pub fn PSCreateAdapterFromPropertyStore(pps: IPropertyStore, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; @@ -123,30 +123,30 @@ extern "system" { pub fn PSCreateMemoryPropertyStore(riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem'*"] pub fn PSCreateMultiplexPropertyStore(prgpunkstores: *const ::windows_sys::core::IUnknown, cstores: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSCreatePropertyChangeArray(rgpropkey: *const PROPERTYKEY, rgflags: *const PKA_FLAGS, rgpropvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, cchanges: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem'*"] pub fn PSCreatePropertyStoreFromObject(punk: ::windows_sys::core::IUnknown, grfmode: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_System_Com_StructuredStorage'*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn PSCreatePropertyStoreFromPropertySetStorage(ppss: super::super::super::System::Com::StructuredStorage::IPropertySetStorage, grfmode: u32, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSCreateSimplePropertyChange(flags: PKA_FLAGS, key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem'*"] pub fn PSEnumeratePropertyDescriptions(filteron: PROPDESC_ENUMFILTER, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSFormatForDisplay(propkey: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS, pwsztext: super::super::super::Foundation::PWSTR, cchtext: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSFormatForDisplayAlloc(key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdff: PROPDESC_FORMAT_FLAGS, ppszdisplay: *mut super::super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub fn PSFormatPropertyValue(pps: IPropertyStore, ppd: IPropertyDescription, pdff: PROPDESC_FORMAT_FLAGS, ppszdisplay: *mut super::super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSGetImageReferenceForValue(propkey: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppszimageres: *mut super::super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] @@ -157,8 +157,8 @@ extern "system" { #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub fn PSGetNameFromPropertyKey(propkey: *const PROPERTYKEY, ppszcanonicalname: *mut super::super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSGetNamedPropertyFromPropertyStorage(psps: *const SERIALIZEDPROPSTORAGE, cb: u32, pszname: super::super::super::Foundation::PWSTR, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem'*"] pub fn PSGetPropertyDescription(propkey: *const PROPERTYKEY, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; @@ -168,16 +168,16 @@ extern "system" { #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub fn PSGetPropertyDescriptionListFromString(pszproplist: super::super::super::Foundation::PWSTR, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSGetPropertyFromPropertyStorage(psps: *const SERIALIZEDPROPSTORAGE, cb: u32, rpkey: *const PROPERTYKEY, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub fn PSGetPropertyKeyFromName(pszname: super::super::super::Foundation::PWSTR, ppropkey: *mut PROPERTYKEY) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem'*"] pub fn PSGetPropertySystem(riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSGetPropertyValue(pps: IPropertyStore, ppd: IPropertyDescription, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] @@ -224,11 +224,11 @@ extern "system" { #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSPropertyBag_ReadStrAlloc(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: super::super::super::Foundation::PWSTR, value: *mut super::super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSPropertyBag_ReadStream(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: super::super::super::Foundation::PWSTR, value: *mut super::super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[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"))] pub fn PSPropertyBag_ReadType(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: super::super::super::Foundation::PWSTR, var: *mut super::super::super::System::Com::VARIANT, r#type: u16) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] @@ -272,8 +272,8 @@ extern "system" { #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSPropertyBag_WriteStr(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: super::super::super::Foundation::PWSTR, value: super::super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSPropertyBag_WriteStream(propbag: super::super::super::System::Com::StructuredStorage::IPropertyBag, propname: super::super::super::Foundation::PWSTR, value: super::super::super::System::Com::IStream) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] @@ -289,8 +289,8 @@ extern "system" { #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub fn PSRegisterPropertySchema(pszpath: super::super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PSSetPropertyValue(pps: IPropertyStore, ppd: IPropertyDescription, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] @@ -310,182 +310,182 @@ extern "system" { #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub fn PifMgr_SetProperties(hprops: super::super::super::Foundation::HANDLE, pszgroup: super::super::super::Foundation::PSTR, lpprops: *const ::core::ffi::c_void, cbprops: i32, flopt: u32) -> i32; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub 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: u16) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub 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; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetBooleanElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pfval: *mut super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetDoubleElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut f64) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetElementCount(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> u32; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetFileTimeElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pftval: *mut super::super::super::Foundation::FILETIME) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetInt16Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut i16) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetInt32Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut i32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetInt64Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut i64) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetStringElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, ppszval: *mut super::super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetUInt16Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut u16) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetUInt32Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantGetUInt64Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut u64) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToBSTR(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pbstrout: *mut super::super::super::Foundation::BSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToBoolean(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pfret: *mut super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToBooleanVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgf: *mut super::super::super::Foundation::BOOL, crgf: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToBooleanVectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgf: *mut *mut super::super::super::Foundation::BOOL, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToBooleanWithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, fdefault: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToBuffer(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pv: *mut ::core::ffi::c_void, cb: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToDouble(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdblret: *mut f64) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToDoubleVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut f64, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToDoubleVectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut f64, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToDoubleWithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, dbldefault: f64) -> f64; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToFileTime(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pstfout: PSTIME_FLAGS, pftout: *mut super::super::super::Foundation::FILETIME) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToFileTimeVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgft: *mut super::super::super::Foundation::FILETIME, crgft: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToFileTimeVectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgft: *mut *mut super::super::super::Foundation::FILETIME, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToGUID(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pguid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt16(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, piret: *mut i16) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt16Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut i16, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt16VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut i16, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt16WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, idefault: i16) -> i16; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt32(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, plret: *mut i32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt32Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut i32, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt32VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut i32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt32WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ldefault: i32) -> i32; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt64(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pllret: *mut i64) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt64Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut i64, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt64VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut i64, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToInt64WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, lldefault: i64) -> i64; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_Common'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common"))] + #[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"))] pub fn PropVariantToStrRet(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pstrret: *mut super::Common::STRRET) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToString(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, psz: super::super::super::Foundation::PWSTR, cch: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToStringAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppszout: *mut super::super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToStringVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgsz: *mut super::super::super::Foundation::PWSTR, crgsz: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToStringVectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgsz: *mut *mut super::super::super::Foundation::PWSTR, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToStringWithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pszdefault: super::super::super::Foundation::PWSTR) -> super::super::super::Foundation::PWSTR; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt16(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, puiret: *mut u16) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt16Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut u16, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt16VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut u16, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt16WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, uidefault: u16) -> u16; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt32(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pulret: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt32Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut u32, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt32VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt32WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, uldefault: u32) -> u32; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt64(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pullret: *mut u64) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt64Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut u64, crgn: u32, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt64VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut u64, pcelem: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToUInt64WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ulldefault: u64) -> u64; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[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"))] pub fn PropVariantToVariant(ppropvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn PropVariantToWinRTPropertyValue(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, riid: *const ::windows_sys::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] @@ -502,11 +502,11 @@ extern "system" { #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_System_Com_StructuredStorage'*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub fn SHPropStgCreate(psstg: super::super::super::System::Com::StructuredStorage::IPropertySetStorage, fmtid: *const ::windows_sys::core::GUID, pclsid: *const ::windows_sys::core::GUID, grfflags: u32, grfmode: u32, dwdisposition: u32, ppstg: *mut super::super::super::System::Com::StructuredStorage::IPropertyStorage, pucodepage: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn SHPropStgReadMultiple(pps: super::super::super::System::Com::StructuredStorage::IPropertyStorage, ucodepage: u32, cpspec: u32, rgpspec: *const super::super::super::System::Com::StructuredStorage::PROPSPEC, rgvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn SHPropStgWriteMultiple(pps: super::super::super::System::Com::StructuredStorage::IPropertyStorage, 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_sys::core::HRESULT; #[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"))] @@ -613,8 +613,8 @@ extern "system" { #[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"))] pub fn VariantToInt64WithDefault(varin: *const super::super::super::System::Com::VARIANT, lldefault: i64) -> i64; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[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"))] pub fn VariantToPropVariant(pvar: *const super::super::super::System::Com::VARIANT, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Ole', 'Win32_UI_Shell_Common'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] @@ -670,8 +670,8 @@ extern "system" { #[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"))] pub fn VariantToUInt64WithDefault(varin: *const super::super::super::System::Com::VARIANT, ulldefault: u64) -> u64; - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub fn WinRTPropertyValueToPropVariant(punkpropertyvalue: ::windows_sys::core::IUnknown, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; } #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem'*"] diff --git a/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs index b1355badcb..8e558edb58 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs @@ -1291,8 +1291,8 @@ extern "system" { #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_UI_WindowsAndMessaging'*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn SHGetStockIconInfo(siid: SHSTOCKICONID, uflags: u32, psii: *mut SHSTOCKICONINFO) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_UI_Shell', '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"))] pub fn SHGetTemporaryPropertyForItem(psi: IShellItem, propkey: *const PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell'*"] pub fn SHGetThreadRef(ppunk: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; @@ -1547,8 +1547,8 @@ extern "system" { #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub fn SHSetLocalizedName(pszpath: super::super::Foundation::PWSTR, pszresmodule: super::super::Foundation::PWSTR, idsres: i32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_UI_Shell', '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"))] pub fn SHSetTemporaryPropertyForItem(psi: IShellItem, propkey: *const PropertiesSystem::PROPERTYKEY, propvar: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_sys::core::HRESULT; #[doc = "*Required features: 'Win32_UI_Shell'*"] pub fn SHSetThreadRef(punk: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/Preview/mod.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/Preview/mod.rs index 9a2981390e..a7783f4601 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/Preview/mod.rs @@ -271,9 +271,9 @@ pub struct ILearningModelPreview_Vtbl { pub EvaluateAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, binding: ::windows::core::RawPtr, correlationid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "deprecated")))] EvaluateAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub EvaluateFeaturesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, features: ::windows::core::RawPtr, correlationid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] EvaluateFeaturesAsync: usize, #[cfg(feature = "deprecated")] pub Description: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1492,8 +1492,8 @@ impl LearningModelPreview { (::windows::core::Interface::vtable(this).EvaluateAsync)(::core::mem::transmute_copy(this), binding.into_param().abi(), correlationid.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'AI_MachineLearning_Preview', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'AI_MachineLearning_Preview', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn EvaluateFeaturesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IMap<::windows::core::HSTRING, ::windows::core::IInspectable>>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, features: Param0, correlationid: Param1) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs index b187d7942a..2f528131d5 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs @@ -492,9 +492,9 @@ pub struct ILearningModelSession_Vtbl { pub EvaluateAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bindings: ::windows::core::RawPtr, correlationid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] EvaluateAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub EvaluateFeaturesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, features: ::windows::core::RawPtr, correlationid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] EvaluateFeaturesAsync: usize, pub Evaluate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bindings: ::windows::core::RawPtr, correlationid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -2673,8 +2673,8 @@ impl LearningModelSession { (::windows::core::Interface::vtable(this).EvaluateAsync)(::core::mem::transmute_copy(this), bindings.into_param().abi(), correlationid.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'AI_MachineLearning', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'AI_MachineLearning', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn EvaluateFeaturesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IMap<::windows::core::HSTRING, ::windows::core::IInspectable>>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, features: Param0, correlationid: Param1) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs index f448b113e6..a2fb8a4ab8 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs @@ -1133,15 +1133,15 @@ impl IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation_Collections", feature = "Storage", feature = "Storage_Search"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] pub trait IFileActivatedEventArgsWithNeighboringFiles_Impl: Sized + IActivatedEventArgs_Impl + IFileActivatedEventArgs_Impl { fn NeighboringFilesQuery(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation_Collections", feature = "Storage", feature = "Storage_Search"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] impl ::windows::core::RuntimeName for IFileActivatedEventArgsWithNeighboringFiles { const NAME: &'static str = "Windows.ApplicationModel.Activation.IFileActivatedEventArgsWithNeighboringFiles"; } -#[cfg(all(feature = "Foundation_Collections", feature = "Storage", feature = "Storage_Search"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] impl IFileActivatedEventArgsWithNeighboringFiles_Vtbl { pub const fn new() -> IFileActivatedEventArgsWithNeighboringFiles_Vtbl { unsafe extern "system" fn NeighboringFilesQuery(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs index 4c16af228e..247239922b 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs @@ -43,8 +43,8 @@ impl AppExtension { (::windows::core::Interface::vtable(this).AppInfo)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_AppExtensions', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_AppExtensions', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetExtensionPropertiesAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -146,8 +146,8 @@ unsafe impl ::core::marker::Sync for AppExtension {} #[repr(transparent)] pub struct AppExtensionCatalog(::windows::core::IUnknown); impl AppExtensionCatalog { - #[doc = "*Required features: 'ApplicationModel_AppExtensions', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_AppExtensions', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -821,9 +821,9 @@ pub struct IAppExtension_Vtbl { pub Description: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, pub Package: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub AppInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetExtensionPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetExtensionPropertiesAsync: usize, #[cfg(all(feature = "Foundation", feature = "Storage"))] pub GetPublicFolderAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -854,9 +854,9 @@ unsafe impl ::windows::core::Interface for IAppExtensionCatalog { #[doc(hidden)] pub struct IAppExtensionCatalog_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, #[cfg(feature = "Foundation")] pub RequestRemovePackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagefullname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs index 477ea3a6d5..1d3fd20b0f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs @@ -2,8 +2,8 @@ #[doc = "*Required features: 'ApplicationModel_AppService'*"] pub struct AppServiceCatalog {} impl AppServiceCatalog { - #[doc = "*Required features: 'ApplicationModel_AppService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_AppService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAppServiceProvidersAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(appservicename: Param0) -> ::windows::core::Result>> { Self::IAppServiceCatalogStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -186,8 +186,8 @@ impl AppServiceConnection { (::windows::core::Interface::vtable(this).OpenAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_AppService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_AppService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SendMessageAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::ValueSet>>(&self, message: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -249,8 +249,8 @@ impl AppServiceConnection { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetUser)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'ApplicationModel_AppService', 'Foundation', 'Foundation_Collections', 'System_RemoteSystems'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System_RemoteSystems"))] + #[doc = "*Required features: 'ApplicationModel_AppService', 'Foundation_Collections', 'System_RemoteSystems'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "System_RemoteSystems"))] pub fn SendStatelessMessageAsync<'a, Param0: ::windows::core::IntoParam<'a, AppServiceConnection>, Param1: ::windows::core::IntoParam<'a, super::super::System::RemoteSystems::RemoteSystemConnectionRequest>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::ValueSet>>(connection: Param0, connectionrequest: Param1, message: Param2) -> ::windows::core::Result> { Self::IAppServiceConnectionStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -506,8 +506,8 @@ impl AppServiceRequest { (::windows::core::Interface::vtable(this).Message)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_AppService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_AppService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SendResponseAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::ValueSet>>(&self, message: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -955,9 +955,9 @@ unsafe impl ::windows::core::Interface for IAppServiceCatalogStatics { #[doc(hidden)] pub struct IAppServiceCatalogStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAppServiceProvidersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, appservicename: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAppServiceProvidersAsync: usize, } #[doc(hidden)] @@ -992,9 +992,9 @@ pub struct IAppServiceConnection_Vtbl { pub OpenAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] OpenAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SendMessageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, message: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SendMessageAsync: usize, #[cfg(feature = "Foundation")] pub RequestReceived: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, handler: ::windows::core::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, @@ -1048,9 +1048,9 @@ unsafe impl ::windows::core::Interface for IAppServiceConnectionStatics { #[doc(hidden)] pub struct IAppServiceConnectionStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System_RemoteSystems"))] + #[cfg(all(feature = "Foundation_Collections", feature = "System_RemoteSystems"))] pub SendStatelessMessageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, connection: ::windows::core::RawPtr, connectionrequest: ::windows::core::RawPtr, message: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System_RemoteSystems")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "System_RemoteSystems")))] SendStatelessMessageAsync: usize, } #[doc(hidden)] @@ -1081,9 +1081,9 @@ pub struct IAppServiceRequest_Vtbl { pub Message: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Message: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SendResponseAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, message: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SendResponseAsync: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs index 8f3b1e9c5e..b035c86f74 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs @@ -559,8 +559,8 @@ impl AppointmentCalendar { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetSummaryCardView)(::core::mem::transmute_copy(this), value).ok() } } - #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAppointmentsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, rangestart: Param0, rangelength: Param1) -> ::windows::core::Result>> { let this = self; unsafe { @@ -568,8 +568,8 @@ impl AppointmentCalendar { (::windows::core::Interface::vtable(this).FindAppointmentsAsync)(::core::mem::transmute_copy(this), rangestart.into_param().abi(), rangelength.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAppointmentsAsyncWithOptions<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::TimeSpan>, Param2: ::windows::core::IntoParam<'a, FindAppointmentsOptions>>(&self, rangestart: Param0, rangelength: Param1, options: Param2) -> ::windows::core::Result>> { let this = self; unsafe { @@ -577,8 +577,8 @@ impl AppointmentCalendar { (::windows::core::Interface::vtable(this).FindAppointmentsAsyncWithOptions)(::core::mem::transmute_copy(this), rangestart.into_param().abi(), rangelength.into_param().abi(), options.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindExceptionsFromMasterAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, masterlocalid: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -586,8 +586,8 @@ impl AppointmentCalendar { (::windows::core::Interface::vtable(this).FindExceptionsFromMasterAsync)(::core::mem::transmute_copy(this), masterlocalid.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllInstancesAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, masterlocalid: Param0, rangestart: Param1, rangelength: Param2) -> ::windows::core::Result>> { let this = self; unsafe { @@ -595,8 +595,8 @@ impl AppointmentCalendar { (::windows::core::Interface::vtable(this).FindAllInstancesAsync)(::core::mem::transmute_copy(this), masterlocalid.into_param().abi(), rangestart.into_param().abi(), rangelength.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllInstancesAsyncWithOptions<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::TimeSpan>, Param3: ::windows::core::IntoParam<'a, FindAppointmentsOptions>>(&self, masterlocalid: Param0, rangestart: Param1, rangelength: Param2, poptions: Param3) -> ::windows::core::Result>> { let this = self; unsafe { @@ -622,8 +622,8 @@ impl AppointmentCalendar { (::windows::core::Interface::vtable(this).GetAppointmentInstanceAsync)(::core::mem::transmute_copy(this), localid.into_param().abi(), instancestarttime.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindUnexpandedAppointmentsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -631,8 +631,8 @@ impl AppointmentCalendar { (::windows::core::Interface::vtable(this).FindUnexpandedAppointmentsAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindUnexpandedAppointmentsAsyncWithOptions<'a, Param0: ::windows::core::IntoParam<'a, FindAppointmentsOptions>>(&self, options: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -834,8 +834,8 @@ impl AppointmentCalendar { (::windows::core::Interface::vtable(this).TryCancelMeetingAsync)(::core::mem::transmute_copy(this), meeting.into_param().abi(), subject.into_param().abi(), comment.into_param().abi(), notifyinvitees, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn TryForwardMeetingAsync<'a, Param0: ::windows::core::IntoParam<'a, Appointment>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param3: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param4: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, meeting: Param0, invitees: Param1, subject: Param2, forwardheader: Param3, comment: Param4) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2770,8 +2770,8 @@ impl AppointmentStore { (::windows::core::Interface::vtable(this).GetAppointmentInstanceAsync)(::core::mem::transmute_copy(this), localid.into_param().abi(), instancestarttime.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAppointmentCalendarsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -2779,8 +2779,8 @@ impl AppointmentStore { (::windows::core::Interface::vtable(this).FindAppointmentCalendarsAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAppointmentCalendarsAsyncWithOptions(&self, options: FindAppointmentCalendarsOptions) -> ::windows::core::Result>> { let this = self; unsafe { @@ -2788,8 +2788,8 @@ impl AppointmentStore { (::windows::core::Interface::vtable(this).FindAppointmentCalendarsAsyncWithOptions)(::core::mem::transmute_copy(this), options, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAppointmentsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::TimeSpan>>(&self, rangestart: Param0, rangelength: Param1) -> ::windows::core::Result>> { let this = self; unsafe { @@ -2797,8 +2797,8 @@ impl AppointmentStore { (::windows::core::Interface::vtable(this).FindAppointmentsAsync)(::core::mem::transmute_copy(this), rangestart.into_param().abi(), rangelength.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAppointmentsAsyncWithOptions<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::TimeSpan>, Param2: ::windows::core::IntoParam<'a, FindAppointmentsOptions>>(&self, rangestart: Param0, rangelength: Param1, options: Param2) -> ::windows::core::Result>> { let this = self; unsafe { @@ -2905,8 +2905,8 @@ impl AppointmentStore { (::windows::core::Interface::vtable(this).ShowEditNewAppointmentAsync)(::core::mem::transmute_copy(this), appointment.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindLocalIdsFromRoamingIdAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, roamingid: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -3159,8 +3159,8 @@ unsafe impl ::core::marker::Sync for AppointmentStoreChange {} #[repr(transparent)] pub struct AppointmentStoreChangeReader(::windows::core::IUnknown); impl AppointmentStoreChangeReader { - #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -4045,25 +4045,25 @@ pub struct IAppointmentCalendar_Vtbl { pub SourceDisplayName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, pub SummaryCardView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut AppointmentSummaryCardView) -> ::windows::core::HRESULT, pub SetSummaryCardView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: AppointmentSummaryCardView) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAppointmentsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAppointmentsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAppointmentsAsyncWithOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan, options: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAppointmentsAsyncWithOptions: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindExceptionsFromMasterAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, masterlocalid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindExceptionsFromMasterAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllInstancesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, masterlocalid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllInstancesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllInstancesAsyncWithOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, masterlocalid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan, poptions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllInstancesAsyncWithOptions: usize, #[cfg(feature = "Foundation")] pub GetAppointmentAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, localid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4073,13 +4073,13 @@ pub struct IAppointmentCalendar_Vtbl { pub GetAppointmentInstanceAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, localid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, instancestarttime: super::super::Foundation::DateTime, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetAppointmentInstanceAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindUnexpandedAppointmentsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindUnexpandedAppointmentsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindUnexpandedAppointmentsAsyncWithOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, options: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindUnexpandedAppointmentsAsyncWithOptions: usize, #[cfg(feature = "Foundation")] pub DeleteAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4144,9 +4144,9 @@ pub struct IAppointmentCalendar2_Vtbl { pub TryCancelMeetingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, meeting: ::windows::core::RawPtr, subject: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, comment: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, notifyinvitees: bool, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] TryCancelMeetingAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub TryForwardMeetingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, meeting: ::windows::core::RawPtr, invitees: ::windows::core::RawPtr, subject: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, forwardheader: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, comment: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] TryForwardMeetingAsync: usize, #[cfg(feature = "Foundation")] pub TryProposeNewTimeForMeetingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, meeting: ::windows::core::RawPtr, newstarttime: super::super::Foundation::DateTime, newduration: super::super::Foundation::TimeSpan, subject: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, comment: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4694,21 +4694,21 @@ pub struct IAppointmentStore_Vtbl { pub GetAppointmentInstanceAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, localid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, instancestarttime: super::super::Foundation::DateTime, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetAppointmentInstanceAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAppointmentCalendarsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAppointmentCalendarsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAppointmentCalendarsAsyncWithOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, options: FindAppointmentCalendarsOptions, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAppointmentCalendarsAsyncWithOptions: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAppointmentsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAppointmentsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAppointmentsAsyncWithOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan, options: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAppointmentsAsyncWithOptions: usize, #[cfg(feature = "Foundation")] pub FindConflictAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, appointment: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4754,9 +4754,9 @@ pub struct IAppointmentStore_Vtbl { pub ShowEditNewAppointmentAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, appointment: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] ShowEditNewAppointmentAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindLocalIdsFromRoamingIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, roamingid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindLocalIdsFromRoamingIdAsync: usize, } #[doc(hidden)] @@ -4834,9 +4834,9 @@ unsafe impl ::windows::core::Interface for IAppointmentStoreChangeReader { #[doc(hidden)] pub struct IAppointmentStoreChangeReader_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadBatchAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadBatchAsync: usize, pub AcceptChanges: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub AcceptChangesThrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lastchangetoaccept: ::windows::core::RawPtr) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs index 9d10968154..eb944760eb 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs @@ -508,8 +508,8 @@ impl ApplicationTrigger { (::windows::core::Interface::vtable(this).RequestAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Background', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Background', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestAsyncWithArguments<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::ValueSet>>(&self, arguments: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -4976,9 +4976,9 @@ pub struct IApplicationTrigger_Vtbl { pub RequestAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RequestAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestAsyncWithArguments: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, arguments: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestAsyncWithArguments: usize, } #[doc(hidden)] @@ -7072,9 +7072,9 @@ pub struct IMediaProcessingTrigger_Vtbl { pub RequestAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RequestAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestAsyncWithArguments: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, arguments: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestAsyncWithArguments: usize, } #[doc(hidden)] @@ -7782,8 +7782,8 @@ impl MediaProcessingTrigger { (::windows::core::Interface::vtable(this).RequestAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Background', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Background', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestAsyncWithArguments<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::ValueSet>>(&self, arguments: Param0) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs index 8f842fc93e..a0ab948a8c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs @@ -588,9 +588,9 @@ pub struct IPhoneCallBlockingStatics_Vtbl { pub SetBlockUnknownNumbers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: bool) -> ::windows::core::HRESULT, pub BlockPrivateNumbers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, pub SetBlockPrivateNumbers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: bool) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SetCallBlockingListAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, phonenumberlist: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SetCallBlockingListAsync: usize, } #[doc(hidden)] @@ -713,9 +713,9 @@ unsafe impl ::windows::core::Interface for IPhoneCallHistoryEntryReader { #[doc(hidden)] pub struct IPhoneCallHistoryEntryReader_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadBatchAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadBatchAsync: usize, } #[doc(hidden)] @@ -795,17 +795,17 @@ pub struct IPhoneCallHistoryStore_Vtbl { pub DeleteEntryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, callhistoryentry: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] DeleteEntryAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub DeleteEntriesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, callhistoryentries: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] DeleteEntriesAsync: usize, #[cfg(feature = "Foundation")] pub MarkEntryAsSeenAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, callhistoryentry: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] MarkEntryAsSeenAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub MarkEntriesAsSeenAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, callhistoryentries: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] MarkEntriesAsSeenAsync: usize, #[cfg(feature = "Foundation")] pub GetUnseenCountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -815,13 +815,13 @@ pub struct IPhoneCallHistoryStore_Vtbl { pub MarkAllAsSeenAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] MarkAllAsSeenAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSourcesUnseenCountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sourceids: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSourcesUnseenCountAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub MarkSourcesAsSeenAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sourceids: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] MarkSourcesAsSeenAsync: usize, } #[doc(hidden)] @@ -2316,8 +2316,8 @@ impl PhoneCallBlocking { pub fn SetBlockPrivateNumbers(value: bool) -> ::windows::core::Result<()> { Self::IPhoneCallBlockingStatics(|this| unsafe { (::windows::core::Interface::vtable(this).SetBlockPrivateNumbers)(::core::mem::transmute_copy(this), value).ok() }) } - #[doc = "*Required features: 'ApplicationModel_Calls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Calls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SetCallBlockingListAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(phonenumberlist: Param0) -> ::windows::core::Result> { Self::IPhoneCallBlockingStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -3104,8 +3104,8 @@ unsafe impl ::windows::core::RuntimeType for PhoneCallHistoryEntryRawAddressKind #[repr(transparent)] pub struct PhoneCallHistoryEntryReader(::windows::core::IUnknown); impl PhoneCallHistoryEntryReader { - #[doc = "*Required features: 'ApplicationModel_Calls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Calls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -3395,8 +3395,8 @@ impl PhoneCallHistoryStore { (::windows::core::Interface::vtable(this).DeleteEntryAsync)(::core::mem::transmute_copy(this), callhistoryentry.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_Calls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Calls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn DeleteEntriesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, callhistoryentries: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -3413,8 +3413,8 @@ impl PhoneCallHistoryStore { (::windows::core::Interface::vtable(this).MarkEntryAsSeenAsync)(::core::mem::transmute_copy(this), callhistoryentry.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_Calls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Calls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn MarkEntriesAsSeenAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, callhistoryentries: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -3440,8 +3440,8 @@ impl PhoneCallHistoryStore { (::windows::core::Interface::vtable(this).MarkAllAsSeenAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_Calls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Calls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSourcesUnseenCountAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, sourceids: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -3449,8 +3449,8 @@ impl PhoneCallHistoryStore { (::windows::core::Interface::vtable(this).GetSourcesUnseenCountAsync)(::core::mem::transmute_copy(this), sourceids.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Calls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Calls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn MarkSourcesAsSeenAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, sourceids: Param0) -> ::windows::core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs index 565950d841..c7faed193f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs @@ -425,8 +425,8 @@ unsafe impl ::core::marker::Sync for ChatConversation {} #[repr(transparent)] pub struct ChatConversationReader(::windows::core::IUnknown); impl ChatConversationReader { - #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -434,8 +434,8 @@ impl ChatConversationReader { (::windows::core::Interface::vtable(this).ReadBatchAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadBatchWithCountAsync(&self, count: i32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1489,8 +1489,8 @@ impl ChatMessageChangeReader { let this = self; unsafe { (::windows::core::Interface::vtable(this).AcceptChangesThrough)(::core::mem::transmute_copy(this), lastchangetoacknowledge.into_param().abi()).ok() } } - #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1927,8 +1927,8 @@ impl ChatMessageManager { (::windows::core::Interface::vtable(this).GetTransportAsync)(::core::mem::transmute_copy(this), transportid.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetTransportsAsync() -> ::windows::core::Result>> { Self::IChatMessageManagerStatic(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -2139,8 +2139,8 @@ unsafe impl ::windows::core::RuntimeType for ChatMessageOperatorKind { #[repr(transparent)] pub struct ChatMessageReader(::windows::core::IUnknown); impl ChatMessageReader { - #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -2148,8 +2148,8 @@ impl ChatMessageReader { (::windows::core::Interface::vtable(this).ReadBatchAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadBatchWithCountAsync(&self, count: i32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2382,8 +2382,8 @@ impl ChatMessageStore { let this = self; unsafe { (::windows::core::Interface::vtable(this).RemoveMessageChanged)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ForwardMessageAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, localchatmessageid: Param0, addresses: Param1) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2400,8 +2400,8 @@ impl ChatMessageStore { (::windows::core::Interface::vtable(this).GetConversationAsync)(::core::mem::transmute_copy(this), conversationid.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetConversationForTransportsAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, conversationid: Param0, transportids: Param1) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2453,8 +2453,8 @@ impl ChatMessageStore { (::windows::core::Interface::vtable(this).GetUnseenCountAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetUnseenCountForTransportsReaderAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, transportids: Param0) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2471,8 +2471,8 @@ impl ChatMessageStore { (::windows::core::Interface::vtable(this).MarkAsSeenAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn MarkAsSeenForTransportsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, transportids: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -3455,8 +3455,8 @@ unsafe impl ::windows::core::RuntimeType for ChatRestoreHistorySpan { #[repr(transparent)] pub struct ChatSearchReader(::windows::core::IUnknown); impl ChatSearchReader { - #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -3464,8 +3464,8 @@ impl ChatSearchReader { (::windows::core::Interface::vtable(this).ReadBatchAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadBatchWithCountAsync(&self, count: i32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -4022,13 +4022,13 @@ unsafe impl ::windows::core::Interface for IChatConversationReader { #[doc(hidden)] pub struct IChatConversationReader_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadBatchAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadBatchAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadBatchWithCountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, count: i32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadBatchWithCountAsync: usize, } #[doc(hidden)] @@ -4370,9 +4370,9 @@ pub struct IChatMessageChangeReader_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub AcceptChanges: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub AcceptChangesThrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lastchangetoacknowledge: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadBatchAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadBatchAsync: usize, } #[doc(hidden)] @@ -4447,9 +4447,9 @@ unsafe impl ::windows::core::Interface for IChatMessageManagerStatic { #[doc(hidden)] pub struct IChatMessageManagerStatic_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetTransportsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetTransportsAsync: usize, #[cfg(feature = "Foundation")] pub RequestStoreAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4517,9 +4517,9 @@ unsafe impl ::windows::core::Interface for IChatMessageReader { #[doc(hidden)] pub struct IChatMessageReader_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadBatchAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadBatchAsync: usize, } #[doc(hidden)] @@ -4533,9 +4533,9 @@ unsafe impl ::windows::core::Interface for IChatMessageReader2 { #[doc(hidden)] pub struct IChatMessageReader2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadBatchWithCountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, count: i32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadBatchWithCountAsync: usize, } #[doc(hidden)] @@ -4600,17 +4600,17 @@ unsafe impl ::windows::core::Interface for IChatMessageStore2 { #[doc(hidden)] pub struct IChatMessageStore2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ForwardMessageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, localchatmessageid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, addresses: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ForwardMessageAsync: usize, #[cfg(feature = "Foundation")] pub GetConversationAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, conversationid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetConversationAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetConversationForTransportsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, conversationid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, transportids: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetConversationForTransportsAsync: usize, #[cfg(feature = "Foundation")] pub GetConversationFromThreadingInfoAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, threadinginfo: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4629,17 +4629,17 @@ pub struct IChatMessageStore2_Vtbl { pub GetUnseenCountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetUnseenCountAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetUnseenCountForTransportsReaderAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, transportids: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetUnseenCountForTransportsReaderAsync: usize, #[cfg(feature = "Foundation")] pub MarkAsSeenAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] MarkAsSeenAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub MarkAsSeenForTransportsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, transportids: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] MarkAsSeenForTransportsAsync: usize, pub GetSearchReader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(feature = "Foundation")] @@ -4835,13 +4835,13 @@ unsafe impl ::windows::core::Interface for IChatSearchReader { #[doc(hidden)] pub struct IChatSearchReader_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadBatchAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadBatchAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadBatchWithCountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, count: i32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadBatchWithCountAsync: usize, } #[doc(hidden)] @@ -4991,9 +4991,9 @@ unsafe impl ::windows::core::Interface for IRcsManagerStatics { pub struct IRcsManagerStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub GetEndUserMessageManager: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetTransportsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetTransportsAsync: usize, #[cfg(feature = "Foundation")] pub GetTransportAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, transportid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -5609,8 +5609,8 @@ impl RcsManager { (::windows::core::Interface::vtable(this).GetEndUserMessageManager)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Chat', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetTransportsAsync() -> ::windows::core::Result>> { Self::IRcsManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs index 5a84b590eb..b843c4afa1 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs @@ -7,8 +7,8 @@ pub mod Provider; #[repr(transparent)] pub struct AggregateContactManager(::windows::core::IUnknown); impl AggregateContactManager { - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindRawContactsAsync<'a, Param0: ::windows::core::IntoParam<'a, Contact>>(&self, contact: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1072,8 +1072,8 @@ impl ContactAnnotationList { (::windows::core::Interface::vtable(this).GetAnnotationAsync)(::core::mem::transmute_copy(this), annotationid.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAnnotationsByRemoteIdAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, remoteid: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1081,8 +1081,8 @@ impl ContactAnnotationList { (::windows::core::Interface::vtable(this).FindAnnotationsByRemoteIdAsync)(::core::mem::transmute_copy(this), remoteid.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAnnotationsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1243,8 +1243,8 @@ unsafe impl ::windows::core::RuntimeType for ContactAnnotationOperations { #[repr(transparent)] pub struct ContactAnnotationStore(::windows::core::IUnknown); impl ContactAnnotationStore { - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindContactIdsByEmailAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, emailaddress: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1252,8 +1252,8 @@ impl ContactAnnotationStore { (::windows::core::Interface::vtable(this).FindContactIdsByEmailAsync)(::core::mem::transmute_copy(this), emailaddress.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindContactIdsByPhoneNumberAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, phonenumber: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1261,8 +1261,8 @@ impl ContactAnnotationStore { (::windows::core::Interface::vtable(this).FindContactIdsByPhoneNumberAsync)(::core::mem::transmute_copy(this), phonenumber.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAnnotationsForContactAsync<'a, Param0: ::windows::core::IntoParam<'a, Contact>>(&self, contact: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1306,8 +1306,8 @@ impl ContactAnnotationStore { (::windows::core::Interface::vtable(this).GetAnnotationListAsync)(::core::mem::transmute_copy(this), annotationlistid.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAnnotationListsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1315,8 +1315,8 @@ impl ContactAnnotationStore { (::windows::core::Interface::vtable(this).FindAnnotationListsAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAnnotationsForContactListAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, contactlistid: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1973,8 +1973,8 @@ impl ContactChangeReader { let this = self; unsafe { (::windows::core::Interface::vtable(this).AcceptChangesThrough)(::core::mem::transmute_copy(this), lastchangetoaccept.into_param().abi()).ok() } } - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -6323,8 +6323,8 @@ impl ContactPicker { (::windows::core::Interface::vtable(this).PickSingleContactAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn PickMultipleContactsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -6350,8 +6350,8 @@ impl ContactPicker { (::windows::core::Interface::vtable(this).PickContactAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn PickContactsAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -7201,8 +7201,8 @@ unsafe impl ::core::marker::Sync for ContactSignificantOther {} #[repr(transparent)] pub struct ContactStore(::windows::core::IUnknown); impl ContactStore { - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindContactsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -7210,8 +7210,8 @@ impl ContactStore { (::windows::core::Interface::vtable(this).FindContactsAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindContactsWithSearchTextAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, searchtext: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -7259,8 +7259,8 @@ impl ContactStore { (::windows::core::Interface::vtable(this).AggregateContactManager)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindContactListsAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -7747,9 +7747,9 @@ unsafe impl ::windows::core::Interface for IAggregateContactManager { #[doc(hidden)] pub struct IAggregateContactManager_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindRawContactsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contact: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindRawContactsAsync: usize, #[cfg(feature = "Foundation")] pub TryLinkContactsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, primarycontact: ::windows::core::RawPtr, secondarycontact: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -8006,13 +8006,13 @@ pub struct IContactAnnotationList_Vtbl { pub GetAnnotationAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, annotationid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetAnnotationAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAnnotationsByRemoteIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, remoteid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAnnotationsByRemoteIdAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAnnotationsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAnnotationsAsync: usize, #[cfg(feature = "Foundation")] pub DeleteAnnotationAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, annotation: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -8030,17 +8030,17 @@ unsafe impl ::windows::core::Interface for IContactAnnotationStore { #[doc(hidden)] pub struct IContactAnnotationStore_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindContactIdsByEmailAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, emailaddress: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindContactIdsByEmailAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindContactIdsByPhoneNumberAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, phonenumber: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindContactIdsByPhoneNumberAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAnnotationsForContactAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contact: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAnnotationsForContactAsync: usize, #[cfg(feature = "Foundation")] pub DisableAnnotationAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, annotation: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -8058,9 +8058,9 @@ pub struct IContactAnnotationStore_Vtbl { pub GetAnnotationListAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, annotationlistid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetAnnotationListAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAnnotationListsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAnnotationListsAsync: usize, } #[doc(hidden)] @@ -8074,9 +8074,9 @@ unsafe impl ::windows::core::Interface for IContactAnnotationStore2 { #[doc(hidden)] pub struct IContactAnnotationStore2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAnnotationsForContactListAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contactlistid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAnnotationsForContactListAsync: usize, } #[doc(hidden)] @@ -8168,9 +8168,9 @@ pub struct IContactChangeReader_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub AcceptChanges: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub AcceptChangesThrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lastchangetoaccept: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadBatchAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadBatchAsync: usize, } #[doc(hidden)] @@ -9593,9 +9593,9 @@ pub struct IContactPicker_Vtbl { pub PickSingleContactAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] PickSingleContactAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub PickMultipleContactsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] PickMultipleContactsAsync: usize, } #[doc(hidden)] @@ -9617,9 +9617,9 @@ pub struct IContactPicker2_Vtbl { pub PickContactAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] PickContactAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub PickContactsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] PickContactsAsync: usize, } #[doc(hidden)] @@ -9778,13 +9778,13 @@ unsafe impl ::windows::core::Interface for IContactStore { #[doc(hidden)] pub struct IContactStore_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindContactsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindContactsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindContactsWithSearchTextAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, searchtext: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindContactsWithSearchTextAsync: usize, #[cfg(feature = "Foundation")] pub GetContactAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contactid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -9812,9 +9812,9 @@ pub struct IContactStore2_Vtbl { #[cfg(not(feature = "Foundation"))] RemoveContactChanged: usize, pub AggregateContactManager: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindContactListsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindContactListsAsync: usize, #[cfg(feature = "Foundation")] pub GetContactListAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contactlistid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -9992,9 +9992,9 @@ pub struct IPinnedContactManager_Vtbl { pub RequestPinContactAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contact: ::windows::core::RawPtr, surface: PinnedContactSurface, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RequestPinContactAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestPinContactsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contacts: ::windows::core::RawPtr, surface: PinnedContactSurface, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestPinContactsAsync: usize, #[cfg(feature = "Foundation")] pub RequestUnpinContactAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contact: ::windows::core::RawPtr, surface: PinnedContactSurface, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -10212,8 +10212,8 @@ impl PinnedContactManager { (::windows::core::Interface::vtable(this).RequestPinContactAsync)(::core::mem::transmute_copy(this), contact.into_param().abi(), surface, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestPinContactsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, contacts: Param0, surface: PinnedContactSurface) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs index 9fb5a972d0..e7cc390e86 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs @@ -691,8 +691,8 @@ impl ActivationSignalDetector { (::windows::core::Interface::vtable(this).GetSupportedModelIdsForSignalId)(::core::mem::transmute_copy(this), signalid.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_ConversationalAgent', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_ConversationalAgent', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSupportedModelIdsForSignalIdAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, signalid: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -723,8 +723,8 @@ impl ActivationSignalDetector { (::windows::core::Interface::vtable(this).GetConfigurations)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_ConversationalAgent', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_ConversationalAgent', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetConfigurationsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -763,8 +763,8 @@ impl ActivationSignalDetector { (::windows::core::Interface::vtable(this).RemoveConfigurationAsync)(::core::mem::transmute_copy(this), signalid.into_param().abi(), modelid.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_ConversationalAgent', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_ConversationalAgent', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetAvailableModelIdsForSignalIdAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, signalid: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1049,8 +1049,8 @@ impl ConversationalAgentDetectorManager { (::windows::core::Interface::vtable(this).GetAllActivationSignalDetectors)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_ConversationalAgent', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_ConversationalAgent', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetAllActivationSignalDetectorsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1067,8 +1067,8 @@ impl ConversationalAgentDetectorManager { (::windows::core::Interface::vtable(this).GetActivationSignalDetectors)(::core::mem::transmute_copy(this), kind, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_ConversationalAgent', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_ConversationalAgent', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetActivationSignalDetectorsAsync(&self, kind: ActivationSignalDetectorKind) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1451,8 +1451,8 @@ impl ConversationalAgentSession { (::windows::core::Interface::vtable(this).SetSignalModelId)(::core::mem::transmute_copy(this), signalmodelid, &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_ConversationalAgent', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_ConversationalAgent', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSupportedSignalModelIdsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1509,8 +1509,8 @@ impl ConversationalAgentSession { (::windows::core::Interface::vtable(this).GetMissingPrerequisites)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_ConversationalAgent', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_ConversationalAgent', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetMissingPrerequisitesAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2617,9 +2617,9 @@ pub struct IActivationSignalDetector_Vtbl { pub GetSupportedModelIdsForSignalId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, signalid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetSupportedModelIdsForSignalId: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSupportedModelIdsForSignalIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, signalid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSupportedModelIdsForSignalIdAsync: usize, pub CreateConfiguration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, signalid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, modelid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, displayname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, #[cfg(feature = "Foundation")] @@ -2630,9 +2630,9 @@ pub struct IActivationSignalDetector_Vtbl { pub GetConfigurations: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetConfigurations: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetConfigurationsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetConfigurationsAsync: usize, pub GetConfiguration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, signalid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, modelid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(feature = "Foundation")] @@ -2656,9 +2656,9 @@ unsafe impl ::windows::core::Interface for IActivationSignalDetector2 { #[doc(hidden)] pub struct IActivationSignalDetector2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetAvailableModelIdsForSignalIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, signalid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetAvailableModelIdsForSignalIdAsync: usize, #[cfg(feature = "Foundation_Collections")] pub GetAvailableModelIdsForSignalId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, signalid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2691,17 +2691,17 @@ pub struct IConversationalAgentDetectorManager_Vtbl { pub GetAllActivationSignalDetectors: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetAllActivationSignalDetectors: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetAllActivationSignalDetectorsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetAllActivationSignalDetectorsAsync: usize, #[cfg(feature = "Foundation_Collections")] pub GetActivationSignalDetectors: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, kind: ActivationSignalDetectorKind, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetActivationSignalDetectors: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetActivationSignalDetectorsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, kind: ActivationSignalDetectorKind, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetActivationSignalDetectorsAsync: usize, } #[doc(hidden)] @@ -2825,9 +2825,9 @@ pub struct IConversationalAgentSession_Vtbl { #[cfg(not(feature = "Foundation"))] SetSignalModelIdAsync: usize, pub SetSignalModelId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, signalmodelid: u32, result__: *mut bool) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSupportedSignalModelIdsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSupportedSignalModelIdsAsync: usize, #[cfg(feature = "Foundation_Collections")] pub GetSupportedSignalModelIds: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2859,9 +2859,9 @@ pub struct IConversationalAgentSession2_Vtbl { pub GetMissingPrerequisites: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetMissingPrerequisites: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetMissingPrerequisitesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetMissingPrerequisitesAsync: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs index 2e1f9a4a3e..97efbafd88 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs @@ -1664,8 +1664,8 @@ impl DataPackageView { (::windows::core::Interface::vtable(this).GetHtmlFormatAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_DataTransfer', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'ApplicationModel_DataTransfer', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn GetResourceMapAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1691,8 +1691,8 @@ impl DataPackageView { (::windows::core::Interface::vtable(this).GetBitmapAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_DataTransfer', 'Foundation', 'Foundation_Collections', 'Storage'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage"))] + #[doc = "*Required features: 'ApplicationModel_DataTransfer', 'Foundation_Collections', 'Storage'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] pub fn GetStorageItemsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -3060,9 +3060,9 @@ pub struct IDataPackageView_Vtbl { pub GetHtmlFormatAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetHtmlFormatAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub GetResourceMapAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] GetResourceMapAsync: usize, #[cfg(feature = "Foundation")] pub GetRtfAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -3072,9 +3072,9 @@ pub struct IDataPackageView_Vtbl { pub GetBitmapAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Storage_Streams")))] GetBitmapAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] pub GetStorageItemsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] GetStorageItemsAsync: usize, } #[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 d90d6176cb..e4de0627d6 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs @@ -2364,8 +2364,8 @@ impl EmailMailboxResolveRecipientsRequest { (::windows::core::Interface::vtable(this).Recipients)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Email_DataProvider', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Email_DataProvider', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReportCompletedAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>>(&self, resolutionresults: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -3447,8 +3447,8 @@ impl EmailMailboxValidateCertificatesRequest { (::windows::core::Interface::vtable(this).Certificates)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Email_DataProvider', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Email_DataProvider', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReportCompletedAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>>(&self, validationstatuses: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -4167,9 +4167,9 @@ pub struct IEmailMailboxResolveRecipientsRequest_Vtbl { pub Recipients: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Recipients: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReportCompletedAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, resolutionresults: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReportCompletedAsync: usize, #[cfg(feature = "Foundation")] pub ReportFailedAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4375,9 +4375,9 @@ pub struct IEmailMailboxValidateCertificatesRequest_Vtbl { pub Certificates: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates")))] Certificates: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReportCompletedAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, validationstatuses: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReportCompletedAsync: usize, #[cfg(feature = "Foundation")] pub ReportFailedAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs index 3b7564a1b7..9032b3c7e3 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs @@ -456,8 +456,8 @@ impl EmailConversation { (::windows::core::Interface::vtable(this).UnreadMessageCount)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindMessagesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -465,8 +465,8 @@ impl EmailConversation { (::windows::core::Interface::vtable(this).FindMessagesAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindMessagesWithCountAsync(&self, count: u32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -871,8 +871,8 @@ impl EmailFolder { (::windows::core::Interface::vtable(this).DeleteAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindChildFoldersAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1931,8 +1931,8 @@ impl EmailMailbox { (::windows::core::Interface::vtable(this).TryUpdateMeetingResponseAsync)(::core::mem::transmute_copy(this), meeting.into_param().abi(), response, subject.into_param().abi(), comment.into_param().abi(), sendupdate, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn TryForwardMeetingAsync<'a, Param0: ::windows::core::IntoParam<'a, EmailMessage>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param4: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param5: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, meeting: Param0, recipients: Param1, subject: Param2, forwardheadertype: EmailMessageBodyKind, forwardheader: Param4, comment: Param5) -> ::windows::core::Result> { let this = self; unsafe { @@ -2015,8 +2015,8 @@ impl EmailMailbox { (::windows::core::Interface::vtable(this).NetworkId)(::core::mem::transmute_copy(this), &mut result__).from_abi::<::windows::core::HSTRING>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ResolveRecipientsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, recipients: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2024,8 +2024,8 @@ impl EmailMailbox { (::windows::core::Interface::vtable(this).ResolveRecipientsAsync)(::core::mem::transmute_copy(this), recipients.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation', 'Foundation_Collections', 'Security_Cryptography_Certificates'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates"))] + #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation_Collections', 'Security_Cryptography_Certificates'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates"))] pub fn ValidateCertificatesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, certificates: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -3005,8 +3005,8 @@ impl EmailMailboxChangeReader { let this = self; unsafe { (::windows::core::Interface::vtable(this).AcceptChangesThrough)(::core::mem::transmute_copy(this), lastchangetoacknowledge.into_param().abi()).ok() } } - #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -6183,8 +6183,8 @@ unsafe impl ::windows::core::RuntimeType for EmailSpecialFolderKind { #[repr(transparent)] pub struct EmailStore(::windows::core::IUnknown); impl EmailStore { - #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Email', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindMailboxesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -6568,13 +6568,13 @@ pub struct IEmailConversation_Vtbl { pub LatestSender: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub Subject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, pub UnreadMessageCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindMessagesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindMessagesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindMessagesWithCountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, count: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindMessagesWithCountAsync: usize, } #[doc(hidden)] @@ -6647,9 +6647,9 @@ pub struct IEmailFolder_Vtbl { pub DeleteAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] DeleteAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindChildFoldersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindChildFoldersAsync: usize, pub GetConversationReader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub GetConversationReaderWithOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, options: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -6905,9 +6905,9 @@ pub struct IEmailMailbox_Vtbl { pub TryUpdateMeetingResponseAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, meeting: ::windows::core::RawPtr, response: EmailMeetingResponseType, subject: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, comment: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, sendupdate: bool, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] TryUpdateMeetingResponseAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub TryForwardMeetingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, meeting: ::windows::core::RawPtr, recipients: ::windows::core::RawPtr, subject: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, forwardheadertype: EmailMessageBodyKind, forwardheader: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, comment: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] TryForwardMeetingAsync: usize, #[cfg(feature = "Foundation")] pub TryProposeNewTimeForMeetingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, meeting: ::windows::core::RawPtr, newstarttime: super::super::Foundation::DateTime, newduration: super::super::Foundation::TimeSpan, subject: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, comment: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -6960,13 +6960,13 @@ unsafe impl ::windows::core::Interface for IEmailMailbox3 { #[doc(hidden)] pub struct IEmailMailbox3_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ResolveRecipientsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, recipients: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ResolveRecipientsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates"))] pub ValidateCertificatesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, certificates: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates")))] ValidateCertificatesAsync: usize, #[cfg(feature = "Foundation")] pub TryEmptyFolderAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, folderid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -7171,9 +7171,9 @@ pub struct IEmailMailboxChangeReader_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub AcceptChanges: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub AcceptChangesThrough: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lastchangetoacknowledge: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadBatchAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadBatchAsync: usize, } #[doc(hidden)] @@ -7815,9 +7815,9 @@ unsafe impl ::windows::core::Interface for IEmailStore { #[doc(hidden)] pub struct IEmailStore_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindMailboxesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindMailboxesAsync: usize, pub GetConversationReader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub GetConversationReaderWithOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, options: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, 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 7415f400b3..b9fe1af866 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs @@ -24,9 +24,9 @@ unsafe impl ::windows::core::Interface for IPaymentAppManager { #[doc(hidden)] pub struct IPaymentAppManager_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RegisterAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, supportedpaymentmethodids: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RegisterAsync: usize, #[cfg(feature = "Foundation")] pub UnregisterAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -201,8 +201,8 @@ unsafe impl ::core::marker::Sync for PaymentAppCanMakePaymentTriggerDetails {} #[repr(transparent)] pub struct PaymentAppManager(::windows::core::IUnknown); impl PaymentAppManager { - #[doc = "*Required features: 'ApplicationModel_Payments_Provider', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Payments_Provider', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RegisterAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, supportedpaymentmethodids: Param0) -> ::windows::core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs index 20c7990da4..9adf39d598 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs @@ -246,9 +246,9 @@ unsafe impl ::windows::core::Interface for IPaymentMediator { #[doc(hidden)] pub struct IPaymentMediator_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSupportedMethodIdsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSupportedMethodIdsAsync: usize, #[cfg(feature = "Foundation")] pub SubmitPaymentRequestAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, paymentrequest: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1536,8 +1536,8 @@ impl PaymentMediator { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); unsafe { SHARED.call(callback) } } - #[doc = "*Required features: 'ApplicationModel_Payments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Payments', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSupportedMethodIdsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { 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 5088456b01..7d55466035 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs @@ -2541,8 +2541,8 @@ impl ResourceQualifierObservableMap { let this = &::windows::core::Interface::cast::>(self)?; unsafe { (::windows::core::Interface::vtable(this).Clear)(::core::mem::transmute_copy(this)).ok() } } - #[doc = "*Required features: 'ApplicationModel_Resources_Core', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Resources_Core', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn MapChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::MapChangedEventHandler<::windows::core::HSTRING, ::windows::core::HSTRING>>>(&self, vhnd: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -2550,8 +2550,8 @@ impl ResourceQualifierObservableMap { (::windows::core::Interface::vtable(this).MapChanged)(::core::mem::transmute_copy(this), vhnd.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_Resources_Core', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Resources_Core', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RemoveMapChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).RemoveMapChanged)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } 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 07996bdc2e..ce57328f31 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs @@ -58,9 +58,9 @@ pub struct IResourceIndexer_Vtbl { pub IndexFilePath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, filepath: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "deprecated")))] IndexFilePath: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub IndexFileContentsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, file: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] IndexFileContentsAsync: usize, } #[doc(hidden)] @@ -372,8 +372,8 @@ impl ResourceIndexer { (::windows::core::Interface::vtable(this).IndexFilePath)(::core::mem::transmute_copy(this), filepath.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_Resources_Management', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'ApplicationModel_Resources_Management', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn IndexFileContentsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Uri>>(&self, file: Param0) -> ::windows::core::Result>> { let this = self; unsafe { 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 2574114f62..02e22806e6 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs @@ -14,9 +14,9 @@ pub struct ILicenseManagerStatics_Vtbl { pub AddLicenseAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, license: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Storage_Streams")))] AddLicenseAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSatisfactionInfosAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contentids: ::windows::core::RawPtr, keyids: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSatisfactionInfosAsync: usize, } #[doc(hidden)] @@ -82,8 +82,8 @@ impl LicenseManager { (::windows::core::Interface::vtable(this).AddLicenseAsync)(::core::mem::transmute_copy(this), license.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'ApplicationModel_Store_LicenseManagement', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Store_LicenseManagement', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSatisfactionInfosAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(contentids: Param0, keyids: Param1) -> ::windows::core::Result> { Self::ILicenseManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); 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 68f4512c9b..7e4ba1494b 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 @@ -398,8 +398,8 @@ impl AppInstallManager { (::windows::core::Interface::vtable(this).SearchForUpdatesAsync)(::core::mem::transmute_copy(this), productid.into_param().abi(), skuid.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SearchForAllUpdatesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -452,8 +452,8 @@ impl AppInstallManager { (::windows::core::Interface::vtable(this).SearchForUpdatesWithTelemetryAsync)(::core::mem::transmute_copy(this), productid.into_param().abi(), skuid.into_param().abi(), catalogid.into_param().abi(), correlationvector.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SearchForAllUpdatesWithTelemetryAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, correlationvector: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -485,8 +485,8 @@ impl AppInstallManager { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).RestartWithTelemetry)(::core::mem::transmute_copy(this), productid.into_param().abi(), correlationvector.into_param().abi()).ok() } } - #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation', 'Foundation_Collections', 'Management_Deployment'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Management_Deployment"))] + #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation_Collections', 'Management_Deployment'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Management_Deployment"))] pub fn StartProductInstallAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param3: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param6: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param7: ::windows::core::IntoParam<'a, super::super::super::super::Management::Deployment::PackageVolume>>( &self, productid: Param0, @@ -504,8 +504,8 @@ impl AppInstallManager { (::windows::core::Interface::vtable(this).StartProductInstallAsync)(::core::mem::transmute_copy(this), productid.into_param().abi(), catalogid.into_param().abi(), flightid.into_param().abi(), clientid.into_param().abi(), repair, forceuseofnonremovablestorage, correlationvector.into_param().abi(), targetvolume.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation', 'Foundation_Collections', 'Management_Deployment', 'System'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Management_Deployment", feature = "System"))] + #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation_Collections', 'Management_Deployment', 'System'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Management_Deployment", feature = "System"))] pub fn StartProductInstallForUserAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::System::User>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param3: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param4: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param7: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param8: ::windows::core::IntoParam<'a, super::super::super::super::Management::Deployment::PackageVolume>>( &self, user: Param0, @@ -542,8 +542,8 @@ impl AppInstallManager { (::windows::core::Interface::vtable(this).SearchForUpdatesForUserAsync)(::core::mem::transmute_copy(this), user.into_param().abi(), productid.into_param().abi(), skuid.into_param().abi(), catalogid.into_param().abi(), correlationvector.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation', 'Foundation_Collections', 'System'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System"))] + #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation_Collections', 'System'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "System"))] pub fn SearchForAllUpdatesForUserAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::System::User>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, user: Param0, correlationvector: Param1) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -610,8 +610,8 @@ impl AppInstallManager { (::windows::core::Interface::vtable(this).AppInstallItemsWithGroupSupport)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SearchForAllUpdatesWithUpdateOptionsAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, AppUpdateOptions>>(&self, correlationvector: Param0, clientid: Param1, updateoptions: Param2) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -619,8 +619,8 @@ impl AppInstallManager { (::windows::core::Interface::vtable(this).SearchForAllUpdatesWithUpdateOptionsAsync)(::core::mem::transmute_copy(this), correlationvector.into_param().abi(), clientid.into_param().abi(), updateoptions.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation', 'Foundation_Collections', 'System'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System"))] + #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation_Collections', 'System'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "System"))] pub fn SearchForAllUpdatesWithUpdateOptionsForUserAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::System::User>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param3: ::windows::core::IntoParam<'a, AppUpdateOptions>>(&self, user: Param0, correlationvector: Param1, clientid: Param2, updateoptions: Param3) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -646,8 +646,8 @@ impl AppInstallManager { (::windows::core::Interface::vtable(this).SearchForUpdatesWithUpdateOptionsForUserAsync)(::core::mem::transmute_copy(this), user.into_param().abi(), productid.into_param().abi(), skuid.into_param().abi(), correlationvector.into_param().abi(), clientid.into_param().abi(), updateoptions.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn StartProductInstallWithOptionsAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param3: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param4: ::windows::core::IntoParam<'a, AppInstallOptions>>(&self, productid: Param0, flightid: Param1, clientid: Param2, correlationvector: Param3, installoptions: Param4) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -655,8 +655,8 @@ impl AppInstallManager { (::windows::core::Interface::vtable(this).StartProductInstallWithOptionsAsync)(::core::mem::transmute_copy(this), productid.into_param().abi(), flightid.into_param().abi(), clientid.into_param().abi(), correlationvector.into_param().abi(), installoptions.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation', 'Foundation_Collections', 'System'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System"))] + #[doc = "*Required features: 'ApplicationModel_Store_Preview_InstallControl', 'Foundation_Collections', 'System'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "System"))] pub fn StartProductInstallWithOptionsForUserAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::System::User>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param3: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param4: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param5: ::windows::core::IntoParam<'a, AppInstallOptions>>(&self, user: Param0, productid: Param1, flightid: Param2, clientid: Param3, correlationvector: Param4, installoptions: Param5) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1826,9 +1826,9 @@ pub struct IAppInstallManager_Vtbl { pub SearchForUpdatesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, skuid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] SearchForUpdatesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SearchForAllUpdatesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SearchForAllUpdatesAsync: usize, #[cfg(feature = "Foundation")] pub IsStoreBlockedByPolicyAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, storeclientname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, storeclientpublisher: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1862,9 +1862,9 @@ pub struct IAppInstallManager2_Vtbl { pub SearchForUpdatesWithTelemetryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, skuid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, catalogid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] SearchForUpdatesWithTelemetryAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SearchForAllUpdatesWithTelemetryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SearchForAllUpdatesWithTelemetryAsync: usize, #[cfg(feature = "Foundation")] pub GetIsAppAllowedToInstallWithTelemetryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, skuid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, catalogid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1885,13 +1885,13 @@ unsafe impl ::windows::core::Interface for IAppInstallManager3 { #[doc(hidden)] pub struct IAppInstallManager3_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Management_Deployment"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Management_Deployment"))] pub StartProductInstallAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, catalogid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, flightid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, clientid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, repair: bool, forceuseofnonremovablestorage: bool, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, targetvolume: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Management_Deployment")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Management_Deployment")))] StartProductInstallAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Management_Deployment", feature = "System"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Management_Deployment", feature = "System"))] pub StartProductInstallForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, catalogid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, flightid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, clientid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, repair: bool, forceuseofnonremovablestorage: bool, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, targetvolume: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Management_Deployment", feature = "System")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Management_Deployment", feature = "System")))] StartProductInstallForUserAsync: usize, #[cfg(all(feature = "Foundation", feature = "System"))] pub UpdateAppByPackageFamilyNameForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, packagefamilyname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1901,9 +1901,9 @@ pub struct IAppInstallManager3_Vtbl { pub SearchForUpdatesForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, skuid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, catalogid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "System")))] SearchForUpdatesForUserAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System"))] + #[cfg(all(feature = "Foundation_Collections", feature = "System"))] pub SearchForAllUpdatesForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "System")))] SearchForAllUpdatesForUserAsync: usize, #[cfg(all(feature = "Foundation", feature = "System"))] pub GetIsAppAllowedToInstallForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, skuid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, catalogid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1966,13 +1966,13 @@ unsafe impl ::windows::core::Interface for IAppInstallManager6 { #[doc(hidden)] pub struct IAppInstallManager6_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SearchForAllUpdatesWithUpdateOptionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, clientid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, updateoptions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SearchForAllUpdatesWithUpdateOptionsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System"))] + #[cfg(all(feature = "Foundation_Collections", feature = "System"))] pub SearchForAllUpdatesWithUpdateOptionsForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, clientid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, updateoptions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "System")))] SearchForAllUpdatesWithUpdateOptionsForUserAsync: usize, #[cfg(feature = "Foundation")] pub SearchForUpdatesWithUpdateOptionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, skuid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, clientid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, updateoptions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1982,13 +1982,13 @@ pub struct IAppInstallManager6_Vtbl { pub SearchForUpdatesWithUpdateOptionsForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, skuid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, clientid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, updateoptions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "System")))] SearchForUpdatesWithUpdateOptionsForUserAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub StartProductInstallWithOptionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, flightid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, clientid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, installoptions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] StartProductInstallWithOptionsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System"))] + #[cfg(all(feature = "Foundation_Collections", feature = "System"))] pub StartProductInstallWithOptionsForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, flightid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, clientid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, installoptions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "System")))] StartProductInstallWithOptionsForUserAsync: usize, #[cfg(feature = "Foundation")] pub GetIsPackageIdentityAllowedToInstallAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, correlationvector: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, packageidentityname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, publishercertificatename: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, 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 24b885293e..f493bd7bf1 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs @@ -224,9 +224,9 @@ pub struct IStoreConfigurationStatics_Vtbl { pub SetStoreWebAccountId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, webaccountid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, pub IsStoreWebAccountId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, webaccountid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut bool) -> ::windows::core::HRESULT, pub HardwareManufacturerInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FilterUnsupportedSystemFeaturesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, systemfeatures: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FilterUnsupportedSystemFeaturesAsync: usize, } #[doc(hidden)] @@ -369,9 +369,9 @@ pub struct IStorePreview_Vtbl { pub RequestProductPurchaseByProductIdAndSkuIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, skuid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RequestProductPurchaseByProductIdAndSkuIdAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub LoadAddOnProductInfosAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] LoadAddOnProductInfosAsync: usize, } #[doc(hidden)] @@ -478,8 +478,8 @@ impl StoreConfiguration { (::windows::core::Interface::vtable(this).HardwareManufacturerInfo)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'ApplicationModel_Store_Preview', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Store_Preview', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FilterUnsupportedSystemFeaturesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>>(systemfeatures: Param0) -> ::windows::core::Result>> { Self::IStoreConfigurationStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -843,8 +843,8 @@ impl StorePreview { (::windows::core::Interface::vtable(this).RequestProductPurchaseByProductIdAndSkuIdAsync)(::core::mem::transmute_copy(this), productid.into_param().abi(), skuid.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'ApplicationModel_Store_Preview', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Store_Preview', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn LoadAddOnProductInfosAsync() -> ::windows::core::Result>> { Self::IStorePreview(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs index 661823c0d2..74fa8ec71f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs @@ -84,16 +84,16 @@ impl CurrentApp { (::windows::core::Interface::vtable(this).GetCustomerCollectionsIdAsync)(::core::mem::transmute_copy(this), serviceticket.into_param().abi(), publisheruserid.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'ApplicationModel_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn LoadListingInformationByProductIdsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(productids: Param0) -> ::windows::core::Result> { Self::ICurrentAppStaticsWithFiltering(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).LoadListingInformationByProductIdsAsync)(::core::mem::transmute_copy(this), productids.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'ApplicationModel_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn LoadListingInformationByKeywordsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(keywords: Param0) -> ::windows::core::Result> { Self::ICurrentAppStaticsWithFiltering(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -136,8 +136,8 @@ impl CurrentApp { (::windows::core::Interface::vtable(this).RequestProductPurchaseWithDisplayPropertiesAsync)(::core::mem::transmute_copy(this), productid.into_param().abi(), offerid.into_param().abi(), displayproperties.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'ApplicationModel_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetUnfulfilledConsumablesAsync() -> ::windows::core::Result>> { Self::ICurrentAppWithConsumables(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -246,16 +246,16 @@ impl CurrentAppSimulator { (::windows::core::Interface::vtable(this).ReloadSimulatorAsync)(::core::mem::transmute_copy(this), simulatorsettingsfile.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'ApplicationModel_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn LoadListingInformationByProductIdsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(productids: Param0) -> ::windows::core::Result> { Self::ICurrentAppSimulatorStaticsWithFiltering(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).LoadListingInformationByProductIdsAsync)(::core::mem::transmute_copy(this), productids.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'ApplicationModel_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn LoadListingInformationByKeywordsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(keywords: Param0) -> ::windows::core::Result> { Self::ICurrentAppSimulatorStaticsWithFiltering(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -294,8 +294,8 @@ impl CurrentAppSimulator { (::windows::core::Interface::vtable(this).RequestProductPurchaseWithDisplayPropertiesAsync)(::core::mem::transmute_copy(this), productid.into_param().abi(), offerid.into_param().abi(), displayproperties.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'ApplicationModel_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetUnfulfilledConsumablesAsync() -> ::windows::core::Result>> { Self::ICurrentAppSimulatorWithConsumables(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -474,13 +474,13 @@ unsafe impl ::windows::core::Interface for ICurrentAppSimulatorStaticsWithFilter #[doc(hidden)] pub struct ICurrentAppSimulatorStaticsWithFiltering_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub LoadListingInformationByProductIdsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productids: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] LoadListingInformationByProductIdsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub LoadListingInformationByKeywordsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, keywords: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] LoadListingInformationByKeywordsAsync: usize, } #[doc(hidden)] @@ -522,9 +522,9 @@ pub struct ICurrentAppSimulatorWithConsumables_Vtbl { pub RequestProductPurchaseWithDisplayPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, offerid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, displayproperties: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RequestProductPurchaseWithDisplayPropertiesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetUnfulfilledConsumablesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetUnfulfilledConsumablesAsync: usize, } #[doc(hidden)] @@ -538,13 +538,13 @@ unsafe impl ::windows::core::Interface for ICurrentAppStaticsWithFiltering { #[doc(hidden)] pub struct ICurrentAppStaticsWithFiltering_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub LoadListingInformationByProductIdsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productids: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] LoadListingInformationByProductIdsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub LoadListingInformationByKeywordsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, keywords: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] LoadListingInformationByKeywordsAsync: usize, pub ReportProductFulfillment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, } @@ -587,9 +587,9 @@ pub struct ICurrentAppWithConsumables_Vtbl { pub RequestProductPurchaseWithDisplayPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, offerid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, displayproperties: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RequestProductPurchaseWithDisplayPropertiesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetUnfulfilledConsumablesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetUnfulfilledConsumablesAsync: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs index 0a9a42f1ba..082f429239 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs @@ -151,13 +151,13 @@ unsafe impl ::windows::core::Interface for IUserActivityChannel2 { #[doc(hidden)] pub struct IUserActivityChannel2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetRecentUserActivitiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, maxuniqueactivities: i32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetRecentUserActivitiesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSessionHistoryItemsForUserActivityAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, activityid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, starttime: super::super::Foundation::DateTime, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSessionHistoryItemsForUserActivityAsync: usize, } #[doc(hidden)] @@ -903,8 +903,8 @@ impl UserActivityChannel { (::windows::core::Interface::vtable(this).DeleteAllActivitiesAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_UserActivities', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_UserActivities', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetRecentUserActivitiesAsync(&self, maxuniqueactivities: i32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -912,8 +912,8 @@ impl UserActivityChannel { (::windows::core::Interface::vtable(this).GetRecentUserActivitiesAsync)(::core::mem::transmute_copy(this), maxuniqueactivities, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_UserActivities', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_UserActivities', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSessionHistoryItemsForUserActivityAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>>(&self, activityid: Param0, starttime: Param1) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { 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 d4c5d1f619..c06231cda1 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs @@ -997,9 +997,9 @@ unsafe impl ::windows::core::Interface for IUserDataAccountSystemAccessManagerSt #[doc(hidden)] pub struct IUserDataAccountSystemAccessManagerStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub AddAndShowDeviceAccountsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, accounts: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] AddAndShowDeviceAccountsAsync: usize, } #[doc(hidden)] @@ -1033,8 +1033,8 @@ pub struct IUserDataAccountSystemAccessManagerStatics2_Vtbl { #[doc = "*Required features: 'ApplicationModel_UserDataAccounts_SystemAccess'*"] pub struct UserDataAccountSystemAccessManager {} impl UserDataAccountSystemAccessManager { - #[doc = "*Required features: 'ApplicationModel_UserDataAccounts_SystemAccess', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_UserDataAccounts_SystemAccess', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn AddAndShowDeviceAccountsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>>(accounts: Param0) -> ::windows::core::Result>> { Self::IUserDataAccountSystemAccessManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs index 86ab616549..c6be1d5fdf 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs @@ -33,21 +33,21 @@ pub struct IUserDataAccount_Vtbl { pub DeleteAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] DeleteAsync: usize, - #[cfg(all(feature = "ApplicationModel_Appointments", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "ApplicationModel_Appointments", feature = "Foundation_Collections"))] pub FindAppointmentCalendarsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "ApplicationModel_Appointments", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "ApplicationModel_Appointments", feature = "Foundation_Collections")))] FindAppointmentCalendarsAsync: usize, - #[cfg(all(feature = "ApplicationModel_Email", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "ApplicationModel_Email", feature = "Foundation_Collections"))] pub FindEmailMailboxesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "ApplicationModel_Email", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "ApplicationModel_Email", feature = "Foundation_Collections")))] FindEmailMailboxesAsync: usize, - #[cfg(all(feature = "ApplicationModel_Contacts", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "ApplicationModel_Contacts", feature = "Foundation_Collections"))] pub FindContactListsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "ApplicationModel_Contacts", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "ApplicationModel_Contacts", feature = "Foundation_Collections")))] FindContactListsAsync: usize, - #[cfg(all(feature = "ApplicationModel_Contacts", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "ApplicationModel_Contacts", feature = "Foundation_Collections"))] pub FindContactAnnotationListsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "ApplicationModel_Contacts", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "ApplicationModel_Contacts", feature = "Foundation_Collections")))] FindContactAnnotationListsAsync: usize, } #[doc(hidden)] @@ -99,13 +99,13 @@ pub struct IUserDataAccount4_Vtbl { pub ProviderProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] ProviderProperties: usize, - #[cfg(all(feature = "ApplicationModel_UserDataTasks", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "ApplicationModel_UserDataTasks", feature = "Foundation_Collections"))] pub FindUserDataTaskListsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "ApplicationModel_UserDataTasks", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "ApplicationModel_UserDataTasks", feature = "Foundation_Collections")))] FindUserDataTaskListsAsync: usize, - #[cfg(all(feature = "ApplicationModel_Contacts", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "ApplicationModel_Contacts", feature = "Foundation_Collections"))] pub FindContactGroupsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "ApplicationModel_Contacts", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "ApplicationModel_Contacts", feature = "Foundation_Collections")))] FindContactGroupsAsync: usize, #[cfg(feature = "Foundation")] pub TryShowCreateContactGroupAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -192,9 +192,9 @@ unsafe impl ::windows::core::Interface for IUserDataAccountStore { #[doc(hidden)] pub struct IUserDataAccountStore_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAccountsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAccountsAsync: usize, #[cfg(feature = "Foundation")] pub GetAccountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, id: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -342,8 +342,8 @@ impl UserDataAccount { (::windows::core::Interface::vtable(this).DeleteAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_UserDataAccounts', 'ApplicationModel_Appointments', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "ApplicationModel_Appointments", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_UserDataAccounts', 'ApplicationModel_Appointments', 'Foundation_Collections'*"] + #[cfg(all(feature = "ApplicationModel_Appointments", feature = "Foundation_Collections"))] pub fn FindAppointmentCalendarsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -351,8 +351,8 @@ impl UserDataAccount { (::windows::core::Interface::vtable(this).FindAppointmentCalendarsAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_UserDataAccounts', 'ApplicationModel_Email', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "ApplicationModel_Email", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_UserDataAccounts', 'ApplicationModel_Email', 'Foundation_Collections'*"] + #[cfg(all(feature = "ApplicationModel_Email", feature = "Foundation_Collections"))] pub fn FindEmailMailboxesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -360,8 +360,8 @@ impl UserDataAccount { (::windows::core::Interface::vtable(this).FindEmailMailboxesAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_UserDataAccounts', 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "ApplicationModel_Contacts", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_UserDataAccounts', 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(all(feature = "ApplicationModel_Contacts", feature = "Foundation_Collections"))] pub fn FindContactListsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -369,8 +369,8 @@ impl UserDataAccount { (::windows::core::Interface::vtable(this).FindContactListsAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_UserDataAccounts', 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "ApplicationModel_Contacts", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_UserDataAccounts', 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(all(feature = "ApplicationModel_Contacts", feature = "Foundation_Collections"))] pub fn FindContactAnnotationListsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -438,8 +438,8 @@ impl UserDataAccount { (::windows::core::Interface::vtable(this).ProviderProperties)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel_UserDataAccounts', 'ApplicationModel_UserDataTasks', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "ApplicationModel_UserDataTasks", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_UserDataAccounts', 'ApplicationModel_UserDataTasks', 'Foundation_Collections'*"] + #[cfg(all(feature = "ApplicationModel_UserDataTasks", feature = "Foundation_Collections"))] pub fn FindUserDataTaskListsAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -447,8 +447,8 @@ impl UserDataAccount { (::windows::core::Interface::vtable(this).FindUserDataTaskListsAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_UserDataAccounts', 'ApplicationModel_Contacts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "ApplicationModel_Contacts", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_UserDataAccounts', 'ApplicationModel_Contacts', 'Foundation_Collections'*"] + #[cfg(all(feature = "ApplicationModel_Contacts", feature = "Foundation_Collections"))] pub fn FindContactGroupsAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -803,8 +803,8 @@ unsafe impl ::windows::core::RuntimeType for UserDataAccountOtherAppReadAccess { #[repr(transparent)] pub struct UserDataAccountStore(::windows::core::IUnknown); impl UserDataAccountStore { - #[doc = "*Required features: 'ApplicationModel_UserDataAccounts', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_UserDataAccounts', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAccountsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs index abcb8776f0..a14aff442c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs @@ -383,9 +383,9 @@ pub struct IUserDataTaskStore_Vtbl { pub CreateListInAccountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, userdataaccountid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] CreateListInAccountAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindListsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindListsAsync: usize, #[cfg(feature = "Foundation")] pub GetListAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, tasklistid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2361,8 +2361,8 @@ impl UserDataTaskStore { (::windows::core::Interface::vtable(this).CreateListInAccountAsync)(::core::mem::transmute_copy(this), name.into_param().abi(), userdataaccountid.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_UserDataTasks', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_UserDataTasks', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindListsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs index fea80f4e1a..05eac95d8d 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs @@ -93,9 +93,9 @@ pub struct IVoiceCommandDefinition_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub Language: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, pub Name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SetPhraseListAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, phraselistname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, phraselist: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SetPhraseListAsync: usize, } #[doc(hidden)] @@ -822,8 +822,8 @@ impl VoiceCommandDefinition { (::windows::core::Interface::vtable(this).Name)(::core::mem::transmute_copy(this), &mut result__).from_abi::<::windows::core::HSTRING>(result__) } } - #[doc = "*Required features: 'ApplicationModel_VoiceCommands', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_VoiceCommands', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SetPhraseListAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, phraselistname: Param0, phraselist: Param1) -> ::windows::core::Result { let this = self; unsafe { 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 f1047c6d37..8b3ab15010 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs @@ -10,9 +10,9 @@ unsafe impl ::windows::core::Interface for IWalletItemSystemStore { #[doc(hidden)] pub struct IWalletItemSystemStore_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetItemsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetItemsAsync: usize, #[cfg(feature = "Foundation")] pub DeleteAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, item: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -103,8 +103,8 @@ unsafe impl ::windows::core::RuntimeType for WalletItemAppAssociation { #[repr(transparent)] pub struct WalletItemSystemStore(::windows::core::IUnknown); impl WalletItemSystemStore { - #[doc = "*Required features: 'ApplicationModel_Wallet_System', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Wallet_System', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetItemsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs index 205b3be29e..a9bec0b612 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs @@ -267,13 +267,13 @@ pub struct IWalletItemStore_Vtbl { pub GetWalletItemAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, id: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetWalletItemAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetItemsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetItemsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetItemsWithKindAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, kind: WalletItemKind, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetItemsWithKindAsync: usize, #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub ImportItemAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, stream: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1353,8 +1353,8 @@ impl WalletItemStore { (::windows::core::Interface::vtable(this).GetWalletItemAsync)(::core::mem::transmute_copy(this), id.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Wallet', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Wallet', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetItemsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1362,8 +1362,8 @@ impl WalletItemStore { (::windows::core::Interface::vtable(this).GetItemsAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel_Wallet', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel_Wallet', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetItemsWithKindAsync(&self, kind: WalletItemKind) -> ::windows::core::Result>> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs index a2fc0b96f9..e017cf422d 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs @@ -508,8 +508,8 @@ impl AppInstallerInfo { (::windows::core::Interface::vtable(this).PausedUntil)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn UpdateUris(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -517,8 +517,8 @@ impl AppInstallerInfo { (::windows::core::Interface::vtable(this).UpdateUris)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RepairUris(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -526,8 +526,8 @@ impl AppInstallerInfo { (::windows::core::Interface::vtable(this).RepairUris)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn DependencyPackageUris(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -535,8 +535,8 @@ impl AppInstallerInfo { (::windows::core::Interface::vtable(this).DependencyPackageUris)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn OptionalPackageUris(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1279,21 +1279,21 @@ pub struct IAppInstallerInfo2_Vtbl { pub PausedUntil: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] PausedUntil: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub UpdateUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] UpdateUris: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RepairUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RepairUris: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub DependencyPackageUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] DependencyPackageUris: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub OptionalPackageUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] OptionalPackageUris: usize, pub PolicySource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut AppInstallerPolicySource) -> ::windows::core::HRESULT, } @@ -1707,9 +1707,9 @@ pub struct IPackage3_Vtbl { pub InstalledDate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::Foundation::DateTime) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] InstalledDate: usize, - #[cfg(all(feature = "ApplicationModel_Core", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "ApplicationModel_Core", feature = "Foundation_Collections"))] pub GetAppListEntriesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "ApplicationModel_Core", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "ApplicationModel_Core", feature = "Foundation_Collections")))] GetAppListEntriesAsync: usize, } #[doc(hidden)] @@ -1741,21 +1741,21 @@ unsafe impl ::windows::core::Interface for IPackage5 { #[doc(hidden)] pub struct IPackage5_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetContentGroupsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetContentGroupsAsync: usize, #[cfg(feature = "Foundation")] pub GetContentGroupAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetContentGroupAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub StageContentGroupsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, names: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] StageContentGroupsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub StageContentGroupsWithPriorityAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, names: ::windows::core::RawPtr, movetoheadofqueue: bool, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] StageContentGroupsWithPriorityAsync: usize, #[cfg(feature = "Foundation")] pub SetInUseAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, inuse: bool, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1925,9 +1925,9 @@ unsafe impl ::windows::core::Interface for IPackageCatalog3 { #[doc(hidden)] pub struct IPackageCatalog3_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RemoveOptionalPackagesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, optionalpackagefamilynames: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RemoveOptionalPackagesAsync: usize, } #[doc(hidden)] @@ -1945,9 +1945,9 @@ pub struct IPackageCatalog4_Vtbl { pub AddResourcePackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, resourcepackagefamilyname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, resourceid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, options: AddResourcePackageOptions, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] AddResourcePackageAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RemoveResourcePackagesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, resourcepackages: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RemoveResourcePackagesAsync: usize, } #[doc(hidden)] @@ -2309,9 +2309,9 @@ unsafe impl ::windows::core::Interface for IStartupTaskStatics { #[doc(hidden)] pub struct IStartupTaskStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetForCurrentPackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetForCurrentPackageAsync: usize, #[cfg(feature = "Foundation")] pub GetAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, taskid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2963,8 +2963,8 @@ impl Package { (::windows::core::Interface::vtable(this).InstalledDate)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'ApplicationModel', 'ApplicationModel_Core', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "ApplicationModel_Core", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel', 'ApplicationModel_Core', 'Foundation_Collections'*"] + #[cfg(all(feature = "ApplicationModel_Core", feature = "Foundation_Collections"))] pub fn GetAppListEntriesAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2997,8 +2997,8 @@ impl Package { (::windows::core::Interface::vtable(this).VerifyContentIntegrityAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetContentGroupsAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -3015,8 +3015,8 @@ impl Package { (::windows::core::Interface::vtable(this).GetContentGroupAsync)(::core::mem::transmute_copy(this), name.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn StageContentGroupsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, names: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -3024,8 +3024,8 @@ impl Package { (::windows::core::Interface::vtable(this).StageContentGroupsAsync)(::core::mem::transmute_copy(this), names.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn StageContentGroupsWithPriorityAsync<'a, Param0: ::windows::core::IntoParam<'a, super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, names: Param0, movetoheadofqueue: bool) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -3389,8 +3389,8 @@ impl PackageCatalog { (::windows::core::Interface::vtable(this).AddOptionalPackageAsync)(::core::mem::transmute_copy(this), optionalpackagefamilyname.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RemoveOptionalPackagesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, optionalpackagefamilynames: Param0) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -3407,8 +3407,8 @@ impl PackageCatalog { (::windows::core::Interface::vtable(this).AddResourcePackageAsync)(::core::mem::transmute_copy(this), resourcepackagefamilyname.into_param().abi(), resourceid.into_param().abi(), options, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RemoveResourcePackagesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::Foundation::Collections::IIterable>>(&self, resourcepackages: Param0) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -5352,8 +5352,8 @@ impl StartupTask { (::windows::core::Interface::vtable(this).TaskId)(::core::mem::transmute_copy(this), &mut result__).from_abi::<::windows::core::HSTRING>(result__) } } - #[doc = "*Required features: 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetForCurrentPackageAsync() -> ::windows::core::Result>> { Self::IStartupTaskStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Data/Text/mod.rs b/crates/libs/windows/src/Windows/Data/Text/mod.rs index 1c8ce3d134..0f0bb45e88 100644 --- a/crates/libs/windows/src/Windows/Data/Text/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Text/mod.rs @@ -248,13 +248,13 @@ pub struct ITextConversionGenerator_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub ResolvedLanguage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, pub LanguageAvailableButNotInstalled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetCandidatesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, input: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetCandidatesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetCandidatesWithMaxCountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, input: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, maxcandidates: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetCandidatesWithMaxCountAsync: usize, } #[doc(hidden)] @@ -297,13 +297,13 @@ pub struct ITextPredictionGenerator_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub ResolvedLanguage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, pub LanguageAvailableButNotInstalled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetCandidatesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, input: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetCandidatesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetCandidatesWithMaxCountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, input: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, maxcandidates: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetCandidatesWithMaxCountAsync: usize, } #[doc(hidden)] @@ -317,13 +317,13 @@ unsafe impl ::windows::core::Interface for ITextPredictionGenerator2 { #[doc(hidden)] pub struct ITextPredictionGenerator2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetCandidatesWithParametersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, input: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, maxcandidates: u32, predictionoptions: TextPredictionOptions, previousstrings: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetCandidatesWithParametersAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetNextWordCandidatesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, maxcandidates: u32, previousstrings: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetNextWordCandidatesAsync: usize, #[cfg(feature = "UI_Text_Core")] pub InputScope: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::UI::Text::Core::CoreTextInputScope) -> ::windows::core::HRESULT, @@ -376,9 +376,9 @@ unsafe impl ::windows::core::Interface for ITextReverseConversionGenerator2 { #[doc(hidden)] pub struct ITextReverseConversionGenerator2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetPhonemesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, input: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetPhonemesAsync: usize, } #[doc(hidden)] @@ -920,8 +920,8 @@ impl TextConversionGenerator { (::windows::core::Interface::vtable(this).LanguageAvailableButNotInstalled)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Data_Text', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Data_Text', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetCandidatesAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, input: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -929,8 +929,8 @@ impl TextConversionGenerator { (::windows::core::Interface::vtable(this).GetCandidatesAsync)(::core::mem::transmute_copy(this), input.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Data_Text', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Data_Text', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetCandidatesWithMaxCountAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, input: Param0, maxcandidates: u32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1136,8 +1136,8 @@ impl TextPredictionGenerator { (::windows::core::Interface::vtable(this).LanguageAvailableButNotInstalled)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Data_Text', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Data_Text', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetCandidatesAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, input: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1145,8 +1145,8 @@ impl TextPredictionGenerator { (::windows::core::Interface::vtable(this).GetCandidatesAsync)(::core::mem::transmute_copy(this), input.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Data_Text', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Data_Text', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetCandidatesWithMaxCountAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, input: Param0, maxcandidates: u32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1154,8 +1154,8 @@ impl TextPredictionGenerator { (::windows::core::Interface::vtable(this).GetCandidatesWithMaxCountAsync)(::core::mem::transmute_copy(this), input.into_param().abi(), maxcandidates, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Data_Text', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Data_Text', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetCandidatesWithParametersAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param3: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, input: Param0, maxcandidates: u32, predictionoptions: TextPredictionOptions, previousstrings: Param3) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1163,8 +1163,8 @@ impl TextPredictionGenerator { (::windows::core::Interface::vtable(this).GetCandidatesWithParametersAsync)(::core::mem::transmute_copy(this), input.into_param().abi(), maxcandidates, predictionoptions, previousstrings.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Data_Text', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Data_Text', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetNextWordCandidatesAsync<'a, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, maxcandidates: u32, previousstrings: Param1) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1364,8 +1364,8 @@ impl TextReverseConversionGenerator { (::windows::core::Interface::vtable(this).ConvertBackAsync)(::core::mem::transmute_copy(this), input.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Data_Text', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Data_Text', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetPhonemesAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, input: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Devices/Adc/mod.rs b/crates/libs/windows/src/Windows/Devices/Adc/mod.rs index c4b886b592..6645541c95 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/mod.rs @@ -233,8 +233,8 @@ impl AdcController { (::windows::core::Interface::vtable(this).OpenChannel)(::core::mem::transmute_copy(this), channelnumber, &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Devices_Adc', 'Devices_Adc_Provider', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Devices_Adc_Provider", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Adc', 'Devices_Adc_Provider', 'Foundation_Collections'*"] + #[cfg(all(feature = "Devices_Adc_Provider", feature = "Foundation_Collections"))] pub fn GetControllersAsync<'a, Param0: ::windows::core::IntoParam<'a, Provider::IAdcProvider>>(provider: Param0) -> ::windows::core::Result>> { Self::IAdcControllerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -378,9 +378,9 @@ unsafe impl ::windows::core::Interface for IAdcControllerStatics { #[doc(hidden)] pub struct IAdcControllerStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Devices_Adc_Provider", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "Devices_Adc_Provider", feature = "Foundation_Collections"))] pub GetControllersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, provider: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Devices_Adc_Provider", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "Devices_Adc_Provider", feature = "Foundation_Collections")))] GetControllersAsync: usize, } #[doc(hidden)] 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 9af02e09d8..03f0c8aa23 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs @@ -2168,8 +2168,8 @@ impl GattLocalCharacteristic { let this = self; unsafe { (::windows::core::Interface::vtable(this).RemoveWriteRequested)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } } - #[doc = "*Required features: 'Devices_Bluetooth_GenericAttributeProfile', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Devices_Bluetooth_GenericAttributeProfile', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn NotifyValueAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Storage::Streams::IBuffer>>(&self, value: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -6397,9 +6397,9 @@ pub struct IGattLocalCharacteristic_Vtbl { pub RemoveWriteRequested: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RemoveWriteRequested: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub NotifyValueAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] NotifyValueAsync: usize, #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub NotifyValueForSubscribedClientAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr, subscribedclient: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, 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 16cc073f9c..79efd9022d 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs @@ -24,13 +24,13 @@ pub struct IRfcommDeviceService_Vtbl { pub MaxProtectionLevel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::super::Networking::Sockets::SocketProtectionLevel) -> ::windows::core::HRESULT, #[cfg(not(feature = "Networking_Sockets"))] MaxProtectionLevel: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub GetSdpRawAttributesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] GetSdpRawAttributesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub GetSdpRawAttributesWithCacheModeAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cachemode: super::BluetoothCacheMode, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] GetSdpRawAttributesWithCacheModeAsync: usize, } #[doc(hidden)] @@ -258,8 +258,8 @@ impl RfcommDeviceService { (::windows::core::Interface::vtable(this).MaxProtectionLevel)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Devices_Bluetooth_Rfcomm', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Devices_Bluetooth_Rfcomm', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn GetSdpRawAttributesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -267,8 +267,8 @@ impl RfcommDeviceService { (::windows::core::Interface::vtable(this).GetSdpRawAttributesAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Devices_Bluetooth_Rfcomm', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Devices_Bluetooth_Rfcomm', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn GetSdpRawAttributesWithCacheModeAsync(&self, cachemode: super::BluetoothCacheMode) -> ::windows::core::Result>> { let this = self; unsafe { 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 0dfe61063d..65fe356589 100644 --- a/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs @@ -1644,8 +1644,8 @@ impl DisplayPath { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetTargetResolution)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'Devices_Display_Core', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Devices_Display_Core', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn PresentationRate(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -1653,8 +1653,8 @@ impl DisplayPath { (::windows::core::Interface::vtable(this).PresentationRate)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_Display_Core', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Devices_Display_Core', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetPresentationRate<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetPresentationRate)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } @@ -1736,8 +1736,8 @@ impl DisplayPath { (::windows::core::Interface::vtable(this).Properties)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_Display_Core', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Devices_Display_Core', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn PhysicalPresentationRate(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1745,8 +1745,8 @@ impl DisplayPath { (::windows::core::Interface::vtable(this).PhysicalPresentationRate)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_Display_Core', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Devices_Display_Core', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetPhysicalPresentationRate<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetPhysicalPresentationRate)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } @@ -2049,16 +2049,16 @@ impl DisplayPrimaryDescription { (::windows::core::Interface::vtable(this).Properties)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_Display_Core', 'Graphics_DirectX', 'Graphics_DirectX_Direct3D11'*"] - #[cfg(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11"))] + #[doc = "*Required features: 'Devices_Display_Core', 'Graphics_DirectX_Direct3D11'*"] + #[cfg(feature = "Graphics_DirectX_Direct3D11")] pub fn CreateInstance<'a, Param5: ::windows::core::IntoParam<'a, super::super::super::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription>>(width: u32, height: u32, pixelformat: super::super::super::Graphics::DirectX::DirectXPixelFormat, colorspace: super::super::super::Graphics::DirectX::DirectXColorSpace, isstereo: bool, multisampledescription: Param5) -> ::windows::core::Result { Self::IDisplayPrimaryDescriptionFactory(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::core::mem::transmute_copy(this), width, height, pixelformat, colorspace, isstereo, multisampledescription.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Devices_Display_Core', 'Foundation_Collections', 'Graphics_DirectX', 'Graphics_DirectX_Direct3D11'*"] - #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11"))] + #[doc = "*Required features: 'Devices_Display_Core', 'Foundation_Collections', 'Graphics_DirectX_Direct3D11'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_DirectX_Direct3D11"))] pub fn CreateWithProperties<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>>, Param6: ::windows::core::IntoParam<'a, super::super::super::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription>>(extraproperties: Param0, width: u32, height: u32, pixelformat: super::super::super::Graphics::DirectX::DirectXPixelFormat, colorspace: super::super::super::Graphics::DirectX::DirectXColorSpace, isstereo: bool, multisampledescription: Param6) -> ::windows::core::Result { Self::IDisplayPrimaryDescriptionStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -4324,13 +4324,13 @@ pub struct IDisplayPath_Vtbl { pub SetTargetResolution: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Graphics")))] SetTargetResolution: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub PresentationRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] PresentationRate: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub SetPresentationRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] SetPresentationRate: usize, #[cfg(feature = "Foundation")] pub IsInterlaced: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4367,13 +4367,13 @@ unsafe impl ::windows::core::Interface for IDisplayPath2 { #[doc(hidden)] pub struct IDisplayPath2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub PhysicalPresentationRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] PhysicalPresentationRate: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub SetPhysicalPresentationRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] SetPhysicalPresentationRate: usize, } #[doc(hidden)] @@ -4418,9 +4418,9 @@ unsafe impl ::windows::core::Interface for IDisplayPrimaryDescriptionFactory { #[doc(hidden)] pub struct IDisplayPrimaryDescriptionFactory_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11"))] + #[cfg(feature = "Graphics_DirectX_Direct3D11")] pub CreateInstance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, width: u32, height: u32, pixelformat: super::super::super::Graphics::DirectX::DirectXPixelFormat, colorspace: super::super::super::Graphics::DirectX::DirectXColorSpace, isstereo: bool, multisampledescription: super::super::super::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11")))] + #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] CreateInstance: usize, } #[doc(hidden)] @@ -4434,9 +4434,9 @@ unsafe impl ::windows::core::Interface for IDisplayPrimaryDescriptionStatics { #[doc(hidden)] pub struct IDisplayPrimaryDescriptionStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_DirectX_Direct3D11"))] pub CreateWithProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, extraproperties: ::windows::core::RawPtr, width: u32, height: u32, pixelformat: super::super::super::Graphics::DirectX::DirectXPixelFormat, colorspace: super::super::super::Graphics::DirectX::DirectXColorSpace, isstereo: bool, multisampledescription: super::super::super::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Graphics_DirectX_Direct3D11")))] CreateWithProperties: usize, } #[doc(hidden)] 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 df352f8cab..f571f965c1 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs @@ -29,17 +29,17 @@ unsafe impl ::windows::core::Interface for IPnpObjectStatics { #[doc(hidden)] pub struct IPnpObjectStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub CreateFromIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: PnpObjectType, id: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, requestedproperties: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] CreateFromIdAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: PnpObjectType, requestedproperties: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsyncAqsFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: PnpObjectType, requestedproperties: ::windows::core::RawPtr, aqsfilter: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsyncAqsFilter: usize, #[cfg(feature = "Foundation_Collections")] pub CreateWatcher: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: PnpObjectType, requestedproperties: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -157,24 +157,24 @@ impl PnpObject { let this = self; unsafe { (::windows::core::Interface::vtable(this).Update)(::core::mem::transmute_copy(this), updateinfo.into_param().abi()).ok() } } - #[doc = "*Required features: 'Devices_Enumeration_Pnp', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Enumeration_Pnp', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn CreateFromIdAsync<'a, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(r#type: PnpObjectType, id: Param1, requestedproperties: Param2) -> ::windows::core::Result> { Self::IPnpObjectStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIdAsync)(::core::mem::transmute_copy(this), r#type, id.into_param().abi(), requestedproperties.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Devices_Enumeration_Pnp', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Enumeration_Pnp', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync<'a, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(r#type: PnpObjectType, requestedproperties: Param1) -> ::windows::core::Result> { Self::IPnpObjectStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::core::mem::transmute_copy(this), r#type, requestedproperties.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Devices_Enumeration_Pnp', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Enumeration_Pnp', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsyncAqsFilter<'a, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(r#type: PnpObjectType, requestedproperties: Param1, aqsfilter: Param2) -> ::windows::core::Result> { Self::IPnpObjectStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs index 2a76b3b89d..13373d580e 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs @@ -565,40 +565,40 @@ impl DeviceInformation { (::windows::core::Interface::vtable(this).CreateFromIdAsync)(::core::mem::transmute_copy(this), deviceid.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Devices_Enumeration', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Enumeration', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn CreateFromIdAsyncAdditionalProperties<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(deviceid: Param0, additionalproperties: Param1) -> ::windows::core::Result> { Self::IDeviceInformationStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIdAsyncAdditionalProperties)(::core::mem::transmute_copy(this), deviceid.into_param().abi(), additionalproperties.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Devices_Enumeration', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Enumeration', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> ::windows::core::Result> { Self::IDeviceInformationStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Devices_Enumeration', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Enumeration', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsyncDeviceClass(deviceclass: DeviceClass) -> ::windows::core::Result> { Self::IDeviceInformationStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsyncDeviceClass)(::core::mem::transmute_copy(this), deviceclass, &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Devices_Enumeration', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Enumeration', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsyncAqsFilter<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(aqsfilter: Param0) -> ::windows::core::Result> { Self::IDeviceInformationStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsyncAqsFilter)(::core::mem::transmute_copy(this), aqsfilter.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Devices_Enumeration', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Enumeration', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsyncAqsFilterAndAdditionalProperties<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(aqsfilter: Param0, additionalproperties: Param1) -> ::windows::core::Result> { Self::IDeviceInformationStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -641,16 +641,16 @@ impl DeviceInformation { (::windows::core::Interface::vtable(this).GetAqsFilterFromDeviceClass)(::core::mem::transmute_copy(this), deviceclass, &mut result__).from_abi::<::windows::core::HSTRING>(result__) }) } - #[doc = "*Required features: 'Devices_Enumeration', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Enumeration', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn CreateFromIdAsyncWithKindAndAdditionalProperties<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(deviceid: Param0, additionalproperties: Param1, kind: DeviceInformationKind) -> ::windows::core::Result> { Self::IDeviceInformationStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIdAsyncWithKindAndAdditionalProperties)(::core::mem::transmute_copy(this), deviceid.into_param().abi(), additionalproperties.into_param().abi(), kind, &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Devices_Enumeration', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Enumeration', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsyncWithKindAqsFilterAndAdditionalProperties<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(aqsfilter: Param0, additionalproperties: Param1, kind: DeviceInformationKind) -> ::windows::core::Result> { Self::IDeviceInformationStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -3667,25 +3667,25 @@ pub struct IDeviceInformationStatics_Vtbl { pub CreateFromIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, deviceid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] CreateFromIdAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub CreateFromIdAsyncAdditionalProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, deviceid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, additionalproperties: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] CreateFromIdAsyncAdditionalProperties: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsyncDeviceClass: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, deviceclass: DeviceClass, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsyncDeviceClass: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsyncAqsFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, aqsfilter: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsyncAqsFilter: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsyncAqsFilterAndAdditionalProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, aqsfilter: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, additionalproperties: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsyncAqsFilterAndAdditionalProperties: usize, pub CreateWatcher: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub CreateWatcherDeviceClass: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, deviceclass: DeviceClass, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -3707,13 +3707,13 @@ unsafe impl ::windows::core::Interface for IDeviceInformationStatics2 { pub struct IDeviceInformationStatics2_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub GetAqsFilterFromDeviceClass: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, deviceclass: DeviceClass, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub CreateFromIdAsyncWithKindAndAdditionalProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, deviceid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, additionalproperties: ::windows::core::RawPtr, kind: DeviceInformationKind, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] CreateFromIdAsyncWithKindAndAdditionalProperties: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsyncWithKindAqsFilterAndAdditionalProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, aqsfilter: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, additionalproperties: ::windows::core::RawPtr, kind: DeviceInformationKind, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsyncWithKindAqsFilterAndAdditionalProperties: usize, #[cfg(feature = "Foundation_Collections")] pub CreateWatcherWithKindAqsFilterAndAdditionalProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, aqsfilter: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, additionalproperties: ::windows::core::RawPtr, kind: DeviceInformationKind, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs index b6d737c1dc..1d9d23af04 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs @@ -1043,16 +1043,16 @@ impl Geolocator { (::windows::core::Interface::vtable(this).RequestAccessAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Devices_Geolocation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Geolocation', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetGeopositionHistoryAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>>(starttime: Param0) -> ::windows::core::Result>> { Self::IGeolocatorStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetGeopositionHistoryAsync)(::core::mem::transmute_copy(this), starttime.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Devices_Geolocation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Geolocation', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetGeopositionHistoryWithDurationAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::TimeSpan>>(starttime: Param0, duration: Param1) -> ::windows::core::Result>> { Self::IGeolocatorStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -2352,13 +2352,13 @@ pub struct IGeolocatorStatics_Vtbl { pub RequestAccessAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RequestAccessAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetGeopositionHistoryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, starttime: super::super::Foundation::DateTime, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetGeopositionHistoryAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetGeopositionHistoryWithDurationAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, starttime: super::super::Foundation::DateTime, duration: super::super::Foundation::TimeSpan, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetGeopositionHistoryWithDurationAsync: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs b/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs index 4dc59960b6..917d8029a6 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs @@ -349,8 +349,8 @@ impl GpioChangeReader { (::windows::core::Interface::vtable(this).PeekNextItem)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Devices_Gpio', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Gpio', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetAllItems(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -575,8 +575,8 @@ impl GpioController { (::windows::core::Interface::vtable(this).GetDefault)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Devices_Gpio', 'Devices_Gpio_Provider', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Devices_Gpio_Provider", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Gpio', 'Devices_Gpio_Provider', 'Foundation_Collections'*"] + #[cfg(all(feature = "Devices_Gpio_Provider", feature = "Foundation_Collections"))] pub fn GetControllersAsync<'a, Param0: ::windows::core::IntoParam<'a, Provider::IGpioProvider>>(provider: Param0) -> ::windows::core::Result>> { Self::IGpioControllerStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1194,9 +1194,9 @@ pub struct IGpioChangeReader_Vtbl { pub PeekNextItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut GpioChangeRecord) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] PeekNextItem: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetAllItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetAllItems: usize, #[cfg(feature = "Foundation")] pub WaitForItemsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, count: i32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1257,9 +1257,9 @@ unsafe impl ::windows::core::Interface for IGpioControllerStatics2 { #[doc(hidden)] pub struct IGpioControllerStatics2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Devices_Gpio_Provider", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "Devices_Gpio_Provider", feature = "Foundation_Collections"))] pub GetControllersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, provider: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Devices_Gpio_Provider", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "Devices_Gpio_Provider", feature = "Foundation_Collections")))] GetControllersAsync: usize, #[cfg(feature = "Foundation")] pub GetDefaultAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs b/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs index d10d1e7f59..3098506c48 100644 --- a/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs @@ -125,9 +125,9 @@ pub struct IVibrationDeviceStatics_Vtbl { pub GetDefaultAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetDefaultAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, } #[doc = "*Required features: 'Devices_Haptics'*"] @@ -586,8 +586,8 @@ impl VibrationDevice { (::windows::core::Interface::vtable(this).GetDefaultAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Devices_Haptics', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Haptics', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::IVibrationDeviceStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs index a02068dc45..cfee074a96 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs @@ -122,15 +122,15 @@ impl II2cDeviceProvider_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait II2cProvider_Impl: Sized { fn GetControllersAsync(&self) -> ::windows::core::Result>>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for II2cProvider { const NAME: &'static str = "Windows.Devices.I2c.Provider.II2cProvider"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl II2cProvider_Vtbl { pub const fn new() -> II2cProvider_Vtbl { unsafe extern "system" fn GetControllersAsync(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { 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 01f4c30bdf..a8e3b93c49 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs @@ -252,8 +252,8 @@ pub struct II2cDeviceProvider_Vtbl { #[repr(transparent)] pub struct II2cProvider(::windows::core::IUnknown); impl II2cProvider { - #[doc = "*Required features: 'Devices_I2c_Provider', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_I2c_Provider', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetControllersAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -333,9 +333,9 @@ unsafe impl ::windows::core::Interface for II2cProvider { #[doc(hidden)] pub struct II2cProvider_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetControllersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetControllersAsync: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs index 787fc5c5ef..404a9e4beb 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs @@ -175,8 +175,8 @@ impl I2cController { (::windows::core::Interface::vtable(this).GetDevice)(::core::mem::transmute_copy(this), settings.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Devices_I2c', 'Devices_I2c_Provider', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Devices_I2c_Provider", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_I2c', 'Devices_I2c_Provider', 'Foundation_Collections'*"] + #[cfg(all(feature = "Devices_I2c_Provider", feature = "Foundation_Collections"))] pub fn GetControllersAsync<'a, Param0: ::windows::core::IntoParam<'a, Provider::II2cProvider>>(provider: Param0) -> ::windows::core::Result>> { Self::II2cControllerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -624,9 +624,9 @@ unsafe impl ::windows::core::Interface for II2cControllerStatics { #[doc(hidden)] pub struct II2cControllerStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Devices_I2c_Provider", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "Devices_I2c_Provider", feature = "Foundation_Collections"))] pub GetControllersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, provider: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Devices_I2c_Provider", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "Devices_I2c_Provider", feature = "Foundation_Collections")))] GetControllersAsync: usize, #[cfg(feature = "Foundation")] pub GetDefaultAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Devices/Perception/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Perception/Provider/impl.rs index 4522595c3e..f1fcda3e86 100644 --- a/crates/libs/windows/src/Windows/Devices/Perception/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Perception/Provider/impl.rs @@ -1,4 +1,4 @@ -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] +#[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub trait IPerceptionFrameProvider_Impl: Sized + super::super::super::Foundation::IClosable_Impl { fn FrameProviderInfo(&self) -> ::windows::core::Result; fn Available(&self) -> ::windows::core::Result; @@ -7,11 +7,11 @@ pub trait IPerceptionFrameProvider_Impl: Sized + super::super::super::Foundation fn Stop(&self) -> ::windows::core::Result<()>; fn SetProperty(&self, value: &::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] +#[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] impl ::windows::core::RuntimeName for IPerceptionFrameProvider { const NAME: &'static str = "Windows.Devices.Perception.Provider.IPerceptionFrameProvider"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] +#[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] impl IPerceptionFrameProvider_Vtbl { pub const fn new() -> IPerceptionFrameProvider_Vtbl { unsafe extern "system" fn FrameProviderInfo(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/Devices/Perception/mod.rs b/crates/libs/windows/src/Windows/Devices/Perception/mod.rs index 390f2e5021..bb42f88484 100644 --- a/crates/libs/windows/src/Windows/Devices/Perception/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Perception/mod.rs @@ -536,9 +536,9 @@ pub struct IPerceptionColorFrameSourceStatics_Vtbl { pub CreateWatcher: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "deprecated"))] CreateWatcher: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub FindAllAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] FindAllAsync: usize, #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub FromIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, id: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -649,21 +649,21 @@ unsafe impl ::windows::core::Interface for IPerceptionDepthCorrelatedCameraIntri #[doc(hidden)] pub struct IPerceptionDepthCorrelatedCameraIntrinsics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "deprecated"))] pub UnprojectPixelAtCorrelatedDepth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pixelcoordinate: super::super::Foundation::Point, depthframe: ::windows::core::RawPtr, result__: *mut super::super::Foundation::Numerics::Vector3) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "deprecated")))] UnprojectPixelAtCorrelatedDepth: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "deprecated"))] pub UnprojectPixelsAtCorrelatedDepth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sourceCoordinates_array_size: u32, sourcecoordinates: *const super::super::Foundation::Point, depthframe: ::windows::core::RawPtr, results_array_size: u32, results: *mut super::super::Foundation::Numerics::Vector3) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "deprecated")))] UnprojectPixelsAtCorrelatedDepth: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "deprecated"))] pub UnprojectRegionPixelsAtCorrelatedDepthAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, region: super::super::Foundation::Rect, depthframe: ::windows::core::RawPtr, results_array_size: u32, results: *mut super::super::Foundation::Numerics::Vector3, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "deprecated")))] UnprojectRegionPixelsAtCorrelatedDepthAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "deprecated"))] pub UnprojectAllPixelsAtCorrelatedDepthAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, depthframe: ::windows::core::RawPtr, results_array_size: u32, results: *mut super::super::Foundation::Numerics::Vector3, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "deprecated")))] UnprojectAllPixelsAtCorrelatedDepthAsync: usize, } #[doc(hidden)] @@ -984,9 +984,9 @@ pub struct IPerceptionDepthFrameSourceStatics_Vtbl { pub CreateWatcher: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "deprecated"))] CreateWatcher: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub FindAllAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] FindAllAsync: usize, #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub FromIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, id: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1389,9 +1389,9 @@ pub struct IPerceptionInfraredFrameSourceStatics_Vtbl { pub CreateWatcher: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "deprecated"))] CreateWatcher: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub FindAllAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] FindAllAsync: usize, #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub FromIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, id: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2570,8 +2570,8 @@ impl PerceptionColorFrameSource { (::windows::core::Interface::vtable(this).CreateWatcher)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Devices_Perception', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'Devices_Perception', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::IPerceptionColorFrameSourceStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -3235,8 +3235,8 @@ unsafe impl ::core::marker::Sync for PerceptionControlSession {} pub struct PerceptionDepthCorrelatedCameraIntrinsics(::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl PerceptionDepthCorrelatedCameraIntrinsics { - #[doc = "*Required features: 'Devices_Perception', 'Foundation', 'Foundation_Numerics', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "deprecated"))] + #[doc = "*Required features: 'Devices_Perception', 'Foundation_Numerics', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Numerics", feature = "deprecated"))] pub fn UnprojectPixelAtCorrelatedDepth<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Point>, Param1: ::windows::core::IntoParam<'a, PerceptionDepthFrame>>(&self, pixelcoordinate: Param0, depthframe: Param1) -> ::windows::core::Result { let this = self; unsafe { @@ -3244,14 +3244,14 @@ impl PerceptionDepthCorrelatedCameraIntrinsics { (::windows::core::Interface::vtable(this).UnprojectPixelAtCorrelatedDepth)(::core::mem::transmute_copy(this), pixelcoordinate.into_param().abi(), depthframe.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Devices_Perception', 'Foundation', 'Foundation_Numerics', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "deprecated"))] + #[doc = "*Required features: 'Devices_Perception', 'Foundation_Numerics', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Numerics", feature = "deprecated"))] pub fn UnprojectPixelsAtCorrelatedDepth<'a, Param1: ::windows::core::IntoParam<'a, PerceptionDepthFrame>>(&self, sourcecoordinates: &[super::super::Foundation::Point], depthframe: Param1, results: &mut [super::super::Foundation::Numerics::Vector3]) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).UnprojectPixelsAtCorrelatedDepth)(::core::mem::transmute_copy(this), sourcecoordinates.len() as u32, ::core::mem::transmute(sourcecoordinates.as_ptr()), depthframe.into_param().abi(), results.len() as u32, ::core::mem::transmute_copy(&results)).ok() } } - #[doc = "*Required features: 'Devices_Perception', 'Foundation', 'Foundation_Numerics', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "deprecated"))] + #[doc = "*Required features: 'Devices_Perception', 'Foundation_Numerics', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Numerics", feature = "deprecated"))] pub fn UnprojectRegionPixelsAtCorrelatedDepthAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Rect>, Param1: ::windows::core::IntoParam<'a, PerceptionDepthFrame>>(&self, region: Param0, depthframe: Param1, results: &mut [super::super::Foundation::Numerics::Vector3]) -> ::windows::core::Result { let this = self; unsafe { @@ -3259,8 +3259,8 @@ impl PerceptionDepthCorrelatedCameraIntrinsics { (::windows::core::Interface::vtable(this).UnprojectRegionPixelsAtCorrelatedDepthAsync)(::core::mem::transmute_copy(this), region.into_param().abi(), depthframe.into_param().abi(), results.len() as u32, ::core::mem::transmute_copy(&results), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Devices_Perception', 'Foundation', 'Foundation_Numerics', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "deprecated"))] + #[doc = "*Required features: 'Devices_Perception', 'Foundation_Numerics', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Numerics", feature = "deprecated"))] pub fn UnprojectAllPixelsAtCorrelatedDepthAsync<'a, Param0: ::windows::core::IntoParam<'a, PerceptionDepthFrame>>(&self, depthframe: Param0, results: &mut [super::super::Foundation::Numerics::Vector3]) -> ::windows::core::Result { let this = self; unsafe { @@ -4183,8 +4183,8 @@ impl PerceptionDepthFrameSource { (::windows::core::Interface::vtable(this).CreateWatcher)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Devices_Perception', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'Devices_Perception', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::IPerceptionDepthFrameSourceStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -5704,8 +5704,8 @@ impl PerceptionInfraredFrameSource { (::windows::core::Interface::vtable(this).CreateWatcher)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Devices_Perception', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'Devices_Perception', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::IPerceptionInfraredFrameSourceStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs index 3548f2a1db..26d4e3ba5c 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs @@ -39,8 +39,8 @@ impl BarcodeScanner { (::windows::core::Interface::vtable(this).CheckHealthAsync)(::core::mem::transmute_copy(this), level, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSupportedSymbologiesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -57,8 +57,8 @@ impl BarcodeScanner { (::windows::core::Interface::vtable(this).IsSymbologySupportedAsync)(::core::mem::transmute_copy(this), barcodesymbology, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn RetrieveStatisticsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, statisticscategories: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -1839,8 +1839,8 @@ impl CashDrawer { (::windows::core::Interface::vtable(this).CheckHealthAsync)(::core::mem::transmute_copy(this), level, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetStatisticsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, statisticscategories: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -2897,8 +2897,8 @@ impl ClaimedBarcodeScanner { let this = self; unsafe { (::windows::core::Interface::vtable(this).RetainDevice)(::core::mem::transmute_copy(this)).ok() } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SetActiveSymbologiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, symbologies: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -2906,8 +2906,8 @@ impl ClaimedBarcodeScanner { (::windows::core::Interface::vtable(this).SetActiveSymbologiesAsync)(::core::mem::transmute_copy(this), symbologies.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ResetStatisticsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, statisticscategories: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -2915,8 +2915,8 @@ impl ClaimedBarcodeScanner { (::windows::core::Interface::vtable(this).ResetStatisticsAsync)(::core::mem::transmute_copy(this), statisticscategories.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn UpdateStatisticsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(&self, statistics: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -3354,8 +3354,8 @@ impl ClaimedCashDrawer { (::windows::core::Interface::vtable(this).RetainDeviceAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ResetStatisticsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, statisticscategories: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -3363,8 +3363,8 @@ impl ClaimedCashDrawer { (::windows::core::Interface::vtable(this).ResetStatisticsAsync)(::core::mem::transmute_copy(this), statisticscategories.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn UpdateStatisticsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(&self, statistics: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -3915,8 +3915,8 @@ impl ClaimedLineDisplay { let this = self; unsafe { (::windows::core::Interface::vtable(this).RemoveReleaseDeviceRequested)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetStatisticsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, statisticscategories: Param0) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -3957,8 +3957,8 @@ impl ClaimedLineDisplay { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).RemoveStatusUpdated)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SupportedScreenSizesInCharacters(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -4443,8 +4443,8 @@ impl ClaimedMagneticStripeReader { (::windows::core::Interface::vtable(this).UpdateKeyAsync)(::core::mem::transmute_copy(this), key.into_param().abi(), keyname.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ResetStatisticsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, statisticscategories: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -4452,8 +4452,8 @@ impl ClaimedMagneticStripeReader { (::windows::core::Interface::vtable(this).ResetStatisticsAsync)(::core::mem::transmute_copy(this), statisticscategories.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn UpdateStatisticsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(&self, statistics: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -4850,8 +4850,8 @@ impl ClaimedPosPrinter { (::windows::core::Interface::vtable(this).RetainDeviceAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ResetStatisticsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, statisticscategories: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -4859,8 +4859,8 @@ impl ClaimedPosPrinter { (::windows::core::Interface::vtable(this).ResetStatisticsAsync)(::core::mem::transmute_copy(this), statisticscategories.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn UpdateStatisticsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(&self, statistics: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -5721,17 +5721,17 @@ pub struct IBarcodeScanner_Vtbl { pub CheckHealthAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, level: UnifiedPosHealthCheckLevel, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] CheckHealthAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSupportedSymbologiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSupportedSymbologiesAsync: usize, #[cfg(feature = "Foundation")] pub IsSymbologySupportedAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, barcodesymbology: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] IsSymbologySupportedAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub RetrieveStatisticsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, statisticscategories: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] RetrieveStatisticsAsync: usize, #[cfg(feature = "Foundation_Collections")] pub GetSupportedProfiles: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -6099,9 +6099,9 @@ pub struct ICashDrawer_Vtbl { pub CheckHealthAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, level: UnifiedPosHealthCheckLevel, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] CheckHealthAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetStatisticsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, statisticscategories: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetStatisticsAsync: usize, #[cfg(feature = "Foundation")] pub StatusUpdated: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, handler: ::windows::core::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, @@ -6381,17 +6381,17 @@ pub struct IClaimedBarcodeScanner_Vtbl { #[cfg(not(feature = "Foundation"))] DisableAsync: usize, pub RetainDevice: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SetActiveSymbologiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, symbologies: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SetActiveSymbologiesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ResetStatisticsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, statisticscategories: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ResetStatisticsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub UpdateStatisticsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, statistics: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] UpdateStatisticsAsync: usize, #[cfg(feature = "Foundation")] pub SetActiveProfileAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, profile: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -6568,13 +6568,13 @@ pub struct IClaimedCashDrawer_Vtbl { pub RetainDeviceAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RetainDeviceAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ResetStatisticsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, statisticscategories: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ResetStatisticsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub UpdateStatisticsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, statistics: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] UpdateStatisticsAsync: usize, #[cfg(feature = "Foundation")] pub ReleaseDeviceRequested: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, handler: ::windows::core::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, @@ -6670,9 +6670,9 @@ unsafe impl ::windows::core::Interface for IClaimedLineDisplay2 { #[doc(hidden)] pub struct IClaimedLineDisplay2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetStatisticsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, statisticscategories: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetStatisticsAsync: usize, #[cfg(feature = "Foundation")] pub CheckHealthAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, level: UnifiedPosHealthCheckLevel, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -6690,9 +6690,9 @@ pub struct IClaimedLineDisplay2_Vtbl { pub RemoveStatusUpdated: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RemoveStatusUpdated: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SupportedScreenSizesInCharacters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SupportedScreenSizesInCharacters: usize, #[cfg(feature = "Foundation")] pub MaxBitmapSizeInPixels: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::Foundation::Size) -> ::windows::core::HRESULT, @@ -6833,13 +6833,13 @@ pub struct IClaimedMagneticStripeReader_Vtbl { pub UpdateKeyAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, keyname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] UpdateKeyAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ResetStatisticsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, statisticscategories: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ResetStatisticsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub UpdateStatisticsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, statistics: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] UpdateStatisticsAsync: usize, #[cfg(feature = "Foundation")] pub BankCardDataReceived: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, handler: ::windows::core::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, @@ -6949,13 +6949,13 @@ pub struct IClaimedPosPrinter_Vtbl { pub RetainDeviceAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RetainDeviceAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ResetStatisticsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, statisticscategories: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ResetStatisticsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub UpdateStatisticsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, statistics: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] UpdateStatisticsAsync: usize, #[cfg(feature = "Foundation")] pub ReleaseDeviceRequested: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, handler: ::windows::core::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, @@ -8240,9 +8240,9 @@ pub struct IMagneticStripeReader_Vtbl { pub ClaimReaderAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] ClaimReaderAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub RetrieveStatisticsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, statisticscategories: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] RetrieveStatisticsAsync: usize, pub GetErrorReportingType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut MagneticStripeReaderErrorReportingType) -> ::windows::core::HRESULT, #[cfg(feature = "Foundation")] @@ -8523,9 +8523,9 @@ pub struct IPosPrinter_Vtbl { pub CheckHealthAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, level: UnifiedPosHealthCheckLevel, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] CheckHealthAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetStatisticsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, statisticscategories: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetStatisticsAsync: usize, #[cfg(feature = "Foundation")] pub StatusUpdated: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, handler: ::windows::core::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, @@ -11680,8 +11680,8 @@ impl MagneticStripeReader { (::windows::core::Interface::vtable(this).ClaimReaderAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn RetrieveStatisticsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, statisticscategories: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -13373,8 +13373,8 @@ impl PosPrinter { (::windows::core::Interface::vtable(this).CheckHealthAsync)(::core::mem::transmute_copy(this), level, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_PointOfService', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_PointOfService', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetStatisticsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, statisticscategories: Param0) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Devices/Printers/mod.rs b/crates/libs/windows/src/Windows/Devices/Printers/mod.rs index 283dcc76b4..7dab7ef4e4 100644 --- a/crates/libs/windows/src/Windows/Devices/Printers/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Printers/mod.rs @@ -47,9 +47,9 @@ pub struct IIppAttributeValue_Vtbl { pub GetOctetStringArray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] GetOctetStringArray: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetDateTimeArray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetDateTimeArray: usize, #[cfg(feature = "Foundation_Collections")] pub GetResolutionArray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -83,9 +83,9 @@ pub struct IIppAttributeValue_Vtbl { pub GetKeywordArray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetKeywordArray: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetUriArray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetUriArray: usize, #[cfg(feature = "Foundation_Collections")] pub GetUriSchemaArray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -145,9 +145,9 @@ pub struct IIppAttributeValueStatics_Vtbl { pub CreateDateTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: super::super::Foundation::DateTime, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] CreateDateTime: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub CreateDateTimeArray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, values: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] CreateDateTimeArray: usize, pub CreateResolution: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -196,9 +196,9 @@ pub struct IIppAttributeValueStatics_Vtbl { pub CreateUri: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] CreateUri: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub CreateUriArray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, values: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] CreateUriArray: usize, pub CreateUriSchema: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -594,8 +594,8 @@ impl IppAttributeValue { (::windows::core::Interface::vtable(this).GetOctetStringArray)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_Printers', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Printers', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetDateTimeArray(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -675,8 +675,8 @@ impl IppAttributeValue { (::windows::core::Interface::vtable(this).GetKeywordArray)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_Printers', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Printers', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetUriArray(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -810,8 +810,8 @@ impl IppAttributeValue { (::windows::core::Interface::vtable(this).CreateDateTime)(::core::mem::transmute_copy(this), value.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Devices_Printers', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Printers', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn CreateDateTimeArray<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(values: Param0) -> ::windows::core::Result { Self::IIppAttributeValueStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -947,8 +947,8 @@ impl IppAttributeValue { (::windows::core::Interface::vtable(this).CreateUri)(::core::mem::transmute_copy(this), value.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Devices_Printers', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Printers', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn CreateUriArray<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(values: Param0) -> ::windows::core::Result { Self::IIppAttributeValueStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs b/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs index 843bda7459..02e171d051 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs @@ -30,9 +30,9 @@ unsafe impl ::windows::core::Interface for IPwmControllerStatics { #[doc(hidden)] pub struct IPwmControllerStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Devices_Pwm_Provider", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "Devices_Pwm_Provider", feature = "Foundation_Collections"))] pub GetControllersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, provider: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Devices_Pwm_Provider", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "Devices_Pwm_Provider", feature = "Foundation_Collections")))] GetControllersAsync: usize, } #[doc(hidden)] @@ -141,8 +141,8 @@ impl PwmController { (::windows::core::Interface::vtable(this).OpenPin)(::core::mem::transmute_copy(this), pinnumber, &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Devices_Pwm', 'Devices_Pwm_Provider', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Devices_Pwm_Provider", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Pwm', 'Devices_Pwm_Provider', 'Foundation_Collections'*"] + #[cfg(all(feature = "Devices_Pwm_Provider", feature = "Foundation_Collections"))] pub fn GetControllersAsync<'a, Param0: ::windows::core::IntoParam<'a, Provider::IPwmProvider>>(provider: Param0) -> ::windows::core::Result>> { Self::IPwmControllerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Devices/Radios/mod.rs b/crates/libs/windows/src/Windows/Devices/Radios/mod.rs index af044b5aab..8b83ffa8e0 100644 --- a/crates/libs/windows/src/Windows/Devices/Radios/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Radios/mod.rs @@ -37,9 +37,9 @@ unsafe impl ::windows::core::Interface for IRadioStatics { #[doc(hidden)] pub struct IRadioStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetRadiosAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetRadiosAsync: usize, pub GetDeviceSelector: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, #[cfg(feature = "Foundation")] @@ -103,8 +103,8 @@ impl Radio { (::windows::core::Interface::vtable(this).Kind)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Devices_Radios', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Radios', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetRadiosAsync() -> ::windows::core::Result>> { Self::IRadioStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs index 796156c2e6..6eb7b9bd41 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs @@ -784,16 +784,16 @@ impl ActivitySensor { (::windows::core::Interface::vtable(this).FromIdAsync)(::core::mem::transmute_copy(this), deviceid.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Devices_Sensors', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Sensors', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSystemHistoryAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>>(fromtime: Param0) -> ::windows::core::Result>> { Self::IActivitySensorStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetSystemHistoryAsync)(::core::mem::transmute_copy(this), fromtime.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Devices_Sensors', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Sensors', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSystemHistoryWithDurationAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::TimeSpan>>(fromtime: Param0, duration: Param1) -> ::windows::core::Result>> { Self::IActivitySensorStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -3877,13 +3877,13 @@ pub struct IActivitySensorStatics_Vtbl { pub FromIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, deviceid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] FromIdAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSystemHistoryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fromtime: super::super::Foundation::DateTime, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSystemHistoryAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSystemHistoryWithDurationAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fromtime: super::super::Foundation::DateTime, duration: super::super::Foundation::TimeSpan, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSystemHistoryWithDurationAsync: usize, } #[doc(hidden)] @@ -5496,13 +5496,13 @@ pub struct IPedometerStatics_Vtbl { #[cfg(not(feature = "Foundation"))] GetDefaultAsync: usize, pub GetDeviceSelector: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSystemHistoryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fromtime: super::super::Foundation::DateTime, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSystemHistoryAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSystemHistoryWithDurationAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fromtime: super::super::Foundation::DateTime, duration: super::super::Foundation::TimeSpan, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSystemHistoryWithDurationAsync: usize, } #[doc(hidden)] @@ -8046,16 +8046,16 @@ impl Pedometer { (::windows::core::Interface::vtable(this).GetDeviceSelector)(::core::mem::transmute_copy(this), &mut result__).from_abi::<::windows::core::HSTRING>(result__) }) } - #[doc = "*Required features: 'Devices_Sensors', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Sensors', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSystemHistoryAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>>(fromtime: Param0) -> ::windows::core::Result>> { Self::IPedometerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetSystemHistoryAsync)(::core::mem::transmute_copy(this), fromtime.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Devices_Sensors', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Sensors', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSystemHistoryWithDurationAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::TimeSpan>>(fromtime: Param0, duration: Param1) -> ::windows::core::Result>> { Self::IPedometerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs index 107ca90c42..2babfe91fc 100644 --- a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs @@ -322,9 +322,9 @@ pub struct ISmartCardAppletIdGroupRegistration_Vtbl { #[cfg(not(feature = "Foundation"))] RequestActivationPolicyChangeAsync: usize, pub Id: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::GUID) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SetAutomaticResponseApdusAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, apdus: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SetAutomaticResponseApdusAsync: usize, } #[doc(hidden)] @@ -339,9 +339,9 @@ unsafe impl ::windows::core::Interface for ISmartCardAppletIdGroupRegistration2 pub struct ISmartCardAppletIdGroupRegistration2_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub SmartCardReaderId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SetPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, props: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SetPropertiesAsync: usize, } #[doc(hidden)] @@ -596,9 +596,9 @@ unsafe impl ::windows::core::Interface for ISmartCardCryptogramGenerator2 { #[doc(hidden)] pub struct ISmartCardCryptogramGenerator2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub ValidateRequestApduAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, promptingbehavior: SmartCardUnlockPromptingBehavior, apdutovalidate: ::windows::core::RawPtr, cryptogramplacementsteps: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] ValidateRequestApduAsync: usize, #[cfg(feature = "Foundation")] pub GetAllCryptogramStorageKeyCharacteristicsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -954,13 +954,13 @@ unsafe impl ::windows::core::Interface for ISmartCardEmulatorApduReceivedEventAr #[doc(hidden)] pub struct ISmartCardEmulatorApduReceivedEventArgsWithCryptograms_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub TryRespondWithCryptogramsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, responsetemplate: ::windows::core::RawPtr, cryptogramplacementsteps: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] TryRespondWithCryptogramsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub TryRespondWithCryptogramsAndStateAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, responsetemplate: ::windows::core::RawPtr, cryptogramplacementsteps: ::windows::core::RawPtr, nextstate: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] TryRespondWithCryptogramsAndStateAsync: usize, } #[doc(hidden)] @@ -1018,9 +1018,9 @@ unsafe impl ::windows::core::Interface for ISmartCardEmulatorStatics2 { #[doc(hidden)] pub struct ISmartCardEmulatorStatics2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetAppletIdGroupRegistrationsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetAppletIdGroupRegistrationsAsync: usize, #[cfg(feature = "Foundation")] pub RegisterAppletIdGroupAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, appletidgroup: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1222,9 +1222,9 @@ pub struct ISmartCardReader_Vtbl { pub GetStatusAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetStatusAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllCardsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllCardsAsync: usize, #[cfg(feature = "Foundation")] pub CardAdded: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, handler: ::windows::core::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, @@ -1782,8 +1782,8 @@ impl SmartCardAppletIdGroupRegistration { (::windows::core::Interface::vtable(this).Id)(::core::mem::transmute_copy(this), &mut result__).from_abi::<::windows::core::GUID>(result__) } } - #[doc = "*Required features: 'Devices_SmartCards', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_SmartCards', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SetAutomaticResponseApdusAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, apdus: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -1799,8 +1799,8 @@ impl SmartCardAppletIdGroupRegistration { (::windows::core::Interface::vtable(this).SmartCardReaderId)(::core::mem::transmute_copy(this), &mut result__).from_abi::<::windows::core::HSTRING>(result__) } } - #[doc = "*Required features: 'Devices_SmartCards', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_SmartCards', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SetPropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::ValueSet>>(&self, props: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2547,8 +2547,8 @@ impl SmartCardCryptogramGenerator { (::windows::core::Interface::vtable(this).DeleteCryptogramMaterialPackageAsync)(::core::mem::transmute_copy(this), materialpackagename.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_SmartCards', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Devices_SmartCards', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn ValidateRequestApduAsync<'a, Param1: ::windows::core::IntoParam<'a, super::super::Storage::Streams::IBuffer>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, promptingbehavior: SmartCardUnlockPromptingBehavior, apdutovalidate: Param1, cryptogramplacementsteps: Param2) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -4337,8 +4337,8 @@ impl SmartCardEmulator { (::windows::core::Interface::vtable(this).GetDefaultAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Devices_SmartCards', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_SmartCards', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetAppletIdGroupRegistrationsAsync() -> ::windows::core::Result>> { Self::ISmartCardEmulatorStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -4518,8 +4518,8 @@ impl SmartCardEmulatorApduReceivedEventArgs { (::windows::core::Interface::vtable(this).TryRespondWithStateAsync)(::core::mem::transmute_copy(this), responseapdu.into_param().abi(), nextstate.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_SmartCards', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Devices_SmartCards', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn TryRespondWithCryptogramsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Storage::Streams::IBuffer>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, responsetemplate: Param0, cryptogramplacementsteps: Param1) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -4527,8 +4527,8 @@ impl SmartCardEmulatorApduReceivedEventArgs { (::windows::core::Interface::vtable(this).TryRespondWithCryptogramsAsync)(::core::mem::transmute_copy(this), responsetemplate.into_param().abi(), cryptogramplacementsteps.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_SmartCards', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Devices_SmartCards', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn TryRespondWithCryptogramsAndStateAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Storage::Streams::IBuffer>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::IReference>>(&self, responsetemplate: Param0, cryptogramplacementsteps: Param1, nextstate: Param2) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -5637,8 +5637,8 @@ impl SmartCardReader { (::windows::core::Interface::vtable(this).GetStatusAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_SmartCards', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_SmartCards', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllCardsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Devices/Sms/impl.rs b/crates/libs/windows/src/Windows/Devices/Sms/impl.rs index a3a6d4633e..ad3e63f809 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/impl.rs @@ -331,7 +331,7 @@ impl ISmsMessageBase_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] +#[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub trait ISmsTextMessage_Impl: Sized + ISmsMessage_Impl { fn Timestamp(&self) -> ::windows::core::Result; fn PartReferenceId(&self) -> ::windows::core::Result; @@ -347,11 +347,11 @@ pub trait ISmsTextMessage_Impl: Sized + ISmsMessage_Impl { fn SetEncoding(&self, value: SmsEncoding) -> ::windows::core::Result<()>; fn ToBinaryMessages(&self, format: SmsDataFormat) -> ::windows::core::Result>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] +#[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] impl ::windows::core::RuntimeName for ISmsTextMessage { const NAME: &'static str = "Windows.Devices.Sms.ISmsTextMessage"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] +#[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] impl ISmsTextMessage_Vtbl { pub const fn new() -> ISmsTextMessage_Vtbl { unsafe extern "system" fn Timestamp(this: *mut ::core::ffi::c_void, result__: *mut super::super::Foundation::DateTime) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs index 77282a8541..b951b3cf4a 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs @@ -1207,27 +1207,27 @@ impl<'a> ::windows::core::IntoParam<'a, super::super::Foundation::IAsyncInfo> fo ::core::convert::TryInto::::try_into(self).map(::windows::core::Param::Owned).unwrap_or(::windows::core::Param::None) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] +#[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] impl ::core::convert::TryFrom for super::super::Foundation::IAsyncOperationWithProgress, i32> { type Error = ::windows::core::Error; fn try_from(value: GetSmsMessagesOperation) -> ::windows::core::Result { ::core::convert::TryFrom::try_from(&value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] +#[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] impl ::core::convert::TryFrom<&GetSmsMessagesOperation> for super::super::Foundation::IAsyncOperationWithProgress, i32> { type Error = ::windows::core::Error; fn try_from(value: &GetSmsMessagesOperation) -> ::windows::core::Result { ::windows::core::Interface::cast(value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] +#[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] impl<'a> ::windows::core::IntoParam<'a, super::super::Foundation::IAsyncOperationWithProgress, i32>> for GetSmsMessagesOperation { fn into_param(self) -> ::windows::core::Param<'a, super::super::Foundation::IAsyncOperationWithProgress, i32>> { ::windows::core::IntoParam::into_param(&self) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] +#[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] impl<'a> ::windows::core::IntoParam<'a, super::super::Foundation::IAsyncOperationWithProgress, i32>> for &GetSmsMessagesOperation { fn into_param(self) -> ::windows::core::Param<'a, super::super::Foundation::IAsyncOperationWithProgress, i32>> { ::core::convert::TryInto::, i32>>::try_into(self).map(::windows::core::Param::Owned).unwrap_or(::windows::core::Param::None) @@ -1775,9 +1775,9 @@ pub struct ISmsDeviceMessageStore_Vtbl { pub GetMessageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, messageid: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "deprecated")))] GetMessageAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub GetMessagesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, messagefilter: SmsMessageFilter, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetMessagesAsync: usize, #[cfg(feature = "deprecated")] pub MaxMessages: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut u32) -> ::windows::core::HRESULT, @@ -4229,8 +4229,8 @@ impl SmsDeviceMessageStore { (::windows::core::Interface::vtable(this).GetMessageAsync)(::core::mem::transmute_copy(this), messageid, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_Sms', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'Devices_Sms', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn GetMessagesAsync(&self, messagefilter: SmsMessageFilter) -> ::windows::core::Result, i32>> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs index 328355b289..2fd9062d93 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs @@ -101,15 +101,15 @@ impl ISpiDeviceProvider_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait ISpiProvider_Impl: Sized { fn GetControllersAsync(&self) -> ::windows::core::Result>>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for ISpiProvider { const NAME: &'static str = "Windows.Devices.Spi.Provider.ISpiProvider"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ISpiProvider_Vtbl { pub const fn new() -> ISpiProvider_Vtbl { unsafe extern "system" fn GetControllersAsync(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { 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 1882fd5a2e..8f3b38e47d 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs @@ -275,8 +275,8 @@ pub struct ISpiDeviceProvider_Vtbl { #[repr(transparent)] pub struct ISpiProvider(::windows::core::IUnknown); impl ISpiProvider { - #[doc = "*Required features: 'Devices_Spi_Provider', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Spi_Provider', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetControllersAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -356,9 +356,9 @@ unsafe impl ::windows::core::Interface for ISpiProvider { #[doc(hidden)] pub struct ISpiProvider_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetControllersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetControllersAsync: usize, } #[doc = "*Required features: 'Devices_Spi_Provider'*"] diff --git a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs index b921ddf45a..35c05917b5 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs @@ -83,9 +83,9 @@ pub struct ISpiControllerStatics_Vtbl { pub GetDefaultAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetDefaultAsync: usize, - #[cfg(all(feature = "Devices_Spi_Provider", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "Devices_Spi_Provider", feature = "Foundation_Collections"))] pub GetControllersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, provider: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Devices_Spi_Provider", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "Devices_Spi_Provider", feature = "Foundation_Collections")))] GetControllersAsync: usize, } #[doc(hidden)] @@ -507,8 +507,8 @@ impl SpiController { (::windows::core::Interface::vtable(this).GetDefaultAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Devices_Spi', 'Devices_Spi_Provider', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Devices_Spi_Provider", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_Spi', 'Devices_Spi_Provider', 'Foundation_Collections'*"] + #[cfg(all(feature = "Devices_Spi_Provider", feature = "Foundation_Collections"))] pub fn GetControllersAsync<'a, Param0: ::windows::core::IntoParam<'a, Provider::ISpiProvider>>(provider: Param0) -> ::windows::core::Result>> { Self::ISpiControllerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs index b4c47c4f53..cb0ee6e777 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs @@ -72,9 +72,9 @@ unsafe impl ::windows::core::Interface for IWiFiAdapterStatics { #[doc(hidden)] pub struct IWiFiAdapterStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAdaptersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAdaptersAsync: usize, pub GetDeviceSelector: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, #[cfg(feature = "Foundation")] @@ -299,8 +299,8 @@ impl WiFiAdapter { (::windows::core::Interface::vtable(this).ConnectWithPasswordCredentialAndSsidAndConnectionMethodAsync)(::core::mem::transmute_copy(this), availablenetwork.into_param().abi(), reconnectionkind, passwordcredential.into_param().abi(), ssid.into_param().abi(), connectionmethod, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Devices_WiFi', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Devices_WiFi', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAdaptersAsync() -> ::windows::core::Result>> { Self::IWiFiAdapterStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs index 01e3c6cd0b..5611fa7dab 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs @@ -525,7 +525,6 @@ unsafe impl ::core::iter::IntoIterator for IMap { type Item = IKeyValuePair; type IntoIter = IIterator; @@ -533,7 +532,6 @@ impl ::core::iter::IntoIterator for &IMap { type Item = IKeyValuePair; type IntoIter = IIterator; @@ -794,7 +792,6 @@ unsafe impl ::core::iter::IntoIterator for IMapView { type Item = IKeyValuePair; type IntoIter = IIterator; @@ -802,7 +799,6 @@ impl ::core::iter::IntoIterator for &IMapView { type Item = IKeyValuePair; type IntoIter = IIterator; @@ -1015,7 +1011,6 @@ unsafe impl ::core::iter::IntoIterator for IObservableMap { type Item = IKeyValuePair; type IntoIter = IIterator; @@ -1023,7 +1018,6 @@ impl ::core::iter::IntoIterator for &IObservableMap { type Item = IKeyValuePair; type IntoIter = IIterator; @@ -1258,7 +1252,6 @@ unsafe impl ::windows::core::RuntimeT from.as_ref().cloned().ok_or(::windows::core::Error::OK) } } -#[cfg(feature = "Foundation_Collections")] impl ::core::iter::IntoIterator for IObservableVector { type Item = T; type IntoIter = VectorIterator; @@ -1266,7 +1259,6 @@ impl ::core::iter::IntoIterator for I ::core::iter::IntoIterator::into_iter(&self) } } -#[cfg(feature = "Foundation_Collections")] impl ::core::iter::IntoIterator for &IObservableVector { type Item = T; type IntoIter = VectorIterator; @@ -1494,7 +1486,6 @@ unsafe impl ::windows::core::RuntimeType for IPropertySet { from.as_ref().cloned().ok_or(::windows::core::Error::OK) } } -#[cfg(feature = "Foundation_Collections")] impl ::core::iter::IntoIterator for IPropertySet { type Item = IKeyValuePair<::windows::core::HSTRING, ::windows::core::IInspectable>; type IntoIter = IIterator; @@ -1502,7 +1493,6 @@ impl ::core::iter::IntoIterator for IPropertySet { ::core::iter::IntoIterator::into_iter(&self) } } -#[cfg(feature = "Foundation_Collections")] impl ::core::iter::IntoIterator for &IPropertySet { type Item = IKeyValuePair<::windows::core::HSTRING, ::windows::core::IInspectable>; type IntoIter = IIterator; @@ -2240,7 +2230,6 @@ unsafe impl ::windows::core::Interface for PropertySet { impl ::windows::core::RuntimeName for PropertySet { const NAME: &'static str = "Windows.Foundation.Collections.PropertySet"; } -#[cfg(feature = "Foundation_Collections")] impl ::core::iter::IntoIterator for PropertySet { type Item = IKeyValuePair<::windows::core::HSTRING, ::windows::core::IInspectable>; type IntoIter = IIterator; @@ -2248,7 +2237,6 @@ impl ::core::iter::IntoIterator for PropertySet { ::core::iter::IntoIterator::into_iter(&self) } } -#[cfg(feature = "Foundation_Collections")] impl ::core::iter::IntoIterator for &PropertySet { type Item = IKeyValuePair<::windows::core::HSTRING, ::windows::core::IInspectable>; type IntoIter = IIterator; @@ -2499,7 +2487,6 @@ unsafe impl ::windows::core::Interface for StringMap { impl ::windows::core::RuntimeName for StringMap { const NAME: &'static str = "Windows.Foundation.Collections.StringMap"; } -#[cfg(feature = "Foundation_Collections")] impl ::core::iter::IntoIterator for StringMap { type Item = IKeyValuePair<::windows::core::HSTRING, ::windows::core::HSTRING>; type IntoIter = IIterator; @@ -2507,7 +2494,6 @@ impl ::core::iter::IntoIterator for StringMap { ::core::iter::IntoIterator::into_iter(&self) } } -#[cfg(feature = "Foundation_Collections")] impl ::core::iter::IntoIterator for &StringMap { type Item = IKeyValuePair<::windows::core::HSTRING, ::windows::core::HSTRING>; type IntoIter = IIterator; @@ -2736,7 +2722,6 @@ unsafe impl ::windows::core::Interface for ValueSet { impl ::windows::core::RuntimeName for ValueSet { const NAME: &'static str = "Windows.Foundation.Collections.ValueSet"; } -#[cfg(feature = "Foundation_Collections")] impl ::core::iter::IntoIterator for ValueSet { type Item = IKeyValuePair<::windows::core::HSTRING, ::windows::core::IInspectable>; type IntoIter = IIterator; @@ -2744,7 +2729,6 @@ impl ::core::iter::IntoIterator for ValueSet { ::core::iter::IntoIterator::into_iter(&self) } } -#[cfg(feature = "Foundation_Collections")] impl ::core::iter::IntoIterator for &ValueSet { type Item = IKeyValuePair<::windows::core::HSTRING, ::windows::core::IInspectable>; type IntoIter = IIterator; diff --git a/crates/libs/windows/src/Windows/Foundation/mod.rs b/crates/libs/windows/src/Windows/Foundation/mod.rs index 0c25f704d4..ee518bead6 100644 --- a/crates/libs/windows/src/Windows/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/mod.rs @@ -1157,7 +1157,6 @@ unsafe impl ::windows::core::RuntimeType for IAsyncAction { from.as_ref().cloned().ok_or(::windows::core::Error::OK) } } -#[cfg(feature = "Foundation")] impl IAsyncAction { pub fn get(&self) -> ::windows::core::Result<()> { if self.Status()? == AsyncStatus::Started { @@ -1172,7 +1171,6 @@ impl IAsyncAction { self.GetResults() } } -#[cfg(feature = "Foundation")] impl ::std::future::Future for IAsyncAction { type Output = ::windows::core::Result<()>; fn poll(self: ::std::pin::Pin<&mut Self>, context: &mut ::std::task::Context) -> ::std::task::Poll { @@ -1359,7 +1357,6 @@ unsafe impl ::windows::core:: from.as_ref().cloned().ok_or(::windows::core::Error::OK) } } -#[cfg(feature = "Foundation")] impl IAsyncActionWithProgress { pub fn get(&self) -> ::windows::core::Result<()> { if self.Status()? == AsyncStatus::Started { @@ -1374,7 +1371,6 @@ impl IAsyncActionWithProgress self.GetResults() } } -#[cfg(feature = "Foundation")] impl ::std::future::Future for IAsyncActionWithProgress { type Output = ::windows::core::Result<()>; fn poll(self: ::std::pin::Pin<&mut Self>, context: &mut ::std::task::Context) -> ::std::task::Poll { @@ -1673,7 +1669,6 @@ unsafe impl ::windows::core::Ru from.as_ref().cloned().ok_or(::windows::core::Error::OK) } } -#[cfg(feature = "Foundation")] impl IAsyncOperation { pub fn get(&self) -> ::windows::core::Result { if self.Status()? == AsyncStatus::Started { @@ -1688,7 +1683,6 @@ impl IAsyncOperation { self.GetResults() } } -#[cfg(feature = "Foundation")] impl ::std::future::Future for IAsyncOperation { type Output = ::windows::core::Result; fn poll(self: ::std::pin::Pin<&mut Self>, context: &mut ::std::task::Context) -> ::std::task::Poll { @@ -1883,7 +1877,6 @@ unsafe impl IAsyncOperationWithProgress { pub fn get(&self) -> ::windows::core::Result { if self.Status()? == AsyncStatus::Started { @@ -1898,7 +1891,6 @@ impl ::std::future::Future for IAsyncOperationWithProgress { type Output = ::windows::core::Result; fn poll(self: ::std::pin::Pin<&mut Self>, context: &mut ::std::task::Context) -> ::std::task::Poll { 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 b80bd0af5e..e92a683da0 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs @@ -202,14 +202,14 @@ impl ConstantForceEffect { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); unsafe { SHARED.call(callback) } } - #[doc = "*Required features: 'Gaming_Input_ForceFeedback', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Gaming_Input_ForceFeedback', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetParameters<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Numerics::Vector3>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>>(&self, vector: Param0, duration: Param1) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetParameters)(::core::mem::transmute_copy(this), vector.into_param().abi(), duration.into_param().abi()).ok() } } - #[doc = "*Required features: 'Gaming_Input_ForceFeedback', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Gaming_Input_ForceFeedback', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetParametersWithEnvelope<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Numerics::Vector3>, Param4: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>, Param5: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>, Param6: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>, Param7: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>>(&self, vector: Param0, attackgain: f32, sustaingain: f32, releasegain: f32, startdelay: Param4, attackduration: Param5, sustainduration: Param6, releaseduration: Param7, repeatcount: u32) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetParametersWithEnvelope)(::core::mem::transmute_copy(this), vector.into_param().abi(), attackgain, sustaingain, releasegain, startdelay.into_param().abi(), attackduration.into_param().abi(), sustainduration.into_param().abi(), releaseduration.into_param().abi(), repeatcount).ok() } @@ -690,13 +690,13 @@ unsafe impl ::windows::core::Interface for IConstantForceEffect { #[doc(hidden)] pub struct IConstantForceEffect_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub SetParameters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, vector: super::super::super::Foundation::Numerics::Vector3, duration: super::super::super::Foundation::TimeSpan) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] SetParameters: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub SetParametersWithEnvelope: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, vector: super::super::super::Foundation::Numerics::Vector3, attackgain: f32, sustaingain: f32, releasegain: f32, startdelay: super::super::super::Foundation::TimeSpan, attackduration: super::super::super::Foundation::TimeSpan, sustainduration: super::super::super::Foundation::TimeSpan, releaseduration: super::super::super::Foundation::TimeSpan, repeatcount: u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] SetParametersWithEnvelope: usize, } #[doc = "*Required features: 'Gaming_Input_ForceFeedback'*"] @@ -864,13 +864,13 @@ unsafe impl ::windows::core::Interface for IPeriodicForceEffect { pub struct IPeriodicForceEffect_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub Kind: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut PeriodicForceEffectKind) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub SetParameters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, vector: super::super::super::Foundation::Numerics::Vector3, frequency: f32, phase: f32, bias: f32, duration: super::super::super::Foundation::TimeSpan) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] SetParameters: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub SetParametersWithEnvelope: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, vector: super::super::super::Foundation::Numerics::Vector3, frequency: f32, phase: f32, bias: f32, attackgain: f32, sustaingain: f32, releasegain: f32, startdelay: super::super::super::Foundation::TimeSpan, attackduration: super::super::super::Foundation::TimeSpan, sustainduration: super::super::super::Foundation::TimeSpan, releaseduration: super::super::super::Foundation::TimeSpan, repeatcount: u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] SetParametersWithEnvelope: usize, } #[doc(hidden)] @@ -897,13 +897,13 @@ unsafe impl ::windows::core::Interface for IRampForceEffect { #[doc(hidden)] pub struct IRampForceEffect_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub SetParameters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startvector: super::super::super::Foundation::Numerics::Vector3, endvector: super::super::super::Foundation::Numerics::Vector3, duration: super::super::super::Foundation::TimeSpan) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] SetParameters: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub SetParametersWithEnvelope: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startvector: super::super::super::Foundation::Numerics::Vector3, endvector: super::super::super::Foundation::Numerics::Vector3, attackgain: f32, sustaingain: f32, releasegain: f32, startdelay: super::super::super::Foundation::TimeSpan, attackduration: super::super::super::Foundation::TimeSpan, sustainduration: super::super::super::Foundation::TimeSpan, releaseduration: super::super::super::Foundation::TimeSpan, repeatcount: u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] SetParametersWithEnvelope: usize, } #[doc = "*Required features: 'Gaming_Input_ForceFeedback'*"] @@ -949,14 +949,14 @@ impl PeriodicForceEffect { (::windows::core::Interface::vtable(this).Kind)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Gaming_Input_ForceFeedback', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Gaming_Input_ForceFeedback', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetParameters<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Numerics::Vector3>, Param4: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>>(&self, vector: Param0, frequency: f32, phase: f32, bias: f32, duration: Param4) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetParameters)(::core::mem::transmute_copy(this), vector.into_param().abi(), frequency, phase, bias, duration.into_param().abi()).ok() } } - #[doc = "*Required features: 'Gaming_Input_ForceFeedback', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Gaming_Input_ForceFeedback', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetParametersWithEnvelope<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Numerics::Vector3>, Param7: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>, Param8: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>, Param9: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>, Param10: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>>(&self, vector: Param0, frequency: f32, phase: f32, bias: f32, attackgain: f32, sustaingain: f32, releasegain: f32, startdelay: Param7, attackduration: Param8, sustainduration: Param9, releaseduration: Param10, repeatcount: u32) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetParametersWithEnvelope)(::core::mem::transmute_copy(this), vector.into_param().abi(), frequency, phase, bias, attackgain, sustaingain, releasegain, startdelay.into_param().abi(), attackduration.into_param().abi(), sustainduration.into_param().abi(), releaseduration.into_param().abi(), repeatcount).ok() } @@ -1147,14 +1147,14 @@ impl RampForceEffect { let this = self; unsafe { (::windows::core::Interface::vtable(this).Stop)(::core::mem::transmute_copy(this)).ok() } } - #[doc = "*Required features: 'Gaming_Input_ForceFeedback', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Gaming_Input_ForceFeedback', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetParameters<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Numerics::Vector3>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Numerics::Vector3>, Param2: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>>(&self, startvector: Param0, endvector: Param1, duration: Param2) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetParameters)(::core::mem::transmute_copy(this), startvector.into_param().abi(), endvector.into_param().abi(), duration.into_param().abi()).ok() } } - #[doc = "*Required features: 'Gaming_Input_ForceFeedback', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Gaming_Input_ForceFeedback', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetParametersWithEnvelope<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Numerics::Vector3>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Numerics::Vector3>, Param5: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>, Param6: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>, Param7: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>, Param8: ::windows::core::IntoParam<'a, super::super::super::Foundation::TimeSpan>>( &self, startvector: Param0, diff --git a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs index 7a3ae9b555..0d96f3bd07 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs @@ -1,4 +1,4 @@ -#[cfg(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub trait IGameListEntry_Impl: Sized { fn DisplayInfo(&self) -> ::windows::core::Result; fn LaunchAsync(&self) -> ::windows::core::Result>; @@ -6,11 +6,11 @@ pub trait IGameListEntry_Impl: Sized { fn Properties(&self) -> ::windows::core::Result>; fn SetCategoryAsync(&self, value: GameListCategory) -> ::windows::core::Result; } -#[cfg(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] impl ::windows::core::RuntimeName for IGameListEntry { const NAME: &'static str = "Windows.Gaming.Preview.GamesEnumeration.IGameListEntry"; } -#[cfg(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] impl IGameListEntry_Vtbl { pub const fn new() -> IGameListEntry_Vtbl { unsafe extern "system" fn DisplayInfo(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { 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 f140e39ca5..556bb8db59 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs @@ -2,16 +2,16 @@ #[doc = "*Required features: 'Gaming_Preview_GamesEnumeration'*"] pub struct GameList {} impl GameList { - #[doc = "*Required features: 'Gaming_Preview_GamesEnumeration', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Gaming_Preview_GamesEnumeration', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::IGameListStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Gaming_Preview_GamesEnumeration', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Gaming_Preview_GamesEnumeration', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsyncPackageFamilyName<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(packagefamilyname: Param0) -> ::windows::core::Result>> { Self::IGameListStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -65,8 +65,8 @@ impl GameList { (::windows::core::Interface::vtable(this).MergeEntriesAsync)(::core::mem::transmute_copy(this), left.into_param().abi(), right.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Gaming_Preview_GamesEnumeration', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Gaming_Preview_GamesEnumeration', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn UnmergeEntryAsync<'a, Param0: ::windows::core::IntoParam<'a, GameListEntry>>(mergedentry: Param0) -> ::windows::core::Result>> { Self::IGameListStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1032,13 +1032,13 @@ unsafe impl ::windows::core::Interface for IGameListStatics { #[doc(hidden)] pub struct IGameListStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsyncPackageFamilyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagefamilyname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsyncPackageFamilyName: usize, #[cfg(feature = "Foundation")] pub GameAdded: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, handler: ::windows::core::RawPtr, result__: *mut super::super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, @@ -1080,9 +1080,9 @@ pub struct IGameListStatics2_Vtbl { pub MergeEntriesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, left: ::windows::core::RawPtr, right: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] MergeEntriesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub UnmergeEntryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, mergedentry: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] UnmergeEntryAsync: usize, } #[doc(hidden)] 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 a23263dee5..f7b0be35da 100644 --- a/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs @@ -404,8 +404,8 @@ impl GameSaveContainer { (::windows::core::Interface::vtable(this).Provider)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Gaming_XboxLive_Storage', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Gaming_XboxLive_Storage', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn SubmitUpdatesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IMapView<::windows::core::HSTRING, super::super::super::Storage::Streams::IBuffer>>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, blobstowrite: Param0, blobstodelete: Param1, displayname: Param2) -> ::windows::core::Result> { let this = self; unsafe { @@ -413,8 +413,8 @@ impl GameSaveContainer { (::windows::core::Interface::vtable(this).SubmitUpdatesAsync)(::core::mem::transmute_copy(this), blobstowrite.into_param().abi(), blobstodelete.into_param().abi(), displayname.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Gaming_XboxLive_Storage', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Gaming_XboxLive_Storage', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn ReadAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IMapView<::windows::core::HSTRING, super::super::super::Storage::Streams::IBuffer>>>(&self, blobstoread: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -422,8 +422,8 @@ impl GameSaveContainer { (::windows::core::Interface::vtable(this).ReadAsync)(::core::mem::transmute_copy(this), blobstoread.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Gaming_XboxLive_Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Gaming_XboxLive_Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, blobstoread: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -431,8 +431,8 @@ impl GameSaveContainer { (::windows::core::Interface::vtable(this).GetAsync)(::core::mem::transmute_copy(this), blobstoread.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Gaming_XboxLive_Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Gaming_XboxLive_Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SubmitPropertySetUpdatesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IPropertySet>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, blobstowrite: Param0, blobstodelete: Param1, displayname: Param2) -> ::windows::core::Result> { let this = self; unsafe { @@ -1305,21 +1305,21 @@ pub struct IGameSaveContainer_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub Name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, pub Provider: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub SubmitUpdatesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, blobstowrite: ::windows::core::RawPtr, blobstodelete: ::windows::core::RawPtr, displayname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] SubmitUpdatesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub ReadAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, blobstoread: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] ReadAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, blobstoread: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SubmitPropertySetUpdatesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, blobstowrite: ::windows::core::RawPtr, blobstodelete: ::windows::core::RawPtr, displayname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SubmitPropertySetUpdatesAsync: usize, pub CreateBlobInfoQuery: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, blobnameprefix: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, } diff --git a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs index 128cb4fd76..9362c1fbbd 100644 --- a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs @@ -144,8 +144,8 @@ impl Direct3D11CaptureFramePool { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).Close)(::core::mem::transmute_copy(this)).ok() } } - #[doc = "*Required features: 'Graphics_Capture', 'Graphics_DirectX', 'Graphics_DirectX_Direct3D11'*"] - #[cfg(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11"))] + #[doc = "*Required features: 'Graphics_Capture', 'Graphics_DirectX_Direct3D11'*"] + #[cfg(feature = "Graphics_DirectX_Direct3D11")] pub fn Recreate<'a, Param0: ::windows::core::IntoParam<'a, super::DirectX::Direct3D11::IDirect3DDevice>, Param3: ::windows::core::IntoParam<'a, super::SizeInt32>>(&self, device: Param0, pixelformat: super::DirectX::DirectXPixelFormat, numberofbuffers: i32, size: Param3) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).Recreate)(::core::mem::transmute_copy(this), device.into_param().abi(), pixelformat, numberofbuffers, size.into_param().abi()).ok() } @@ -190,16 +190,16 @@ impl Direct3D11CaptureFramePool { (::windows::core::Interface::vtable(this).DispatcherQueue)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Graphics_Capture', 'Graphics_DirectX', 'Graphics_DirectX_Direct3D11'*"] - #[cfg(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11"))] + #[doc = "*Required features: 'Graphics_Capture', 'Graphics_DirectX_Direct3D11'*"] + #[cfg(feature = "Graphics_DirectX_Direct3D11")] pub fn Create<'a, Param0: ::windows::core::IntoParam<'a, super::DirectX::Direct3D11::IDirect3DDevice>, Param3: ::windows::core::IntoParam<'a, super::SizeInt32>>(device: Param0, pixelformat: super::DirectX::DirectXPixelFormat, numberofbuffers: i32, size: Param3) -> ::windows::core::Result { Self::IDirect3D11CaptureFramePoolStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).Create)(::core::mem::transmute_copy(this), device.into_param().abi(), pixelformat, numberofbuffers, size.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Graphics_Capture', 'Graphics_DirectX', 'Graphics_DirectX_Direct3D11'*"] - #[cfg(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11"))] + #[doc = "*Required features: 'Graphics_Capture', 'Graphics_DirectX_Direct3D11'*"] + #[cfg(feature = "Graphics_DirectX_Direct3D11")] pub fn CreateFreeThreaded<'a, Param0: ::windows::core::IntoParam<'a, super::DirectX::Direct3D11::IDirect3DDevice>, Param3: ::windows::core::IntoParam<'a, super::SizeInt32>>(device: Param0, pixelformat: super::DirectX::DirectXPixelFormat, numberofbuffers: i32, size: Param3) -> ::windows::core::Result { Self::IDirect3D11CaptureFramePoolStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -787,9 +787,9 @@ unsafe impl ::windows::core::Interface for IDirect3D11CaptureFramePool { #[doc(hidden)] pub struct IDirect3D11CaptureFramePool_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11"))] + #[cfg(feature = "Graphics_DirectX_Direct3D11")] pub Recreate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, device: ::windows::core::RawPtr, pixelformat: super::DirectX::DirectXPixelFormat, numberofbuffers: i32, size: super::SizeInt32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11")))] + #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] Recreate: usize, pub TryGetNextFrame: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(feature = "Foundation")] @@ -817,9 +817,9 @@ unsafe impl ::windows::core::Interface for IDirect3D11CaptureFramePoolStatics { #[doc(hidden)] pub struct IDirect3D11CaptureFramePoolStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11"))] + #[cfg(feature = "Graphics_DirectX_Direct3D11")] pub Create: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, device: ::windows::core::RawPtr, pixelformat: super::DirectX::DirectXPixelFormat, numberofbuffers: i32, size: super::SizeInt32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11")))] + #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] Create: usize, } #[doc(hidden)] @@ -833,9 +833,9 @@ unsafe impl ::windows::core::Interface for IDirect3D11CaptureFramePoolStatics2 { #[doc(hidden)] pub struct IDirect3D11CaptureFramePoolStatics2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11"))] + #[cfg(feature = "Graphics_DirectX_Direct3D11")] pub CreateFreeThreaded: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, device: ::windows::core::RawPtr, pixelformat: super::DirectX::DirectXPixelFormat, numberofbuffers: i32, size: super::SizeInt32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11")))] + #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] CreateFreeThreaded: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs index a0040ea96d..c41113d5df 100644 --- a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs @@ -274,8 +274,8 @@ impl HolographicCameraPose { (::windows::core::Interface::vtable(this).Viewport)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Graphics_Holographic', 'Foundation', 'Foundation_Numerics', 'Perception_Spatial'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[doc = "*Required features: 'Graphics_Holographic', 'Foundation_Numerics', 'Perception_Spatial'*"] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub fn TryGetViewTransform<'a, Param0: ::windows::core::IntoParam<'a, super::super::Perception::Spatial::SpatialCoordinateSystem>>(&self, coordinatesystem: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -292,8 +292,8 @@ impl HolographicCameraPose { (::windows::core::Interface::vtable(this).ProjectionTransform)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Graphics_Holographic', 'Foundation', 'Foundation_Numerics', 'Perception_Spatial'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[doc = "*Required features: 'Graphics_Holographic', 'Foundation_Numerics', 'Perception_Spatial'*"] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub fn TryGetCullingFrustum<'a, Param0: ::windows::core::IntoParam<'a, super::super::Perception::Spatial::SpatialCoordinateSystem>>(&self, coordinatesystem: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -301,8 +301,8 @@ impl HolographicCameraPose { (::windows::core::Interface::vtable(this).TryGetCullingFrustum)(::core::mem::transmute_copy(this), coordinatesystem.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Graphics_Holographic', 'Foundation', 'Foundation_Numerics', 'Perception_Spatial'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[doc = "*Required features: 'Graphics_Holographic', 'Foundation_Numerics', 'Perception_Spatial'*"] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub fn TryGetVisibleFrustum<'a, Param0: ::windows::core::IntoParam<'a, super::super::Perception::Spatial::SpatialCoordinateSystem>>(&self, coordinatesystem: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -2999,21 +2999,21 @@ pub struct IHolographicCameraPose_Vtbl { pub Viewport: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::Foundation::Rect) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] Viewport: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub TryGetViewTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, coordinatesystem: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "Perception_Spatial")))] TryGetViewTransform: usize, #[cfg(feature = "Foundation_Numerics")] pub ProjectionTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut HolographicStereoTransform) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] ProjectionTransform: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub TryGetCullingFrustum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, coordinatesystem: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "Perception_Spatial")))] TryGetCullingFrustum: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub TryGetVisibleFrustum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, coordinatesystem: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "Perception_Spatial")))] TryGetVisibleFrustum: usize, pub NearPlaneDistance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut f64) -> ::windows::core::HRESULT, pub FarPlaneDistance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut f64) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs index b48a7682d3..aeec0e6900 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs @@ -244,15 +244,15 @@ impl IBitmapFrameWithSoftwareBitmap_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait IBitmapPropertiesView_Impl: Sized { fn GetPropertiesAsync(&self, propertiestoretrieve: &::core::option::Option>) -> ::windows::core::Result>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for IBitmapPropertiesView { const NAME: &'static str = "Windows.Graphics.Imaging.IBitmapPropertiesView"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl IBitmapPropertiesView_Vtbl { pub const fn new() -> IBitmapPropertiesView_Vtbl { unsafe extern "system" fn GetPropertiesAsync(this: *mut ::core::ffi::c_void, propertiestoretrieve: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs index 180e240daa..feb89099df 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs @@ -855,8 +855,8 @@ impl BitmapEncoder { (::windows::core::Interface::vtable(this).GoToNextFrameAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Graphics_Imaging', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Graphics_Imaging', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GoToNextFrameWithEncodingOptionsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(&self, encodingoptions: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -931,8 +931,8 @@ impl BitmapEncoder { (::windows::core::Interface::vtable(this).CreateAsync)(::core::mem::transmute_copy(this), encoderid.into_param().abi(), stream.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Graphics_Imaging', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Graphics_Imaging', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn CreateWithEncodingOptionsAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::GUID>, Param1: ::windows::core::IntoParam<'a, super::super::Storage::Streams::IRandomAccessStream>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(encoderid: Param0, stream: Param1, encodingoptions: Param2) -> ::windows::core::Result> { Self::IBitmapEncoderStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1453,8 +1453,8 @@ impl ::core::default::Default for BitmapPlaneDescription { #[repr(transparent)] pub struct BitmapProperties(::windows::core::IUnknown); impl BitmapProperties { - #[doc = "*Required features: 'Graphics_Imaging', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Graphics_Imaging', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SetPropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(&self, propertiestoset: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -1462,8 +1462,8 @@ impl BitmapProperties { (::windows::core::Interface::vtable(this).SetPropertiesAsync)(::core::mem::transmute_copy(this), propertiestoset.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Graphics_Imaging', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Graphics_Imaging', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetPropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, propertiestoretrieve: Param0) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1570,8 +1570,8 @@ unsafe impl ::core::marker::Sync for BitmapProperties {} #[repr(transparent)] pub struct BitmapPropertiesView(::windows::core::IUnknown); impl BitmapPropertiesView { - #[doc = "*Required features: 'Graphics_Imaging', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Graphics_Imaging', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetPropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, propertiestoretrieve: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -2452,9 +2452,9 @@ pub struct IBitmapEncoder_Vtbl { pub GoToNextFrameAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GoToNextFrameAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GoToNextFrameWithEncodingOptionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encodingoptions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GoToNextFrameWithEncodingOptionsAsync: usize, #[cfg(feature = "Foundation")] pub FlushAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2486,9 +2486,9 @@ pub struct IBitmapEncoderStatics_Vtbl { pub CreateAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoderid: ::windows::core::GUID, stream: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Storage_Streams")))] CreateAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub CreateWithEncodingOptionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encoderid: ::windows::core::GUID, stream: ::windows::core::RawPtr, encodingoptions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] CreateWithEncodingOptionsAsync: usize, #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub CreateForTranscodingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, stream: ::windows::core::RawPtr, bitmapdecoder: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2970,17 +2970,17 @@ unsafe impl ::windows::core::Interface for IBitmapProperties { #[doc(hidden)] pub struct IBitmapProperties_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SetPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propertiestoset: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SetPropertiesAsync: usize, } #[doc = "*Required features: 'Graphics_Imaging'*"] #[repr(transparent)] pub struct IBitmapPropertiesView(::windows::core::IUnknown); impl IBitmapPropertiesView { - #[doc = "*Required features: 'Graphics_Imaging', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Graphics_Imaging', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetPropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, propertiestoretrieve: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -3060,9 +3060,9 @@ unsafe impl ::windows::core::Interface for IBitmapPropertiesView { #[doc(hidden)] pub struct IBitmapPropertiesView_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propertiestoretrieve: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetPropertiesAsync: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs index a808cfef54..e92a44e7c1 100644 --- a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs @@ -77,8 +77,8 @@ impl AddPackageOptions { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); unsafe { SHARED.call(callback) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn DependencyPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -108,8 +108,8 @@ impl AddPackageOptions { (::windows::core::Interface::vtable(this).OptionalPackageFamilyNames)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn OptionalPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -117,8 +117,8 @@ impl AddPackageOptions { (::windows::core::Interface::vtable(this).OptionalPackageUris)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RelatedPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -601,8 +601,8 @@ impl AutoUpdateSettingsOptions { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetIsAutoRepairEnabled)(::core::mem::transmute_copy(this), value).ok() } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn UpdateUris(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -610,8 +610,8 @@ impl AutoUpdateSettingsOptions { (::windows::core::Interface::vtable(this).UpdateUris)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RepairUris(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -619,8 +619,8 @@ impl AutoUpdateSettingsOptions { (::windows::core::Interface::vtable(this).RepairUris)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn DependencyPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -628,8 +628,8 @@ impl AutoUpdateSettingsOptions { (::windows::core::Interface::vtable(this).DependencyPackageUris)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn OptionalPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -1517,9 +1517,9 @@ unsafe impl ::windows::core::Interface for IAddPackageOptions { #[doc(hidden)] pub struct IAddPackageOptions_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub DependencyPackageUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] DependencyPackageUris: usize, pub TargetVolume: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub SetTargetVolume: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1527,13 +1527,13 @@ pub struct IAddPackageOptions_Vtbl { pub OptionalPackageFamilyNames: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] OptionalPackageFamilyNames: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub OptionalPackageUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] OptionalPackageUris: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RelatedPackageUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RelatedPackageUris: usize, #[cfg(feature = "Foundation")] pub ExternalLocationUri: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1639,21 +1639,21 @@ pub struct IAutoUpdateSettingsOptions_Vtbl { pub SetForceUpdateFromAnyVersion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: bool) -> ::windows::core::HRESULT, pub IsAutoRepairEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, pub SetIsAutoRepairEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: bool) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub UpdateUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] UpdateUris: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RepairUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RepairUris: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub DependencyPackageUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] DependencyPackageUris: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub OptionalPackageUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] OptionalPackageUris: usize, } #[doc(hidden)] @@ -1812,25 +1812,25 @@ unsafe impl ::windows::core::Interface for IPackageManager { #[doc(hidden)] pub struct IPackageManager_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub AddPackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packageuri: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, deploymentoptions: DeploymentOptions, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] AddPackageAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub UpdatePackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packageuri: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, deploymentoptions: DeploymentOptions, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] UpdatePackageAsync: usize, #[cfg(feature = "Foundation")] pub RemovePackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagefullname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RemovePackageAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub StagePackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packageuri: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] StagePackageAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RegisterPackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, manifesturi: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, deploymentoptions: DeploymentOptions, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RegisterPackageAsync: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub FindPackages: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1905,13 +1905,13 @@ pub struct IPackageManager2_Vtbl { pub RemovePackageWithOptionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagefullname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, removaloptions: RemovalOptions, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RemovePackageWithOptionsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub StagePackageWithOptionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packageuri: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, deploymentoptions: DeploymentOptions, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] StagePackageWithOptionsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RegisterPackageByFullNameAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, mainpackagefullname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, dependencypackagefullnames: ::windows::core::RawPtr, deploymentoptions: DeploymentOptions, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RegisterPackageByFullNameAsync: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub FindPackagesWithPackageTypes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagetypes: PackageTypes, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1957,14 +1957,14 @@ pub struct IPackageManager3_Vtbl { pub AddPackageVolumeAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagestorepath: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] AddPackageVolumeAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub AddPackageToVolumeAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packageuri: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, deploymentoptions: DeploymentOptions, targetvolume: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] AddPackageToVolumeAsync: usize, pub ClearPackageStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagefullname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, status: PackageStatus) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RegisterPackageWithAppDataVolumeAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, manifesturi: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, deploymentoptions: DeploymentOptions, appdatavolume: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RegisterPackageWithAppDataVolumeAsync: usize, pub FindPackageVolumeByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, volumename: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -1990,9 +1990,9 @@ pub struct IPackageManager3_Vtbl { pub SetPackageVolumeOnlineAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagevolume: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] SetPackageVolumeOnlineAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub StagePackageToVolumeAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packageuri: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, deploymentoptions: DeploymentOptions, targetvolume: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] StagePackageToVolumeAsync: usize, #[cfg(feature = "Foundation")] pub StageUserDataWithOptionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagefullname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, deploymentoptions: DeploymentOptions, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2010,9 +2010,9 @@ unsafe impl ::windows::core::Interface for IPackageManager4 { #[doc(hidden)] pub struct IPackageManager4_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetPackageVolumesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetPackageVolumesAsync: usize, } #[doc(hidden)] @@ -2026,17 +2026,17 @@ unsafe impl ::windows::core::Interface for IPackageManager5 { #[doc(hidden)] pub struct IPackageManager5_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub AddPackageToVolumeAndOptionalPackagesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packageuri: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, deploymentoptions: DeploymentOptions, targetvolume: ::windows::core::RawPtr, optionalpackagefamilynames: ::windows::core::RawPtr, externalpackageuris: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] AddPackageToVolumeAndOptionalPackagesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub StagePackageToVolumeAndOptionalPackagesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packageuri: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, deploymentoptions: DeploymentOptions, targetvolume: ::windows::core::RawPtr, optionalpackagefamilynames: ::windows::core::RawPtr, externalpackageuris: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] StagePackageToVolumeAndOptionalPackagesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RegisterPackageByFamilyNameAndOptionalPackagesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, mainpackagefamilyname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, dependencypackagefamilynames: ::windows::core::RawPtr, deploymentoptions: DeploymentOptions, appdatavolume: ::windows::core::RawPtr, optionalpackagefamilynames: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RegisterPackageByFamilyNameAndOptionalPackagesAsync: usize, pub DebugSettings: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, } @@ -2063,17 +2063,17 @@ pub struct IPackageManager6_Vtbl { pub RequestAddPackageByAppInstallerFileAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, appinstallerfileuri: ::windows::core::RawPtr, options: AddPackageByAppInstallerOptions, targetvolume: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RequestAddPackageByAppInstallerFileAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub AddPackageToVolumeAndRelatedSetAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packageuri: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, options: DeploymentOptions, targetvolume: ::windows::core::RawPtr, optionalpackagefamilynames: ::windows::core::RawPtr, packageuristoinstall: ::windows::core::RawPtr, relatedpackageuris: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] AddPackageToVolumeAndRelatedSetAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub StagePackageToVolumeAndRelatedSetAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packageuri: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, options: DeploymentOptions, targetvolume: ::windows::core::RawPtr, optionalpackagefamilynames: ::windows::core::RawPtr, packageuristoinstall: ::windows::core::RawPtr, relatedpackageuris: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] StagePackageToVolumeAndRelatedSetAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestAddPackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packageuri: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, deploymentoptions: DeploymentOptions, targetvolume: ::windows::core::RawPtr, optionalpackagefamilynames: ::windows::core::RawPtr, relatedpackageuris: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestAddPackageAsync: usize, } #[doc(hidden)] @@ -2087,9 +2087,9 @@ unsafe impl ::windows::core::Interface for IPackageManager7 { #[doc(hidden)] pub struct IPackageManager7_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestAddPackageAndRelatedSetAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packageuri: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, deploymentoptions: DeploymentOptions, targetvolume: ::windows::core::RawPtr, optionalpackagefamilynames: ::windows::core::RawPtr, relatedpackageuris: ::windows::core::RawPtr, packageuristoinstall: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestAddPackageAndRelatedSetAsync: usize, } #[doc(hidden)] @@ -2135,9 +2135,9 @@ pub struct IPackageManager9_Vtbl { pub RegisterPackageByUriAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, manifesturi: ::windows::core::RawPtr, options: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RegisterPackageByUriAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RegisterPackagesByFullNameAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagefullnames: ::windows::core::RawPtr, options: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RegisterPackagesByFullNameAsync: usize, pub SetPackageStubPreference: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagefamilyname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, usestub: PackageStubPreference) -> ::windows::core::HRESULT, pub GetPackageStubPreference: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagefamilyname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut PackageStubPreference) -> ::windows::core::HRESULT, @@ -2279,9 +2279,9 @@ unsafe impl ::windows::core::Interface for IRegisterPackageOptions { #[doc(hidden)] pub struct IRegisterPackageOptions_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub DependencyPackageUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] DependencyPackageUris: usize, pub AppDataVolume: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub SetAppDataVolume: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2409,9 +2409,9 @@ unsafe impl ::windows::core::Interface for IStagePackageOptions { #[doc(hidden)] pub struct IStagePackageOptions_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub DependencyPackageUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] DependencyPackageUris: usize, pub TargetVolume: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub SetTargetVolume: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2419,13 +2419,13 @@ pub struct IStagePackageOptions_Vtbl { pub OptionalPackageFamilyNames: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] OptionalPackageFamilyNames: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub OptionalPackageUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] OptionalPackageUris: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RelatedPackageUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RelatedPackageUris: usize, #[cfg(feature = "Foundation")] pub ExternalLocationUri: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2629,8 +2629,8 @@ impl PackageManager { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); unsafe { SHARED.call(callback) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn AddPackageAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, packageuri: Param0, dependencypackageuris: Param1, deploymentoptions: DeploymentOptions) -> ::windows::core::Result> { let this = self; unsafe { @@ -2638,8 +2638,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).AddPackageAsync)(::core::mem::transmute_copy(this), packageuri.into_param().abi(), dependencypackageuris.into_param().abi(), deploymentoptions, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn UpdatePackageAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, packageuri: Param0, dependencypackageuris: Param1, deploymentoptions: DeploymentOptions) -> ::windows::core::Result> { let this = self; unsafe { @@ -2656,8 +2656,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).RemovePackageAsync)(::core::mem::transmute_copy(this), packagefullname.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn StagePackageAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, packageuri: Param0, dependencypackageuris: Param1) -> ::windows::core::Result> { let this = self; unsafe { @@ -2665,8 +2665,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).StagePackageAsync)(::core::mem::transmute_copy(this), packageuri.into_param().abi(), dependencypackageuris.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RegisterPackageAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, manifesturi: Param0, dependencypackageuris: Param1, deploymentoptions: DeploymentOptions) -> ::windows::core::Result> { let this = self; unsafe { @@ -2787,8 +2787,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).RemovePackageWithOptionsAsync)(::core::mem::transmute_copy(this), packagefullname.into_param().abi(), removaloptions, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn StagePackageWithOptionsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, packageuri: Param0, dependencypackageuris: Param1, deploymentoptions: DeploymentOptions) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2796,8 +2796,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).StagePackageWithOptionsAsync)(::core::mem::transmute_copy(this), packageuri.into_param().abi(), dependencypackageuris.into_param().abi(), deploymentoptions, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RegisterPackageByFullNameAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, mainpackagefullname: Param0, dependencypackagefullnames: Param1, deploymentoptions: DeploymentOptions) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2877,8 +2877,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).AddPackageVolumeAsync)(::core::mem::transmute_copy(this), packagestorepath.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn AddPackageToVolumeAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param3: ::windows::core::IntoParam<'a, PackageVolume>>(&self, packageuri: Param0, dependencypackageuris: Param1, deploymentoptions: DeploymentOptions, targetvolume: Param3) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2891,8 +2891,8 @@ impl PackageManager { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).ClearPackageStatus)(::core::mem::transmute_copy(this), packagefullname.into_param().abi(), status).ok() } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RegisterPackageWithAppDataVolumeAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param3: ::windows::core::IntoParam<'a, PackageVolume>>(&self, manifesturi: Param0, dependencypackageuris: Param1, deploymentoptions: DeploymentOptions, appdatavolume: Param3) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2971,8 +2971,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).SetPackageVolumeOnlineAsync)(::core::mem::transmute_copy(this), packagevolume.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn StagePackageToVolumeAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param3: ::windows::core::IntoParam<'a, PackageVolume>>(&self, packageuri: Param0, dependencypackageuris: Param1, deploymentoptions: DeploymentOptions, targetvolume: Param3) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2989,8 +2989,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).StageUserDataWithOptionsAsync)(::core::mem::transmute_copy(this), packagefullname.into_param().abi(), deploymentoptions, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetPackageVolumesAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2998,8 +2998,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).GetPackageVolumesAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn AddPackageToVolumeAndOptionalPackagesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param3: ::windows::core::IntoParam<'a, PackageVolume>, Param4: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param5: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>( &self, packageuri: Param0, @@ -3015,8 +3015,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).AddPackageToVolumeAndOptionalPackagesAsync)(::core::mem::transmute_copy(this), packageuri.into_param().abi(), dependencypackageuris.into_param().abi(), deploymentoptions, targetvolume.into_param().abi(), optionalpackagefamilynames.into_param().abi(), externalpackageuris.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn StagePackageToVolumeAndOptionalPackagesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param3: ::windows::core::IntoParam<'a, PackageVolume>, Param4: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param5: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>( &self, packageuri: Param0, @@ -3032,8 +3032,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).StagePackageToVolumeAndOptionalPackagesAsync)(::core::mem::transmute_copy(this), packageuri.into_param().abi(), dependencypackageuris.into_param().abi(), deploymentoptions, targetvolume.into_param().abi(), optionalpackagefamilynames.into_param().abi(), externalpackageuris.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RegisterPackageByFamilyNameAndOptionalPackagesAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param3: ::windows::core::IntoParam<'a, PackageVolume>, Param4: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, mainpackagefamilyname: Param0, dependencypackagefamilynames: Param1, deploymentoptions: DeploymentOptions, appdatavolume: Param3, optionalpackagefamilynames: Param4) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -3076,8 +3076,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).RequestAddPackageByAppInstallerFileAsync)(::core::mem::transmute_copy(this), appinstallerfileuri.into_param().abi(), options, targetvolume.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn AddPackageToVolumeAndRelatedSetAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param3: ::windows::core::IntoParam<'a, PackageVolume>, Param4: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param5: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param6: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>( &self, packageuri: Param0, @@ -3094,8 +3094,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).AddPackageToVolumeAndRelatedSetAsync)(::core::mem::transmute_copy(this), packageuri.into_param().abi(), dependencypackageuris.into_param().abi(), options, targetvolume.into_param().abi(), optionalpackagefamilynames.into_param().abi(), packageuristoinstall.into_param().abi(), relatedpackageuris.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn StagePackageToVolumeAndRelatedSetAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param3: ::windows::core::IntoParam<'a, PackageVolume>, Param4: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param5: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param6: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>( &self, packageuri: Param0, @@ -3112,8 +3112,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).StagePackageToVolumeAndRelatedSetAsync)(::core::mem::transmute_copy(this), packageuri.into_param().abi(), dependencypackageuris.into_param().abi(), options, targetvolume.into_param().abi(), optionalpackagefamilynames.into_param().abi(), packageuristoinstall.into_param().abi(), relatedpackageuris.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestAddPackageAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param3: ::windows::core::IntoParam<'a, PackageVolume>, Param4: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param5: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>( &self, packageuri: Param0, @@ -3129,8 +3129,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).RequestAddPackageAsync)(::core::mem::transmute_copy(this), packageuri.into_param().abi(), dependencypackageuris.into_param().abi(), deploymentoptions, targetvolume.into_param().abi(), optionalpackagefamilynames.into_param().abi(), relatedpackageuris.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestAddPackageAndRelatedSetAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param3: ::windows::core::IntoParam<'a, PackageVolume>, Param4: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param5: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param6: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>( &self, packageuri: Param0, @@ -3192,8 +3192,8 @@ impl PackageManager { (::windows::core::Interface::vtable(this).RegisterPackageByUriAsync)(::core::mem::transmute_copy(this), manifesturi.into_param().abi(), options.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RegisterPackagesByFullNameAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param1: ::windows::core::IntoParam<'a, RegisterPackageOptions>>(&self, packagefullnames: Param0, options: Param1) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -3965,8 +3965,8 @@ impl RegisterPackageOptions { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); unsafe { SHARED.call(callback) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn DependencyPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -4696,8 +4696,8 @@ impl StagePackageOptions { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); unsafe { SHARED.call(callback) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn DependencyPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -4727,8 +4727,8 @@ impl StagePackageOptions { (::windows::core::Interface::vtable(this).OptionalPackageFamilyNames)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn OptionalPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -4736,8 +4736,8 @@ impl StagePackageOptions { (::windows::core::Interface::vtable(this).OptionalPackageUris)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RelatedPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Management/mod.rs b/crates/libs/windows/src/Windows/Management/mod.rs index cc2fd01588..1e00ebeac9 100644 --- a/crates/libs/windows/src/Windows/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Management/mod.rs @@ -61,9 +61,9 @@ pub struct IMdmSession_Vtbl { pub StartAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] StartAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub StartWithAlertsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, alerts: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] StartWithAlertsAsync: usize, } #[doc(hidden)] @@ -386,8 +386,8 @@ impl MdmSession { (::windows::core::Interface::vtable(this).StartAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Management', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Management', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn StartWithAlertsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::Foundation::Collections::IIterable>>(&self, alerts: Param0) -> ::windows::core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs b/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs index 33f6290b1d..e0570ac971 100644 --- a/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs +++ b/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs @@ -38,8 +38,8 @@ impl AppRecordingManager { (::windows::core::Interface::vtable(this).SupportedScreenshotMediaEncodingSubtypes)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Media_AppRecording', 'Foundation', 'Foundation_Collections', 'Storage'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage"))] + #[doc = "*Required features: 'Media_AppRecording', 'Foundation_Collections', 'Storage'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] pub fn SaveScreenshotToFilesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Storage::StorageFolder>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param3: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, folder: Param0, filenameprefix: Param1, option: AppRecordingSaveScreenshotOption, requestedformats: Param3) -> ::windows::core::Result> { let this = self; unsafe { @@ -755,9 +755,9 @@ pub struct IAppRecordingManager_Vtbl { pub SupportedScreenshotMediaEncodingSubtypes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] SupportedScreenshotMediaEncodingSubtypes: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] pub SaveScreenshotToFilesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, folder: ::windows::core::RawPtr, filenameprefix: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, option: AppRecordingSaveScreenshotOption, requestedformats: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] SaveScreenshotToFilesAsync: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Media/Audio/impl.rs b/crates/libs/windows/src/Windows/Media/Audio/impl.rs index 4a34f860ab..e00e287e3e 100644 --- a/crates/libs/windows/src/Windows/Media/Audio/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Audio/impl.rs @@ -1,15 +1,15 @@ -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] pub trait IAudioInputNode_Impl: Sized + IAudioNode_Impl + super::super::Foundation::IClosable_Impl { fn OutgoingConnections(&self) -> ::windows::core::Result>; fn AddOutgoingConnection(&self, destination: &::core::option::Option) -> ::windows::core::Result<()>; fn AddOutgoingConnectionWithGain(&self, destination: &::core::option::Option, gain: f64) -> ::windows::core::Result<()>; fn RemoveOutgoingConnection(&self, destination: &::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] impl ::windows::core::RuntimeName for IAudioInputNode { const NAME: &'static str = "Windows.Media.Audio.IAudioInputNode"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] impl IAudioInputNode_Vtbl { pub const fn new() -> IAudioInputNode_Vtbl { unsafe extern "system" fn OutgoingConnections(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -51,15 +51,15 @@ impl IAudioInputNode_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] pub trait IAudioInputNode2_Impl: Sized + IAudioInputNode_Impl + IAudioNode_Impl + super::super::Foundation::IClosable_Impl { fn Emitter(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] impl ::windows::core::RuntimeName for IAudioInputNode2 { const NAME: &'static str = "Windows.Media.Audio.IAudioInputNode2"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] impl IAudioInputNode2_Vtbl { pub const fn new() -> IAudioInputNode2_Vtbl { unsafe extern "system" fn Emitter(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -80,7 +80,7 @@ impl IAudioInputNode2_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] pub trait IAudioNode_Impl: Sized + super::super::Foundation::IClosable_Impl { fn EffectDefinitions(&self) -> ::windows::core::Result>; fn SetOutgoingGain(&self, value: f64) -> ::windows::core::Result<()>; @@ -94,11 +94,11 @@ pub trait IAudioNode_Impl: Sized + super::super::Foundation::IClosable_Impl { fn DisableEffectsByDefinition(&self, definition: &::core::option::Option) -> ::windows::core::Result<()>; fn EnableEffectsByDefinition(&self, definition: &::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] impl ::windows::core::RuntimeName for IAudioNode { const NAME: &'static str = "Windows.Media.Audio.IAudioNode"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] impl IAudioNode_Vtbl { pub const fn new() -> IAudioNode_Vtbl { unsafe extern "system" fn EffectDefinitions(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -203,16 +203,16 @@ impl IAudioNode_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] pub trait IAudioNodeWithListener_Impl: Sized + IAudioNode_Impl + super::super::Foundation::IClosable_Impl { fn SetListener(&self, value: &::core::option::Option) -> ::windows::core::Result<()>; fn Listener(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] impl ::windows::core::RuntimeName for IAudioNodeWithListener { const NAME: &'static str = "Windows.Media.Audio.IAudioNodeWithListener"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Effects", feature = "Media_MediaProperties"))] impl IAudioNodeWithListener_Vtbl { pub const fn new() -> IAudioNodeWithListener_Vtbl { unsafe extern "system" fn SetListener(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT { 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 5c3691d6dc..bf9a2f9299 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs @@ -788,9 +788,9 @@ unsafe impl ::windows::core::Interface for IMediaFrameSourceGroupStatics { #[doc(hidden)] pub struct IMediaFrameSourceGroupStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, #[cfg(feature = "Foundation")] pub FromIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, id: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2130,8 +2130,8 @@ impl MediaFrameSourceGroup { (::windows::core::Interface::vtable(this).SourceInfos)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Media_Capture_Frames', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_Capture_Frames', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::IMediaFrameSourceGroupStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Media/Capture/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/mod.rs index 57499121d4..fadc913f21 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/mod.rs @@ -10421,9 +10421,9 @@ pub struct IMediaCapture_Vtbl { pub StartRecordToCustomSinkAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encodingprofile: ::windows::core::RawPtr, custommediasink: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Media_MediaProperties")))] StartRecordToCustomSinkAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_MediaProperties"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Media_MediaProperties"))] pub StartRecordToCustomSinkIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encodingprofile: ::windows::core::RawPtr, customsinkactivationid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, customsinksettings: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_MediaProperties")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_MediaProperties")))] StartRecordToCustomSinkIdAsync: usize, #[cfg(feature = "Foundation")] pub StopRecordAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -10437,9 +10437,9 @@ pub struct IMediaCapture_Vtbl { pub CapturePhotoToStreamAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: ::windows::core::RawPtr, stream: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Media_MediaProperties", feature = "Storage_Streams")))] CapturePhotoToStreamAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub AddEffectAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, mediastreamtype: MediaStreamType, effectactivationid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, effectsettings: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] AddEffectAsync: usize, #[cfg(feature = "Foundation")] pub ClearEffectsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, mediastreamtype: MediaStreamType, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -10502,9 +10502,9 @@ pub struct IMediaCapture2_Vtbl { pub PrepareLowLagRecordToCustomSinkAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encodingprofile: ::windows::core::RawPtr, custommediasink: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Media_MediaProperties")))] PrepareLowLagRecordToCustomSinkAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_MediaProperties"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Media_MediaProperties"))] pub PrepareLowLagRecordToCustomSinkIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encodingprofile: ::windows::core::RawPtr, customsinkactivationid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, customsinksettings: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_MediaProperties")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_MediaProperties")))] PrepareLowLagRecordToCustomSinkIdAsync: usize, #[cfg(all(feature = "Foundation", feature = "Media_MediaProperties"))] pub PrepareLowLagPhotoCaptureAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -10514,9 +10514,9 @@ pub struct IMediaCapture2_Vtbl { pub PrepareLowLagPhotoSequenceCaptureAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Media_MediaProperties")))] PrepareLowLagPhotoSequenceCaptureAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_MediaProperties"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Media_MediaProperties"))] pub SetEncodingPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, mediastreamtype: MediaStreamType, mediaencodingproperties: ::windows::core::RawPtr, encoderproperties: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_MediaProperties")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_MediaProperties")))] SetEncodingPropertiesAsync: usize, } #[doc(hidden)] @@ -10671,9 +10671,9 @@ pub struct IMediaCapture6_Vtbl { pub RemoveCaptureDeviceExclusiveControlStatusChanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RemoveCaptureDeviceExclusiveControlStatusChanged: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Capture_Frames"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Media_Capture_Frames"))] pub CreateMultiSourceFrameReaderAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, inputsources: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Capture_Frames")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_Capture_Frames")))] CreateMultiSourceFrameReaderAsync: usize, } #[doc(hidden)] @@ -11052,9 +11052,9 @@ pub struct IMediaCaptureVideoPreview_Vtbl { pub StartPreviewToCustomSinkAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encodingprofile: ::windows::core::RawPtr, custommediasink: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Media_MediaProperties")))] StartPreviewToCustomSinkAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_MediaProperties"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Media_MediaProperties"))] pub StartPreviewToCustomSinkIdAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, encodingprofile: ::windows::core::RawPtr, customsinkactivationid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, customsinksettings: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_MediaProperties")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_MediaProperties")))] StartPreviewToCustomSinkIdAsync: usize, #[cfg(feature = "Foundation")] pub StopPreviewAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -11730,8 +11730,8 @@ impl MediaCapture { (::windows::core::Interface::vtable(this).StartRecordToCustomSinkAsync)(::core::mem::transmute_copy(this), encodingprofile.into_param().abi(), custommediasink.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Media_Capture', 'Foundation', 'Foundation_Collections', 'Media_MediaProperties'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_MediaProperties"))] + #[doc = "*Required features: 'Media_Capture', 'Foundation_Collections', 'Media_MediaProperties'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Media_MediaProperties"))] pub fn StartRecordToCustomSinkIdAsync<'a, Param0: ::windows::core::IntoParam<'a, super::MediaProperties::MediaEncodingProfile>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IPropertySet>>(&self, encodingprofile: Param0, customsinkactivationid: Param1, customsinksettings: Param2) -> ::windows::core::Result { let this = self; unsafe { @@ -11766,8 +11766,8 @@ impl MediaCapture { (::windows::core::Interface::vtable(this).CapturePhotoToStreamAsync)(::core::mem::transmute_copy(this), r#type.into_param().abi(), stream.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Media_Capture', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'Media_Capture', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn AddEffectAsync<'a, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IPropertySet>>(&self, mediastreamtype: MediaStreamType, effectactivationid: Param1, effectsettings: Param2) -> ::windows::core::Result { let this = self; unsafe { @@ -11919,8 +11919,8 @@ impl MediaCapture { (::windows::core::Interface::vtable(this).PrepareLowLagRecordToCustomSinkAsync)(::core::mem::transmute_copy(this), encodingprofile.into_param().abi(), custommediasink.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Media_Capture', 'Foundation', 'Foundation_Collections', 'Media_MediaProperties'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_MediaProperties"))] + #[doc = "*Required features: 'Media_Capture', 'Foundation_Collections', 'Media_MediaProperties'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Media_MediaProperties"))] pub fn PrepareLowLagRecordToCustomSinkIdAsync<'a, Param0: ::windows::core::IntoParam<'a, super::MediaProperties::MediaEncodingProfile>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IPropertySet>>(&self, encodingprofile: Param0, customsinkactivationid: Param1, customsinksettings: Param2) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -11946,8 +11946,8 @@ impl MediaCapture { (::windows::core::Interface::vtable(this).PrepareLowLagPhotoSequenceCaptureAsync)(::core::mem::transmute_copy(this), r#type.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Media_Capture', 'Foundation', 'Foundation_Collections', 'Media_MediaProperties'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_MediaProperties"))] + #[doc = "*Required features: 'Media_Capture', 'Foundation_Collections', 'Media_MediaProperties'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Media_MediaProperties"))] pub fn SetEncodingPropertiesAsync<'a, Param1: ::windows::core::IntoParam<'a, super::MediaProperties::IMediaEncodingProperties>, Param2: ::windows::core::IntoParam<'a, super::MediaProperties::MediaPropertySet>>(&self, mediastreamtype: MediaStreamType, mediaencodingproperties: Param1, encoderproperties: Param2) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -12182,8 +12182,8 @@ impl MediaCapture { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).RemoveCaptureDeviceExclusiveControlStatusChanged)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } } - #[doc = "*Required features: 'Media_Capture', 'Foundation', 'Foundation_Collections', 'Media_Capture_Frames'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Capture_Frames"))] + #[doc = "*Required features: 'Media_Capture', 'Foundation_Collections', 'Media_Capture_Frames'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Media_Capture_Frames"))] pub fn CreateMultiSourceFrameReaderAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, inputsources: Param0) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -12249,8 +12249,8 @@ impl MediaCapture { (::windows::core::Interface::vtable(this).StartPreviewToCustomSinkAsync)(::core::mem::transmute_copy(this), encodingprofile.into_param().abi(), custommediasink.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Media_Capture', 'Foundation', 'Foundation_Collections', 'Media_MediaProperties'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_MediaProperties"))] + #[doc = "*Required features: 'Media_Capture', 'Foundation_Collections', 'Media_MediaProperties'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Media_MediaProperties"))] pub fn StartPreviewToCustomSinkIdAsync<'a, Param0: ::windows::core::IntoParam<'a, super::MediaProperties::MediaEncodingProfile>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IPropertySet>>(&self, encodingprofile: Param0, customsinkactivationid: Param1, customsinksettings: Param2) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Media/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Core/mod.rs index 76d990eca6..9dd8fceba9 100644 --- a/crates/libs/windows/src/Windows/Media/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/mod.rs @@ -1038,8 +1038,8 @@ impl CodecQuery { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); unsafe { SHARED.call(callback) } } - #[doc = "*Required features: 'Media_Core', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_Core', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync<'a, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, kind: CodecKind, category: CodecCategory, subtype: Param2) -> ::windows::core::Result>> { let this = self; unsafe { @@ -2687,9 +2687,9 @@ unsafe impl ::windows::core::Interface for ICodecQuery { #[doc(hidden)] pub struct ICodecQuery_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, kind: CodecKind, category: CodecCategory, subtype: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, } #[doc(hidden)] @@ -2974,9 +2974,9 @@ pub struct ILowLightFusionStatics_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Graphics_Imaging")))] SupportedBitmapPixelFormats: usize, pub MaxSupportedFrameCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Graphics_Imaging"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_Imaging"))] pub FuseAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, frameset: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Graphics_Imaging")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Graphics_Imaging")))] FuseAsync: usize, } #[doc(hidden)] @@ -4462,9 +4462,9 @@ pub struct IMseSourceBuffer_Vtbl { pub Mode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut MseAppendMode) -> ::windows::core::HRESULT, pub SetMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: MseAppendMode) -> ::windows::core::HRESULT, pub IsUpdating: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub Buffered: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] Buffered: usize, #[cfg(feature = "Foundation")] pub TimestampOffset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::Foundation::TimeSpan) -> ::windows::core::HRESULT, @@ -5847,8 +5847,8 @@ impl LowLightFusion { (::windows::core::Interface::vtable(this).MaxSupportedFrameCount)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Media_Core', 'Foundation', 'Foundation_Collections', 'Graphics_Imaging'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Graphics_Imaging"))] + #[doc = "*Required features: 'Media_Core', 'Foundation_Collections', 'Graphics_Imaging'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_Imaging"))] pub fn FuseAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(frameset: Param0) -> ::windows::core::Result> { Self::ILowLightFusionStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -9487,8 +9487,8 @@ impl MseSourceBuffer { (::windows::core::Interface::vtable(this).IsUpdating)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Media_Core', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_Core', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn Buffered(&self) -> ::windows::core::Result> { let this = self; unsafe { 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 7bd53ccc70..b262fcfb56 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs @@ -55,8 +55,8 @@ impl CameraIntrinsics { (::windows::core::Interface::vtable(this).ImageHeight)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Media_Devices_Core', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Media_Devices_Core', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn ProjectOntoFrame<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Numerics::Vector3>>(&self, coordinate: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -64,8 +64,8 @@ impl CameraIntrinsics { (::windows::core::Interface::vtable(this).ProjectOntoFrame)(::core::mem::transmute_copy(this), coordinate.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Media_Devices_Core', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Media_Devices_Core', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn UnprojectAtUnitDepth<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Point>>(&self, pixelcoordinate: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -73,14 +73,14 @@ impl CameraIntrinsics { (::windows::core::Interface::vtable(this).UnprojectAtUnitDepth)(::core::mem::transmute_copy(this), pixelcoordinate.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Media_Devices_Core', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Media_Devices_Core', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn ProjectManyOntoFrame(&self, coordinates: &[super::super::super::Foundation::Numerics::Vector3], results: &mut [super::super::super::Foundation::Point]) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).ProjectManyOntoFrame)(::core::mem::transmute_copy(this), coordinates.len() as u32, ::core::mem::transmute(coordinates.as_ptr()), results.len() as u32, ::core::mem::transmute_copy(&results)).ok() } } - #[doc = "*Required features: 'Media_Devices_Core', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Media_Devices_Core', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn UnprojectPixelsAtUnitDepth(&self, pixelcoordinates: &[super::super::super::Foundation::Point], results: &mut [super::super::super::Foundation::Numerics::Vector2]) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).UnprojectPixelsAtUnitDepth)(::core::mem::transmute_copy(this), pixelcoordinates.len() as u32, ::core::mem::transmute(pixelcoordinates.as_ptr()), results.len() as u32, ::core::mem::transmute_copy(&results)).ok() } @@ -220,8 +220,8 @@ impl DepthCorrelatedCoordinateMapper { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).Close)(::core::mem::transmute_copy(this)).ok() } } - #[doc = "*Required features: 'Media_Devices_Core', 'Foundation', 'Foundation_Numerics', 'Perception_Spatial'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[doc = "*Required features: 'Media_Devices_Core', 'Foundation_Numerics', 'Perception_Spatial'*"] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub fn UnprojectPoint<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Point>, Param1: ::windows::core::IntoParam<'a, super::super::super::Perception::Spatial::SpatialCoordinateSystem>>(&self, sourcepoint: Param0, targetcoordinatesystem: Param1) -> ::windows::core::Result { let this = self; unsafe { @@ -229,8 +229,8 @@ impl DepthCorrelatedCoordinateMapper { (::windows::core::Interface::vtable(this).UnprojectPoint)(::core::mem::transmute_copy(this), sourcepoint.into_param().abi(), targetcoordinatesystem.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Media_Devices_Core', 'Foundation', 'Foundation_Numerics', 'Perception_Spatial'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[doc = "*Required features: 'Media_Devices_Core', 'Foundation_Numerics', 'Perception_Spatial'*"] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub fn UnprojectPoints<'a, Param1: ::windows::core::IntoParam<'a, super::super::super::Perception::Spatial::SpatialCoordinateSystem>>(&self, sourcepoints: &[super::super::super::Foundation::Point], targetcoordinatesystem: Param1, results: &mut [super::super::super::Foundation::Numerics::Vector3]) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).UnprojectPoints)(::core::mem::transmute_copy(this), sourcepoints.len() as u32, ::core::mem::transmute(sourcepoints.as_ptr()), targetcoordinatesystem.into_param().abi(), results.len() as u32, ::core::mem::transmute_copy(&results)).ok() } @@ -1718,21 +1718,21 @@ pub struct ICameraIntrinsics_Vtbl { TangentialDistortion: usize, pub ImageWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut u32) -> ::windows::core::HRESULT, pub ImageHeight: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub ProjectOntoFrame: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, coordinate: super::super::super::Foundation::Numerics::Vector3, result__: *mut super::super::super::Foundation::Point) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] ProjectOntoFrame: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub UnprojectAtUnitDepth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pixelcoordinate: super::super::super::Foundation::Point, result__: *mut super::super::super::Foundation::Numerics::Vector2) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] UnprojectAtUnitDepth: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub ProjectManyOntoFrame: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, coordinates_array_size: u32, coordinates: *const super::super::super::Foundation::Numerics::Vector3, results_array_size: u32, results: *mut super::super::super::Foundation::Point) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] ProjectManyOntoFrame: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub UnprojectPixelsAtUnitDepth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pixelCoordinates_array_size: u32, pixelcoordinates: *const super::super::super::Foundation::Point, results_array_size: u32, results: *mut super::super::super::Foundation::Numerics::Vector2) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] UnprojectPixelsAtUnitDepth: usize, } #[doc(hidden)] @@ -1794,13 +1794,13 @@ unsafe impl ::windows::core::Interface for IDepthCorrelatedCoordinateMapper { #[doc(hidden)] pub struct IDepthCorrelatedCoordinateMapper_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub UnprojectPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sourcepoint: super::super::super::Foundation::Point, targetcoordinatesystem: ::windows::core::RawPtr, result__: *mut super::super::super::Foundation::Numerics::Vector3) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "Perception_Spatial")))] UnprojectPoint: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub UnprojectPoints: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sourcePoints_array_size: u32, sourcepoints: *const super::super::super::Foundation::Point, targetcoordinatesystem: ::windows::core::RawPtr, results_array_size: u32, results: *mut super::super::super::Foundation::Numerics::Vector3) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "Perception_Spatial")))] UnprojectPoints: usize, #[cfg(all(feature = "Foundation", feature = "Perception_Spatial"))] pub MapPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sourcepoint: super::super::super::Foundation::Point, targetcoordinatesystem: ::windows::core::RawPtr, targetcameraintrinsics: ::windows::core::RawPtr, result__: *mut super::super::super::Foundation::Point) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Media/Devices/impl.rs b/crates/libs/windows/src/Windows/Media/Devices/impl.rs index a875cc257b..5d27d75ed0 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/impl.rs @@ -41,17 +41,17 @@ impl IDefaultAudioDeviceChangedEventArgs_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Capture", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Capture", feature = "Media_MediaProperties"))] pub trait IMediaDeviceController_Impl: Sized { fn GetAvailableMediaStreamProperties(&self, mediastreamtype: super::Capture::MediaStreamType) -> ::windows::core::Result>; fn GetMediaStreamProperties(&self, mediastreamtype: super::Capture::MediaStreamType) -> ::windows::core::Result; fn SetMediaStreamPropertiesAsync(&self, mediastreamtype: super::Capture::MediaStreamType, mediaencodingproperties: &::core::option::Option) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Capture", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Capture", feature = "Media_MediaProperties"))] impl ::windows::core::RuntimeName for IMediaDeviceController { const NAME: &'static str = "Windows.Media.Devices.IMediaDeviceController"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Media_Capture", feature = "Media_MediaProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Media_Capture", feature = "Media_MediaProperties"))] impl IMediaDeviceController_Vtbl { pub const fn new() -> IMediaDeviceController_Vtbl { unsafe extern "system" fn GetAvailableMediaStreamProperties(this: *mut ::core::ffi::c_void, mediastreamtype: super::Capture::MediaStreamType, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/mod.rs index 9742b1cf5d..0da8fec2a1 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/mod.rs @@ -4896,13 +4896,13 @@ unsafe impl ::windows::core::Interface for IRegionsOfInterestControl { pub struct IRegionsOfInterestControl_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub MaxRegions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SetRegionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, regions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SetRegionsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SetRegionsWithLockAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, regions: ::windows::core::RawPtr, lockvalues: bool, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SetRegionsWithLockAsync: usize, #[cfg(feature = "Foundation")] pub ClearRegionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -7281,8 +7281,8 @@ impl RegionsOfInterestControl { (::windows::core::Interface::vtable(this).MaxRegions)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Media_Devices', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_Devices', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SetRegionsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, regions: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -7290,8 +7290,8 @@ impl RegionsOfInterestControl { (::windows::core::Interface::vtable(this).SetRegionsAsync)(::core::mem::transmute_copy(this), regions.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Media_Devices', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_Devices', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SetRegionsWithLockAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, regions: Param0, lockvalues: bool) -> ::windows::core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs index fb0649b160..475a1f25b6 100644 --- a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs +++ b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs @@ -934,8 +934,8 @@ unsafe impl ::core::marker::Sync for DialDisconnectButtonClickedEventArgs {} #[repr(transparent)] pub struct DialReceiverApp(::windows::core::IUnknown); impl DialReceiverApp { - #[doc = "*Required features: 'Media_DialProtocol', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_DialProtocol', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetAdditionalDataAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -943,8 +943,8 @@ impl DialReceiverApp { (::windows::core::Interface::vtable(this).GetAdditionalDataAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Media_DialProtocol', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_DialProtocol', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SetAdditionalDataAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(&self, additionaldata: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -1249,13 +1249,13 @@ unsafe impl ::windows::core::Interface for IDialReceiverApp { #[doc(hidden)] pub struct IDialReceiverApp_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetAdditionalDataAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetAdditionalDataAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SetAdditionalDataAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, additionaldata: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SetAdditionalDataAsync: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Media/Editing/mod.rs b/crates/libs/windows/src/Windows/Media/Editing/mod.rs index 95d3601bd8..65c4700097 100644 --- a/crates/libs/windows/src/Windows/Media/Editing/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Editing/mod.rs @@ -530,9 +530,9 @@ pub struct IMediaComposition_Vtbl { pub GetThumbnailAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, timefromstart: super::super::Foundation::TimeSpan, scaledwidth: i32, scaledheight: i32, frameprecision: VideoFramePrecision, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Graphics_Imaging", feature = "Storage_Streams")))] GetThumbnailAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Graphics_Imaging", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_Imaging", feature = "Storage_Streams"))] pub GetThumbnailsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, timesfromstart: ::windows::core::RawPtr, scaledwidth: i32, scaledheight: i32, frameprecision: VideoFramePrecision, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Graphics_Imaging", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Graphics_Imaging", feature = "Storage_Streams")))] GetThumbnailsAsync: usize, #[cfg(all(feature = "Foundation", feature = "Media_Transcoding", feature = "Storage"))] pub RenderToFileAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, destination: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1020,8 +1020,8 @@ impl MediaComposition { (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::core::mem::transmute_copy(this), timefromstart.into_param().abi(), scaledwidth, scaledheight, frameprecision, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Media_Editing', 'Foundation', 'Foundation_Collections', 'Graphics_Imaging', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Graphics_Imaging", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Media_Editing', 'Foundation_Collections', 'Graphics_Imaging', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_Imaging", feature = "Storage_Streams"))] pub fn GetThumbnailsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, timesfromstart: Param0, scaledwidth: i32, scaledheight: i32, frameprecision: VideoFramePrecision) -> ::windows::core::Result>> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs b/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs index 662aa65a0a..7d5a71639c 100644 --- a/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs @@ -89,8 +89,8 @@ unsafe impl ::core::marker::Sync for DetectedFace {} #[repr(transparent)] pub struct FaceDetector(::windows::core::IUnknown); impl FaceDetector { - #[doc = "*Required features: 'Media_FaceAnalysis', 'Foundation', 'Foundation_Collections', 'Graphics_Imaging'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Graphics_Imaging"))] + #[doc = "*Required features: 'Media_FaceAnalysis', 'Foundation_Collections', 'Graphics_Imaging'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_Imaging"))] pub fn DetectFacesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Graphics::Imaging::SoftwareBitmap>>(&self, image: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -98,8 +98,8 @@ impl FaceDetector { (::windows::core::Interface::vtable(this).DetectFacesAsync)(::core::mem::transmute_copy(this), image.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Media_FaceAnalysis', 'Foundation', 'Foundation_Collections', 'Graphics_Imaging'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Graphics_Imaging"))] + #[doc = "*Required features: 'Media_FaceAnalysis', 'Foundation_Collections', 'Graphics_Imaging'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_Imaging"))] pub fn DetectFacesWithSearchAreaAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Graphics::Imaging::SoftwareBitmap>, Param1: ::windows::core::IntoParam<'a, super::super::Graphics::Imaging::BitmapBounds>>(&self, image: Param0, searcharea: Param1) -> ::windows::core::Result>> { let this = self; unsafe { @@ -250,8 +250,8 @@ unsafe impl ::core::marker::Sync for FaceDetector {} #[repr(transparent)] pub struct FaceTracker(::windows::core::IUnknown); impl FaceTracker { - #[doc = "*Required features: 'Media_FaceAnalysis', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_FaceAnalysis', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ProcessNextFrameAsync<'a, Param0: ::windows::core::IntoParam<'a, super::VideoFrame>>(&self, videoframe: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -425,13 +425,13 @@ unsafe impl ::windows::core::Interface for IFaceDetector { #[doc(hidden)] pub struct IFaceDetector_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Graphics_Imaging"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_Imaging"))] pub DetectFacesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, image: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Graphics_Imaging")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Graphics_Imaging")))] DetectFacesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Graphics_Imaging"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_Imaging"))] pub DetectFacesWithSearchAreaAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, image: ::windows::core::RawPtr, searcharea: super::super::Graphics::Imaging::BitmapBounds, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Graphics_Imaging")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Graphics_Imaging")))] DetectFacesWithSearchAreaAsync: usize, #[cfg(feature = "Graphics_Imaging")] pub MinDetectableFaceSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::Graphics::Imaging::BitmapSize) -> ::windows::core::HRESULT, @@ -486,9 +486,9 @@ unsafe impl ::windows::core::Interface for IFaceTracker { #[doc(hidden)] pub struct IFaceTracker_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ProcessNextFrameAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, videoframe: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ProcessNextFrameAsync: usize, #[cfg(feature = "Graphics_Imaging")] pub MinDetectableFaceSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::Graphics::Imaging::BitmapSize) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Media/Import/mod.rs b/crates/libs/windows/src/Windows/Media/Import/mod.rs index ae4eb15c48..f55bdd861e 100644 --- a/crates/libs/windows/src/Windows/Media/Import/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Import/mod.rs @@ -225,9 +225,9 @@ pub struct IPhotoImportManagerStatics_Vtbl { pub IsSupportedAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] IsSupportedAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllSourcesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllSourcesAsync: usize, #[cfg(feature = "Foundation_Collections")] pub GetPendingOperations: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1659,8 +1659,8 @@ impl PhotoImportManager { (::windows::core::Interface::vtable(this).IsSupportedAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Media_Import', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_Import', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllSourcesAsync() -> ::windows::core::Result>> { Self::IPhotoImportManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Media/Playback/mod.rs b/crates/libs/windows/src/Windows/Media/Playback/mod.rs index 6001e99f30..4a88a00ffa 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/mod.rs @@ -974,25 +974,25 @@ unsafe impl ::windows::core::Interface for IMediaPlaybackItem { #[doc(hidden)] pub struct IMediaPlaybackItem_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub AudioTracksChanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, handler: ::windows::core::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] AudioTracksChanged: usize, #[cfg(feature = "Foundation")] pub RemoveAudioTracksChanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RemoveAudioTracksChanged: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub VideoTracksChanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, handler: ::windows::core::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] VideoTracksChanged: usize, #[cfg(feature = "Foundation")] pub RemoveVideoTracksChanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RemoveVideoTracksChanged: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub TimedMetadataTracksChanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, handler: ::windows::core::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] TimedMetadataTracksChanged: usize, #[cfg(feature = "Foundation")] pub RemoveTimedMetadataTracksChanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, @@ -1426,17 +1426,17 @@ pub struct IMediaPlaybackSession2_Vtbl { pub SphericalVideoProjection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub IsMirroring: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, pub SetIsMirroring: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: bool) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetBufferedRanges: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetBufferedRanges: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetPlayedRanges: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetPlayedRanges: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSeekableRanges: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSeekableRanges: usize, pub IsSupportedPlaybackRateRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rate1: f64, rate2: f64, result__: *mut bool) -> ::windows::core::HRESULT, } @@ -1608,9 +1608,9 @@ unsafe impl ::windows::core::Interface for IMediaPlaybackTimedMetadataTrackList #[doc(hidden)] pub struct IMediaPlaybackTimedMetadataTrackList_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub PresentationModeChanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, handler: ::windows::core::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] PresentationModeChanged: usize, #[cfg(feature = "Foundation")] pub RemovePresentationModeChanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, @@ -4920,8 +4920,8 @@ unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerShuffleReceivedE #[repr(transparent)] pub struct MediaPlaybackItem(::windows::core::IUnknown); impl MediaPlaybackItem { - #[doc = "*Required features: 'Media_Playback', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_Playback', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn AudioTracksChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::TypedEventHandler>>(&self, handler: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -4935,8 +4935,8 @@ impl MediaPlaybackItem { let this = self; unsafe { (::windows::core::Interface::vtable(this).RemoveAudioTracksChanged)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } } - #[doc = "*Required features: 'Media_Playback', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_Playback', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn VideoTracksChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::TypedEventHandler>>(&self, handler: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -4950,8 +4950,8 @@ impl MediaPlaybackItem { let this = self; unsafe { (::windows::core::Interface::vtable(this).RemoveVideoTracksChanged)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } } - #[doc = "*Required features: 'Media_Playback', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_Playback', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn TimedMetadataTracksChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::TypedEventHandler>>(&self, handler: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -6232,8 +6232,8 @@ impl MediaPlaybackSession { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetIsMirroring)(::core::mem::transmute_copy(this), value).ok() } } - #[doc = "*Required features: 'Media_Playback', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_Playback', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetBufferedRanges(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -6241,8 +6241,8 @@ impl MediaPlaybackSession { (::windows::core::Interface::vtable(this).GetBufferedRanges)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Media_Playback', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_Playback', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetPlayedRanges(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -6250,8 +6250,8 @@ impl MediaPlaybackSession { (::windows::core::Interface::vtable(this).GetPlayedRanges)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Media_Playback', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_Playback', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSeekableRanges(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -6770,8 +6770,8 @@ impl MediaPlaybackTimedMetadataTrackList { (::windows::core::Interface::vtable(this).First)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Media_Playback', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_Playback', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn PresentationModeChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::TypedEventHandler>>(&self, handler: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs index 862229b896..b5dc4311af 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs @@ -673,9 +673,9 @@ pub struct IVoiceCommandSet_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub Language: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, pub Name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SetPhraseListAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, phraselistname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, phraselist: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SetPhraseListAsync: usize, } #[doc = "*Required features: 'Media_SpeechRecognition'*"] @@ -3269,8 +3269,8 @@ impl VoiceCommandSet { (::windows::core::Interface::vtable(this).Name)(::core::mem::transmute_copy(this), &mut result__).from_abi::<::windows::core::HSTRING>(result__) } } - #[doc = "*Required features: 'Media_SpeechRecognition', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Media_SpeechRecognition', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SetPhraseListAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, phraselistname: Param0, phraselist: Param1) -> ::windows::core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Media/impl.rs b/crates/libs/windows/src/Windows/Media/impl.rs index f24b0a1165..b4f8c1d4c6 100644 --- a/crates/libs/windows/src/Windows/Media/impl.rs +++ b/crates/libs/windows/src/Windows/Media/impl.rs @@ -20,7 +20,7 @@ impl IMediaExtension_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait IMediaFrame_Impl: Sized + super::Foundation::IClosable_Impl { fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING>; fn IsReadOnly(&self) -> ::windows::core::Result; @@ -34,11 +34,11 @@ pub trait IMediaFrame_Impl: Sized + super::Foundation::IClosable_Impl { fn IsDiscontinuous(&self) -> ::windows::core::Result; fn ExtendedProperties(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for IMediaFrame { const NAME: &'static str = "Windows.Media.IMediaFrame"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl IMediaFrame_Vtbl { pub const fn new() -> IMediaFrame_Vtbl { unsafe extern "system" fn Type(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/Media/mod.rs b/crates/libs/windows/src/Windows/Media/mod.rs index 00eb4f2369..9b7ce88b0b 100644 --- a/crates/libs/windows/src/Windows/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Media/mod.rs @@ -1955,9 +1955,9 @@ pub struct IVideoFrameStatics_Vtbl { pub CreateAsDirect3D11SurfaceBacked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, format: super::Graphics::DirectX::DirectXPixelFormat, width: i32, height: i32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Graphics_DirectX"))] CreateAsDirect3D11SurfaceBacked: usize, - #[cfg(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11"))] + #[cfg(feature = "Graphics_DirectX_Direct3D11")] pub CreateAsDirect3D11SurfaceBackedWithDevice: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, format: super::Graphics::DirectX::DirectXPixelFormat, width: i32, height: i32, device: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11")))] + #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] CreateAsDirect3D11SurfaceBackedWithDevice: usize, #[cfg(feature = "Graphics_Imaging")] pub CreateWithSoftwareBitmap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bitmap: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4762,8 +4762,8 @@ impl VideoFrame { (::windows::core::Interface::vtable(this).CreateAsDirect3D11SurfaceBacked)(::core::mem::transmute_copy(this), format, width, height, &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Media', 'Graphics_DirectX', 'Graphics_DirectX_Direct3D11'*"] - #[cfg(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11"))] + #[doc = "*Required features: 'Media', 'Graphics_DirectX_Direct3D11'*"] + #[cfg(feature = "Graphics_DirectX_Direct3D11")] pub fn CreateAsDirect3D11SurfaceBackedWithDevice<'a, Param3: ::windows::core::IntoParam<'a, super::Graphics::DirectX::Direct3D11::IDirect3DDevice>>(format: super::Graphics::DirectX::DirectXPixelFormat, width: i32, height: i32, device: Param3) -> ::windows::core::Result { Self::IVideoFrameStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs index e0aaddfcbf..970e011d88 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs @@ -69,8 +69,8 @@ impl BackgroundDownloader { (::windows::core::Interface::vtable(this).CreateDownloadFromFile)(::core::mem::transmute_copy(this), uri.into_param().abi(), resultfile.into_param().abi(), requestbodyfile.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation', 'Storage', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Storage", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub fn CreateDownloadAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Storage::IStorageFile>, Param2: ::windows::core::IntoParam<'a, super::super::Storage::Streams::IInputStream>>(&self, uri: Param0, resultfile: Param1, requestbodystream: Param2) -> ::windows::core::Result> { let this = self; unsafe { @@ -166,32 +166,32 @@ impl BackgroundDownloader { (::windows::core::Interface::vtable(this).CreateWithCompletionGroup)(::core::mem::transmute_copy(this), completiongroup.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetCurrentDownloadsAsync() -> ::windows::core::Result>> { Self::IBackgroundDownloaderStaticMethods(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentDownloadsAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn GetCurrentDownloadsForGroupAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(group: Param0) -> ::windows::core::Result>> { Self::IBackgroundDownloaderStaticMethods(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentDownloadsForGroupAsync)(::core::mem::transmute_copy(this), group.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetCurrentDownloadsForTransferGroupAsync<'a, Param0: ::windows::core::IntoParam<'a, BackgroundTransferGroup>>(group: Param0) -> ::windows::core::Result>> { Self::IBackgroundDownloaderStaticMethods2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentDownloadsForTransferGroupAsync)(::core::mem::transmute_copy(this), group.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn RequestUnconstrainedDownloadsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(operations: Param0) -> ::windows::core::Result> { Self::IBackgroundDownloaderUserConsent(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1275,8 +1275,8 @@ impl BackgroundUploader { (::windows::core::Interface::vtable(this).CreateUploadFromStreamAsync)(::core::mem::transmute_copy(this), uri.into_param().abi(), sourcestream.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn CreateUploadWithFormDataAndAutoBoundaryAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, uri: Param0, parts: Param1) -> ::windows::core::Result> { let this = self; unsafe { @@ -1284,8 +1284,8 @@ impl BackgroundUploader { (::windows::core::Interface::vtable(this).CreateUploadWithFormDataAndAutoBoundaryAsync)(::core::mem::transmute_copy(this), uri.into_param().abi(), parts.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn CreateUploadWithSubTypeAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, uri: Param0, parts: Param1, subtype: Param2) -> ::windows::core::Result> { let this = self; unsafe { @@ -1293,8 +1293,8 @@ impl BackgroundUploader { (::windows::core::Interface::vtable(this).CreateUploadWithSubTypeAsync)(::core::mem::transmute_copy(this), uri.into_param().abi(), parts.into_param().abi(), subtype.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn CreateUploadWithSubTypeAndBoundaryAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param3: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(&self, uri: Param0, parts: Param1, subtype: Param2, boundary: Param3) -> ::windows::core::Result> { let this = self; unsafe { @@ -1390,32 +1390,32 @@ impl BackgroundUploader { (::windows::core::Interface::vtable(this).CreateWithCompletionGroup)(::core::mem::transmute_copy(this), completiongroup.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetCurrentUploadsAsync() -> ::windows::core::Result>> { Self::IBackgroundUploaderStaticMethods(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentUploadsAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn GetCurrentUploadsForGroupAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(group: Param0) -> ::windows::core::Result>> { Self::IBackgroundUploaderStaticMethods(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentUploadsForGroupAsync)(::core::mem::transmute_copy(this), group.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetCurrentUploadsForTransferGroupAsync<'a, Param0: ::windows::core::IntoParam<'a, BackgroundTransferGroup>>(group: Param0) -> ::windows::core::Result>> { Self::IBackgroundUploaderStaticMethods2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentUploadsForTransferGroupAsync)(::core::mem::transmute_copy(this), group.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn RequestUnconstrainedUploadsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(operations: Param0) -> ::windows::core::Result> { Self::IBackgroundUploaderUserConsent(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1541,8 +1541,8 @@ unsafe impl ::core::marker::Sync for BackgroundUploader {} #[doc = "*Required features: 'Networking_BackgroundTransfer'*"] pub struct ContentPrefetcher {} impl ContentPrefetcher { - #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_BackgroundTransfer', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ContentUris() -> ::windows::core::Result> { Self::IContentPrefetcher(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1939,9 +1939,9 @@ pub struct IBackgroundDownloader_Vtbl { pub CreateDownloadFromFile: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::RawPtr, resultfile: ::windows::core::RawPtr, requestbodyfile: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Storage")))] CreateDownloadFromFile: usize, - #[cfg(all(feature = "Foundation", feature = "Storage", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub CreateDownloadAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::RawPtr, resultfile: ::windows::core::RawPtr, requestbodystream: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Storage", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation", feature = "Storage_Streams")))] CreateDownloadAsync: usize, } #[doc(hidden)] @@ -2027,13 +2027,13 @@ unsafe impl ::windows::core::Interface for IBackgroundDownloaderStaticMethods { #[doc(hidden)] pub struct IBackgroundDownloaderStaticMethods_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetCurrentDownloadsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetCurrentDownloadsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub GetCurrentDownloadsForGroupAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, group: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetCurrentDownloadsForGroupAsync: usize, } #[doc(hidden)] @@ -2047,9 +2047,9 @@ unsafe impl ::windows::core::Interface for IBackgroundDownloaderStaticMethods2 { #[doc(hidden)] pub struct IBackgroundDownloaderStaticMethods2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetCurrentDownloadsForTransferGroupAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, group: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetCurrentDownloadsForTransferGroupAsync: usize, } #[doc(hidden)] @@ -2066,9 +2066,9 @@ unsafe impl ::windows::core::Interface for IBackgroundDownloaderUserConsent { #[doc(hidden)] pub struct IBackgroundDownloaderUserConsent_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub RequestUnconstrainedDownloadsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, operations: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] RequestUnconstrainedDownloadsAsync: usize, } #[doc = "*Required features: 'Networking_BackgroundTransfer'*"] @@ -2738,17 +2738,17 @@ pub struct IBackgroundUploader_Vtbl { pub CreateUploadFromStreamAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::RawPtr, sourcestream: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Storage_Streams")))] CreateUploadFromStreamAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub CreateUploadWithFormDataAndAutoBoundaryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::RawPtr, parts: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] CreateUploadWithFormDataAndAutoBoundaryAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub CreateUploadWithSubTypeAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::RawPtr, parts: ::windows::core::RawPtr, subtype: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] CreateUploadWithSubTypeAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub CreateUploadWithSubTypeAndBoundaryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::RawPtr, parts: ::windows::core::RawPtr, subtype: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, boundary: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] CreateUploadWithSubTypeAndBoundaryAsync: usize, } #[doc(hidden)] @@ -2834,13 +2834,13 @@ unsafe impl ::windows::core::Interface for IBackgroundUploaderStaticMethods { #[doc(hidden)] pub struct IBackgroundUploaderStaticMethods_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetCurrentUploadsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetCurrentUploadsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub GetCurrentUploadsForGroupAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, group: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetCurrentUploadsForGroupAsync: usize, } #[doc(hidden)] @@ -2854,9 +2854,9 @@ unsafe impl ::windows::core::Interface for IBackgroundUploaderStaticMethods2 { #[doc(hidden)] pub struct IBackgroundUploaderStaticMethods2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetCurrentUploadsForTransferGroupAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, group: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetCurrentUploadsForTransferGroupAsync: usize, } #[doc(hidden)] @@ -2873,9 +2873,9 @@ unsafe impl ::windows::core::Interface for IBackgroundUploaderUserConsent { #[doc(hidden)] pub struct IBackgroundUploaderUserConsent_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub RequestUnconstrainedUploadsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, operations: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] RequestUnconstrainedUploadsAsync: usize, } #[doc(hidden)] @@ -2889,9 +2889,9 @@ unsafe impl ::windows::core::Interface for IContentPrefetcher { #[doc(hidden)] pub struct IContentPrefetcher_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ContentUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ContentUris: usize, #[cfg(feature = "Foundation")] pub SetIndirectContentUri: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs index cd736d0640..715e868d6c 100644 --- a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs @@ -582,8 +582,8 @@ impl ConnectionProfile { (::windows::core::Interface::vtable(this).GetDomainConnectivityLevel)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Networking_Connectivity', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Connectivity', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetNetworkUsageAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param3: ::windows::core::IntoParam<'a, NetworkUsageStates>>(&self, starttime: Param0, endtime: Param1, granularity: DataUsageGranularity, states: Param3) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -591,8 +591,8 @@ impl ConnectionProfile { (::windows::core::Interface::vtable(this).GetNetworkUsageAsync)(::core::mem::transmute_copy(this), starttime.into_param().abi(), endtime.into_param().abi(), granularity, states.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Networking_Connectivity', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Connectivity', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetConnectivityIntervalsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param2: ::windows::core::IntoParam<'a, NetworkUsageStates>>(&self, starttime: Param0, endtime: Param1, states: Param2) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -600,8 +600,8 @@ impl ConnectionProfile { (::windows::core::Interface::vtable(this).GetConnectivityIntervalsAsync)(::core::mem::transmute_copy(this), starttime.into_param().abi(), endtime.into_param().abi(), states.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Networking_Connectivity', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Connectivity', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetAttributedNetworkUsageAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param2: ::windows::core::IntoParam<'a, NetworkUsageStates>>(&self, starttime: Param0, endtime: Param1, states: Param2) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -609,8 +609,8 @@ impl ConnectionProfile { (::windows::core::Interface::vtable(this).GetAttributedNetworkUsageAsync)(::core::mem::transmute_copy(this), starttime.into_param().abi(), endtime.into_param().abi(), states.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Networking_Connectivity', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Connectivity', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetProviderNetworkUsageAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>, Param2: ::windows::core::IntoParam<'a, NetworkUsageStates>>(&self, starttime: Param0, endtime: Param1, states: Param2) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1754,13 +1754,13 @@ pub struct IConnectionProfile2_Vtbl { #[cfg(not(feature = "Foundation"))] GetSignalBars: usize, pub GetDomainConnectivityLevel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut DomainConnectivityLevel) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetNetworkUsageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, starttime: super::super::Foundation::DateTime, endtime: super::super::Foundation::DateTime, granularity: DataUsageGranularity, states: NetworkUsageStates, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetNetworkUsageAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetConnectivityIntervalsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, starttime: super::super::Foundation::DateTime, endtime: super::super::Foundation::DateTime, states: NetworkUsageStates, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetConnectivityIntervalsAsync: usize, } #[doc(hidden)] @@ -1774,9 +1774,9 @@ unsafe impl ::windows::core::Interface for IConnectionProfile3 { #[doc(hidden)] pub struct IConnectionProfile3_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetAttributedNetworkUsageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, starttime: super::super::Foundation::DateTime, endtime: super::super::Foundation::DateTime, states: NetworkUsageStates, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetAttributedNetworkUsageAsync: usize, } #[doc(hidden)] @@ -1790,9 +1790,9 @@ unsafe impl ::windows::core::Interface for IConnectionProfile4 { #[doc(hidden)] pub struct IConnectionProfile4_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetProviderNetworkUsageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, starttime: super::super::Foundation::DateTime, endtime: super::super::Foundation::DateTime, states: NetworkUsageStates, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetProviderNetworkUsageAsync: usize, } #[doc(hidden)] @@ -2146,9 +2146,9 @@ unsafe impl ::windows::core::Interface for INetworkInformationStatics2 { #[doc(hidden)] pub struct INetworkInformationStatics2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindConnectionProfilesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pprofilefilter: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindConnectionProfilesAsync: usize, } #[doc(hidden)] @@ -2349,9 +2349,9 @@ unsafe impl ::windows::core::Interface for IProxyConfiguration { #[doc(hidden)] pub struct IProxyConfiguration_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ProxyUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ProxyUris: usize, pub CanConnectDirectly: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, } @@ -2976,8 +2976,8 @@ impl NetworkInformation { pub fn RemoveNetworkStatusChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(eventcookie: Param0) -> ::windows::core::Result<()> { Self::INetworkInformationStatics(|this| unsafe { (::windows::core::Interface::vtable(this).RemoveNetworkStatusChanged)(::core::mem::transmute_copy(this), eventcookie.into_param().abi()).ok() }) } - #[doc = "*Required features: 'Networking_Connectivity', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Connectivity', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindConnectionProfilesAsync<'a, Param0: ::windows::core::IntoParam<'a, ConnectionProfileFilter>>(pprofilefilter: Param0) -> ::windows::core::Result>> { Self::INetworkInformationStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -3715,8 +3715,8 @@ unsafe impl ::core::marker::Sync for ProviderNetworkUsage {} #[repr(transparent)] pub struct ProxyConfiguration(::windows::core::IUnknown); impl ProxyConfiguration { - #[doc = "*Required features: 'Networking_Connectivity', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Connectivity', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ProxyUris(&self) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs index 20121e4245..cda74e45dc 100644 --- a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs @@ -4277,9 +4277,9 @@ pub struct IMobileBroadbandSarManager_Vtbl { pub DisableBackoffAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] DisableBackoffAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SetConfigurationAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, antennas: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SetConfigurationAsync: usize, #[cfg(feature = "Foundation")] pub RevertSarToHardwareControlAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4407,13 +4407,13 @@ pub struct IMobileBroadbandUiccApp_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Id: usize, pub Kind: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut UiccAppKind) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetRecordDetailsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uiccfilepath: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetRecordDetailsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadRecordAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uiccfilepath: ::windows::core::RawPtr, recordindex: i32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadRecordAsync: usize, } #[doc(hidden)] @@ -9812,8 +9812,8 @@ impl MobileBroadbandSarManager { (::windows::core::Interface::vtable(this).DisableBackoffAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Networking_NetworkOperators', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_NetworkOperators', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SetConfigurationAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, antennas: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -10492,8 +10492,8 @@ impl MobileBroadbandUiccApp { (::windows::core::Interface::vtable(this).Kind)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Networking_NetworkOperators', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_NetworkOperators', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetRecordDetailsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, uiccfilepath: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -10501,8 +10501,8 @@ impl MobileBroadbandUiccApp { (::windows::core::Interface::vtable(this).GetRecordDetailsAsync)(::core::mem::transmute_copy(this), uiccfilepath.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Networking_NetworkOperators', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_NetworkOperators', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadRecordAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, uiccfilepath: Param0, recordindex: i32) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs index dfd801f7ac..061f38f529 100644 --- a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs @@ -304,9 +304,9 @@ pub struct IPeerFinderStatics_Vtbl { pub RemoveConnectionRequested: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cookie: super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RemoveConnectionRequested: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllPeersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllPeersAsync: usize, #[cfg(all(feature = "Foundation", feature = "Networking_Sockets"))] pub ConnectAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, peerinformation: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -866,8 +866,8 @@ impl PeerFinder { pub fn RemoveConnectionRequested<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(cookie: Param0) -> ::windows::core::Result<()> { Self::IPeerFinderStatics(|this| unsafe { (::windows::core::Interface::vtable(this).RemoveConnectionRequested)(::core::mem::transmute_copy(this), cookie.into_param().abi()).ok() }) } - #[doc = "*Required features: 'Networking_Proximity', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Proximity', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllPeersAsync() -> ::windows::core::Result>> { Self::IPeerFinderStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs index 57007f1618..8d38090500 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs @@ -524,16 +524,16 @@ impl DatagramSocket { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).TransferOwnershipWithContextAndKeepAliveTime)(::core::mem::transmute_copy(this), socketid.into_param().abi(), data.into_param().abi(), keepalivetime.into_param().abi()).ok() } } - #[doc = "*Required features: 'Networking_Sockets', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Sockets', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetEndpointPairsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::HostName>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(remotehostname: Param0, remoteservicename: Param1) -> ::windows::core::Result>> { Self::IDatagramSocketStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetEndpointPairsAsync)(::core::mem::transmute_copy(this), remotehostname.into_param().abi(), remoteservicename.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Networking_Sockets', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Sockets', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetEndpointPairsWithSortOptionsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::HostName>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(remotehostname: Param0, remoteservicename: Param1, sortoptions: super::HostNameSortOptions) -> ::windows::core::Result>> { Self::IDatagramSocketStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1447,13 +1447,13 @@ unsafe impl ::windows::core::Interface for IDatagramSocketStatics { #[doc(hidden)] pub struct IDatagramSocketStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetEndpointPairsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, remotehostname: ::windows::core::RawPtr, remoteservicename: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetEndpointPairsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetEndpointPairsWithSortOptionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, remotehostname: ::windows::core::RawPtr, remoteservicename: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, sortoptions: super::HostNameSortOptions, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetEndpointPairsWithSortOptionsAsync: usize, } #[doc(hidden)] @@ -2152,13 +2152,13 @@ unsafe impl ::windows::core::Interface for IStreamSocketStatics { #[doc(hidden)] pub struct IStreamSocketStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetEndpointPairsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, remotehostname: ::windows::core::RawPtr, remoteservicename: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetEndpointPairsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetEndpointPairsWithSortOptionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, remotehostname: ::windows::core::RawPtr, remoteservicename: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, sortoptions: super::HostNameSortOptions, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetEndpointPairsWithSortOptionsAsync: usize, } #[doc(hidden)] @@ -5363,16 +5363,16 @@ impl StreamSocket { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).TransferOwnershipWithContextAndKeepAliveTime)(::core::mem::transmute_copy(this), socketid.into_param().abi(), data.into_param().abi(), keepalivetime.into_param().abi()).ok() } } - #[doc = "*Required features: 'Networking_Sockets', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Sockets', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetEndpointPairsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::HostName>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(remotehostname: Param0, remoteservicename: Param1) -> ::windows::core::Result>> { Self::IStreamSocketStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetEndpointPairsAsync)(::core::mem::transmute_copy(this), remotehostname.into_param().abi(), remoteservicename.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Networking_Sockets', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Sockets', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetEndpointPairsWithSortOptionsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::HostName>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(remotehostname: Param0, remoteservicename: Param1, sortoptions: super::HostNameSortOptions) -> ::windows::core::Result>> { Self::IStreamSocketStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs index e2ac815d06..064f31e51a 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs @@ -100,9 +100,9 @@ pub struct IVpnChannel2_Vtbl { RemoveActivityStateChange: usize, pub GetVpnSendPacketBuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub GetVpnReceivePacketBuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestCustomPromptAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, custompromptelement: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestCustomPromptAsync: usize, #[cfg(all(feature = "Foundation", feature = "Security_Cryptography_Certificates"))] pub RequestCredentialsWithCertificateAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, credtype: VpnCredentialType, credoptions: u32, certificate: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -233,9 +233,9 @@ unsafe impl ::windows::core::Interface for IVpnChannelConfiguration2 { #[doc(hidden)] pub struct IVpnChannelConfiguration2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ServerUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ServerUris: usize, } #[doc = "*Required features: 'Networking_Vpn'*"] @@ -891,9 +891,9 @@ unsafe impl ::windows::core::Interface for IVpnDomainNameInfo2 { #[doc(hidden)] pub struct IVpnDomainNameInfo2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub WebProxyUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] WebProxyUris: usize, } #[doc = "*Required features: 'Networking_Vpn'*"] @@ -1146,9 +1146,9 @@ pub struct IVpnManagementAgent_Vtbl { pub UpdateProfileFromObjectAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, profile: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] UpdateProfileFromObjectAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetProfilesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetProfilesAsync: usize, #[cfg(feature = "Foundation")] pub DeleteProfileAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, profile: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1664,9 +1664,9 @@ unsafe impl ::windows::core::Interface for IVpnPlugInProfile { #[doc(hidden)] pub struct IVpnPlugInProfile_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ServerUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ServerUris: usize, pub CustomConfiguration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, pub SetCustomConfiguration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, @@ -2445,8 +2445,8 @@ impl VpnChannel { (::windows::core::Interface::vtable(this).GetVpnReceivePacketBuffer)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Networking_Vpn', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Vpn', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestCustomPromptAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IVectorView>>(&self, custompromptelement: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2899,8 +2899,8 @@ impl VpnChannelConfiguration { (::windows::core::Interface::vtable(this).CustomField)(::core::mem::transmute_copy(this), &mut result__).from_abi::<::windows::core::HSTRING>(result__) } } - #[doc = "*Required features: 'Networking_Vpn', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Vpn', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ServerUris(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -4888,8 +4888,8 @@ impl VpnDomainNameInfo { (::windows::core::Interface::vtable(this).WebProxyServers)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Networking_Vpn', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Vpn', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn WebProxyUris(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -5471,8 +5471,8 @@ impl VpnManagementAgent { (::windows::core::Interface::vtable(this).UpdateProfileFromObjectAsync)(::core::mem::transmute_copy(this), profile.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Networking_Vpn', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Vpn', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetProfilesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -6707,8 +6707,8 @@ impl VpnPlugInProfile { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); unsafe { SHARED.call(callback) } } - #[doc = "*Required features: 'Networking_Vpn', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Networking_Vpn', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ServerUris(&self) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Perception/People/mod.rs b/crates/libs/windows/src/Windows/Perception/People/mod.rs index e2b7c11db6..c1d33547cf 100644 --- a/crates/libs/windows/src/Windows/Perception/People/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/People/mod.rs @@ -11,8 +11,8 @@ impl EyesPose { (::windows::core::Interface::vtable(this).IsCalibrationValid)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Perception_People', 'Foundation', 'Foundation_Numerics', 'Perception_Spatial'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[doc = "*Required features: 'Perception_People', 'Foundation_Numerics', 'Perception_Spatial'*"] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub fn Gaze(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -691,9 +691,9 @@ unsafe impl ::windows::core::Interface for IEyesPose { pub struct IEyesPose_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub IsCalibrationValid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub Gaze: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "Perception_Spatial")))] Gaze: usize, pub UpdateTimestamp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, } 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 9a49e96793..5f2555ce8d 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs @@ -15,9 +15,9 @@ pub struct ISpatialSurfaceInfo_Vtbl { pub UpdateTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::super::Foundation::DateTime) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] UpdateTime: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub TryGetBounds: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, coordinatesystem: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] TryGetBounds: usize, #[cfg(feature = "Foundation")] pub TryComputeLatestMeshAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, maxtrianglespercubicmeter: f64, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -212,8 +212,8 @@ impl SpatialSurfaceInfo { (::windows::core::Interface::vtable(this).UpdateTime)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Perception_Spatial_Surfaces', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Perception_Spatial_Surfaces', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn TryGetBounds<'a, Param0: ::windows::core::IntoParam<'a, super::SpatialCoordinateSystem>>(&self, coordinatesystem: Param0) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs index 59bfbc2835..77a47c4951 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs @@ -176,13 +176,13 @@ unsafe impl ::windows::core::Interface for ISpatialAnchorTransferManagerStatics #[doc(hidden)] pub struct ISpatialAnchorTransferManagerStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] pub TryImportAnchorsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, stream: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated")))] TryImportAnchorsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] pub TryExportAnchorsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, anchors: ::windows::core::RawPtr, stream: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated")))] TryExportAnchorsAsync: usize, #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub RequestAccessAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -240,9 +240,9 @@ unsafe impl ::windows::core::Interface for ISpatialCoordinateSystem { #[doc(hidden)] pub struct ISpatialCoordinateSystem_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub TryGetTransformTo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, target: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] TryGetTransformTo: usize, } #[doc(hidden)] @@ -1244,16 +1244,16 @@ unsafe impl ::core::marker::Sync for SpatialAnchorStore {} pub struct SpatialAnchorTransferManager {} #[cfg(feature = "deprecated")] impl SpatialAnchorTransferManager { - #[doc = "*Required features: 'Perception_Spatial', 'Foundation', 'Foundation_Collections', 'Storage_Streams', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[doc = "*Required features: 'Perception_Spatial', 'Foundation_Collections', 'Storage_Streams', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] pub fn TryImportAnchorsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Storage::Streams::IInputStream>>(stream: Param0) -> ::windows::core::Result>> { Self::ISpatialAnchorTransferManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).TryImportAnchorsAsync)(::core::mem::transmute_copy(this), stream.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Perception_Spatial', 'Foundation', 'Foundation_Collections', 'Storage_Streams', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[doc = "*Required features: 'Perception_Spatial', 'Foundation_Collections', 'Storage_Streams', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] pub fn TryExportAnchorsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>, Param1: ::windows::core::IntoParam<'a, super::super::Storage::Streams::IOutputStream>>(anchors: Param0, stream: Param1) -> ::windows::core::Result> { Self::ISpatialAnchorTransferManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1590,8 +1590,8 @@ unsafe impl ::core::marker::Sync for SpatialBoundingVolume {} #[repr(transparent)] pub struct SpatialCoordinateSystem(::windows::core::IUnknown); impl SpatialCoordinateSystem { - #[doc = "*Required features: 'Perception_Spatial', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'Perception_Spatial', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn TryGetTransformTo<'a, Param0: ::windows::core::IntoParam<'a, SpatialCoordinateSystem>>(&self, target: Param0) -> ::windows::core::Result> { let this = self; unsafe { 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 c44e44302c..e1bd513762 100644 --- a/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs @@ -425,9 +425,9 @@ pub struct IInstallationManagerStatics_Vtbl { pub AddPackagePreloadedAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, title: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, sourcelocation: ::windows::core::RawPtr, instanceid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, offerid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, license: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] AddPackagePreloadedAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetPendingPackageInstalls: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetPendingPackageInstalls: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub FindPackagesForCurrentPublisher: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -453,9 +453,9 @@ pub struct IInstallationManagerStatics2_Vtbl { pub RemovePackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagefullname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, removaloptions: super::super::super::Management::Deployment::RemovalOptions, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Management_Deployment")))] RemovePackageAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Management_Deployment"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Management_Deployment"))] pub RegisterPackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, manifesturi: ::windows::core::RawPtr, dependencypackageuris: ::windows::core::RawPtr, deploymentoptions: super::super::super::Management::Deployment::DeploymentOptions, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Management_Deployment")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Management_Deployment")))] RegisterPackageAsync: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub FindPackagesByNamePublisher: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagename: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, packagepublisher: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -511,8 +511,8 @@ impl InstallationManager { (::windows::core::Interface::vtable(this).AddPackagePreloadedAsync)(::core::mem::transmute_copy(this), title.into_param().abi(), sourcelocation.into_param().abi(), instanceid.into_param().abi(), offerid.into_param().abi(), license.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Phone_Management_Deployment', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Phone_Management_Deployment', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetPendingPackageInstalls() -> ::windows::core::Result>> { Self::IInstallationManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -543,8 +543,8 @@ impl InstallationManager { (::windows::core::Interface::vtable(this).RemovePackageAsync)(::core::mem::transmute_copy(this), packagefullname.into_param().abi(), removaloptions, &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Phone_Management_Deployment', 'Foundation', 'Foundation_Collections', 'Management_Deployment'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Management_Deployment"))] + #[doc = "*Required features: 'Phone_Management_Deployment', 'Foundation_Collections', 'Management_Deployment'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Management_Deployment"))] pub fn RegisterPackageAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>>(manifesturi: Param0, dependencypackageuris: Param1, deploymentoptions: super::super::super::Management::Deployment::DeploymentOptions) -> ::windows::core::Result> { Self::IInstallationManagerStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); 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 28b191a91d..7addeac2fa 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs @@ -87,28 +87,28 @@ unsafe impl ::windows::core::Interface for IMessagePartnerProvisioningManagerSta #[doc(hidden)] pub struct IMessagePartnerProvisioningManagerStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ImportSmsToSystemAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, incoming: bool, read: bool, body: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, sender: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, recipients: ::windows::core::RawPtr, deliverytime: super::super::super::Foundation::DateTime, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ImportSmsToSystemAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ImportMmsToSystemAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, incoming: bool, read: bool, subject: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, sender: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, recipients: ::windows::core::RawPtr, deliverytime: super::super::super::Foundation::DateTime, attachments: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ImportMmsToSystemAsync: usize, } #[doc = "*Required features: 'Phone_PersonalInformation_Provisioning'*"] pub struct MessagePartnerProvisioningManager {} impl MessagePartnerProvisioningManager { - #[doc = "*Required features: 'Phone_PersonalInformation_Provisioning', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Phone_PersonalInformation_Provisioning', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ImportSmsToSystemAsync<'a, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param3: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param4: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IVectorView<::windows::core::HSTRING>>, Param5: ::windows::core::IntoParam<'a, super::super::super::Foundation::DateTime>>(incoming: bool, read: bool, body: Param2, sender: Param3, recipients: Param4, deliverytime: Param5) -> ::windows::core::Result { Self::IMessagePartnerProvisioningManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).ImportSmsToSystemAsync)(::core::mem::transmute_copy(this), incoming, read, body.into_param().abi(), sender.into_param().abi(), recipients.into_param().abi(), deliverytime.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Phone_PersonalInformation_Provisioning', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Phone_PersonalInformation_Provisioning', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ImportMmsToSystemAsync<'a, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param3: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param4: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IVectorView<::windows::core::HSTRING>>, Param5: ::windows::core::IntoParam<'a, super::super::super::Foundation::DateTime>, Param6: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IVectorView>>>(incoming: bool, read: bool, subject: Param2, sender: Param3, recipients: Param4, deliverytime: Param5, attachments: Param6) -> ::windows::core::Result { Self::IMessagePartnerProvisioningManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs index 9482862aae..20eaf00dfe 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs @@ -1,4 +1,4 @@ -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub trait IContactInformation_Impl: Sized { fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING>; fn SetDisplayName(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()>; @@ -17,11 +17,11 @@ pub trait IContactInformation_Impl: Sized { fn ToVcardAsync(&self) -> ::windows::core::Result>; fn ToVcardWithOptionsAsync(&self, format: VCardFormat) -> ::windows::core::Result>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] impl ::windows::core::RuntimeName for IContactInformation { const NAME: &'static str = "Windows.Phone.PersonalInformation.IContactInformation"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] impl IContactInformation_Vtbl { pub const fn new() -> IContactInformation_Vtbl { unsafe extern "system" fn DisplayName(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs index 80655550c1..d242a9b6b3 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs @@ -397,8 +397,8 @@ impl ContactInformation { (::windows::core::Interface::vtable(this).DisplayPicture)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetPropertiesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -651,8 +651,8 @@ impl ContactQueryResult { (::windows::core::Interface::vtable(this).GetContactCountAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetContactsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -660,8 +660,8 @@ impl ContactQueryResult { (::windows::core::Interface::vtable(this).GetContactsAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetContactsAsyncInRange(&self, startindex: u32, maxnumberofitems: u32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -849,8 +849,8 @@ impl ContactStore { (::windows::core::Interface::vtable(this).RevisionNumber)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetChangesAsync(&self, baserevisionnumber: u64) -> ::windows::core::Result>> { let this = self; unsafe { @@ -858,8 +858,8 @@ impl ContactStore { (::windows::core::Interface::vtable(this).GetChangesAsync)(::core::mem::transmute_copy(this), baserevisionnumber, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn LoadExtendedPropertiesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -867,8 +867,8 @@ impl ContactStore { (::windows::core::Interface::vtable(this).LoadExtendedPropertiesAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SaveExtendedPropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IMapView<::windows::core::HSTRING, ::windows::core::IInspectable>>>(&self, data: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -1181,8 +1181,8 @@ impl IContactInformation { (::windows::core::Interface::vtable(this).DisplayPicture)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetPropertiesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1302,9 +1302,9 @@ pub struct IContactInformation_Vtbl { pub DisplayPicture: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] DisplayPicture: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetPropertiesAsync: usize, #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub ToVcardAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1464,13 +1464,13 @@ pub struct IContactQueryResult_Vtbl { pub GetContactCountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetContactCountAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetContactsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetContactsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetContactsAsyncInRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startindex: u32, maxnumberofitems: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetContactsAsyncInRange: usize, pub GetCurrentQueryOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, } @@ -1504,17 +1504,17 @@ pub struct IContactStore_Vtbl { #[cfg(not(feature = "Foundation"))] DeleteAsync: usize, pub RevisionNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut u64) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetChangesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, baserevisionnumber: u64, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetChangesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub LoadExtendedPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] LoadExtendedPropertiesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SaveExtendedPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, data: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SaveExtendedPropertiesAsync: usize, } #[doc(hidden)] @@ -1615,9 +1615,9 @@ pub struct IStoredContact_Vtbl { pub Id: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, pub RemoteId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, pub SetRemoteId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetExtendedPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetExtendedPropertiesAsync: usize, #[cfg(feature = "Foundation")] pub SaveAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1995,8 +1995,8 @@ impl StoredContact { (::windows::core::Interface::vtable(this).DisplayPicture)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetPropertiesAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2066,8 +2066,8 @@ impl StoredContact { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetRemoteId)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Phone_PersonalInformation', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetExtendedPropertiesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { 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 af3baa7e1f..5adfa171be 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 @@ -26,13 +26,13 @@ pub struct IMicrosoftAccountMultiFactorAuthenticationManager_Vtbl { pub UpdateWnsChannelAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, useraccountid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, channeluri: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] UpdateWnsChannelAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSessionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, useraccountidlist: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSessionsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSessionsAndUnregisteredAccountsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, useraccountidlist: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSessionsAndUnregisteredAccountsAsync: usize, #[cfg(feature = "Foundation")] pub ApproveSessionUsingAuthSessionInfoAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sessionauthentictionstatus: MicrosoftAccountMultiFactorSessionAuthenticationStatus, authenticationsessioninfo: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -189,8 +189,8 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { (::windows::core::Interface::vtable(this).UpdateWnsChannelAsync)(::core::mem::transmute_copy(this), useraccountid.into_param().abi(), channeluri.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Security_Authentication_Identity_Core', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Security_Authentication_Identity_Core', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSessionsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, useraccountidlist: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -198,8 +198,8 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { (::windows::core::Interface::vtable(this).GetSessionsAsync)(::core::mem::transmute_copy(this), useraccountidlist.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Security_Authentication_Identity_Core', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Security_Authentication_Identity_Core', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSessionsAndUnregisteredAccountsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, useraccountidlist: Param0) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Identity/Provider/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Identity/Provider/mod.rs index 6ad9c3e4f7..9345eff081 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Identity/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Identity/Provider/mod.rs @@ -295,9 +295,9 @@ pub struct ISecondaryAuthenticationFactorRegistrationStatics_Vtbl { pub RequestStartRegisteringDeviceAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, deviceid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, capabilities: SecondaryAuthenticationFactorDeviceCapabilities, devicefriendlyname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, devicemodelnumber: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, devicekey: ::windows::core::RawPtr, mutualauthenticationkey: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Storage_Streams", feature = "deprecated")))] RequestStartRegisteringDeviceAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub FindAllRegisteredDeviceInfoAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, querytype: SecondaryAuthenticationFactorDeviceFindScope, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] FindAllRegisteredDeviceInfoAsync: usize, #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub UnregisterDeviceAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, deviceid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1560,8 +1560,8 @@ impl SecondaryAuthenticationFactorRegistration { (::windows::core::Interface::vtable(this).RequestStartRegisteringDeviceAsync)(::core::mem::transmute_copy(this), deviceid.into_param().abi(), capabilities, devicefriendlyname.into_param().abi(), devicemodelnumber.into_param().abi(), devicekey.into_param().abi(), mutualauthenticationkey.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Security_Authentication_Identity_Provider', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'Security_Authentication_Identity_Provider', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn FindAllRegisteredDeviceInfoAsync(querytype: SecondaryAuthenticationFactorDeviceFindScope) -> ::windows::core::Result>> { Self::ISecondaryAuthenticationFactorRegistrationStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); 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 102dc29196..4acb87e74f 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs @@ -124,8 +124,8 @@ unsafe impl ::core::marker::Sync for EnterpriseKeyCredentialRegistrationInfo {} #[repr(transparent)] pub struct EnterpriseKeyCredentialRegistrationManager(::windows::core::IUnknown); impl EnterpriseKeyCredentialRegistrationManager { - #[doc = "*Required features: 'Security_Authentication_Identity', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Security_Authentication_Identity', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetRegistrationsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -246,9 +246,9 @@ unsafe impl ::windows::core::Interface for IEnterpriseKeyCredentialRegistrationM #[doc(hidden)] pub struct IEnterpriseKeyCredentialRegistrationManager_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetRegistrationsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetRegistrationsAsync: usize, } #[doc(hidden)] 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 0899962ef2..5eb8a9008b 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs @@ -49,9 +49,9 @@ pub struct IOnlineIdAuthenticator_Vtbl { pub AuthenticateUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, request: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] AuthenticateUserAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub AuthenticateUserAsyncAdvanced: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, requests: ::windows::core::RawPtr, credentialprompttype: CredentialPromptType, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] AuthenticateUserAsyncAdvanced: usize, #[cfg(feature = "Foundation")] pub SignOutUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -216,8 +216,8 @@ impl OnlineIdAuthenticator { (::windows::core::Interface::vtable(this).AuthenticateUserAsync)(::core::mem::transmute_copy(this), request.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Security_Authentication_OnlineId', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Security_Authentication_OnlineId', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn AuthenticateUserAsyncAdvanced<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>>(&self, requests: Param0, credentialprompttype: CredentialPromptType) -> ::windows::core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs index 16c523c94c..6c97f32e70 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs @@ -146,18 +146,18 @@ impl IWebAccountProviderTokenObjects2_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait IWebAccountProviderTokenOperation_Impl: Sized + IWebAccountProviderOperation_Impl { fn ProviderRequest(&self) -> ::windows::core::Result; fn ProviderResponses(&self) -> ::windows::core::Result>; fn SetCacheExpirationTime(&self, value: &super::super::super::super::Foundation::DateTime) -> ::windows::core::Result<()>; fn CacheExpirationTime(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for IWebAccountProviderTokenOperation { const NAME: &'static str = "Windows.Security.Authentication.Web.Provider.IWebAccountProviderTokenOperation"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl IWebAccountProviderTokenOperation_Vtbl { pub const fn new() -> IWebAccountProviderTokenOperation_Vtbl { unsafe extern "system" fn ProviderRequest(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { 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 722aed1fc4..deaaa879ae 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 @@ -48,25 +48,25 @@ unsafe impl ::windows::core::Interface for IWebAccountManagerStatics { #[doc(hidden)] pub struct IWebAccountManagerStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] pub UpdateWebAccountPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, webaccount: ::windows::core::RawPtr, webaccountusername: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, additionalproperties: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials")))] UpdateWebAccountPropertiesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] pub AddWebAccountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, webaccountid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, webaccountusername: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, props: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials")))] AddWebAccountAsync: usize, #[cfg(all(feature = "Foundation", feature = "Security_Credentials"))] pub DeleteWebAccountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, webaccount: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Security_Credentials")))] DeleteWebAccountAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] pub FindAllProviderWebAccountsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials")))] FindAllProviderWebAccountsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Web_Http"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Web_Http"))] pub PushCookiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::RawPtr, cookies: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Web_Http")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Web_Http")))] PushCookiesAsync: usize, #[cfg(all(feature = "Foundation", feature = "Security_Credentials"))] pub SetViewAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, webaccount: ::windows::core::RawPtr, view: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -76,9 +76,9 @@ pub struct IWebAccountManagerStatics_Vtbl { pub ClearViewAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, webaccount: ::windows::core::RawPtr, applicationcallbackuri: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Security_Credentials")))] ClearViewAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] pub GetViewsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, webaccount: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials")))] GetViewsAsync: usize, #[cfg(all(feature = "Foundation", feature = "Security_Credentials", feature = "Storage_Streams"))] pub SetWebAccountPictureAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, webaccount: ::windows::core::RawPtr, webaccountpicture: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -116,21 +116,21 @@ unsafe impl ::windows::core::Interface for IWebAccountManagerStatics3 { #[doc(hidden)] pub struct IWebAccountManagerStatics3_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] pub FindAllProviderWebAccountsForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System")))] FindAllProviderWebAccountsForUserAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] pub AddWebAccountForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, webaccountid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, webaccountusername: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, props: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System")))] AddWebAccountForUserAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] pub AddWebAccountWithScopeForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, webaccountid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, webaccountusername: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, props: ::windows::core::RawPtr, scope: WebAccountScope, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System")))] AddWebAccountWithScopeForUserAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] pub AddWebAccountWithScopeAndMapForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, webaccountid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, webaccountusername: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, props: ::windows::core::RawPtr, scope: WebAccountScope, peruserwebaccountid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System")))] AddWebAccountWithScopeAndMapForUserAsync: usize, } #[doc(hidden)] @@ -164,9 +164,9 @@ unsafe impl ::windows::core::Interface for IWebAccountMapManagerStatics { #[doc(hidden)] pub struct IWebAccountMapManagerStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] pub AddWebAccountWithScopeAndMapAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, webaccountid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, webaccountusername: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, props: ::windows::core::RawPtr, scope: WebAccountScope, peruserwebaccountid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials")))] AddWebAccountWithScopeAndMapAsync: usize, #[cfg(all(feature = "Foundation", feature = "Security_Credentials"))] pub SetPerAppToPerUserAccountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, perappaccount: ::windows::core::RawPtr, peruserwebaccountid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1070,9 +1070,9 @@ unsafe impl ::windows::core::Interface for IWebAccountScopeManagerStatics { #[doc(hidden)] pub struct IWebAccountScopeManagerStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] pub AddWebAccountWithScopeAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, webaccountid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, webaccountusername: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, props: ::windows::core::RawPtr, scope: WebAccountScope, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials")))] AddWebAccountWithScopeAsync: usize, #[cfg(all(feature = "Foundation", feature = "Security_Credentials"))] pub SetScopeAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, webaccount: ::windows::core::RawPtr, scope: WebAccountScope, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1338,16 +1338,16 @@ unsafe impl ::windows::core::RuntimeType for WebAccountClientViewType { #[doc = "*Required features: 'Security_Authentication_Web_Provider'*"] pub struct WebAccountManager {} impl WebAccountManager { - #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation', 'Foundation_Collections', 'Security_Credentials'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials"))] + #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation_Collections', 'Security_Credentials'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] pub fn UpdateWebAccountPropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Credentials::WebAccount>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::Collections::IMapView<::windows::core::HSTRING, ::windows::core::HSTRING>>>(webaccount: Param0, webaccountusername: Param1, additionalproperties: Param2) -> ::windows::core::Result { Self::IWebAccountManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).UpdateWebAccountPropertiesAsync)(::core::mem::transmute_copy(this), webaccount.into_param().abi(), webaccountusername.into_param().abi(), additionalproperties.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation', 'Foundation_Collections', 'Security_Credentials'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials"))] + #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation_Collections', 'Security_Credentials'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] pub fn AddWebAccountAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::Collections::IMapView<::windows::core::HSTRING, ::windows::core::HSTRING>>>(webaccountid: Param0, webaccountusername: Param1, props: Param2) -> ::windows::core::Result> { Self::IWebAccountManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1362,16 +1362,16 @@ impl WebAccountManager { (::windows::core::Interface::vtable(this).DeleteWebAccountAsync)(::core::mem::transmute_copy(this), webaccount.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation', 'Foundation_Collections', 'Security_Credentials'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials"))] + #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation_Collections', 'Security_Credentials'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] pub fn FindAllProviderWebAccountsAsync() -> ::windows::core::Result>> { Self::IWebAccountManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindAllProviderWebAccountsAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation', 'Foundation_Collections', 'Web_Http'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Web_Http"))] + #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation_Collections', 'Web_Http'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Web_Http"))] pub fn PushCookiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::Collections::IVectorView>>(uri: Param0, cookies: Param1) -> ::windows::core::Result { Self::IWebAccountManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1394,8 +1394,8 @@ impl WebAccountManager { (::windows::core::Interface::vtable(this).ClearViewAsync)(::core::mem::transmute_copy(this), webaccount.into_param().abi(), applicationcallbackuri.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation', 'Foundation_Collections', 'Security_Credentials'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials"))] + #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation_Collections', 'Security_Credentials'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] pub fn GetViewsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Credentials::WebAccount>>(webaccount: Param0) -> ::windows::core::Result>> { Self::IWebAccountManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1426,32 +1426,32 @@ impl WebAccountManager { (::windows::core::Interface::vtable(this).PullCookiesAsync)(::core::mem::transmute_copy(this), uristring.into_param().abi(), callerpfn.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation', 'Foundation_Collections', 'Security_Credentials', 'System'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] + #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation_Collections', 'Security_Credentials', 'System'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] pub fn FindAllProviderWebAccountsForUserAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::System::User>>(user: Param0) -> ::windows::core::Result>> { Self::IWebAccountManagerStatics3(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindAllProviderWebAccountsForUserAsync)(::core::mem::transmute_copy(this), user.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation', 'Foundation_Collections', 'Security_Credentials', 'System'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] + #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation_Collections', 'Security_Credentials', 'System'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] pub fn AddWebAccountForUserAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::System::User>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param3: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::Collections::IMapView<::windows::core::HSTRING, ::windows::core::HSTRING>>>(user: Param0, webaccountid: Param1, webaccountusername: Param2, props: Param3) -> ::windows::core::Result> { Self::IWebAccountManagerStatics3(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).AddWebAccountForUserAsync)(::core::mem::transmute_copy(this), user.into_param().abi(), webaccountid.into_param().abi(), webaccountusername.into_param().abi(), props.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation', 'Foundation_Collections', 'Security_Credentials', 'System'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] + #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation_Collections', 'Security_Credentials', 'System'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] pub fn AddWebAccountWithScopeForUserAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::System::User>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param3: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::Collections::IMapView<::windows::core::HSTRING, ::windows::core::HSTRING>>>(user: Param0, webaccountid: Param1, webaccountusername: Param2, props: Param3, scope: WebAccountScope) -> ::windows::core::Result> { Self::IWebAccountManagerStatics3(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).AddWebAccountWithScopeForUserAsync)(::core::mem::transmute_copy(this), user.into_param().abi(), webaccountid.into_param().abi(), webaccountusername.into_param().abi(), props.into_param().abi(), scope, &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation', 'Foundation_Collections', 'Security_Credentials', 'System'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] + #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation_Collections', 'Security_Credentials', 'System'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] pub fn AddWebAccountWithScopeAndMapForUserAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::System::User>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param3: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::Collections::IMapView<::windows::core::HSTRING, ::windows::core::HSTRING>>, Param5: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(user: Param0, webaccountid: Param1, webaccountusername: Param2, props: Param3, scope: WebAccountScope, peruserwebaccountid: Param5) -> ::windows::core::Result> { Self::IWebAccountManagerStatics3(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1474,8 +1474,8 @@ impl WebAccountManager { (::windows::core::Interface::vtable(this).InvalidateAppCacheForAccountAsync)(::core::mem::transmute_copy(this), webaccount.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation', 'Foundation_Collections', 'Security_Credentials'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials"))] + #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation_Collections', 'Security_Credentials'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] pub fn AddWebAccountWithScopeAndMapAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::Collections::IMapView<::windows::core::HSTRING, ::windows::core::HSTRING>>, Param4: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(webaccountid: Param0, webaccountusername: Param1, props: Param2, scope: WebAccountScope, peruserwebaccountid: Param4) -> ::windows::core::Result> { Self::IWebAccountMapManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1506,8 +1506,8 @@ impl WebAccountManager { (::windows::core::Interface::vtable(this).ClearPerUserFromPerAppAccountAsync)(::core::mem::transmute_copy(this), perappaccount.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation', 'Foundation_Collections', 'Security_Credentials'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Security_Credentials"))] + #[doc = "*Required features: 'Security_Authentication_Web_Provider', 'Foundation_Collections', 'Security_Credentials'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] pub fn AddWebAccountWithScopeAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::Collections::IMapView<::windows::core::HSTRING, ::windows::core::HSTRING>>>(webaccountid: Param0, webaccountusername: Param1, props: Param2, scope: WebAccountScope) -> ::windows::core::Result> { Self::IWebAccountScopeManagerStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); 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 25cbe90823..0eef53cc0b 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs @@ -46,9 +46,9 @@ pub struct IWebAuthenticationBrokerStatics2_Vtbl { pub AuthenticateWithCallbackUriAndContinue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, requesturi: ::windows::core::RawPtr, callbackuri: ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] AuthenticateWithCallbackUriAndContinue: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub AuthenticateWithCallbackUriContinuationDataAndOptionsAndContinue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, requesturi: ::windows::core::RawPtr, callbackuri: ::windows::core::RawPtr, continuationdata: ::windows::core::RawPtr, options: WebAuthenticationOptions) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] AuthenticateWithCallbackUriContinuationDataAndOptionsAndContinue: usize, #[cfg(feature = "Foundation")] pub AuthenticateSilentlyAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, requesturi: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -146,8 +146,8 @@ impl WebAuthenticationBroker { pub fn AuthenticateWithCallbackUriAndContinue<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Uri>>(requesturi: Param0, callbackuri: Param1) -> ::windows::core::Result<()> { Self::IWebAuthenticationBrokerStatics2(|this| unsafe { (::windows::core::Interface::vtable(this).AuthenticateWithCallbackUriAndContinue)(::core::mem::transmute_copy(this), requesturi.into_param().abi(), callbackuri.into_param().abi()).ok() }) } - #[doc = "*Required features: 'Security_Authentication_Web', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Security_Authentication_Web', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn AuthenticateWithCallbackUriContinuationDataAndOptionsAndContinue<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Uri>, Param2: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::ValueSet>>(requesturi: Param0, callbackuri: Param1, continuationdata: Param2, options: WebAuthenticationOptions) -> ::windows::core::Result<()> { Self::IWebAuthenticationBrokerStatics2(|this| unsafe { (::windows::core::Interface::vtable(this).AuthenticateWithCallbackUriContinuationDataAndOptionsAndContinue)(::core::mem::transmute_copy(this), requesturi.into_param().abi(), callbackuri.into_param().abi(), continuationdata.into_param().abi(), options).ok() }) } 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 0acd575bc1..4069507ad7 100644 --- a/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs @@ -52,16 +52,16 @@ impl AppCapability { let this = self; unsafe { (::windows::core::Interface::vtable(this).RemoveAccessChanged)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } } - #[doc = "*Required features: 'Security_Authorization_AppCapabilityAccess', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Security_Authorization_AppCapabilityAccess', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestAccessForCapabilitiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(capabilitynames: Param0) -> ::windows::core::Result>> { Self::IAppCapabilityStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessForCapabilitiesAsync)(::core::mem::transmute_copy(this), capabilitynames.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Security_Authorization_AppCapabilityAccess', 'Foundation', 'Foundation_Collections', 'System'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System"))] + #[doc = "*Required features: 'Security_Authorization_AppCapabilityAccess', 'Foundation_Collections', 'System'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "System"))] pub fn RequestAccessForCapabilitiesForUserAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::System::User>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(user: Param0, capabilitynames: Param1) -> ::windows::core::Result>> { Self::IAppCapabilityStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -327,13 +327,13 @@ unsafe impl ::windows::core::Interface for IAppCapabilityStatics { #[doc(hidden)] pub struct IAppCapabilityStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestAccessForCapabilitiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, capabilitynames: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestAccessForCapabilitiesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System"))] + #[cfg(all(feature = "Foundation_Collections", feature = "System"))] pub RequestAccessForCapabilitiesForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, capabilitynames: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "System")))] RequestAccessForCapabilitiesForUserAsync: usize, pub Create: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, capabilityname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(feature = "System")] diff --git a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs index 66e10f51aa..b73c3db8f5 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs @@ -1200,8 +1200,8 @@ impl PasswordCredentialPropertyStore { let this = &::windows::core::Interface::cast::>(self)?; unsafe { (::windows::core::Interface::vtable(this).Clear)(::core::mem::transmute_copy(this)).ok() } } - #[doc = "*Required features: 'Security_Credentials', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Security_Credentials', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn MapChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::MapChangedEventHandler<::windows::core::HSTRING, ::windows::core::IInspectable>>>(&self, vhnd: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { @@ -1209,8 +1209,8 @@ impl PasswordCredentialPropertyStore { (::windows::core::Interface::vtable(this).MapChanged)(::core::mem::transmute_copy(this), vhnd.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Security_Credentials', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Security_Credentials', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RemoveMapChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { (::windows::core::Interface::vtable(this).RemoveMapChanged)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } 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 22f77e6e38..6a941a61ff 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs @@ -3,8 +3,8 @@ #[repr(transparent)] pub struct Certificate(::windows::core::IUnknown); impl Certificate { - #[doc = "*Required features: 'Security_Cryptography_Certificates', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Security_Cryptography_Certificates', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn BuildChainAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>>(&self, certificates: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -12,8 +12,8 @@ impl Certificate { (::windows::core::Interface::vtable(this).BuildChainAsync)(::core::mem::transmute_copy(this), certificates.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Security_Cryptography_Certificates', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Security_Cryptography_Certificates', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn BuildChainWithParametersAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>, Param1: ::windows::core::IntoParam<'a, ChainBuildingParameters>>(&self, certificates: Param0, parameters: Param1) -> ::windows::core::Result> { let this = self; unsafe { @@ -1420,16 +1420,16 @@ unsafe impl ::core::marker::Sync for CertificateStore {} #[doc = "*Required features: 'Security_Cryptography_Certificates'*"] pub struct CertificateStores {} impl CertificateStores { - #[doc = "*Required features: 'Security_Cryptography_Certificates', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Security_Cryptography_Certificates', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::ICertificateStoresStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Security_Cryptography_Certificates', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Security_Cryptography_Certificates', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllWithQueryAsync<'a, Param0: ::windows::core::IntoParam<'a, CertificateQuery>>(query: Param0) -> ::windows::core::Result>> { Self::ICertificateStoresStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1851,8 +1851,8 @@ impl CmsAttachedSignature { (::windows::core::Interface::vtable(this).CreateCmsAttachedSignature)(::core::mem::transmute_copy(this), inputblob.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Security_Cryptography_Certificates', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Security_Cryptography_Certificates', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn GenerateSignatureAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Storage::Streams::IBuffer>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>, Param2: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>>(data: Param0, signers: Param1, certificates: Param2) -> ::windows::core::Result> { Self::ICmsAttachedSignatureStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1981,8 +1981,8 @@ impl CmsDetachedSignature { (::windows::core::Interface::vtable(this).CreateCmsDetachedSignature)(::core::mem::transmute_copy(this), inputblob.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Security_Cryptography_Certificates', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Security_Cryptography_Certificates', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn GenerateSignatureAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Storage::Streams::IInputStream>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>, Param2: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>>(data: Param0, signers: Param1, certificates: Param2) -> ::windows::core::Result> { Self::ICmsDetachedSignatureStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -2403,13 +2403,13 @@ unsafe impl ::windows::core::Interface for ICertificate { #[doc(hidden)] pub struct ICertificate_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub BuildChainAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, certificates: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] BuildChainAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub BuildChainWithParametersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, certificates: ::windows::core::RawPtr, parameters: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] BuildChainWithParametersAsync: usize, pub SerialNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result_size__: *mut u32, result__: *mut *mut u8) -> ::windows::core::HRESULT, pub GetHashValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result_size__: *mut u32, result__: *mut *mut u8) -> ::windows::core::HRESULT, @@ -2779,13 +2779,13 @@ unsafe impl ::windows::core::Interface for ICertificateStoresStatics { #[doc(hidden)] pub struct ICertificateStoresStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllWithQueryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, query: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllWithQueryAsync: usize, pub TrustedRootCertificationAuthorities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub IntermediateCertificationAuthorities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2911,9 +2911,9 @@ unsafe impl ::windows::core::Interface for ICmsAttachedSignatureStatics { #[doc(hidden)] pub struct ICmsAttachedSignatureStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub GenerateSignatureAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, data: ::windows::core::RawPtr, signers: ::windows::core::RawPtr, certificates: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] GenerateSignatureAsync: usize, } #[doc(hidden)] @@ -2967,9 +2967,9 @@ unsafe impl ::windows::core::Interface for ICmsDetachedSignatureStatics { #[doc(hidden)] pub struct ICmsDetachedSignatureStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub GenerateSignatureAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, data: ::windows::core::RawPtr, signers: ::windows::core::RawPtr, certificates: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] GenerateSignatureAsync: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs index 6346cc3ab5..8381fc5e60 100644 --- a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs @@ -504,8 +504,8 @@ impl FileProtectionManager { (::windows::core::Interface::vtable(this).LoadFileFromContainerWithTargetAndNameCollisionOptionAsync)(::core::mem::transmute_copy(this), containerfile.into_param().abi(), target.into_param().abi(), collisionoption, &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Security_EnterpriseData', 'Foundation', 'Foundation_Collections', 'Storage'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage"))] + #[doc = "*Required features: 'Security_EnterpriseData', 'Foundation_Collections', 'Storage'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] pub fn SaveFileAsContainerWithSharingAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Storage::IStorageFile>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(protectedfile: Param0, sharedwithidentities: Param1) -> ::windows::core::Result> { Self::IFileProtectionManagerStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -892,9 +892,9 @@ pub struct IFileProtectionManagerStatics2_Vtbl { pub LoadFileFromContainerWithTargetAndNameCollisionOptionAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, containerfile: ::windows::core::RawPtr, target: ::windows::core::RawPtr, collisionoption: super::super::Storage::NameCollisionOption, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Storage")))] LoadFileFromContainerWithTargetAndNameCollisionOptionAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] pub SaveFileAsContainerWithSharingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, protectedfile: ::windows::core::RawPtr, sharedwithidentities: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] SaveFileAsContainerWithSharingAsync: usize, } #[doc(hidden)] @@ -1281,21 +1281,21 @@ pub struct IProtectionPolicyManagerStatics4_Vtbl { pub RequestAccessForAppWithBehaviorAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sourceidentity: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, apppackagefamilyname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, auditinfo: ::windows::core::RawPtr, messagefromapp: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, behavior: ProtectionPolicyRequestAccessBehavior, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RequestAccessForAppWithBehaviorAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] pub RequestAccessToFilesForAppAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sourceitemlist: ::windows::core::RawPtr, apppackagefamilyname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, auditinfo: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] RequestAccessToFilesForAppAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] pub RequestAccessToFilesForAppWithMessageAndBehaviorAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sourceitemlist: ::windows::core::RawPtr, apppackagefamilyname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, auditinfo: ::windows::core::RawPtr, messagefromapp: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, behavior: ProtectionPolicyRequestAccessBehavior, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] RequestAccessToFilesForAppWithMessageAndBehaviorAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] pub RequestAccessToFilesForProcessAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sourceitemlist: ::windows::core::RawPtr, processid: u32, auditinfo: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] RequestAccessToFilesForProcessAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] pub RequestAccessToFilesForProcessWithMessageAndBehaviorAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sourceitemlist: ::windows::core::RawPtr, processid: u32, auditinfo: ::windows::core::RawPtr, messagefromapp: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, behavior: ProtectionPolicyRequestAccessBehavior, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] RequestAccessToFilesForProcessWithMessageAndBehaviorAsync: usize, #[cfg(all(feature = "Foundation", feature = "Storage"))] pub IsFileProtectionRequiredAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, target: ::windows::core::RawPtr, identity: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2397,32 +2397,32 @@ impl ProtectionPolicyManager { (::windows::core::Interface::vtable(this).RequestAccessForAppWithBehaviorAsync)(::core::mem::transmute_copy(this), sourceidentity.into_param().abi(), apppackagefamilyname.into_param().abi(), auditinfo.into_param().abi(), messagefromapp.into_param().abi(), behavior, &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Security_EnterpriseData', 'Foundation', 'Foundation_Collections', 'Storage'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage"))] + #[doc = "*Required features: 'Security_EnterpriseData', 'Foundation_Collections', 'Storage'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] pub fn RequestAccessToFilesForAppAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, ProtectionPolicyAuditInfo>>(sourceitemlist: Param0, apppackagefamilyname: Param1, auditinfo: Param2) -> ::windows::core::Result> { Self::IProtectionPolicyManagerStatics4(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessToFilesForAppAsync)(::core::mem::transmute_copy(this), sourceitemlist.into_param().abi(), apppackagefamilyname.into_param().abi(), auditinfo.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Security_EnterpriseData', 'Foundation', 'Foundation_Collections', 'Storage'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage"))] + #[doc = "*Required features: 'Security_EnterpriseData', 'Foundation_Collections', 'Storage'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] pub fn RequestAccessToFilesForAppWithMessageAndBehaviorAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param1: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param2: ::windows::core::IntoParam<'a, ProtectionPolicyAuditInfo>, Param3: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(sourceitemlist: Param0, apppackagefamilyname: Param1, auditinfo: Param2, messagefromapp: Param3, behavior: ProtectionPolicyRequestAccessBehavior) -> ::windows::core::Result> { Self::IProtectionPolicyManagerStatics4(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessToFilesForAppWithMessageAndBehaviorAsync)(::core::mem::transmute_copy(this), sourceitemlist.into_param().abi(), apppackagefamilyname.into_param().abi(), auditinfo.into_param().abi(), messagefromapp.into_param().abi(), behavior, &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Security_EnterpriseData', 'Foundation', 'Foundation_Collections', 'Storage'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage"))] + #[doc = "*Required features: 'Security_EnterpriseData', 'Foundation_Collections', 'Storage'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] pub fn RequestAccessToFilesForProcessAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param2: ::windows::core::IntoParam<'a, ProtectionPolicyAuditInfo>>(sourceitemlist: Param0, processid: u32, auditinfo: Param2) -> ::windows::core::Result> { Self::IProtectionPolicyManagerStatics4(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessToFilesForProcessAsync)(::core::mem::transmute_copy(this), sourceitemlist.into_param().abi(), processid, auditinfo.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Security_EnterpriseData', 'Foundation', 'Foundation_Collections', 'Storage'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage"))] + #[doc = "*Required features: 'Security_EnterpriseData', 'Foundation_Collections', 'Storage'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] pub fn RequestAccessToFilesForProcessWithMessageAndBehaviorAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param2: ::windows::core::IntoParam<'a, ProtectionPolicyAuditInfo>, Param3: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(sourceitemlist: Param0, processid: u32, auditinfo: Param2, messagefromapp: Param3, behavior: ProtectionPolicyRequestAccessBehavior) -> ::windows::core::Result> { Self::IProtectionPolicyManagerStatics4(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs index cf1e8370ac..e441927c73 100644 --- a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs @@ -157,13 +157,13 @@ unsafe impl ::windows::core::Interface for IIsolatedWindowsEnvironment2 { #[doc(hidden)] pub struct IIsolatedWindowsEnvironment2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub PostMessageToReceiverAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, receiverid: ::windows::core::GUID, message: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] PostMessageToReceiverAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub PostMessageToReceiverWithTelemetryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, receiverid: ::windows::core::GUID, message: ::windows::core::RawPtr, telemetryparameters: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] PostMessageToReceiverWithTelemetryAsync: usize, } #[doc(hidden)] @@ -654,8 +654,8 @@ impl IsolatedWindowsEnvironment { let this = self; unsafe { (::windows::core::Interface::vtable(this).UnregisterMessageReceiver)(::core::mem::transmute_copy(this), receiverid.into_param().abi()).ok() } } - #[doc = "*Required features: 'Security_Isolation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Security_Isolation', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn PostMessageToReceiverAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::GUID>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::IInspectable>>>(&self, receiverid: Param0, message: Param1) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -663,8 +663,8 @@ impl IsolatedWindowsEnvironment { (::windows::core::Interface::vtable(this).PostMessageToReceiverAsync)(::core::mem::transmute_copy(this), receiverid.into_param().abi(), message.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Security_Isolation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Security_Isolation', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn PostMessageToReceiverWithTelemetryAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::GUID>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::IInspectable>>, Param2: ::windows::core::IntoParam<'a, IsolatedWindowsEnvironmentTelemetryParameters>>(&self, receiverid: Param0, message: Param1, telemetryparameters: Param2) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Services/Cortana/mod.rs b/crates/libs/windows/src/Windows/Services/Cortana/mod.rs index fe6341f08b..d65098e8be 100644 --- a/crates/libs/windows/src/Windows/Services/Cortana/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Cortana/mod.rs @@ -431,8 +431,8 @@ impl CortanaPermissionsManager { (::windows::core::Interface::vtable(this).IsSupported)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Services_Cortana', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'Services_Cortana', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn ArePermissionsGrantedAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, permissions: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -440,8 +440,8 @@ impl CortanaPermissionsManager { (::windows::core::Interface::vtable(this).ArePermissionsGrantedAsync)(::core::mem::transmute_copy(this), permissions.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Cortana', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'Services_Cortana', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn GrantPermissionsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, permissions: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -449,8 +449,8 @@ impl CortanaPermissionsManager { (::windows::core::Interface::vtable(this).GrantPermissionsAsync)(::core::mem::transmute_copy(this), permissions.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Cortana', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'Services_Cortana', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn RevokePermissionsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, permissions: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -823,17 +823,17 @@ pub struct ICortanaPermissionsManager_Vtbl { pub IsSupported: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, #[cfg(not(feature = "deprecated"))] IsSupported: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub ArePermissionsGrantedAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, permissions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] ArePermissionsGrantedAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub GrantPermissionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, permissions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GrantPermissionsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub RevokePermissionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, permissions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] RevokePermissionsAsync: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Services/Maps/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/mod.rs index dca2b6015b..2f4a0c23b3 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/mod.rs @@ -466,29 +466,29 @@ pub struct IMapRouteFinderStatics_Vtbl { pub GetDrivingRouteWithOptimizationRestrictionsAndHeadingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startpoint: ::windows::core::RawPtr, endpoint: ::windows::core::RawPtr, optimization: MapRouteOptimization, restrictions: MapRouteRestrictions, headingindegrees: f64, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Devices_Geolocation", feature = "Foundation")))] GetDrivingRouteWithOptimizationRestrictionsAndHeadingAsync: usize, - #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation_Collections"))] pub GetDrivingRouteFromWaypointsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, waypoints: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "Devices_Geolocation", feature = "Foundation_Collections")))] GetDrivingRouteFromWaypointsAsync: usize, - #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation_Collections"))] pub GetDrivingRouteFromWaypointsAndOptimizationAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, waypoints: ::windows::core::RawPtr, optimization: MapRouteOptimization, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "Devices_Geolocation", feature = "Foundation_Collections")))] GetDrivingRouteFromWaypointsAndOptimizationAsync: usize, - #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation_Collections"))] pub GetDrivingRouteFromWaypointsOptimizationAndRestrictionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, waypoints: ::windows::core::RawPtr, optimization: MapRouteOptimization, restrictions: MapRouteRestrictions, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "Devices_Geolocation", feature = "Foundation_Collections")))] GetDrivingRouteFromWaypointsOptimizationAndRestrictionsAsync: usize, - #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation_Collections"))] pub GetDrivingRouteFromWaypointsOptimizationRestrictionsAndHeadingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, waypoints: ::windows::core::RawPtr, optimization: MapRouteOptimization, restrictions: MapRouteRestrictions, headingindegrees: f64, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "Devices_Geolocation", feature = "Foundation_Collections")))] GetDrivingRouteFromWaypointsOptimizationRestrictionsAndHeadingAsync: usize, #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation"))] pub GetWalkingRouteAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startpoint: ::windows::core::RawPtr, endpoint: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Devices_Geolocation", feature = "Foundation")))] GetWalkingRouteAsync: usize, - #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation_Collections"))] pub GetWalkingRouteFromWaypointsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, waypoints: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "Devices_Geolocation", feature = "Foundation_Collections")))] GetWalkingRouteFromWaypointsAsync: usize, } #[doc(hidden)] @@ -518,13 +518,13 @@ unsafe impl ::windows::core::Interface for IMapRouteFinderStatics3 { #[doc(hidden)] pub struct IMapRouteFinderStatics3_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetDrivingRouteFromEnhancedWaypointsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, waypoints: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetDrivingRouteFromEnhancedWaypointsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetDrivingRouteFromEnhancedWaypointsWithOptionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, waypoints: ::windows::core::RawPtr, options: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetDrivingRouteFromEnhancedWaypointsWithOptionsAsync: usize, } #[doc(hidden)] @@ -1933,32 +1933,32 @@ impl MapRouteFinder { (::windows::core::Interface::vtable(this).GetDrivingRouteWithOptimizationRestrictionsAndHeadingAsync)(::core::mem::transmute_copy(this), startpoint.into_param().abi(), endpoint.into_param().abi(), optimization, restrictions, headingindegrees, &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Services_Maps', 'Devices_Geolocation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Maps', 'Devices_Geolocation', 'Foundation_Collections'*"] + #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation_Collections"))] pub fn GetDrivingRouteFromWaypointsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(waypoints: Param0) -> ::windows::core::Result> { Self::IMapRouteFinderStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteFromWaypointsAsync)(::core::mem::transmute_copy(this), waypoints.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Services_Maps', 'Devices_Geolocation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Maps', 'Devices_Geolocation', 'Foundation_Collections'*"] + #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation_Collections"))] pub fn GetDrivingRouteFromWaypointsAndOptimizationAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(waypoints: Param0, optimization: MapRouteOptimization) -> ::windows::core::Result> { Self::IMapRouteFinderStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteFromWaypointsAndOptimizationAsync)(::core::mem::transmute_copy(this), waypoints.into_param().abi(), optimization, &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Services_Maps', 'Devices_Geolocation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Maps', 'Devices_Geolocation', 'Foundation_Collections'*"] + #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation_Collections"))] pub fn GetDrivingRouteFromWaypointsOptimizationAndRestrictionsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(waypoints: Param0, optimization: MapRouteOptimization, restrictions: MapRouteRestrictions) -> ::windows::core::Result> { Self::IMapRouteFinderStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteFromWaypointsOptimizationAndRestrictionsAsync)(::core::mem::transmute_copy(this), waypoints.into_param().abi(), optimization, restrictions, &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Services_Maps', 'Devices_Geolocation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Maps', 'Devices_Geolocation', 'Foundation_Collections'*"] + #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation_Collections"))] pub fn GetDrivingRouteFromWaypointsOptimizationRestrictionsAndHeadingAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(waypoints: Param0, optimization: MapRouteOptimization, restrictions: MapRouteRestrictions, headingindegrees: f64) -> ::windows::core::Result> { Self::IMapRouteFinderStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1973,8 +1973,8 @@ impl MapRouteFinder { (::windows::core::Interface::vtable(this).GetWalkingRouteAsync)(::core::mem::transmute_copy(this), startpoint.into_param().abi(), endpoint.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Services_Maps', 'Devices_Geolocation', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Maps', 'Devices_Geolocation', 'Foundation_Collections'*"] + #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation_Collections"))] pub fn GetWalkingRouteFromWaypointsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(waypoints: Param0) -> ::windows::core::Result> { Self::IMapRouteFinderStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1989,16 +1989,16 @@ impl MapRouteFinder { (::windows::core::Interface::vtable(this).GetDrivingRouteWithOptionsAsync)(::core::mem::transmute_copy(this), startpoint.into_param().abi(), endpoint.into_param().abi(), options.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Services_Maps', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Maps', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetDrivingRouteFromEnhancedWaypointsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(waypoints: Param0) -> ::windows::core::Result> { Self::IMapRouteFinderStatics3(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteFromEnhancedWaypointsAsync)(::core::mem::transmute_copy(this), waypoints.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'Services_Maps', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Maps', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetDrivingRouteFromEnhancedWaypointsWithOptionsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param1: ::windows::core::IntoParam<'a, MapRouteDrivingOptions>>(waypoints: Param0, options: Param1) -> ::windows::core::Result> { Self::IMapRouteFinderStatics3(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Services/Store/mod.rs b/crates/libs/windows/src/Windows/Services/Store/mod.rs index 94aa531d78..b68cac36e7 100644 --- a/crates/libs/windows/src/Windows/Services/Store/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Store/mod.rs @@ -185,25 +185,25 @@ pub struct IStoreContext_Vtbl { pub GetStoreProductForCurrentAppAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetStoreProductForCurrentAppAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetStoreProductsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productkinds: ::windows::core::RawPtr, storeids: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetStoreProductsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetAssociatedStoreProductsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productkinds: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetAssociatedStoreProductsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetAssociatedStoreProductsWithPagingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productkinds: ::windows::core::RawPtr, maxitemstoretrieveperpage: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetAssociatedStoreProductsWithPagingAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetUserCollectionAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productkinds: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetUserCollectionAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetUserCollectionWithPagingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productkinds: ::windows::core::RawPtr, maxitemstoretrieveperpage: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetUserCollectionWithPagingAsync: usize, #[cfg(feature = "Foundation")] pub ReportConsumableFulfillmentAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productstoreid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, quantity: u32, trackingid: ::windows::core::GUID, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -225,21 +225,21 @@ pub struct IStoreContext_Vtbl { pub RequestPurchaseWithPurchasePropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, storeid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, storepurchaseproperties: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RequestPurchaseWithPurchasePropertiesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetAppAndOptionalStorePackageUpdatesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetAppAndOptionalStorePackageUpdatesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestDownloadStorePackageUpdatesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, storepackageupdates: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestDownloadStorePackageUpdatesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestDownloadAndInstallStorePackageUpdatesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, storepackageupdates: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestDownloadAndInstallStorePackageUpdatesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestDownloadAndInstallStorePackagesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, storeids: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestDownloadAndInstallStorePackagesAsync: usize, } #[doc(hidden)] @@ -253,9 +253,9 @@ unsafe impl ::windows::core::Interface for IStoreContext2 { #[doc(hidden)] pub struct IStoreContext2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub FindStoreProductForPackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productkinds: ::windows::core::RawPtr, package: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindStoreProductForPackageAsync: usize, } #[doc(hidden)] @@ -270,13 +270,13 @@ unsafe impl ::windows::core::Interface for IStoreContext3 { pub struct IStoreContext3_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub CanSilentlyDownloadStorePackageUpdates: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub TrySilentDownloadStorePackageUpdatesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, storepackageupdates: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] TrySilentDownloadStorePackageUpdatesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub TrySilentDownloadAndInstallStorePackageUpdatesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, storepackageupdates: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] TrySilentDownloadAndInstallStorePackageUpdatesAsync: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation"))] pub CanAcquireStoreLicenseForOptionalPackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, optionalpackage: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -286,25 +286,25 @@ pub struct IStoreContext3_Vtbl { pub CanAcquireStoreLicenseAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productstoreid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] CanAcquireStoreLicenseAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetStoreProductsWithOptionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, productkinds: ::windows::core::RawPtr, storeids: ::windows::core::RawPtr, storeproductoptions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetStoreProductsWithOptionsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetAssociatedStoreQueueItemsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetAssociatedStoreQueueItemsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetStoreQueueItemsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, storeids: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetStoreQueueItemsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestDownloadAndInstallStorePackagesWithInstallOptionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, storeids: ::windows::core::RawPtr, storepackageinstalloptions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestDownloadAndInstallStorePackagesWithInstallOptionsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub DownloadAndInstallStorePackagesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, storeids: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] DownloadAndInstallStorePackagesAsync: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation"))] pub RequestUninstallStorePackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, package: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -338,9 +338,9 @@ pub struct IStoreContext4_Vtbl { pub RequestRateAndReviewAppAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RequestRateAndReviewAppAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SetInstallOrderForAssociatedStoreQueueItemsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, items: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SetInstallOrderForAssociatedStoreQueueItemsAsync: usize, } #[doc(hidden)] @@ -1801,8 +1801,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).GetStoreProductForCurrentAppAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetStoreProductsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, productkinds: Param0, storeids: Param1) -> ::windows::core::Result> { let this = self; unsafe { @@ -1810,8 +1810,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).GetStoreProductsAsync)(::core::mem::transmute_copy(this), productkinds.into_param().abi(), storeids.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetAssociatedStoreProductsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, productkinds: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -1819,8 +1819,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).GetAssociatedStoreProductsAsync)(::core::mem::transmute_copy(this), productkinds.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetAssociatedStoreProductsWithPagingAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, productkinds: Param0, maxitemstoretrieveperpage: u32) -> ::windows::core::Result> { let this = self; unsafe { @@ -1828,8 +1828,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).GetAssociatedStoreProductsWithPagingAsync)(::core::mem::transmute_copy(this), productkinds.into_param().abi(), maxitemstoretrieveperpage, &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetUserCollectionAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, productkinds: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -1837,8 +1837,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).GetUserCollectionAsync)(::core::mem::transmute_copy(this), productkinds.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetUserCollectionWithPagingAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, productkinds: Param0, maxitemstoretrieveperpage: u32) -> ::windows::core::Result> { let this = self; unsafe { @@ -1891,8 +1891,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).RequestPurchaseWithPurchasePropertiesAsync)(::core::mem::transmute_copy(this), storeid.into_param().abi(), storepurchaseproperties.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetAppAndOptionalStorePackageUpdatesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1900,8 +1900,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).GetAppAndOptionalStorePackageUpdatesAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestDownloadStorePackageUpdatesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, storepackageupdates: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -1909,8 +1909,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).RequestDownloadStorePackageUpdatesAsync)(::core::mem::transmute_copy(this), storepackageupdates.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestDownloadAndInstallStorePackageUpdatesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, storepackageupdates: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -1918,8 +1918,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).RequestDownloadAndInstallStorePackageUpdatesAsync)(::core::mem::transmute_copy(this), storepackageupdates.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestDownloadAndInstallStorePackagesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, storeids: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -1927,8 +1927,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).RequestDownloadAndInstallStorePackagesAsync)(::core::mem::transmute_copy(this), storeids.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Store', 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub fn FindStoreProductForPackageAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param1: ::windows::core::IntoParam<'a, super::super::ApplicationModel::Package>>(&self, productkinds: Param0, package: Param1) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1944,8 +1944,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).CanSilentlyDownloadStorePackageUpdates)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn TrySilentDownloadStorePackageUpdatesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, storepackageupdates: Param0) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1953,8 +1953,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).TrySilentDownloadStorePackageUpdatesAsync)(::core::mem::transmute_copy(this), storepackageupdates.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn TrySilentDownloadAndInstallStorePackageUpdatesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, storepackageupdates: Param0) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1980,8 +1980,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).CanAcquireStoreLicenseAsync)(::core::mem::transmute_copy(this), productstoreid.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetStoreProductsWithOptionsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param2: ::windows::core::IntoParam<'a, StoreProductOptions>>(&self, productkinds: Param0, storeids: Param1, storeproductoptions: Param2) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1989,8 +1989,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).GetStoreProductsWithOptionsAsync)(::core::mem::transmute_copy(this), productkinds.into_param().abi(), storeids.into_param().abi(), storeproductoptions.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetAssociatedStoreQueueItemsAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1998,8 +1998,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).GetAssociatedStoreQueueItemsAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetStoreQueueItemsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, storeids: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2007,8 +2007,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).GetStoreQueueItemsAsync)(::core::mem::transmute_copy(this), storeids.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestDownloadAndInstallStorePackagesWithInstallOptionsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>, Param1: ::windows::core::IntoParam<'a, StorePackageInstallOptions>>(&self, storeids: Param0, storepackageinstalloptions: Param1) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2016,8 +2016,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).RequestDownloadAndInstallStorePackagesWithInstallOptionsAsync)(::core::mem::transmute_copy(this), storeids.into_param().abi(), storepackageinstalloptions.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn DownloadAndInstallStorePackagesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, storeids: Param0) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2070,8 +2070,8 @@ impl StoreContext { (::windows::core::Interface::vtable(this).RequestRateAndReviewAppAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_Store', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_Store', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SetInstallOrderForAssociatedStoreQueueItemsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, items: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs index 5bbfe791c7..64082d56fd 100644 --- a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs +++ b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs @@ -308,9 +308,9 @@ pub struct ITargetedContentValue_Vtbl { pub Strings: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Strings: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub Uris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] Uris: usize, #[cfg(feature = "Foundation_Collections")] pub Numbers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2045,8 +2045,8 @@ impl TargetedContentValue { (::windows::core::Interface::vtable(this).Strings)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Services_TargetedContent', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Services_TargetedContent', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn Uris(&self) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs b/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs index eefc6b3f8a..e8dffa837e 100644 --- a/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs @@ -1,4 +1,4 @@ -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait IStorageItemAccessList_Impl: Sized { fn AddOverloadDefaultMetadata(&self, file: &::core::option::Option) -> ::windows::core::Result<::windows::core::HSTRING>; fn Add(&self, file: &::core::option::Option, metadata: &::windows::core::HSTRING) -> ::windows::core::Result<::windows::core::HSTRING>; @@ -17,11 +17,11 @@ pub trait IStorageItemAccessList_Impl: Sized { fn Entries(&self) -> ::windows::core::Result; fn MaximumItemsAllowed(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for IStorageItemAccessList { const NAME: &'static str = "Windows.Storage.AccessCache.IStorageItemAccessList"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl IStorageItemAccessList_Vtbl { pub const fn new() -> IStorageItemAccessList_Vtbl { unsafe extern "system" fn AddOverloadDefaultMetadata(this: *mut ::core::ffi::c_void, file: ::windows::core::RawPtr, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs index cb10fe0512..e61ebe8e59 100644 --- a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs @@ -711,8 +711,8 @@ impl<'a> ::windows::core::IntoParam<'a, super::IStorageItemPropertiesWithProvide #[repr(transparent)] pub struct FileInformationFactory(::windows::core::IUnknown); impl FileInformationFactory { - #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetItemsAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -720,8 +720,8 @@ impl FileInformationFactory { (::windows::core::Interface::vtable(this).GetItemsAsync)(::core::mem::transmute_copy(this), startindex, maxitemstoretrieve, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetItemsAsyncDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -729,8 +729,8 @@ impl FileInformationFactory { (::windows::core::Interface::vtable(this).GetItemsAsyncDefaultStartAndCount)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFilesAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -738,8 +738,8 @@ impl FileInformationFactory { (::windows::core::Interface::vtable(this).GetFilesAsync)(::core::mem::transmute_copy(this), startindex, maxitemstoretrieve, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFilesAsyncDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -747,8 +747,8 @@ impl FileInformationFactory { (::windows::core::Interface::vtable(this).GetFilesAsyncDefaultStartAndCount)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFoldersAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -756,8 +756,8 @@ impl FileInformationFactory { (::windows::core::Interface::vtable(this).GetFoldersAsync)(::core::mem::transmute_copy(this), startindex, maxitemstoretrieve, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFoldersAsyncDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -966,8 +966,8 @@ impl FolderInformation { (::windows::core::Interface::vtable(this).GetItemAsync)(::core::mem::transmute_copy(this), name.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFilesAsyncOverloadDefaultOptionsStartAndCount(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -975,8 +975,8 @@ impl FolderInformation { (::windows::core::Interface::vtable(this).GetFilesAsyncOverloadDefaultOptionsStartAndCount)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFoldersAsyncOverloadDefaultOptionsStartAndCount(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -984,8 +984,8 @@ impl FolderInformation { (::windows::core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultOptionsStartAndCount)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetItemsAsyncOverloadDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1083,8 +1083,8 @@ impl FolderInformation { (::windows::core::Interface::vtable(this).CreateItemQueryWithOptions)(::core::mem::transmute_copy(this), queryoptions.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation', 'Foundation_Collections', 'Storage_Search'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Search"))] + #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation_Collections', 'Storage_Search'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] pub fn GetFilesAsync(&self, query: super::Search::CommonFileQuery, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1092,8 +1092,8 @@ impl FolderInformation { (::windows::core::Interface::vtable(this).GetFilesAsync)(::core::mem::transmute_copy(this), query, startindex, maxitemstoretrieve, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation', 'Foundation_Collections', 'Storage_Search'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Search"))] + #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation_Collections', 'Storage_Search'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] pub fn GetFilesAsyncOverloadDefaultStartAndCount(&self, query: super::Search::CommonFileQuery) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1101,8 +1101,8 @@ impl FolderInformation { (::windows::core::Interface::vtable(this).GetFilesAsyncOverloadDefaultStartAndCount)(::core::mem::transmute_copy(this), query, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation', 'Foundation_Collections', 'Storage_Search'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Search"))] + #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation_Collections', 'Storage_Search'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] pub fn GetFoldersAsync(&self, query: super::Search::CommonFolderQuery, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1110,8 +1110,8 @@ impl FolderInformation { (::windows::core::Interface::vtable(this).GetFoldersAsync)(::core::mem::transmute_copy(this), query, startindex, maxitemstoretrieve, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation', 'Foundation_Collections', 'Storage_Search'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Search"))] + #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation_Collections', 'Storage_Search'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] pub fn GetFoldersAsyncOverloadDefaultStartAndCount(&self, query: super::Search::CommonFolderQuery) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1119,8 +1119,8 @@ impl FolderInformation { (::windows::core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultStartAndCount)(::core::mem::transmute_copy(this), query, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation', 'Foundation_Collections', 'Storage_Search'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Search"))] + #[doc = "*Required features: 'Storage_BulkAccess', 'Foundation_Collections', 'Storage_Search'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] pub fn GetItemsAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1672,29 +1672,29 @@ unsafe impl ::windows::core::Interface for IFileInformationFactory { #[doc(hidden)] pub struct IFileInformationFactory_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetItemsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startindex: u32, maxitemstoretrieve: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetItemsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetItemsAsyncDefaultStartAndCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetItemsAsyncDefaultStartAndCount: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetFilesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startindex: u32, maxitemstoretrieve: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetFilesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetFilesAsyncDefaultStartAndCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetFilesAsyncDefaultStartAndCount: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetFoldersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startindex: u32, maxitemstoretrieve: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetFoldersAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetFoldersAsyncDefaultStartAndCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetFoldersAsyncDefaultStartAndCount: usize, pub GetVirtualizedItemsVector: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub GetVirtualizedFilesVector: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs b/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs index c0ee3447b4..cb3f68f98d 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs @@ -1,14 +1,14 @@ -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait IStorageItemExtraProperties_Impl: Sized { fn RetrievePropertiesAsync(&self, propertiestoretrieve: &::core::option::Option>) -> ::windows::core::Result>>; fn SavePropertiesAsync(&self, propertiestosave: &::core::option::Option>>) -> ::windows::core::Result; fn SavePropertiesAsyncOverloadDefault(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for IStorageItemExtraProperties { const NAME: &'static str = "Windows.Storage.FileProperties.IStorageItemExtraProperties"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl IStorageItemExtraProperties_Vtbl { pub const fn new() -> IStorageItemExtraProperties_Vtbl { unsafe extern "system" fn RetrievePropertiesAsync(this: *mut ::core::ffi::c_void, propertiestoretrieve: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs index 42f703cb30..72f0356058 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs @@ -29,8 +29,8 @@ impl BasicProperties { (::windows::core::Interface::vtable(this).ItemDate)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Storage_FileProperties', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_FileProperties', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RetrievePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, propertiestoretrieve: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -38,8 +38,8 @@ impl BasicProperties { (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::core::mem::transmute_copy(this), propertiestoretrieve.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_FileProperties', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_FileProperties', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SavePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(&self, propertiestosave: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -197,8 +197,8 @@ impl DocumentProperties { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetComment)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'Storage_FileProperties', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_FileProperties', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RetrievePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, propertiestoretrieve: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -206,8 +206,8 @@ impl DocumentProperties { (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::core::mem::transmute_copy(this), propertiestoretrieve.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_FileProperties', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_FileProperties', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SavePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(&self, propertiestosave: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -556,8 +556,8 @@ pub struct IStorageItemContentProperties_Vtbl { #[repr(transparent)] pub struct IStorageItemExtraProperties(::windows::core::IUnknown); impl IStorageItemExtraProperties { - #[doc = "*Required features: 'Storage_FileProperties', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_FileProperties', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RetrievePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, propertiestoretrieve: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -565,8 +565,8 @@ impl IStorageItemExtraProperties { (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::core::mem::transmute_copy(this), propertiestoretrieve.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_FileProperties', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_FileProperties', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SavePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(&self, propertiestosave: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -655,13 +655,13 @@ unsafe impl ::windows::core::Interface for IStorageItemExtraProperties { #[doc(hidden)] pub struct IStorageItemExtraProperties_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RetrievePropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propertiestoretrieve: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RetrievePropertiesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SavePropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propertiestosave: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SavePropertiesAsync: usize, #[cfg(feature = "Foundation")] pub SavePropertiesAsyncOverloadDefault: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -869,8 +869,8 @@ impl ImageProperties { (::windows::core::Interface::vtable(this).PeopleNames)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Storage_FileProperties', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_FileProperties', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RetrievePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, propertiestoretrieve: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -878,8 +878,8 @@ impl ImageProperties { (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::core::mem::transmute_copy(this), propertiestoretrieve.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_FileProperties', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_FileProperties', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SavePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(&self, propertiestosave: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1172,8 +1172,8 @@ impl MusicProperties { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetYear)(::core::mem::transmute_copy(this), value).ok() } } - #[doc = "*Required features: 'Storage_FileProperties', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_FileProperties', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RetrievePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, propertiestoretrieve: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1181,8 +1181,8 @@ impl MusicProperties { (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::core::mem::transmute_copy(this), propertiestoretrieve.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_FileProperties', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_FileProperties', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SavePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(&self, propertiestosave: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1439,8 +1439,8 @@ impl StorageItemContentProperties { (::windows::core::Interface::vtable(this).GetDocumentPropertiesAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Storage_FileProperties', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_FileProperties', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RetrievePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, propertiestoretrieve: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1448,8 +1448,8 @@ impl StorageItemContentProperties { (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::core::mem::transmute_copy(this), propertiestoretrieve.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_FileProperties', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_FileProperties', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SavePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(&self, propertiestosave: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2132,8 +2132,8 @@ unsafe impl ::windows::core::RuntimeType for VideoOrientation { #[repr(transparent)] pub struct VideoProperties(::windows::core::IUnknown); impl VideoProperties { - #[doc = "*Required features: 'Storage_FileProperties', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_FileProperties', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RetrievePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, propertiestoretrieve: Param0) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2141,8 +2141,8 @@ impl VideoProperties { (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::core::mem::transmute_copy(this), propertiestoretrieve.into_param().abi(), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_FileProperties', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_FileProperties', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SavePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>>(&self, propertiestosave: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs index c37ea8ed40..746971e76d 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs @@ -342,8 +342,8 @@ impl FileOpenPicker { (::windows::core::Interface::vtable(this).PickSingleFileAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Storage_Pickers', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Pickers', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn PickMultipleFilesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1376,9 +1376,9 @@ pub struct IFileOpenPicker_Vtbl { pub PickSingleFileAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] PickSingleFileAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub PickMultipleFilesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] PickMultipleFilesAsync: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs index 2e36493111..b565c58df2 100644 --- a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs @@ -938,9 +938,9 @@ unsafe impl ::windows::core::Interface for IStorageProviderItemPropertiesStatics #[doc(hidden)] pub struct IStorageProviderItemPropertiesStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SetAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, item: ::windows::core::RawPtr, itemproperties: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SetAsync: usize, } #[doc(hidden)] @@ -2389,8 +2389,8 @@ unsafe impl ::windows::core::RuntimeType for StorageProviderInSyncPolicy { #[doc = "*Required features: 'Storage_Provider'*"] pub struct StorageProviderItemProperties {} impl StorageProviderItemProperties { - #[doc = "*Required features: 'Storage_Provider', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Provider', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SetAsync<'a, Param0: ::windows::core::IntoParam<'a, super::IStorageItem>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(item: Param0, itemproperties: Param1) -> ::windows::core::Result { Self::IStorageProviderItemPropertiesStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Storage/Search/impl.rs b/crates/libs/windows/src/Windows/Storage/Search/impl.rs index 8327137502..14a1b50fe4 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/impl.rs @@ -93,7 +93,7 @@ impl IIndexableContent_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait IStorageFolderQueryOperations_Impl: Sized { fn GetIndexedStateAsync(&self) -> ::windows::core::Result>; fn CreateFileQueryOverloadDefault(&self) -> ::windows::core::Result; @@ -113,11 +113,11 @@ pub trait IStorageFolderQueryOperations_Impl: Sized { fn IsCommonFolderQuerySupported(&self, query: CommonFolderQuery) -> ::windows::core::Result; fn IsCommonFileQuerySupported(&self, query: CommonFileQuery) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for IStorageFolderQueryOperations { const NAME: &'static str = "Windows.Storage.Search.IStorageFolderQueryOperations"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl IStorageFolderQueryOperations_Vtbl { pub const fn new() -> IStorageFolderQueryOperations_Vtbl { unsafe extern "system" fn GetIndexedStateAsync(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/Storage/Search/mod.rs b/crates/libs/windows/src/Windows/Storage/Search/mod.rs index 27ef8db6cd..20e38d003a 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/mod.rs @@ -113,8 +113,8 @@ impl ContentIndexer { (::windows::core::Interface::vtable(this).DeleteAsync)(::core::mem::transmute_copy(this), contentid.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn DeleteMultipleAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, contentids: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -131,8 +131,8 @@ impl ContentIndexer { (::windows::core::Interface::vtable(this).DeleteAllAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RetrievePropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, contentid: Param0, propertiestoretrieve: Param1) -> ::windows::core::Result>> { let this = self; unsafe { @@ -280,8 +280,8 @@ impl ContentIndexerQuery { (::windows::core::Interface::vtable(this).GetCountAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetPropertiesAsync(&self) -> ::windows::core::Result>>> { let this = self; unsafe { @@ -289,8 +289,8 @@ impl ContentIndexerQuery { (::windows::core::Interface::vtable(this).GetPropertiesAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>>(result__) } } - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetPropertiesRangeAsync(&self, startindex: u32, maxitems: u32) -> ::windows::core::Result>>> { let this = self; unsafe { @@ -298,8 +298,8 @@ impl ContentIndexerQuery { (::windows::core::Interface::vtable(this).GetPropertiesRangeAsync)(::core::mem::transmute_copy(this), startindex, maxitems, &mut result__).from_abi::>>>(result__) } } - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -307,8 +307,8 @@ impl ContentIndexerQuery { (::windows::core::Interface::vtable(this).GetAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetRangeAsync(&self, startindex: u32, maxitems: u32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -489,17 +489,17 @@ pub struct IContentIndexer_Vtbl { pub DeleteAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contentid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] DeleteAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub DeleteMultipleAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contentids: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] DeleteMultipleAsync: usize, #[cfg(feature = "Foundation")] pub DeleteAllAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] DeleteAllAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RetrievePropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contentid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, propertiestoretrieve: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RetrievePropertiesAsync: usize, pub Revision: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut u64) -> ::windows::core::HRESULT, } @@ -518,21 +518,21 @@ pub struct IContentIndexerQuery_Vtbl { pub GetCountAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetCountAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetPropertiesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetPropertiesRangeAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startindex: u32, maxitems: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetPropertiesRangeAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetRangeAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startindex: u32, maxitems: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetRangeAsync: usize, pub QueryFolder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, } @@ -803,13 +803,13 @@ unsafe impl ::windows::core::Interface for IStorageFileQueryResult { #[doc(hidden)] pub struct IStorageFileQueryResult_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetFilesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startindex: u32, maxnumberofitems: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetFilesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetFilesAsyncDefaultStartAndCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetFilesAsyncDefaultStartAndCount: usize, } #[doc(hidden)] @@ -905,8 +905,8 @@ impl IStorageFolderQueryOperations { (::windows::core::Interface::vtable(this).CreateItemQueryWithOptions)(::core::mem::transmute_copy(this), queryoptions.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFilesAsync(&self, query: CommonFileQuery, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -914,8 +914,8 @@ impl IStorageFolderQueryOperations { (::windows::core::Interface::vtable(this).GetFilesAsync)(::core::mem::transmute_copy(this), query, startindex, maxitemstoretrieve, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFilesAsyncOverloadDefaultStartAndCount(&self, query: CommonFileQuery) -> ::windows::core::Result>> { let this = self; unsafe { @@ -923,8 +923,8 @@ impl IStorageFolderQueryOperations { (::windows::core::Interface::vtable(this).GetFilesAsyncOverloadDefaultStartAndCount)(::core::mem::transmute_copy(this), query, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFoldersAsync(&self, query: CommonFolderQuery, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -932,8 +932,8 @@ impl IStorageFolderQueryOperations { (::windows::core::Interface::vtable(this).GetFoldersAsync)(::core::mem::transmute_copy(this), query, startindex, maxitemstoretrieve, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFoldersAsyncOverloadDefaultStartAndCount(&self, query: CommonFolderQuery) -> ::windows::core::Result>> { let this = self; unsafe { @@ -941,8 +941,8 @@ impl IStorageFolderQueryOperations { (::windows::core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultStartAndCount)(::core::mem::transmute_copy(this), query, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetItemsAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1058,25 +1058,25 @@ pub struct IStorageFolderQueryOperations_Vtbl { pub CreateFolderQueryWithOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, queryoptions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub CreateItemQuery: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub CreateItemQueryWithOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, queryoptions: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetFilesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, query: CommonFileQuery, startindex: u32, maxitemstoretrieve: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetFilesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetFilesAsyncOverloadDefaultStartAndCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, query: CommonFileQuery, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetFilesAsyncOverloadDefaultStartAndCount: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetFoldersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, query: CommonFolderQuery, startindex: u32, maxitemstoretrieve: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetFoldersAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetFoldersAsyncOverloadDefaultStartAndCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, query: CommonFolderQuery, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetFoldersAsyncOverloadDefaultStartAndCount: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetItemsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startindex: u32, maxitemstoretrieve: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetItemsAsync: usize, pub AreQueryOptionsSupported: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, queryoptions: ::windows::core::RawPtr, result__: *mut bool) -> ::windows::core::HRESULT, pub IsCommonFolderQuerySupported: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, query: CommonFolderQuery, result__: *mut bool) -> ::windows::core::HRESULT, @@ -1093,13 +1093,13 @@ unsafe impl ::windows::core::Interface for IStorageFolderQueryResult { #[doc(hidden)] pub struct IStorageFolderQueryResult_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetFoldersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startindex: u32, maxnumberofitems: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetFoldersAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetFoldersAsyncDefaultStartAndCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetFoldersAsyncDefaultStartAndCount: usize, } #[doc(hidden)] @@ -1113,13 +1113,13 @@ unsafe impl ::windows::core::Interface for IStorageItemQueryResult { #[doc(hidden)] pub struct IStorageItemQueryResult_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetItemsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startindex: u32, maxnumberofitems: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetItemsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetItemsAsyncDefaultStartAndCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetItemsAsyncDefaultStartAndCount: usize, } #[doc(hidden)] @@ -2104,8 +2104,8 @@ impl<'a> ::windows::core::IntoParam<'a, super::super::Foundation::Collections::I #[repr(transparent)] pub struct StorageFileQueryResult(::windows::core::IUnknown); impl StorageFileQueryResult { - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFilesAsync(&self, startindex: u32, maxnumberofitems: u32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -2113,8 +2113,8 @@ impl StorageFileQueryResult { (::windows::core::Interface::vtable(this).GetFilesAsync)(::core::mem::transmute_copy(this), startindex, maxnumberofitems, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFilesAsyncDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -2297,8 +2297,8 @@ impl<'a> ::windows::core::IntoParam<'a, IStorageQueryResultBase> for &StorageFil #[repr(transparent)] pub struct StorageFolderQueryResult(::windows::core::IUnknown); impl StorageFolderQueryResult { - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFoldersAsync(&self, startindex: u32, maxnumberofitems: u32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -2306,8 +2306,8 @@ impl StorageFolderQueryResult { (::windows::core::Interface::vtable(this).GetFoldersAsync)(::core::mem::transmute_copy(this), startindex, maxnumberofitems, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFoldersAsyncDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -2481,8 +2481,8 @@ impl<'a> ::windows::core::IntoParam<'a, IStorageQueryResultBase> for &StorageFol #[repr(transparent)] pub struct StorageItemQueryResult(::windows::core::IUnknown); impl StorageItemQueryResult { - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetItemsAsync(&self, startindex: u32, maxnumberofitems: u32) -> ::windows::core::Result>> { let this = self; unsafe { @@ -2490,8 +2490,8 @@ impl StorageItemQueryResult { (::windows::core::Interface::vtable(this).GetItemsAsync)(::core::mem::transmute_copy(this), startindex, maxnumberofitems, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage_Search', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage_Search', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetItemsAsyncDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Storage/impl.rs b/crates/libs/windows/src/Windows/Storage/impl.rs index d0a74f25e1..0823f7c847 100644 --- a/crates/libs/windows/src/Windows/Storage/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/impl.rs @@ -259,7 +259,7 @@ impl IStorageFilePropertiesWithAvailability_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_FileProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Storage_FileProperties"))] pub trait IStorageFolder_Impl: Sized + IStorageItem_Impl { fn CreateFileAsyncOverloadDefaultOptions(&self, desiredname: &::windows::core::HSTRING) -> ::windows::core::Result>; fn CreateFileAsync(&self, desiredname: &::windows::core::HSTRING, options: CreationCollisionOption) -> ::windows::core::Result>; @@ -272,11 +272,11 @@ pub trait IStorageFolder_Impl: Sized + IStorageItem_Impl { fn GetFoldersAsyncOverloadDefaultOptionsStartAndCount(&self) -> ::windows::core::Result>>; fn GetItemsAsyncOverloadDefaultStartAndCount(&self) -> ::windows::core::Result>>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_FileProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Storage_FileProperties"))] impl ::windows::core::RuntimeName for IStorageFolder { const NAME: &'static str = "Windows.Storage.IStorageFolder"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_FileProperties"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Storage_FileProperties"))] impl IStorageFolder_Vtbl { pub const fn new() -> IStorageFolder_Vtbl { unsafe extern "system" fn CreateFileAsyncOverloadDefaultOptions(this: *mut ::core::ffi::c_void, desiredname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/Storage/mod.rs b/crates/libs/windows/src/Windows/Storage/mod.rs index 362a6efb94..9ee02f804b 100644 --- a/crates/libs/windows/src/Windows/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/mod.rs @@ -533,8 +533,8 @@ impl ApplicationDataCompositeValue { let this = &::windows::core::Interface::cast::>(self)?; unsafe { (::windows::core::Interface::vtable(this).Clear)(::core::mem::transmute_copy(this)).ok() } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn MapChanged<'a, Param0: ::windows::core::IntoParam<'a, super::Foundation::Collections::MapChangedEventHandler<::windows::core::HSTRING, ::windows::core::IInspectable>>>(&self, vhnd: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { @@ -542,8 +542,8 @@ impl ApplicationDataCompositeValue { (::windows::core::Interface::vtable(this).MapChanged)(::core::mem::transmute_copy(this), vhnd.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RemoveMapChanged<'a, Param0: ::windows::core::IntoParam<'a, super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { (::windows::core::Interface::vtable(this).RemoveMapChanged)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } @@ -986,8 +986,8 @@ impl ApplicationDataContainerSettings { let this = &::windows::core::Interface::cast::>(self)?; unsafe { (::windows::core::Interface::vtable(this).Clear)(::core::mem::transmute_copy(this)).ok() } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn MapChanged<'a, Param0: ::windows::core::IntoParam<'a, super::Foundation::Collections::MapChangedEventHandler<::windows::core::HSTRING, ::windows::core::IInspectable>>>(&self, vhnd: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { @@ -995,8 +995,8 @@ impl ApplicationDataContainerSettings { (::windows::core::Interface::vtable(this).MapChanged)(::core::mem::transmute_copy(this), vhnd.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RemoveMapChanged<'a, Param0: ::windows::core::IntoParam<'a, super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { (::windows::core::Interface::vtable(this).RemoveMapChanged)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } @@ -1656,48 +1656,48 @@ impl FileIO { (::windows::core::Interface::vtable(this).AppendTextWithEncodingAsync)(::core::mem::transmute_copy(this), file.into_param().abi(), contents.into_param().abi(), encoding, &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadLinesAsync<'a, Param0: ::windows::core::IntoParam<'a, IStorageFile>>(file: Param0) -> ::windows::core::Result>> { Self::IFileIOStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).ReadLinesAsync)(::core::mem::transmute_copy(this), file.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn ReadLinesWithEncodingAsync<'a, Param0: ::windows::core::IntoParam<'a, IStorageFile>>(file: Param0, encoding: Streams::UnicodeEncoding) -> ::windows::core::Result>> { Self::IFileIOStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).ReadLinesWithEncodingAsync)(::core::mem::transmute_copy(this), file.into_param().abi(), encoding, &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn WriteLinesAsync<'a, Param0: ::windows::core::IntoParam<'a, IStorageFile>, Param1: ::windows::core::IntoParam<'a, super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(file: Param0, lines: Param1) -> ::windows::core::Result { Self::IFileIOStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).WriteLinesAsync)(::core::mem::transmute_copy(this), file.into_param().abi(), lines.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn WriteLinesWithEncodingAsync<'a, Param0: ::windows::core::IntoParam<'a, IStorageFile>, Param1: ::windows::core::IntoParam<'a, super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(file: Param0, lines: Param1, encoding: Streams::UnicodeEncoding) -> ::windows::core::Result { Self::IFileIOStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).WriteLinesWithEncodingAsync)(::core::mem::transmute_copy(this), file.into_param().abi(), lines.into_param().abi(), encoding, &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn AppendLinesAsync<'a, Param0: ::windows::core::IntoParam<'a, IStorageFile>, Param1: ::windows::core::IntoParam<'a, super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(file: Param0, lines: Param1) -> ::windows::core::Result { Self::IFileIOStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).AppendLinesAsync)(::core::mem::transmute_copy(this), file.into_param().abi(), lines.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn AppendLinesWithEncodingAsync<'a, Param0: ::windows::core::IntoParam<'a, IStorageFile>, Param1: ::windows::core::IntoParam<'a, super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(file: Param0, lines: Param1, encoding: Streams::UnicodeEncoding) -> ::windows::core::Result { Self::IFileIOStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -2007,29 +2007,29 @@ pub struct IFileIOStatics_Vtbl { pub AppendTextWithEncodingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, file: ::windows::core::RawPtr, contents: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, encoding: Streams::UnicodeEncoding, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Storage_Streams")))] AppendTextWithEncodingAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadLinesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, file: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadLinesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub ReadLinesWithEncodingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, file: ::windows::core::RawPtr, encoding: Streams::UnicodeEncoding, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] ReadLinesWithEncodingAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub WriteLinesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, file: ::windows::core::RawPtr, lines: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] WriteLinesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub WriteLinesWithEncodingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, file: ::windows::core::RawPtr, lines: ::windows::core::RawPtr, encoding: Streams::UnicodeEncoding, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] WriteLinesWithEncodingAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub AppendLinesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, file: ::windows::core::RawPtr, lines: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] AppendLinesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub AppendLinesWithEncodingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, file: ::windows::core::RawPtr, lines: ::windows::core::RawPtr, encoding: Streams::UnicodeEncoding, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] AppendLinesWithEncodingAsync: usize, #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub ReadBufferAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, file: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2192,29 +2192,29 @@ pub struct IPathIOStatics_Vtbl { pub AppendTextWithEncodingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, absolutepath: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, contents: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, encoding: Streams::UnicodeEncoding, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Storage_Streams")))] AppendTextWithEncodingAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadLinesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, absolutepath: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadLinesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub ReadLinesWithEncodingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, absolutepath: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, encoding: Streams::UnicodeEncoding, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] ReadLinesWithEncodingAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub WriteLinesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, absolutepath: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, lines: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] WriteLinesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub WriteLinesWithEncodingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, absolutepath: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, lines: ::windows::core::RawPtr, encoding: Streams::UnicodeEncoding, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] WriteLinesWithEncodingAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub AppendLinesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, absolutepath: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, lines: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] AppendLinesAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub AppendLinesWithEncodingAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, absolutepath: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, lines: ::windows::core::RawPtr, encoding: Streams::UnicodeEncoding, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] AppendLinesWithEncodingAsync: usize, #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub ReadBufferAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, absolutepath: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2968,8 +2968,8 @@ impl IStorageFolder { (::windows::core::Interface::vtable(this).GetItemAsync)(::core::mem::transmute_copy(this), name.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFilesAsyncOverloadDefaultOptionsStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -2977,8 +2977,8 @@ impl IStorageFolder { (::windows::core::Interface::vtable(this).GetFilesAsyncOverloadDefaultOptionsStartAndCount)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFoldersAsyncOverloadDefaultOptionsStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -2986,8 +2986,8 @@ impl IStorageFolder { (::windows::core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultOptionsStartAndCount)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetItemsAsyncOverloadDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -3203,17 +3203,17 @@ pub struct IStorageFolder_Vtbl { pub GetItemAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetItemAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetFilesAsyncOverloadDefaultOptionsStartAndCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetFilesAsyncOverloadDefaultOptionsStartAndCount: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetFoldersAsyncOverloadDefaultOptionsStartAndCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetFoldersAsyncOverloadDefaultOptionsStartAndCount: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetItemsAsyncOverloadDefaultStartAndCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetItemsAsyncOverloadDefaultStartAndCount: usize, } #[doc = "*Required features: 'Storage'*"] @@ -4364,9 +4364,9 @@ unsafe impl ::windows::core::Interface for IStorageLibraryChangeReader { #[doc(hidden)] pub struct IStorageLibraryChangeReader_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ReadBatchAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadBatchAsync: usize, #[cfg(feature = "Foundation")] pub AcceptChangesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -5220,48 +5220,48 @@ impl PathIO { (::windows::core::Interface::vtable(this).AppendTextWithEncodingAsync)(::core::mem::transmute_copy(this), absolutepath.into_param().abi(), contents.into_param().abi(), encoding, &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadLinesAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(absolutepath: Param0) -> ::windows::core::Result>> { Self::IPathIOStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).ReadLinesAsync)(::core::mem::transmute_copy(this), absolutepath.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn ReadLinesWithEncodingAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(absolutepath: Param0, encoding: Streams::UnicodeEncoding) -> ::windows::core::Result>> { Self::IPathIOStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).ReadLinesWithEncodingAsync)(::core::mem::transmute_copy(this), absolutepath.into_param().abi(), encoding, &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn WriteLinesAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(absolutepath: Param0, lines: Param1) -> ::windows::core::Result { Self::IPathIOStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).WriteLinesAsync)(::core::mem::transmute_copy(this), absolutepath.into_param().abi(), lines.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn WriteLinesWithEncodingAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(absolutepath: Param0, lines: Param1, encoding: Streams::UnicodeEncoding) -> ::windows::core::Result { Self::IPathIOStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).WriteLinesWithEncodingAsync)(::core::mem::transmute_copy(this), absolutepath.into_param().abi(), lines.into_param().abi(), encoding, &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn AppendLinesAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(absolutepath: Param0, lines: Param1) -> ::windows::core::Result { Self::IPathIOStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).AppendLinesAsync)(::core::mem::transmute_copy(this), absolutepath.into_param().abi(), lines.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections', 'Storage_Streams'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections', 'Storage_Streams'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn AppendLinesWithEncodingAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(absolutepath: Param0, lines: Param1, encoding: Streams::UnicodeEncoding) -> ::windows::core::Result { Self::IPathIOStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -6302,8 +6302,8 @@ impl StorageFolder { (::windows::core::Interface::vtable(this).GetItemAsync)(::core::mem::transmute_copy(this), name.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFilesAsyncOverloadDefaultOptionsStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -6311,8 +6311,8 @@ impl StorageFolder { (::windows::core::Interface::vtable(this).GetFilesAsyncOverloadDefaultOptionsStartAndCount)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetFoldersAsyncOverloadDefaultOptionsStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -6320,8 +6320,8 @@ impl StorageFolder { (::windows::core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultOptionsStartAndCount)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetItemsAsyncOverloadDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -6427,8 +6427,8 @@ impl StorageFolder { (::windows::core::Interface::vtable(this).CreateItemQueryWithOptions)(::core::mem::transmute_copy(this), queryoptions.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections', 'Storage_Search'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Search"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections', 'Storage_Search'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] pub fn GetFilesAsync(&self, query: Search::CommonFileQuery, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -6436,8 +6436,8 @@ impl StorageFolder { (::windows::core::Interface::vtable(this).GetFilesAsync)(::core::mem::transmute_copy(this), query, startindex, maxitemstoretrieve, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections', 'Storage_Search'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Search"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections', 'Storage_Search'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] pub fn GetFilesAsyncOverloadDefaultStartAndCount(&self, query: Search::CommonFileQuery) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -6445,8 +6445,8 @@ impl StorageFolder { (::windows::core::Interface::vtable(this).GetFilesAsyncOverloadDefaultStartAndCount)(::core::mem::transmute_copy(this), query, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections', 'Storage_Search'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Search"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections', 'Storage_Search'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] pub fn GetFoldersAsync(&self, query: Search::CommonFolderQuery, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -6454,8 +6454,8 @@ impl StorageFolder { (::windows::core::Interface::vtable(this).GetFoldersAsync)(::core::mem::transmute_copy(this), query, startindex, maxitemstoretrieve, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections', 'Storage_Search'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Search"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections', 'Storage_Search'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] pub fn GetFoldersAsyncOverloadDefaultStartAndCount(&self, query: Search::CommonFolderQuery) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -6463,8 +6463,8 @@ impl StorageFolder { (::windows::core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultStartAndCount)(::core::mem::transmute_copy(this), query, &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections', 'Storage_Search'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Search"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections', 'Storage_Search'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] pub fn GetItemsAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -7327,8 +7327,8 @@ unsafe impl ::core::marker::Sync for StorageLibraryChange {} #[repr(transparent)] pub struct StorageLibraryChangeReader(::windows::core::IUnknown); impl StorageLibraryChangeReader { - #[doc = "*Required features: 'Storage', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Storage', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/System/Inventory/mod.rs b/crates/libs/windows/src/Windows/System/Inventory/mod.rs index 50a346518d..bf5034c73d 100644 --- a/crates/libs/windows/src/Windows/System/Inventory/mod.rs +++ b/crates/libs/windows/src/Windows/System/Inventory/mod.rs @@ -26,9 +26,9 @@ unsafe impl ::windows::core::Interface for IInstalledDesktopAppStatics { #[doc(hidden)] pub struct IInstalledDesktopAppStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetInventoryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetInventoryAsync: usize, } #[doc = "*Required features: 'System_Inventory'*"] @@ -67,8 +67,8 @@ impl InstalledDesktopApp { (::windows::core::Interface::vtable(this).DisplayVersion)(::core::mem::transmute_copy(this), &mut result__).from_abi::<::windows::core::HSTRING>(result__) } } - #[doc = "*Required features: 'System_Inventory', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System_Inventory', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetInventoryAsync() -> ::windows::core::Result>> { Self::IInstalledDesktopAppStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/System/Profile/mod.rs b/crates/libs/windows/src/Windows/System/Profile/mod.rs index 6f4dd89e8e..c5c6990ce0 100644 --- a/crates/libs/windows/src/Windows/System/Profile/mod.rs +++ b/crates/libs/windows/src/Windows/System/Profile/mod.rs @@ -18,8 +18,8 @@ impl AnalyticsInfo { (::windows::core::Interface::vtable(this).DeviceForm)(::core::mem::transmute_copy(this), &mut result__).from_abi::<::windows::core::HSTRING>(result__) }) } - #[doc = "*Required features: 'System_Profile', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System_Profile', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetSystemPropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(attributenames: Param0) -> ::windows::core::Result>> { Self::IAnalyticsInfoStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -329,9 +329,9 @@ unsafe impl ::windows::core::Interface for IAnalyticsInfoStatics2 { #[doc(hidden)] pub struct IAnalyticsInfoStatics2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetSystemPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, attributenames: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetSystemPropertiesAsync: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs index 7900f513c9..70be892304 100644 --- a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs @@ -744,17 +744,17 @@ unsafe impl ::windows::core::Interface for IRemoteSystemSessionMessageChannel { pub struct IRemoteSystemSessionMessageChannel_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub Session: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub BroadcastValueSetAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, messagedata: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] BroadcastValueSetAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SendValueSetAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, messagedata: ::windows::core::RawPtr, participant: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SendValueSetAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SendValueSetToParticipantsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, messagedata: ::windows::core::RawPtr, participants: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SendValueSetToParticipantsAsync: usize, #[cfg(feature = "Foundation")] pub ValueSetReceived: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, handler: ::windows::core::RawPtr, result__: *mut super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, @@ -4134,8 +4134,8 @@ impl RemoteSystemSessionMessageChannel { (::windows::core::Interface::vtable(this).Session)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'System_RemoteSystems', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System_RemoteSystems', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn BroadcastValueSetAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::ValueSet>>(&self, messagedata: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -4143,8 +4143,8 @@ impl RemoteSystemSessionMessageChannel { (::windows::core::Interface::vtable(this).BroadcastValueSetAsync)(::core::mem::transmute_copy(this), messagedata.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'System_RemoteSystems', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System_RemoteSystems', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SendValueSetAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::ValueSet>, Param1: ::windows::core::IntoParam<'a, RemoteSystemSessionParticipant>>(&self, messagedata: Param0, participant: Param1) -> ::windows::core::Result> { let this = self; unsafe { @@ -4152,8 +4152,8 @@ impl RemoteSystemSessionMessageChannel { (::windows::core::Interface::vtable(this).SendValueSetAsync)(::core::mem::transmute_copy(this), messagedata.into_param().abi(), participant.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'System_RemoteSystems', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System_RemoteSystems', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SendValueSetToParticipantsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::ValueSet>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, messagedata: Param0, participants: Param1) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/System/mod.rs b/crates/libs/windows/src/Windows/System/mod.rs index dd8c540048..48754216ba 100644 --- a/crates/libs/windows/src/Windows/System/mod.rs +++ b/crates/libs/windows/src/Windows/System/mod.rs @@ -155,8 +155,8 @@ impl AppDiagnosticInfo { (::windows::core::Interface::vtable(this).LaunchAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestInfoAsync() -> ::windows::core::Result>> { Self::IAppDiagnosticInfoStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -178,24 +178,24 @@ impl AppDiagnosticInfo { (::windows::core::Interface::vtable(this).RequestAccessAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestInfoForPackageAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(packagefamilyname: Param0) -> ::windows::core::Result>> { Self::IAppDiagnosticInfoStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).RequestInfoForPackageAsync)(::core::mem::transmute_copy(this), packagefamilyname.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestInfoForAppAsync() -> ::windows::core::Result>> { Self::IAppDiagnosticInfoStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).RequestInfoForAppAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RequestInfoForAppUserModelId<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(appusermodelid: Param0) -> ::windows::core::Result>> { Self::IAppDiagnosticInfoStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1969,8 +1969,8 @@ impl AppUriHandlerRegistration { (::windows::core::Interface::vtable(this).User)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetAppAddedHostsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { @@ -1978,8 +1978,8 @@ impl AppUriHandlerRegistration { (::windows::core::Interface::vtable(this).GetAppAddedHostsAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) } } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SetAppAddedHostsAsync<'a, Param0: ::windows::core::IntoParam<'a, super::Foundation::Collections::IIterable>>(&self, hosts: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -3112,9 +3112,9 @@ unsafe impl ::windows::core::Interface for IAppDiagnosticInfoStatics { #[doc(hidden)] pub struct IAppDiagnosticInfoStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestInfoAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestInfoAsync: usize, } #[doc(hidden)] @@ -3133,17 +3133,17 @@ pub struct IAppDiagnosticInfoStatics2_Vtbl { pub RequestAccessAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RequestAccessAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestInfoForPackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, packagefamilyname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestInfoForPackageAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestInfoForAppAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestInfoForAppAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RequestInfoForAppUserModelId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, appusermodelid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestInfoForAppUserModelId: usize, } #[doc(hidden)] @@ -3499,13 +3499,13 @@ pub struct IAppUriHandlerRegistration_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub Name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT, pub User: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetAppAddedHostsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetAppAddedHostsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SetAppAddedHostsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hosts: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SetAppAddedHostsAsync: usize, } #[doc(hidden)] @@ -3927,13 +3927,13 @@ pub struct ILauncherStatics2_Vtbl { pub LaunchUriForResultsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::RawPtr, options: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] LaunchUriForResultsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub LaunchUriForResultsWithDataAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::RawPtr, options: ::windows::core::RawPtr, inputdata: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] LaunchUriForResultsWithDataAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub LaunchUriWithDataAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::RawPtr, options: ::windows::core::RawPtr, inputdata: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] LaunchUriWithDataAsync: usize, #[cfg(feature = "Foundation")] pub QueryUriSupportAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::RawPtr, launchquerysupporttype: LaunchQuerySupportType, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -3951,17 +3951,17 @@ pub struct ILauncherStatics2_Vtbl { pub QueryFileSupportWithPackageFamilyNameAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, file: ::windows::core::RawPtr, packagefamilyname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Storage")))] QueryFileSupportWithPackageFamilyNameAsync: usize, - #[cfg(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub FindUriSchemeHandlersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, scheme: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindUriSchemeHandlersAsync: usize, - #[cfg(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub FindUriSchemeHandlersWithLaunchUriTypeAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, scheme: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, launchquerysupporttype: LaunchQuerySupportType, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindUriSchemeHandlersWithLaunchUriTypeAsync: usize, - #[cfg(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub FindFileHandlersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, extension: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindFileHandlersAsync: usize, } #[doc(hidden)] @@ -4003,9 +4003,9 @@ pub struct ILauncherStatics4_Vtbl { pub QueryAppUriSupportWithPackageFamilyNameAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::RawPtr, packagefamilyname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] QueryAppUriSupportWithPackageFamilyNameAsync: usize, - #[cfg(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub FindAppUriHandlersAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindAppUriHandlersAsync: usize, #[cfg(feature = "Foundation")] pub LaunchUriForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, uri: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4015,17 +4015,17 @@ pub struct ILauncherStatics4_Vtbl { pub LaunchUriWithOptionsForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, uri: ::windows::core::RawPtr, options: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] LaunchUriWithOptionsForUserAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub LaunchUriWithDataForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, uri: ::windows::core::RawPtr, options: ::windows::core::RawPtr, inputdata: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] LaunchUriWithDataForUserAsync: usize, #[cfg(feature = "Foundation")] pub LaunchUriForResultsForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, uri: ::windows::core::RawPtr, options: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] LaunchUriForResultsForUserAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub LaunchUriForResultsWithDataForUserAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, user: ::windows::core::RawPtr, uri: ::windows::core::RawPtr, options: ::windows::core::RawPtr, inputdata: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] LaunchUriForResultsWithDataForUserAsync: usize, } #[doc(hidden)] @@ -4415,9 +4415,9 @@ pub struct IRemoteLauncherStatics_Vtbl { pub LaunchUriWithOptionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, remotesystemconnectionrequest: ::windows::core::RawPtr, uri: ::windows::core::RawPtr, options: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "System_RemoteSystems")))] LaunchUriWithOptionsAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System_RemoteSystems"))] + #[cfg(all(feature = "Foundation_Collections", feature = "System_RemoteSystems"))] pub LaunchUriWithDataAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, remotesystemconnectionrequest: ::windows::core::RawPtr, uri: ::windows::core::RawPtr, options: ::windows::core::RawPtr, inputdata: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System_RemoteSystems")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "System_RemoteSystems")))] LaunchUriWithDataAsync: usize, } #[doc(hidden)] @@ -4508,9 +4508,9 @@ pub struct IUser_Vtbl { pub GetPropertyAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] GetPropertyAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetPropertiesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, values: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetPropertiesAsync: usize, #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub GetPictureAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, desiredsize: UserPictureSize, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4672,17 +4672,17 @@ unsafe impl ::windows::core::Interface for IUserStatics { pub struct IUserStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub CreateWatcher: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub FindAllAsyncByType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: UserType, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] FindAllAsyncByType: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub FindAllAsyncByTypeAndStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, r#type: UserType, status: UserAuthenticationStatus, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] FindAllAsyncByTypeAndStatus: usize, pub GetFromId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nonroamableid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, } @@ -5138,16 +5138,16 @@ impl Launcher { (::windows::core::Interface::vtable(this).LaunchUriForResultsAsync)(::core::mem::transmute_copy(this), uri.into_param().abi(), options.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn LaunchUriForResultsWithDataAsync<'a, Param0: ::windows::core::IntoParam<'a, super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, LauncherOptions>, Param2: ::windows::core::IntoParam<'a, super::Foundation::Collections::ValueSet>>(uri: Param0, options: Param1, inputdata: Param2) -> ::windows::core::Result> { Self::ILauncherStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).LaunchUriForResultsWithDataAsync)(::core::mem::transmute_copy(this), uri.into_param().abi(), options.into_param().abi(), inputdata.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn LaunchUriWithDataAsync<'a, Param0: ::windows::core::IntoParam<'a, super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, LauncherOptions>, Param2: ::windows::core::IntoParam<'a, super::Foundation::Collections::ValueSet>>(uri: Param0, options: Param1, inputdata: Param2) -> ::windows::core::Result> { Self::ILauncherStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -5186,24 +5186,24 @@ impl Launcher { (::windows::core::Interface::vtable(this).QueryFileSupportWithPackageFamilyNameAsync)(::core::mem::transmute_copy(this), file.into_param().abi(), packagefamilyname.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'System', 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub fn FindUriSchemeHandlersAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(scheme: Param0) -> ::windows::core::Result>> { Self::ILauncherStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindUriSchemeHandlersAsync)(::core::mem::transmute_copy(this), scheme.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'System', 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub fn FindUriSchemeHandlersWithLaunchUriTypeAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(scheme: Param0, launchquerysupporttype: LaunchQuerySupportType) -> ::windows::core::Result>> { Self::ILauncherStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindUriSchemeHandlersWithLaunchUriTypeAsync)(::core::mem::transmute_copy(this), scheme.into_param().abi(), launchquerysupporttype, &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'System', 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub fn FindFileHandlersAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(extension: Param0) -> ::windows::core::Result>> { Self::ILauncherStatics2(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -5242,8 +5242,8 @@ impl Launcher { (::windows::core::Interface::vtable(this).QueryAppUriSupportWithPackageFamilyNameAsync)(::core::mem::transmute_copy(this), uri.into_param().abi(), packagefamilyname.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'System', 'ApplicationModel', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "ApplicationModel", feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'ApplicationModel', 'Foundation_Collections'*"] + #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub fn FindAppUriHandlersAsync<'a, Param0: ::windows::core::IntoParam<'a, super::Foundation::Uri>>(uri: Param0) -> ::windows::core::Result>> { Self::ILauncherStatics4(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -5266,8 +5266,8 @@ impl Launcher { (::windows::core::Interface::vtable(this).LaunchUriWithOptionsForUserAsync)(::core::mem::transmute_copy(this), user.into_param().abi(), uri.into_param().abi(), options.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn LaunchUriWithDataForUserAsync<'a, Param0: ::windows::core::IntoParam<'a, User>, Param1: ::windows::core::IntoParam<'a, super::Foundation::Uri>, Param2: ::windows::core::IntoParam<'a, LauncherOptions>, Param3: ::windows::core::IntoParam<'a, super::Foundation::Collections::ValueSet>>(user: Param0, uri: Param1, options: Param2, inputdata: Param3) -> ::windows::core::Result> { Self::ILauncherStatics4(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -5282,8 +5282,8 @@ impl Launcher { (::windows::core::Interface::vtable(this).LaunchUriForResultsForUserAsync)(::core::mem::transmute_copy(this), user.into_param().abi(), uri.into_param().abi(), options.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn LaunchUriForResultsWithDataForUserAsync<'a, Param0: ::windows::core::IntoParam<'a, User>, Param1: ::windows::core::IntoParam<'a, super::Foundation::Uri>, Param2: ::windows::core::IntoParam<'a, LauncherOptions>, Param3: ::windows::core::IntoParam<'a, super::Foundation::Collections::ValueSet>>(user: Param0, uri: Param1, options: Param2, inputdata: Param3) -> ::windows::core::Result> { Self::ILauncherStatics4(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -6414,8 +6414,8 @@ impl RemoteLauncher { (::windows::core::Interface::vtable(this).LaunchUriWithOptionsAsync)(::core::mem::transmute_copy(this), remotesystemconnectionrequest.into_param().abi(), uri.into_param().abi(), options.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections', 'System_RemoteSystems'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System_RemoteSystems"))] + #[doc = "*Required features: 'System', 'Foundation_Collections', 'System_RemoteSystems'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "System_RemoteSystems"))] pub fn LaunchUriWithDataAsync<'a, Param0: ::windows::core::IntoParam<'a, RemoteSystems::RemoteSystemConnectionRequest>, Param1: ::windows::core::IntoParam<'a, super::Foundation::Uri>, Param2: ::windows::core::IntoParam<'a, RemoteLauncherOptions>, Param3: ::windows::core::IntoParam<'a, super::Foundation::Collections::ValueSet>>(remotesystemconnectionrequest: Param0, uri: Param1, options: Param2, inputdata: Param3) -> ::windows::core::Result> { Self::IRemoteLauncherStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -6703,8 +6703,8 @@ impl User { (::windows::core::Interface::vtable(this).GetPropertyAsync)(::core::mem::transmute_copy(this), value.into_param().abi(), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetPropertiesAsync<'a, Param0: ::windows::core::IntoParam<'a, super::Foundation::Collections::IVectorView<::windows::core::HSTRING>>>(&self, values: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -6737,24 +6737,24 @@ impl User { (::windows::core::Interface::vtable(this).CreateWatcher)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'System', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::IUserStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'System', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn FindAllAsyncByType(r#type: UserType) -> ::windows::core::Result>> { Self::IUserStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsyncByType)(::core::mem::transmute_copy(this), r#type, &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'System', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'System', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn FindAllAsyncByTypeAndStatus(r#type: UserType, status: UserAuthenticationStatus) -> ::windows::core::Result>> { Self::IUserStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); 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 74cff1d73d..4b3c0765fa 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs @@ -781,13 +781,13 @@ pub struct IInteractionTracker_Vtbl { pub Position: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::super::Foundation::Numerics::Vector3) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] Position: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub PositionInertiaDecayRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] PositionInertiaDecayRate: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub SetPositionInertiaDecayRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] SetPositionInertiaDecayRate: usize, #[cfg(feature = "Foundation_Numerics")] pub PositionVelocityInPixelsPerSecond: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::super::Foundation::Numerics::Vector3) -> ::windows::core::HRESULT, @@ -1090,9 +1090,9 @@ unsafe impl ::windows::core::Interface for IInteractionTrackerInertiaStateEntere #[doc(hidden)] pub struct IInteractionTrackerInertiaStateEnteredArgs_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub ModifiedRestingPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] ModifiedRestingPosition: usize, #[cfg(feature = "Foundation")] pub ModifiedRestingScale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2180,8 +2180,8 @@ impl InteractionTracker { (::windows::core::Interface::vtable(this).Position)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Composition_Interactions', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition_Interactions', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn PositionInertiaDecayRate(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -2189,8 +2189,8 @@ impl InteractionTracker { (::windows::core::Interface::vtable(this).PositionInertiaDecayRate)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Composition_Interactions', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition_Interactions', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetPositionInertiaDecayRate<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetPositionInertiaDecayRate)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } @@ -3928,8 +3928,8 @@ unsafe impl ::core::marker::Sync for InteractionTrackerInertiaRestingValue {} #[repr(transparent)] pub struct InteractionTrackerInertiaStateEnteredArgs(::windows::core::IUnknown); impl InteractionTrackerInertiaStateEnteredArgs { - #[doc = "*Required features: 'UI_Composition_Interactions', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition_Interactions', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn ModifiedRestingPosition(&self) -> ::windows::core::Result> { let this = self; unsafe { 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 ad52a7f4b6..8103a18323 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs @@ -1473,27 +1473,27 @@ impl<'a> ::windows::core::IntoParam<'a, super::IAnimationObject> for &SceneCompo ::core::convert::TryInto::::try_into(self).map(::windows::core::Param::Owned).unwrap_or(::windows::core::Param::None) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; fn try_from(value: SceneComponentCollection) -> ::windows::core::Result { ::core::convert::TryFrom::try_from(&value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom<&SceneComponentCollection> for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; fn try_from(value: &SceneComponentCollection) -> ::windows::core::Result { ::windows::core::Interface::cast(value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl<'a> ::windows::core::IntoParam<'a, super::super::super::Foundation::IClosable> for SceneComponentCollection { fn into_param(self) -> ::windows::core::Param<'a, super::super::super::Foundation::IClosable> { ::windows::core::IntoParam::into_param(&self) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl<'a> ::windows::core::IntoParam<'a, super::super::super::Foundation::IClosable> for &SceneComponentCollection { fn into_param(self) -> ::windows::core::Param<'a, super::super::super::Foundation::IClosable> { ::core::convert::TryInto::::try_into(self).map(::windows::core::Param::Owned).unwrap_or(::windows::core::Param::None) @@ -4724,27 +4724,27 @@ impl<'a> ::windows::core::IntoParam<'a, super::IAnimationObject> for &SceneNodeC ::core::convert::TryInto::::try_into(self).map(::windows::core::Param::Owned).unwrap_or(::windows::core::Param::None) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; fn try_from(value: SceneNodeCollection) -> ::windows::core::Result { ::core::convert::TryFrom::try_from(&value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom<&SceneNodeCollection> for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; fn try_from(value: &SceneNodeCollection) -> ::windows::core::Result { ::windows::core::Interface::cast(value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl<'a> ::windows::core::IntoParam<'a, super::super::super::Foundation::IClosable> for SceneNodeCollection { fn into_param(self) -> ::windows::core::Param<'a, super::super::super::Foundation::IClosable> { ::windows::core::IntoParam::into_param(&self) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl<'a> ::windows::core::IntoParam<'a, super::super::super::Foundation::IClosable> for &SceneNodeCollection { fn into_param(self) -> ::windows::core::Param<'a, super::super::super::Foundation::IClosable> { ::core::convert::TryInto::::try_into(self).map(::windows::core::Param::Owned).unwrap_or(::windows::core::Param::None) diff --git a/crates/libs/windows/src/Windows/UI/Composition/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/mod.rs index f7fdff0ea0..149b694d48 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/mod.rs @@ -3001,8 +3001,8 @@ impl BounceVector2NaturalMotionAnimation { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetStopBehavior)(::core::mem::transmute_copy(this), value).ok() } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn FinalValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -3010,14 +3010,14 @@ impl BounceVector2NaturalMotionAnimation { (::windows::core::Interface::vtable(this).FinalValue)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetFinalValue<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetFinalValue)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn InitialValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -3025,8 +3025,8 @@ impl BounceVector2NaturalMotionAnimation { (::windows::core::Interface::vtable(this).InitialValue)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetInitialValue<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetInitialValue)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } @@ -3532,8 +3532,8 @@ impl BounceVector3NaturalMotionAnimation { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetStopBehavior)(::core::mem::transmute_copy(this), value).ok() } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn FinalValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -3541,14 +3541,14 @@ impl BounceVector3NaturalMotionAnimation { (::windows::core::Interface::vtable(this).FinalValue)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetFinalValue<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetFinalValue)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn InitialValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -3556,8 +3556,8 @@ impl BounceVector3NaturalMotionAnimation { (::windows::core::Interface::vtable(this).InitialValue)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetInitialValue<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetInitialValue)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } @@ -11155,8 +11155,8 @@ impl CompositionGraphicsDevice { let this = self; unsafe { (::windows::core::Interface::vtable(this).RemoveRenderingDeviceReplaced)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Composition', 'Graphics', 'Graphics_DirectX'*"] - #[cfg(all(feature = "Graphics", feature = "Graphics_DirectX"))] + #[doc = "*Required features: 'UI_Composition', 'Graphics_DirectX'*"] + #[cfg(feature = "Graphics_DirectX")] pub fn CreateDrawingSurface2<'a, Param0: ::windows::core::IntoParam<'a, super::super::Graphics::SizeInt32>>(&self, sizepixels: Param0, pixelformat: super::super::Graphics::DirectX::DirectXPixelFormat, alphamode: super::super::Graphics::DirectX::DirectXAlphaMode) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -11164,8 +11164,8 @@ impl CompositionGraphicsDevice { (::windows::core::Interface::vtable(this).CreateDrawingSurface2)(::core::mem::transmute_copy(this), sizepixels.into_param().abi(), pixelformat, alphamode, &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Composition', 'Graphics', 'Graphics_DirectX'*"] - #[cfg(all(feature = "Graphics", feature = "Graphics_DirectX"))] + #[doc = "*Required features: 'UI_Composition', 'Graphics_DirectX'*"] + #[cfg(feature = "Graphics_DirectX")] pub fn CreateVirtualDrawingSurface<'a, Param0: ::windows::core::IntoParam<'a, super::super::Graphics::SizeInt32>>(&self, sizepixels: Param0, pixelformat: super::super::Graphics::DirectX::DirectXPixelFormat, alphamode: super::super::Graphics::DirectX::DirectXAlphaMode) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -11173,8 +11173,8 @@ impl CompositionGraphicsDevice { (::windows::core::Interface::vtable(this).CreateVirtualDrawingSurface)(::core::mem::transmute_copy(this), sizepixels.into_param().abi(), pixelformat, alphamode, &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Composition', 'Graphics', 'Graphics_DirectX'*"] - #[cfg(all(feature = "Graphics", feature = "Graphics_DirectX"))] + #[doc = "*Required features: 'UI_Composition', 'Graphics_DirectX'*"] + #[cfg(feature = "Graphics_DirectX")] pub fn CreateMipmapSurface<'a, Param0: ::windows::core::IntoParam<'a, super::super::Graphics::SizeInt32>>(&self, sizepixels: Param0, pixelformat: super::super::Graphics::DirectX::DirectXPixelFormat, alphamode: super::super::Graphics::DirectX::DirectXAlphaMode) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -11187,8 +11187,8 @@ impl CompositionGraphicsDevice { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).Trim)(::core::mem::transmute_copy(this)).ok() } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Graphics', 'Graphics_DirectX'*"] - #[cfg(all(feature = "Foundation", feature = "Graphics", feature = "Graphics_DirectX"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Graphics_DirectX'*"] + #[cfg(all(feature = "Foundation", feature = "Graphics_DirectX"))] pub fn CaptureAsync<'a, Param0: ::windows::core::IntoParam<'a, Visual>, Param1: ::windows::core::IntoParam<'a, super::super::Graphics::SizeInt32>>(&self, capturevisual: Param0, size: Param1, pixelformat: super::super::Graphics::DirectX::DirectXPixelFormat, alphamode: super::super::Graphics::DirectX::DirectXAlphaMode, sdrboost: f32) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -18435,27 +18435,27 @@ impl<'a> ::windows::core::IntoParam<'a, IAnimationObject> for &CompositionShapeC ::core::convert::TryInto::::try_into(self).map(::windows::core::Param::Owned).unwrap_or(::windows::core::Param::None) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; fn try_from(value: CompositionShapeCollection) -> ::windows::core::Result { ::core::convert::TryFrom::try_from(&value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom<&CompositionShapeCollection> for super::super::Foundation::IClosable { type Error = ::windows::core::Error; fn try_from(value: &CompositionShapeCollection) -> ::windows::core::Result { ::windows::core::Interface::cast(value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl<'a> ::windows::core::IntoParam<'a, super::super::Foundation::IClosable> for CompositionShapeCollection { fn into_param(self) -> ::windows::core::Param<'a, super::super::Foundation::IClosable> { ::windows::core::IntoParam::into_param(&self) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl<'a> ::windows::core::IntoParam<'a, super::super::Foundation::IClosable> for &CompositionShapeCollection { fn into_param(self) -> ::windows::core::Param<'a, super::super::Foundation::IClosable> { ::core::convert::TryInto::::try_into(self).map(::windows::core::Param::Owned).unwrap_or(::windows::core::Param::None) @@ -19444,27 +19444,27 @@ impl<'a> ::windows::core::IntoParam<'a, IAnimationObject> for &CompositionStroke ::core::convert::TryInto::::try_into(self).map(::windows::core::Param::Owned).unwrap_or(::windows::core::Param::None) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; fn try_from(value: CompositionStrokeDashArray) -> ::windows::core::Result { ::core::convert::TryFrom::try_from(&value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom<&CompositionStrokeDashArray> for super::super::Foundation::IClosable { type Error = ::windows::core::Error; fn try_from(value: &CompositionStrokeDashArray) -> ::windows::core::Result { ::windows::core::Interface::cast(value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl<'a> ::windows::core::IntoParam<'a, super::super::Foundation::IClosable> for CompositionStrokeDashArray { fn into_param(self) -> ::windows::core::Param<'a, super::super::Foundation::IClosable> { ::windows::core::IntoParam::into_param(&self) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl<'a> ::windows::core::IntoParam<'a, super::super::Foundation::IClosable> for &CompositionStrokeDashArray { fn into_param(self) -> ::windows::core::Param<'a, super::super::Foundation::IClosable> { ::core::convert::TryInto::::try_into(self).map(::windows::core::Param::Owned).unwrap_or(::windows::core::Param::None) @@ -26500,13 +26500,13 @@ unsafe impl ::windows::core::Interface for ICompositionGraphicsDevice2 { #[doc(hidden)] pub struct ICompositionGraphicsDevice2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Graphics", feature = "Graphics_DirectX"))] + #[cfg(feature = "Graphics_DirectX")] pub CreateDrawingSurface2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sizepixels: super::super::Graphics::SizeInt32, pixelformat: super::super::Graphics::DirectX::DirectXPixelFormat, alphamode: super::super::Graphics::DirectX::DirectXAlphaMode, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Graphics", feature = "Graphics_DirectX")))] + #[cfg(not(feature = "Graphics_DirectX"))] CreateDrawingSurface2: usize, - #[cfg(all(feature = "Graphics", feature = "Graphics_DirectX"))] + #[cfg(feature = "Graphics_DirectX")] pub CreateVirtualDrawingSurface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sizepixels: super::super::Graphics::SizeInt32, pixelformat: super::super::Graphics::DirectX::DirectXPixelFormat, alphamode: super::super::Graphics::DirectX::DirectXAlphaMode, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Graphics", feature = "Graphics_DirectX")))] + #[cfg(not(feature = "Graphics_DirectX"))] CreateVirtualDrawingSurface: usize, } #[doc(hidden)] @@ -26520,9 +26520,9 @@ unsafe impl ::windows::core::Interface for ICompositionGraphicsDevice3 { #[doc(hidden)] pub struct ICompositionGraphicsDevice3_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Graphics", feature = "Graphics_DirectX"))] + #[cfg(feature = "Graphics_DirectX")] pub CreateMipmapSurface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sizepixels: super::super::Graphics::SizeInt32, pixelformat: super::super::Graphics::DirectX::DirectXPixelFormat, alphamode: super::super::Graphics::DirectX::DirectXAlphaMode, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Graphics", feature = "Graphics_DirectX")))] + #[cfg(not(feature = "Graphics_DirectX"))] CreateMipmapSurface: usize, pub Trim: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, } @@ -26537,9 +26537,9 @@ unsafe impl ::windows::core::Interface for ICompositionGraphicsDevice4 { #[doc(hidden)] pub struct ICompositionGraphicsDevice4_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Graphics", feature = "Graphics_DirectX"))] + #[cfg(all(feature = "Foundation", feature = "Graphics_DirectX"))] pub CaptureAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, capturevisual: ::windows::core::RawPtr, size: super::super::Graphics::SizeInt32, pixelformat: super::super::Graphics::DirectX::DirectXPixelFormat, alphamode: super::super::Graphics::DirectX::DirectXAlphaMode, sdrboost: f32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Graphics", feature = "Graphics_DirectX")))] + #[cfg(not(all(feature = "Foundation", feature = "Graphics_DirectX")))] CaptureAsync: usize, } #[doc(hidden)] @@ -28910,21 +28910,21 @@ unsafe impl ::windows::core::Interface for IVector2NaturalMotionAnimation { #[doc(hidden)] pub struct IVector2NaturalMotionAnimation_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub FinalValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] FinalValue: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub SetFinalValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] SetFinalValue: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub InitialValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] InitialValue: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub SetInitialValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] SetInitialValue: usize, #[cfg(feature = "Foundation_Numerics")] pub InitialVelocity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::Foundation::Numerics::Vector2) -> ::windows::core::HRESULT, @@ -28978,21 +28978,21 @@ unsafe impl ::windows::core::Interface for IVector3NaturalMotionAnimation { #[doc(hidden)] pub struct IVector3NaturalMotionAnimation_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub FinalValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] FinalValue: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub SetFinalValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] SetFinalValue: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub InitialValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] InitialValue: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub SetInitialValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] SetInitialValue: usize, #[cfg(feature = "Foundation_Numerics")] pub InitialVelocity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::Foundation::Numerics::Vector3) -> ::windows::core::HRESULT, @@ -30072,27 +30072,27 @@ impl<'a> ::windows::core::IntoParam<'a, IAnimationObject> for &InitialValueExpre ::core::convert::TryInto::::try_into(self).map(::windows::core::Param::Owned).unwrap_or(::windows::core::Param::None) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; fn try_from(value: InitialValueExpressionCollection) -> ::windows::core::Result { ::core::convert::TryFrom::try_from(&value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom<&InitialValueExpressionCollection> for super::super::Foundation::IClosable { type Error = ::windows::core::Error; fn try_from(value: &InitialValueExpressionCollection) -> ::windows::core::Result { ::windows::core::Interface::cast(value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl<'a> ::windows::core::IntoParam<'a, super::super::Foundation::IClosable> for InitialValueExpressionCollection { fn into_param(self) -> ::windows::core::Param<'a, super::super::Foundation::IClosable> { ::windows::core::IntoParam::into_param(&self) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl<'a> ::windows::core::IntoParam<'a, super::super::Foundation::IClosable> for &InitialValueExpressionCollection { fn into_param(self) -> ::windows::core::Param<'a, super::super::Foundation::IClosable> { ::core::convert::TryInto::::try_into(self).map(::windows::core::Param::Owned).unwrap_or(::windows::core::Param::None) @@ -38703,8 +38703,8 @@ impl SpringVector2NaturalMotionAnimation { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetPeriod)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn FinalValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -38712,14 +38712,14 @@ impl SpringVector2NaturalMotionAnimation { (::windows::core::Interface::vtable(this).FinalValue)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetFinalValue<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetFinalValue)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn InitialValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -38727,8 +38727,8 @@ impl SpringVector2NaturalMotionAnimation { (::windows::core::Interface::vtable(this).InitialValue)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetInitialValue<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetInitialValue)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } @@ -39236,8 +39236,8 @@ impl SpringVector3NaturalMotionAnimation { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetPeriod)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn FinalValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -39245,14 +39245,14 @@ impl SpringVector3NaturalMotionAnimation { (::windows::core::Interface::vtable(this).FinalValue)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetFinalValue<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetFinalValue)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn InitialValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -39260,8 +39260,8 @@ impl SpringVector3NaturalMotionAnimation { (::windows::core::Interface::vtable(this).InitialValue)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetInitialValue<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetInitialValue)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } @@ -41213,8 +41213,8 @@ impl Vector2NaturalMotionAnimation { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetStopBehavior)(::core::mem::transmute_copy(this), value).ok() } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn FinalValue(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -41222,14 +41222,14 @@ impl Vector2NaturalMotionAnimation { (::windows::core::Interface::vtable(this).FinalValue)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetFinalValue<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetFinalValue)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn InitialValue(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -41237,8 +41237,8 @@ impl Vector2NaturalMotionAnimation { (::windows::core::Interface::vtable(this).InitialValue)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetInitialValue<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetInitialValue)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } @@ -42222,8 +42222,8 @@ impl Vector3NaturalMotionAnimation { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetStopBehavior)(::core::mem::transmute_copy(this), value).ok() } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn FinalValue(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -42231,14 +42231,14 @@ impl Vector3NaturalMotionAnimation { (::windows::core::Interface::vtable(this).FinalValue)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetFinalValue<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetFinalValue)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn InitialValue(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -42246,8 +42246,8 @@ impl Vector3NaturalMotionAnimation { (::windows::core::Interface::vtable(this).InitialValue)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Composition', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Composition', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn SetInitialValue<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetInitialValue)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } diff --git a/crates/libs/windows/src/Windows/UI/Core/impl.rs b/crates/libs/windows/src/Windows/UI/Core/impl.rs index 86213e067a..d97f548dc7 100644 --- a/crates/libs/windows/src/Windows/UI/Core/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Core/impl.rs @@ -452,7 +452,7 @@ impl ICorePointerRedirector_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System"))] +#[cfg(all(feature = "Foundation_Collections", feature = "System"))] pub trait ICoreWindow_Impl: Sized { fn AutomationHostProvider(&self) -> ::windows::core::Result<::windows::core::IInspectable>; fn Bounds(&self) -> ::windows::core::Result; @@ -507,11 +507,11 @@ pub trait ICoreWindow_Impl: Sized { fn VisibilityChanged(&self, handler: &::core::option::Option>) -> ::windows::core::Result; fn RemoveVisibilityChanged(&self, cookie: &super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System"))] +#[cfg(all(feature = "Foundation_Collections", feature = "System"))] impl ::windows::core::RuntimeName for ICoreWindow { const NAME: &'static str = "Windows.UI.Core.ICoreWindow"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "System"))] +#[cfg(all(feature = "Foundation_Collections", feature = "System"))] impl ICoreWindow_Vtbl { pub const fn new() -> ICoreWindow_Vtbl { unsafe extern "system" fn AutomationHostProvider(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs index 9fd26dfc09..129c905b03 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs @@ -1,4 +1,4 @@ -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait IInkAnalysisNode_Impl: Sized { fn Id(&self) -> ::windows::core::Result; fn Kind(&self) -> ::windows::core::Result; @@ -8,11 +8,11 @@ pub trait IInkAnalysisNode_Impl: Sized { fn Parent(&self) -> ::windows::core::Result; fn GetStrokeIds(&self) -> ::windows::core::Result>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for IInkAnalysisNode { const NAME: &'static str = "Windows.UI.Input.Inking.Analysis.IInkAnalysisNode"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl IInkAnalysisNode_Vtbl { pub const fn new() -> IInkAnalysisNode_Vtbl { unsafe extern "system" fn Id(this: *mut ::core::ffi::c_void, result__: *mut u32) -> ::windows::core::HRESULT { 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 c7454430d4..e5dab6ad52 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 @@ -28,9 +28,9 @@ pub struct IInkAnalysisInkDrawing_Vtbl { pub Center: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::super::super::Foundation::Point) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] Center: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub Points: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] Points: usize, } #[doc(hidden)] @@ -106,8 +106,8 @@ impl IInkAnalysisNode { (::windows::core::Interface::vtable(this).BoundingRect)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -219,9 +219,9 @@ pub struct IInkAnalysisNode_Vtbl { pub BoundingRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut super::super::super::super::Foundation::Rect) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] BoundingRect: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RotatedBoundingRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RotatedBoundingRect: usize, #[cfg(feature = "Foundation_Collections")] pub Children: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -490,8 +490,8 @@ impl InkAnalysisInkBullet { (::windows::core::Interface::vtable(this).BoundingRect)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -641,8 +641,8 @@ impl InkAnalysisInkDrawing { (::windows::core::Interface::vtable(this).Center)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn Points(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -675,8 +675,8 @@ impl InkAnalysisInkDrawing { (::windows::core::Interface::vtable(this).BoundingRect)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -851,8 +851,8 @@ impl InkAnalysisInkWord { (::windows::core::Interface::vtable(this).BoundingRect)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1026,8 +1026,8 @@ impl InkAnalysisLine { (::windows::core::Interface::vtable(this).BoundingRect)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1193,8 +1193,8 @@ impl InkAnalysisListItem { (::windows::core::Interface::vtable(this).BoundingRect)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1352,8 +1352,8 @@ impl InkAnalysisNode { (::windows::core::Interface::vtable(this).BoundingRect)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -1552,8 +1552,8 @@ impl InkAnalysisParagraph { (::windows::core::Interface::vtable(this).BoundingRect)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -1804,8 +1804,8 @@ impl InkAnalysisRoot { (::windows::core::Interface::vtable(this).BoundingRect)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2049,8 +2049,8 @@ impl InkAnalysisWritingRegion { (::windows::core::Interface::vtable(this).BoundingRect)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking_Analysis', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { 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 232b212745..e8fba12e9d 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 @@ -3,8 +3,8 @@ #[repr(transparent)] pub struct CoreIncrementalInkStroke(::windows::core::IUnknown); impl CoreIncrementalInkStroke { - #[doc = "*Required features: 'UI_Input_Inking_Core', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking_Core', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn AppendInkPoints<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::Collections::IIterable>>(&self, inkpoints: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -781,9 +781,9 @@ unsafe impl ::windows::core::Interface for ICoreIncrementalInkStroke { #[doc(hidden)] pub struct ICoreIncrementalInkStroke_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub AppendInkPoints: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, inkpoints: ::windows::core::RawPtr, result__: *mut super::super::super::super::Foundation::Rect) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] AppendInkPoints: usize, pub CreateInkStroke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub DrawingAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs index 3b9d40196e..da83377576 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs @@ -169,17 +169,17 @@ impl IInkPresenterStencil_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait IInkRecognizerContainer_Impl: Sized { fn SetDefaultRecognizer(&self, recognizer: &::core::option::Option) -> ::windows::core::Result<()>; fn RecognizeAsync(&self, strokecollection: &::core::option::Option, recognitiontarget: InkRecognitionTarget) -> ::windows::core::Result>>; fn GetRecognizers(&self) -> ::windows::core::Result>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for IInkRecognizerContainer { const NAME: &'static str = "Windows.UI.Input.Inking.IInkRecognizerContainer"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl IInkRecognizerContainer_Vtbl { pub const fn new() -> IInkRecognizerContainer_Vtbl { unsafe extern "system" fn SetDefaultRecognizer(this: *mut ::core::ffi::c_void, recognizer: ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -222,7 +222,7 @@ impl IInkRecognizerContainer_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub trait IInkStrokeContainer_Impl: Sized { fn BoundingRect(&self) -> ::windows::core::Result; fn AddStroke(&self, stroke: &::core::option::Option) -> ::windows::core::Result<()>; @@ -239,11 +239,11 @@ pub trait IInkStrokeContainer_Impl: Sized { fn GetStrokes(&self) -> ::windows::core::Result>; fn GetRecognitionResults(&self) -> ::windows::core::Result>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] impl ::windows::core::RuntimeName for IInkStrokeContainer { const NAME: &'static str = "Windows.UI.Input.Inking.IInkStrokeContainer"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams"))] +#[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] impl IInkStrokeContainer_Vtbl { pub const fn new() -> IInkStrokeContainer_Vtbl { unsafe extern "system" fn BoundingRect(this: *mut ::core::ffi::c_void, result__: *mut super::super::super::Foundation::Rect) -> ::windows::core::HRESULT { 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 7e64fcfcaa..80a5ab1f62 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs @@ -224,9 +224,9 @@ pub struct IInkManager_Vtbl { #[cfg(not(feature = "Foundation"))] ProcessPointerUp: usize, pub SetDefaultDrawingAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, drawingattributes: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RecognizeAsync2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, recognitiontarget: InkRecognitionTarget, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RecognizeAsync2: usize, } #[doc(hidden)] @@ -834,8 +834,8 @@ impl IInkRecognizerContainer { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetDefaultRecognizer)(::core::mem::transmute_copy(this), recognizer.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Input_Inking', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RecognizeAsync<'a, Param0: ::windows::core::IntoParam<'a, InkStrokeContainer>>(&self, strokecollection: Param0, recognitiontarget: InkRecognitionTarget) -> ::windows::core::Result>> { let this = self; unsafe { @@ -925,9 +925,9 @@ unsafe impl ::windows::core::Interface for IInkRecognizerContainer { pub struct IInkRecognizerContainer_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub SetDefaultRecognizer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, recognizer: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RecognizeAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strokecollection: ::windows::core::RawPtr, recognitiontarget: InkRecognitionTarget, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RecognizeAsync: usize, #[cfg(feature = "Foundation_Collections")] pub GetRecognizers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1040,9 +1040,9 @@ pub struct IInkStrokeBuilder_Vtbl { pub BeginStroke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pointerpoint: ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub AppendToStroke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pointerpoint: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub EndStroke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pointerpoint: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub CreateStroke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, points: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] CreateStroke: usize, pub SetDefaultDrawingAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, drawingattributes: ::windows::core::RawPtr) -> ::windows::core::HRESULT, } @@ -1073,9 +1073,9 @@ unsafe impl ::windows::core::Interface for IInkStrokeBuilder3 { #[doc(hidden)] pub struct IInkStrokeBuilder3_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Foundation_Numerics"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Foundation_Numerics"))] pub CreateStrokeFromInkPoints: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, inkpoints: ::windows::core::RawPtr, transform: super::super::super::Foundation::Numerics::Matrix3x2, strokestartedtime: ::windows::core::RawPtr, strokeduration: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Foundation_Numerics")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Foundation_Numerics")))] CreateStrokeFromInkPoints: usize, } #[doc = "*Required features: 'UI_Input_Inking'*"] @@ -1114,8 +1114,8 @@ impl IInkStrokeContainer { (::windows::core::Interface::vtable(this).MoveSelected)(::core::mem::transmute_copy(this), translation.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SelectWithPolyLine<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>>(&self, polyline: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -1281,9 +1281,9 @@ pub struct IInkStrokeContainer_Vtbl { pub MoveSelected: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, translation: super::super::super::Foundation::Point, result__: *mut super::super::super::Foundation::Rect) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] MoveSelected: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SelectWithPolyLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, polyline: ::windows::core::RawPtr, result__: *mut super::super::super::Foundation::Rect) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SelectWithPolyLine: usize, #[cfg(feature = "Foundation")] pub SelectWithLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, from: super::super::super::Foundation::Point, to: super::super::super::Foundation::Point, result__: *mut super::super::super::Foundation::Rect) -> ::windows::core::HRESULT, @@ -2311,8 +2311,8 @@ impl InkManager { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetDefaultDrawingAttributes)(::core::mem::transmute_copy(this), drawingattributes.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Input_Inking', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RecognizeAsync2(&self, recognitiontarget: InkRecognitionTarget) -> ::windows::core::Result>> { let this = self; unsafe { @@ -2325,8 +2325,8 @@ impl InkManager { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).SetDefaultRecognizer)(::core::mem::transmute_copy(this), recognizer.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Input_Inking', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RecognizeAsync<'a, Param0: ::windows::core::IntoParam<'a, InkStrokeContainer>>(&self, strokecollection: Param0, recognitiontarget: InkRecognitionTarget) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2375,8 +2375,8 @@ impl InkManager { (::windows::core::Interface::vtable(this).MoveSelected)(::core::mem::transmute_copy(this), translation.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SelectWithPolyLine<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>>(&self, polyline: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -3918,8 +3918,8 @@ impl InkRecognizerContainer { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetDefaultRecognizer)(::core::mem::transmute_copy(this), recognizer.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Input_Inking', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RecognizeAsync<'a, Param0: ::windows::core::IntoParam<'a, InkStrokeContainer>>(&self, strokecollection: Param0, recognitiontarget: InkRecognitionTarget) -> ::windows::core::Result>> { let this = self; unsafe { @@ -4268,8 +4268,8 @@ impl InkStrokeBuilder { (::windows::core::Interface::vtable(this).EndStroke)(::core::mem::transmute_copy(this), pointerpoint.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn CreateStroke<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>>(&self, points: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -4291,8 +4291,8 @@ impl InkStrokeBuilder { (::windows::core::Interface::vtable(this).CreateStrokeFromInkPoints)(::core::mem::transmute_copy(this), inkpoints.into_param().abi(), transform.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking', 'Foundation', 'Foundation_Collections', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Input_Inking', 'Foundation_Collections', 'Foundation_Numerics'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Foundation_Numerics"))] pub fn CreateStrokeFromInkPoints2<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Numerics::Matrix3x2>, Param2: ::windows::core::IntoParam<'a, super::super::super::Foundation::IReference>, Param3: ::windows::core::IntoParam<'a, super::super::super::Foundation::IReference>>(&self, inkpoints: Param0, transform: Param1, strokestartedtime: Param2, strokeduration: Param3) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -4414,8 +4414,8 @@ impl InkStrokeContainer { (::windows::core::Interface::vtable(this).MoveSelected)(::core::mem::transmute_copy(this), translation.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Inking', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Input_Inking', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SelectWithPolyLine<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable>>(&self, polyline: Param0) -> ::windows::core::Result { let this = self; unsafe { 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 2f83184eb4..9df86d51bb 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs @@ -493,13 +493,13 @@ unsafe impl ::windows::core::Interface for ISpatialInteractionSourceLocation { #[doc(hidden)] pub struct ISpatialInteractionSourceLocation_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub Position: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] Position: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub Velocity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] Velocity: usize, } #[doc(hidden)] @@ -513,9 +513,9 @@ unsafe impl ::windows::core::Interface for ISpatialInteractionSourceLocation2 { #[doc(hidden)] pub struct ISpatialInteractionSourceLocation2_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub Orientation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] Orientation: usize, } #[doc(hidden)] @@ -530,9 +530,9 @@ unsafe impl ::windows::core::Interface for ISpatialInteractionSourceLocation3 { pub struct ISpatialInteractionSourceLocation3_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub PositionAccuracy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut SpatialInteractionSourcePositionAccuracy) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[cfg(feature = "Foundation_Numerics")] pub AngularVelocity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics")))] + #[cfg(not(feature = "Foundation_Numerics"))] AngularVelocity: usize, pub SourcePointerPose: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, } @@ -547,9 +547,9 @@ unsafe impl ::windows::core::Interface for ISpatialInteractionSourceProperties { #[doc(hidden)] pub struct ISpatialInteractionSourceProperties_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub TryGetSourceLossMitigationDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, coordinatesystem: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "Perception_Spatial")))] TryGetSourceLossMitigationDirection: usize, pub SourceLossRisk: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut f64) -> ::windows::core::HRESULT, #[cfg(feature = "Perception_Spatial")] @@ -862,9 +862,9 @@ unsafe impl ::windows::core::Interface for ISpatialPointerPoseStatics { #[doc(hidden)] pub struct ISpatialPointerPoseStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Perception", feature = "Perception_Spatial"))] + #[cfg(feature = "Perception_Spatial")] pub TryGetAtTimestamp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, coordinatesystem: ::windows::core::RawPtr, timestamp: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Perception", feature = "Perception_Spatial")))] + #[cfg(not(feature = "Perception_Spatial"))] TryGetAtTimestamp: usize, } #[doc(hidden)] @@ -2614,8 +2614,8 @@ unsafe impl ::windows::core::RuntimeType for SpatialInteractionSourceKind { #[repr(transparent)] pub struct SpatialInteractionSourceLocation(::windows::core::IUnknown); impl SpatialInteractionSourceLocation { - #[doc = "*Required features: 'UI_Input_Spatial', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Input_Spatial', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn Position(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -2623,8 +2623,8 @@ impl SpatialInteractionSourceLocation { (::windows::core::Interface::vtable(this).Position)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Input_Spatial', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Input_Spatial', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn Velocity(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -2632,8 +2632,8 @@ impl SpatialInteractionSourceLocation { (::windows::core::Interface::vtable(this).Velocity)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Input_Spatial', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Input_Spatial', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn Orientation(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2649,8 +2649,8 @@ impl SpatialInteractionSourceLocation { (::windows::core::Interface::vtable(this).PositionAccuracy)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Spatial', 'Foundation', 'Foundation_Numerics'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics"))] + #[doc = "*Required features: 'UI_Input_Spatial', 'Foundation_Numerics'*"] + #[cfg(feature = "Foundation_Numerics")] pub fn AngularVelocity(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -2777,8 +2777,8 @@ unsafe impl ::windows::core::RuntimeType for SpatialInteractionSourcePositionAcc #[repr(transparent)] pub struct SpatialInteractionSourceProperties(::windows::core::IUnknown); impl SpatialInteractionSourceProperties { - #[doc = "*Required features: 'UI_Input_Spatial', 'Foundation', 'Foundation_Numerics', 'Perception_Spatial'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[doc = "*Required features: 'UI_Input_Spatial', 'Foundation_Numerics', 'Perception_Spatial'*"] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub fn TryGetSourceLossMitigationDirection<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Perception::Spatial::SpatialCoordinateSystem>>(&self, coordinatesystem: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -4056,8 +4056,8 @@ impl SpatialPointerPose { (::windows::core::Interface::vtable(this).IsHeadCapturedBySystem)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Input_Spatial', 'Perception', 'Perception_Spatial'*"] - #[cfg(all(feature = "Perception", feature = "Perception_Spatial"))] + #[doc = "*Required features: 'UI_Input_Spatial', 'Perception_Spatial'*"] + #[cfg(feature = "Perception_Spatial")] pub fn TryGetAtTimestamp<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Perception::Spatial::SpatialCoordinateSystem>, Param1: ::windows::core::IntoParam<'a, super::super::super::Perception::PerceptionTimestamp>>(coordinatesystem: Param0, timestamp: Param1) -> ::windows::core::Result { Self::ISpatialPointerPoseStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); 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 c9b28b10db..428c7c0a30 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs @@ -23,9 +23,9 @@ pub struct IUserNotificationListener_Vtbl { pub RemoveNotificationChanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RemoveNotificationChanged: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetNotificationsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, kinds: super::NotificationKinds, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetNotificationsAsync: usize, pub GetNotification: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, notificationid: u32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub ClearNotifications: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, @@ -80,8 +80,8 @@ impl UserNotificationListener { let this = self; unsafe { (::windows::core::Interface::vtable(this).RemoveNotificationChanged)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Notifications_Management', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Notifications_Management', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetNotificationsAsync(&self, kinds: super::NotificationKinds) -> ::windows::core::Result>> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs index 14b1d4400e..bc909b76ba 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs @@ -1386,13 +1386,13 @@ pub struct ITileUpdater_Vtbl { #[cfg(not(feature = "Foundation"))] StartPeriodicUpdateAtTime: usize, pub StopPeriodicUpdate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub StartPeriodicUpdateBatch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, tilecontents: ::windows::core::RawPtr, requestedinterval: PeriodicUpdateRecurrence) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] StartPeriodicUpdateBatch: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub StartPeriodicUpdateBatchAtTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, tilecontents: ::windows::core::RawPtr, starttime: super::super::Foundation::DateTime, requestedinterval: PeriodicUpdateRecurrence) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] StartPeriodicUpdateBatchAtTime: usize, } #[doc(hidden)] @@ -1495,9 +1495,9 @@ pub struct IToastCollectionManager_Vtbl { pub SaveToastCollectionAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, collection: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] SaveToastCollectionAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllToastCollectionsAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllToastCollectionsAsync: usize, #[cfg(feature = "Foundation")] pub GetToastCollectionAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, collectionid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4213,14 +4213,14 @@ impl TileUpdater { let this = self; unsafe { (::windows::core::Interface::vtable(this).StopPeriodicUpdate)(::core::mem::transmute_copy(this)).ok() } } - #[doc = "*Required features: 'UI_Notifications', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Notifications', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn StartPeriodicUpdateBatch<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>>(&self, tilecontents: Param0, requestedinterval: PeriodicUpdateRecurrence) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).StartPeriodicUpdateBatch)(::core::mem::transmute_copy(this), tilecontents.into_param().abi(), requestedinterval).ok() } } - #[doc = "*Required features: 'UI_Notifications', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Notifications', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn StartPeriodicUpdateBatchAtTime<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::DateTime>>(&self, tilecontents: Param0, starttime: Param1, requestedinterval: PeriodicUpdateRecurrence) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).StartPeriodicUpdateBatchAtTime)(::core::mem::transmute_copy(this), tilecontents.into_param().abi(), starttime.into_param().abi(), requestedinterval).ok() } @@ -4557,8 +4557,8 @@ impl ToastCollectionManager { (::windows::core::Interface::vtable(this).SaveToastCollectionAsync)(::core::mem::transmute_copy(this), collection.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Notifications', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Notifications', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllToastCollectionsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs index 89a28db77b..67af5b5cf4 100644 --- a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs @@ -309,17 +309,17 @@ unsafe impl ::windows::core::Interface for ISecondaryTileStatics { pub struct ISecondaryTileStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, pub Exists: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, tileid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut bool) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllForApplicationAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, applicationid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllForApplicationAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllForPackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllForPackageAsync: usize, } #[doc(hidden)] @@ -521,13 +521,13 @@ pub struct ITileMixedRealityModel_Vtbl { pub Uri: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] Uri: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub SetBoundingBox: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "Perception_Spatial")))] SetBoundingBox: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub BoundingBox: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "Perception_Spatial")))] BoundingBox: usize, } #[doc(hidden)] @@ -1314,24 +1314,24 @@ impl SecondaryTile { (::windows::core::Interface::vtable(this).Exists)(::core::mem::transmute_copy(this), tileid.into_param().abi(), &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'UI_StartScreen', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_StartScreen', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::ISecondaryTileStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::core::mem::transmute_copy(this), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'UI_StartScreen', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_StartScreen', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllForApplicationAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>>(applicationid: Param0) -> ::windows::core::Result>> { Self::ISecondaryTileStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindAllForApplicationAsync)(::core::mem::transmute_copy(this), applicationid.into_param().abi(), &mut result__).from_abi::>>(result__) }) } - #[doc = "*Required features: 'UI_StartScreen', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_StartScreen', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllForPackageAsync() -> ::windows::core::Result>> { Self::ISecondaryTileStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); @@ -1851,14 +1851,14 @@ impl TileMixedRealityModel { (::windows::core::Interface::vtable(this).Uri)(::core::mem::transmute_copy(this), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_StartScreen', 'Foundation', 'Foundation_Numerics', 'Perception_Spatial'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[doc = "*Required features: 'UI_StartScreen', 'Foundation_Numerics', 'Perception_Spatial'*"] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub fn SetBoundingBox<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::IReference>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetBoundingBox)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_StartScreen', 'Foundation', 'Foundation_Numerics', 'Perception_Spatial'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Numerics", feature = "Perception_Spatial"))] + #[doc = "*Required features: 'UI_StartScreen', 'Foundation_Numerics', 'Perception_Spatial'*"] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub fn BoundingBox(&self) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs index dccc19719e..3cc731e915 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs @@ -14426,8 +14426,8 @@ impl WebUIView { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).NavigateToString)(::core::mem::transmute_copy(this), text.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_WebUI', 'Foundation', 'Web', 'Web_UI'*"] - #[cfg(all(feature = "Foundation", feature = "Web", feature = "Web_UI"))] + #[doc = "*Required features: 'UI_WebUI', 'Foundation', 'Web_UI'*"] + #[cfg(all(feature = "Foundation", feature = "Web_UI"))] pub fn NavigateToLocalStreamUri<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>, Param1: ::windows::core::IntoParam<'a, super::super::Web::IUriToStreamResolver>>(&self, source: Param0, streamresolver: Param1) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).NavigateToLocalStreamUri)(::core::mem::transmute_copy(this), source.into_param().abi(), streamresolver.into_param().abi()).ok() } @@ -14438,8 +14438,8 @@ impl WebUIView { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).NavigateWithHttpRequestMessage)(::core::mem::transmute_copy(this), requestmessage.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_WebUI', 'Foundation', 'Foundation_Collections', 'Web_UI'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "Web_UI"))] + #[doc = "*Required features: 'UI_WebUI', 'Foundation_Collections', 'Web_UI'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "Web_UI"))] pub fn InvokeScriptAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, scriptname: Param0, arguments: Param1) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Automation/Peers/impl.rs b/crates/libs/windows/src/Windows/UI/Xaml/Automation/Peers/impl.rs index 4c5f7a2ebf..2a1f05a249 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Automation/Peers/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Automation/Peers/impl.rs @@ -1,4 +1,4 @@ -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait IAutomationPeerOverrides_Impl: Sized { fn GetPatternCore(&self, patterninterface: PatternInterface) -> ::windows::core::Result<::windows::core::IInspectable>; fn GetAcceleratorKeyCore(&self) -> ::windows::core::Result<::windows::core::HSTRING>; @@ -30,11 +30,11 @@ pub trait IAutomationPeerOverrides_Impl: Sized { fn GetPeerFromPointCore(&self, point: &super::super::super::super::Foundation::Point) -> ::windows::core::Result; fn GetLiveSettingCore(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for IAutomationPeerOverrides { const NAME: &'static str = "Windows.UI.Xaml.Automation.Peers.IAutomationPeerOverrides"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl IAutomationPeerOverrides_Vtbl { pub const fn new() -> IAutomationPeerOverrides_Vtbl { unsafe extern "system" fn GetPatternCore(this: *mut ::core::ffi::c_void, patterninterface: PatternInterface, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -430,7 +430,7 @@ impl IAutomationPeerOverrides2_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait IAutomationPeerOverrides3_Impl: Sized { fn NavigateCore(&self, direction: AutomationNavigationDirection) -> ::windows::core::Result<::windows::core::IInspectable>; fn GetElementFromPointCore(&self, pointinwindowcoordinates: &super::super::super::super::Foundation::Point) -> ::windows::core::Result<::windows::core::IInspectable>; @@ -440,11 +440,11 @@ pub trait IAutomationPeerOverrides3_Impl: Sized { fn GetSizeOfSetCore(&self) -> ::windows::core::Result; fn GetLevelCore(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for IAutomationPeerOverrides3 { const NAME: &'static str = "Windows.UI.Xaml.Automation.Peers.IAutomationPeerOverrides3"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl IAutomationPeerOverrides3_Vtbl { pub const fn new() -> IAutomationPeerOverrides3_Vtbl { unsafe extern "system" fn NavigateCore(this: *mut ::core::ffi::c_void, direction: AutomationNavigationDirection, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Controls/Maps/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Controls/Maps/mod.rs index 5fff280960..44ee248276 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Controls/Maps/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Controls/Maps/mod.rs @@ -802,9 +802,9 @@ pub struct IMapControl_Vtbl { pub RemoveZoomLevelChanged: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RemoveZoomLevelChanged: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindMapElementsAtOffset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: super::super::super::super::Foundation::Point, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindMapElementsAtOffset: usize, #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation"))] pub GetLocationFromOffset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: super::super::super::super::Foundation::Point, location: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1034,9 +1034,9 @@ pub struct IMapControl5_Vtbl { pub RemoveMapContextRequested: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RemoveMapContextRequested: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindMapElementsAtOffsetWithRadius: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: super::super::super::super::Foundation::Point, radius: f64, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindMapElementsAtOffsetWithRadius: usize, #[cfg(all(feature = "Devices_Geolocation", feature = "Foundation"))] pub GetLocationFromOffsetWithReferenceSystem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, offset: super::super::super::super::Foundation::Point, desiredreferencesystem: super::super::super::super::Devices::Geolocation::AltitudeReferenceSystem, location: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4301,8 +4301,8 @@ impl MapControl { let this = self; unsafe { (::windows::core::Interface::vtable(this).RemoveZoomLevelChanged)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Xaml_Controls_Maps', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Controls_Maps', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindMapElementsAtOffset<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::Point>>(&self, offset: Param0) -> ::windows::core::Result> { let this = self; unsafe { @@ -4829,8 +4829,8 @@ impl MapControl { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).RemoveMapContextRequested)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Xaml_Controls_Maps', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Controls_Maps', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindMapElementsAtOffsetWithRadius<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::Point>>(&self, offset: Param0, radius: f64) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Controls/Primitives/impl.rs b/crates/libs/windows/src/Windows/UI/Xaml/Controls/Primitives/impl.rs index dcafd2b70b..d6c9e46f48 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Controls/Primitives/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Controls/Primitives/impl.rs @@ -134,7 +134,7 @@ impl IRangeBaseOverrides_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait IScrollSnapPointsInfo_Impl: Sized { fn AreHorizontalSnapPointsRegular(&self) -> ::windows::core::Result; fn AreVerticalSnapPointsRegular(&self) -> ::windows::core::Result; @@ -145,11 +145,11 @@ pub trait IScrollSnapPointsInfo_Impl: Sized { fn GetIrregularSnapPoints(&self, orientation: super::Orientation, alignment: SnapPointsAlignment) -> ::windows::core::Result>; fn GetRegularSnapPoints(&self, orientation: super::Orientation, alignment: SnapPointsAlignment, offset: &mut f32) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for IScrollSnapPointsInfo { const NAME: &'static str = "Windows.UI.Xaml.Controls.Primitives.IScrollSnapPointsInfo"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl IScrollSnapPointsInfo_Vtbl { pub const fn new() -> IScrollSnapPointsInfo_Vtbl { unsafe extern "system" fn AreHorizontalSnapPointsRegular(this: *mut ::core::ffi::c_void, result__: *mut bool) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Controls/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Controls/mod.rs index 5b59039859..5cbdee7843 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Controls/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Controls/mod.rs @@ -5478,8 +5478,8 @@ impl CalendarView { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetNumberOfWeeksInView)(::core::mem::transmute_copy(this), value).ok() } } - #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn SelectedDates(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -7720,8 +7720,8 @@ unsafe impl ::windows::core::RuntimeType for CalendarViewDisplayMode { #[repr(transparent)] pub struct CalendarViewSelectedDatesChangedEventArgs(::windows::core::IUnknown); impl CalendarViewSelectedDatesChangedEventArgs { - #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn AddedDates(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -7729,8 +7729,8 @@ impl CalendarViewSelectedDatesChangedEventArgs { (::windows::core::Interface::vtable(this).AddedDates)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RemovedDates(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -19299,8 +19299,8 @@ impl DropDownButtonAutomationPeer { (::windows::core::Interface::vtable(this).CreateInstance)(::core::mem::transmute_copy(this), owner.into_param().abi(), ::core::mem::transmute_copy(&derived__), base__ as *mut _ as _, &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'UI_Xaml_Controls', 'UI_Xaml_Automation', 'UI_Xaml_Automation_Provider'*"] - #[cfg(all(feature = "UI_Xaml_Automation", feature = "UI_Xaml_Automation_Provider"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'UI_Xaml_Automation_Provider'*"] + #[cfg(feature = "UI_Xaml_Automation_Provider")] pub fn ExpandCollapseState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -27752,9 +27752,9 @@ pub struct ICalendarView_Vtbl { SetMinDate: usize, pub NumberOfWeeksInView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut i32) -> ::windows::core::HRESULT, pub SetNumberOfWeeksInView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub SelectedDates: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] SelectedDates: usize, pub SelectionMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut CalendarViewSelectionMode) -> ::windows::core::HRESULT, pub SetSelectionMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: CalendarViewSelectionMode) -> ::windows::core::HRESULT, @@ -28298,13 +28298,13 @@ unsafe impl ::windows::core::Interface for ICalendarViewSelectedDatesChangedEven #[doc(hidden)] pub struct ICalendarViewSelectedDatesChangedEventArgs_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub AddedDates: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] AddedDates: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub RemovedDates: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] RemovedDates: usize, } #[doc(hidden)] @@ -34442,9 +34442,9 @@ pub struct IListPickerFlyout_Vtbl { pub RemoveItemsPicked: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, token: super::super::super::Foundation::EventRegistrationToken) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] RemoveItemsPicked: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub ShowAtAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, target: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] ShowAtAsync: usize, } #[doc(hidden)] @@ -38555,9 +38555,9 @@ unsafe impl ::windows::core::Interface for IRichEditBox4 { #[doc(hidden)] pub struct IRichEditBox4_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetLinguisticAlternativesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetLinguisticAlternativesAsync: usize, pub ClipboardCopyFormat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut RichEditClipboardFormat) -> ::windows::core::HRESULT, pub SetClipboardCopyFormat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: RichEditClipboardFormat) -> ::windows::core::HRESULT, @@ -41899,9 +41899,9 @@ unsafe impl ::windows::core::Interface for ITextBox4 { #[doc(hidden)] pub struct ITextBox4_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetLinguisticAlternativesAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetLinguisticAlternativesAsync: usize, } #[doc(hidden)] @@ -43774,13 +43774,13 @@ pub struct IWebView_Vtbl { pub SetSource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Foundation"))] SetSource: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub AllowedScriptNotifyUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] AllowedScriptNotifyUris: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub SetAllowedScriptNotifyUris: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] SetAllowedScriptNotifyUris: usize, #[cfg(all(feature = "ApplicationModel_DataTransfer", feature = "deprecated"))] pub DataTransferPackage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -43866,9 +43866,9 @@ pub struct IWebView2_Vtbl { pub CapturePreviewToStreamAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, stream: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Foundation", feature = "Storage_Streams")))] CapturePreviewToStreamAsync: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub InvokeScriptAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, scriptname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, arguments: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] InvokeScriptAsync: usize, #[cfg(all(feature = "ApplicationModel_DataTransfer", feature = "Foundation"))] pub CaptureSelectedContentToDataPackageAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -44346,9 +44346,9 @@ unsafe impl ::windows::core::Interface for IWebViewStatics { #[doc(hidden)] pub struct IWebViewStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub AnyScriptNotifyUri: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] AnyScriptNotifyUri: usize, pub SourceProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(feature = "deprecated")] @@ -52335,8 +52335,8 @@ impl ItemCollection { (::windows::core::Interface::vtable(this).First)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn VectorChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::VectorChangedEventHandler<::windows::core::IInspectable>>>(&self, vhnd: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -52344,8 +52344,8 @@ impl ItemCollection { (::windows::core::Interface::vtable(this).VectorChanged)(::core::mem::transmute_copy(this), vhnd.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RemoveVectorChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).RemoveVectorChanged)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } @@ -55700,8 +55700,8 @@ impl ListPickerFlyout { let this = self; unsafe { (::windows::core::Interface::vtable(this).RemoveItemsPicked)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn ShowAtAsync<'a, Param0: ::windows::core::IntoParam<'a, super::FrameworkElement>>(&self, target: Param0) -> ::windows::core::Result>> { let this = self; unsafe { @@ -75874,8 +75874,8 @@ impl RichEditBox { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).RemoveTextChanging)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetLinguisticAlternativesAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -83948,8 +83948,8 @@ unsafe impl ::core::marker::Sync for SplitButton {} #[repr(transparent)] pub struct SplitButtonAutomationPeer(::windows::core::IUnknown); impl SplitButtonAutomationPeer { - #[doc = "*Required features: 'UI_Xaml_Controls', 'UI_Xaml_Automation', 'UI_Xaml_Automation_Provider'*"] - #[cfg(all(feature = "UI_Xaml_Automation", feature = "UI_Xaml_Automation_Provider"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'UI_Xaml_Automation_Provider'*"] + #[cfg(feature = "UI_Xaml_Automation_Provider")] pub fn ExpandCollapseState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -89218,8 +89218,8 @@ impl TextBox { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).RemoveTextChanging)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetLinguisticAlternativesAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -92984,8 +92984,8 @@ unsafe impl ::core::marker::Sync for ToggleSplitButton {} #[repr(transparent)] pub struct ToggleSplitButtonAutomationPeer(::windows::core::IUnknown); impl ToggleSplitButtonAutomationPeer { - #[doc = "*Required features: 'UI_Xaml_Controls', 'UI_Xaml_Automation', 'UI_Xaml_Automation_Provider'*"] - #[cfg(all(feature = "UI_Xaml_Automation", feature = "UI_Xaml_Automation_Provider"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'UI_Xaml_Automation_Provider'*"] + #[cfg(feature = "UI_Xaml_Automation_Provider")] pub fn ExpandCollapseState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -93005,8 +93005,8 @@ impl ToggleSplitButtonAutomationPeer { let this = &::windows::core::Interface::cast::(self)?; unsafe { (::windows::core::Interface::vtable(this).Expand)(::core::mem::transmute_copy(this)).ok() } } - #[doc = "*Required features: 'UI_Xaml_Controls', 'UI_Xaml_Automation', 'UI_Xaml_Automation_Provider'*"] - #[cfg(all(feature = "UI_Xaml_Automation", feature = "UI_Xaml_Automation_Provider"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'UI_Xaml_Automation_Provider'*"] + #[cfg(feature = "UI_Xaml_Automation_Provider")] pub fn ToggleState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -99005,8 +99005,8 @@ impl WebView { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetSource)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } } - #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn AllowedScriptNotifyUris(&self) -> ::windows::core::Result> { let this = self; unsafe { @@ -99014,8 +99014,8 @@ impl WebView { (::windows::core::Interface::vtable(this).AllowedScriptNotifyUris)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn SetAllowedScriptNotifyUris<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IVector>>(&self, value: Param0) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).SetAllowedScriptNotifyUris)(::core::mem::transmute_copy(this), value.into_param().abi()).ok() } @@ -99192,8 +99192,8 @@ impl WebView { (::windows::core::Interface::vtable(this).CapturePreviewToStreamAsync)(::core::mem::transmute_copy(this), stream.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn InvokeScriptAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, scriptname: Param0, arguments: Param1) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { @@ -99567,8 +99567,8 @@ impl WebView { (::windows::core::Interface::vtable(this).CreateInstanceWithExecutionMode)(::core::mem::transmute_copy(this), executionmode, &mut result__).from_abi::(result__) }) } - #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation', 'Foundation_Collections', 'deprecated'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "deprecated"))] + #[doc = "*Required features: 'UI_Xaml_Controls', 'Foundation_Collections', 'deprecated'*"] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn AnyScriptNotifyUri() -> ::windows::core::Result> { Self::IWebViewStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Data/impl.rs b/crates/libs/windows/src/Windows/UI/Xaml/Data/impl.rs index c2d271dcbf..2521b07e05 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Data/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Data/impl.rs @@ -1,4 +1,4 @@ -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait ICollectionView_Impl: Sized + super::super::super::Foundation::Collections::IIterable_Impl<::windows::core::IInspectable> + super::super::super::Foundation::Collections::IObservableVector_Impl<::windows::core::IInspectable> + super::super::super::Foundation::Collections::IVector_Impl<::windows::core::IInspectable> { fn CurrentItem(&self) -> ::windows::core::Result<::windows::core::IInspectable>; fn CurrentPosition(&self) -> ::windows::core::Result; @@ -18,11 +18,11 @@ pub trait ICollectionView_Impl: Sized + super::super::super::Foundation::Collect fn MoveCurrentToPrevious(&self) -> ::windows::core::Result; fn LoadMoreItemsAsync(&self, count: u32) -> ::windows::core::Result>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for ICollectionView { const NAME: &'static str = "Windows.UI.Xaml.Data.ICollectionView"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ICollectionView_Vtbl { pub const fn new() -> ICollectionView_Vtbl { unsafe extern "system" fn CurrentItem(this: *mut ::core::ffi::c_void, result__: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -502,15 +502,15 @@ impl ICustomPropertyProvider_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] pub trait IItemsRangeInfo_Impl: Sized + super::super::super::Foundation::IClosable_Impl { fn RangesChanged(&self, visiblerange: &::core::option::Option, trackeditems: &::core::option::Option>) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeName for IItemsRangeInfo { const NAME: &'static str = "Windows.UI.Xaml.Data.IItemsRangeInfo"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl IItemsRangeInfo_Vtbl { pub const fn new() -> IItemsRangeInfo_Vtbl { unsafe extern "system" fn RangesChanged(this: *mut ::core::ffi::c_void, visiblerange: ::windows::core::RawPtr, trackeditems: ::windows::core::RawPtr) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Data/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Data/mod.rs index 9adaac7880..ca3bf07954 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Data/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Data/mod.rs @@ -1419,8 +1419,8 @@ impl ICollectionView { (::windows::core::Interface::vtable(this).First)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Xaml_Data', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Data', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn VectorChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::VectorChangedEventHandler<::windows::core::IInspectable>>>(&self, vhnd: Param0) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { @@ -1428,8 +1428,8 @@ impl ICollectionView { (::windows::core::Interface::vtable(this).VectorChanged)(::core::mem::transmute_copy(this), vhnd.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Xaml_Data', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Data', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RemoveVectorChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::core::Result<()> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { (::windows::core::Interface::vtable(this).RemoveVectorChanged)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Media/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Media/mod.rs index fe9d003a01..ba1ad621ce 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Media/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Media/mod.rs @@ -6251,21 +6251,21 @@ unsafe impl ::windows::core::Interface for IVisualTreeHelperStatics { #[doc(hidden)] pub struct IVisualTreeHelperStatics_Vtbl { pub base: ::windows::core::IInspectableVtbl, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindElementsInHostCoordinatesPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, intersectingpoint: super::super::super::Foundation::Point, subtree: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindElementsInHostCoordinatesPoint: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindElementsInHostCoordinatesRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, intersectingrect: super::super::super::Foundation::Rect, subtree: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindElementsInHostCoordinatesRect: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllElementsInHostCoordinatesPoint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, intersectingpoint: super::super::super::Foundation::Point, subtree: ::windows::core::RawPtr, includeallelements: bool, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllElementsInHostCoordinatesPoint: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindAllElementsInHostCoordinatesRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, intersectingrect: super::super::super::Foundation::Rect, subtree: ::windows::core::RawPtr, includeallelements: bool, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindAllElementsInHostCoordinatesRect: usize, pub GetChild: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, reference: ::windows::core::RawPtr, childindex: i32, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub GetChildrenCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, reference: ::windows::core::RawPtr, result__: *mut i32) -> ::windows::core::HRESULT, @@ -10066,53 +10066,53 @@ impl<'a> ::windows::core::IntoParam<'a, ::windows::core::IInspectable> for &Poin ::windows::core::Param::Borrowed(unsafe { ::core::mem::transmute(self) }) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; fn try_from(value: PointCollection) -> ::windows::core::Result { ::core::convert::TryFrom::try_from(&value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom<&PointCollection> for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; fn try_from(value: &PointCollection) -> ::windows::core::Result { ::windows::core::Interface::cast(value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl<'a> ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable> for PointCollection { fn into_param(self) -> ::windows::core::Param<'a, super::super::super::Foundation::Collections::IIterable> { ::windows::core::IntoParam::into_param(&self) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl<'a> ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable> for &PointCollection { fn into_param(self) -> ::windows::core::Param<'a, super::super::super::Foundation::Collections::IIterable> { ::core::convert::TryInto::>::try_into(self).map(::windows::core::Param::Owned).unwrap_or(::windows::core::Param::None) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IVector { type Error = ::windows::core::Error; fn try_from(value: PointCollection) -> ::windows::core::Result { ::core::convert::TryFrom::try_from(&value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom<&PointCollection> for super::super::super::Foundation::Collections::IVector { type Error = ::windows::core::Error; fn try_from(value: &PointCollection) -> ::windows::core::Result { ::windows::core::Interface::cast(value) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl<'a> ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IVector> for PointCollection { fn into_param(self) -> ::windows::core::Param<'a, super::super::super::Foundation::Collections::IVector> { ::windows::core::IntoParam::into_param(&self) } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(feature = "Foundation_Collections")] impl<'a> ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IVector> for &PointCollection { fn into_param(self) -> ::windows::core::Param<'a, super::super::super::Foundation::Collections::IVector> { ::core::convert::TryInto::>::try_into(self).map(::windows::core::Param::Owned).unwrap_or(::windows::core::Param::None) @@ -14910,32 +14910,32 @@ unsafe impl ::core::marker::Sync for TranslateTransform {} #[repr(transparent)] pub struct VisualTreeHelper(::windows::core::IUnknown); impl VisualTreeHelper { - #[doc = "*Required features: 'UI_Xaml_Media', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Media', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindElementsInHostCoordinatesPoint<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Point>, Param1: ::windows::core::IntoParam<'a, super::UIElement>>(intersectingpoint: Param0, subtree: Param1) -> ::windows::core::Result> { Self::IVisualTreeHelperStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindElementsInHostCoordinatesPoint)(::core::mem::transmute_copy(this), intersectingpoint.into_param().abi(), subtree.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'UI_Xaml_Media', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Media', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindElementsInHostCoordinatesRect<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Rect>, Param1: ::windows::core::IntoParam<'a, super::UIElement>>(intersectingrect: Param0, subtree: Param1) -> ::windows::core::Result> { Self::IVisualTreeHelperStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindElementsInHostCoordinatesRect)(::core::mem::transmute_copy(this), intersectingrect.into_param().abi(), subtree.into_param().abi(), &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'UI_Xaml_Media', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Media', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllElementsInHostCoordinatesPoint<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Point>, Param1: ::windows::core::IntoParam<'a, super::UIElement>>(intersectingpoint: Param0, subtree: Param1, includeallelements: bool) -> ::windows::core::Result> { Self::IVisualTreeHelperStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(this).FindAllElementsInHostCoordinatesPoint)(::core::mem::transmute_copy(this), intersectingpoint.into_param().abi(), subtree.into_param().abi(), includeallelements, &mut result__).from_abi::>(result__) }) } - #[doc = "*Required features: 'UI_Xaml_Media', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml_Media', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn FindAllElementsInHostCoordinatesRect<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::Rect>, Param1: ::windows::core::IntoParam<'a, super::UIElement>>(intersectingrect: Param0, subtree: Param1, includeallelements: bool) -> ::windows::core::Result> { Self::IVisualTreeHelperStatics(|this| unsafe { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/impl.rs b/crates/libs/windows/src/Windows/UI/Xaml/impl.rs index 0232db7b75..91abf7fab7 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/impl.rs @@ -297,7 +297,7 @@ impl IFrameworkElementOverrides2_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "UI_Xaml_Automation_Peers"))] +#[cfg(all(feature = "Foundation_Collections", feature = "UI_Xaml_Automation_Peers"))] pub trait IUIElementOverrides_Impl: Sized { fn OnCreateAutomationPeer(&self) -> ::windows::core::Result; fn OnDisconnectVisualChildren(&self) -> ::windows::core::Result<()> { @@ -305,11 +305,11 @@ pub trait IUIElementOverrides_Impl: Sized { } fn FindSubElementsForTouchTargeting(&self, point: &super::super::Foundation::Point, boundingrect: &super::super::Foundation::Rect) -> ::windows::core::Result>>; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "UI_Xaml_Automation_Peers"))] +#[cfg(all(feature = "Foundation_Collections", feature = "UI_Xaml_Automation_Peers"))] impl ::windows::core::RuntimeName for IUIElementOverrides { const NAME: &'static str = "Windows.UI.Xaml.IUIElementOverrides"; } -#[cfg(all(feature = "Foundation", feature = "Foundation_Collections", feature = "UI_Xaml_Automation_Peers"))] +#[cfg(all(feature = "Foundation_Collections", feature = "UI_Xaml_Automation_Peers"))] impl IUIElementOverrides_Vtbl { pub const fn new() -> IUIElementOverrides_Vtbl { unsafe extern "system" fn OnCreateAutomationPeer(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/UI/Xaml/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/mod.rs index 496e42739f..d366eab922 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/mod.rs @@ -3146,8 +3146,8 @@ impl DependencyObjectCollection { (::windows::core::Interface::vtable(this).First)(::core::mem::transmute_copy(this), &mut result__).from_abi::>(result__) } } - #[doc = "*Required features: 'UI_Xaml', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn VectorChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::VectorChangedEventHandler>>(&self, vhnd: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -3155,8 +3155,8 @@ impl DependencyObjectCollection { (::windows::core::Interface::vtable(this).VectorChanged)(::core::mem::transmute_copy(this), vhnd.into_param().abi(), &mut result__).from_abi::(result__) } } - #[doc = "*Required features: 'UI_Xaml', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'UI_Xaml', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn RemoveVectorChanged<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::EventRegistrationToken>>(&self, token: Param0) -> ::windows::core::Result<()> { let this = self; unsafe { (::windows::core::Interface::vtable(this).RemoveVectorChanged)(::core::mem::transmute_copy(this), token.into_param().abi()).ok() } @@ -11555,9 +11555,9 @@ pub struct IUIElementOverrides_Vtbl { #[cfg(not(feature = "UI_Xaml_Automation_Peers"))] OnCreateAutomationPeer: usize, pub OnDisconnectVisualChildren: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub FindSubElementsForTouchTargeting: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, point: super::super::Foundation::Point, boundingrect: super::super::Foundation::Rect, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] FindSubElementsForTouchTargeting: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Web/Http/mod.rs b/crates/libs/windows/src/Windows/Web/Http/mod.rs index c53eaafd84..991f434fac 100644 --- a/crates/libs/windows/src/Windows/Web/Http/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/mod.rs @@ -1077,8 +1077,8 @@ impl HttpCookieManager { let this = self; unsafe { (::windows::core::Interface::vtable(this).DeleteCookie)(::core::mem::transmute_copy(this), cookie.into_param().abi()).ok() } } - #[doc = "*Required features: 'Web_Http', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Web_Http', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn GetCookies<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::Uri>>(&self, uri: Param0) -> ::windows::core::Result { let this = self; unsafe { @@ -4736,9 +4736,9 @@ pub struct IHttpCookieManager_Vtbl { pub SetCookie: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cookie: ::windows::core::RawPtr, result__: *mut bool) -> ::windows::core::HRESULT, pub SetCookieWithThirdParty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cookie: ::windows::core::RawPtr, thirdparty: bool, result__: *mut bool) -> ::windows::core::HRESULT, pub DeleteCookie: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cookie: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub GetCookies: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uri: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] GetCookies: usize, } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Web/Syndication/impl.rs b/crates/libs/windows/src/Windows/Web/Syndication/impl.rs index 483f528df7..c8786ab022 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/impl.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/impl.rs @@ -142,7 +142,7 @@ impl ISyndicationClient_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Data_Xml_Dom", feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(all(feature = "Data_Xml_Dom", feature = "Foundation_Collections"))] pub trait ISyndicationNode_Impl: Sized { fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING>; fn SetNodeName(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()>; @@ -158,11 +158,11 @@ pub trait ISyndicationNode_Impl: Sized { fn ElementExtensions(&self) -> ::windows::core::Result>; fn GetXmlDocument(&self, format: SyndicationFormat) -> ::windows::core::Result; } -#[cfg(all(feature = "Data_Xml_Dom", feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(all(feature = "Data_Xml_Dom", feature = "Foundation_Collections"))] impl ::windows::core::RuntimeName for ISyndicationNode { const NAME: &'static str = "Windows.Web.Syndication.ISyndicationNode"; } -#[cfg(all(feature = "Data_Xml_Dom", feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(all(feature = "Data_Xml_Dom", feature = "Foundation_Collections"))] impl ISyndicationNode_Vtbl { pub const fn new() -> ISyndicationNode_Vtbl { unsafe extern "system" fn NodeName(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT { @@ -307,7 +307,7 @@ impl ISyndicationNode_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Data_Xml_Dom", feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(all(feature = "Data_Xml_Dom", feature = "Foundation_Collections"))] pub trait ISyndicationText_Impl: Sized + ISyndicationNode_Impl { fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING>; fn SetText(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()>; @@ -316,11 +316,11 @@ pub trait ISyndicationText_Impl: Sized + ISyndicationNode_Impl { fn Xml(&self) -> ::windows::core::Result; fn SetXml(&self, value: &::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Data_Xml_Dom", feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(all(feature = "Data_Xml_Dom", feature = "Foundation_Collections"))] impl ::windows::core::RuntimeName for ISyndicationText { const NAME: &'static str = "Windows.Web.Syndication.ISyndicationText"; } -#[cfg(all(feature = "Data_Xml_Dom", feature = "Foundation", feature = "Foundation_Collections"))] +#[cfg(all(feature = "Data_Xml_Dom", feature = "Foundation_Collections"))] impl ISyndicationText_Vtbl { pub const fn new() -> ISyndicationText_Vtbl { unsafe extern "system" fn Text(this: *mut ::core::ffi::c_void, result__: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT { 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 b75052a010..071b3850a8 100644 --- a/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs @@ -297,8 +297,8 @@ impl WebViewControl { let this = self; unsafe { (::windows::core::Interface::vtable(this).NavigateWithHttpRequestMessage)(::core::mem::transmute_copy(this), requestmessage.into_param().abi()).ok() } } - #[doc = "*Required features: 'Web_UI_Interop', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Web_UI_Interop', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn InvokeScriptAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, scriptname: Param0, arguments: Param1) -> ::windows::core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Web/UI/impl.rs b/crates/libs/windows/src/Windows/Web/UI/impl.rs index d91e728973..5bd5192ca5 100644 --- a/crates/libs/windows/src/Windows/Web/UI/impl.rs +++ b/crates/libs/windows/src/Windows/Web/UI/impl.rs @@ -1,4 +1,4 @@ -#[cfg(all(feature = "ApplicationModel_DataTransfer", feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams", feature = "UI", feature = "Web_Http"))] +#[cfg(all(feature = "ApplicationModel_DataTransfer", feature = "Foundation_Collections", feature = "Storage_Streams", feature = "UI", feature = "Web_Http"))] pub trait IWebViewControl_Impl: Sized { fn Source(&self) -> ::windows::core::Result; fn SetSource(&self, source: &::core::option::Option) -> ::windows::core::Result<()>; @@ -58,11 +58,11 @@ pub trait IWebViewControl_Impl: Sized { fn WebResourceRequested(&self, handler: &::core::option::Option>) -> ::windows::core::Result; fn RemoveWebResourceRequested(&self, token: &super::super::Foundation::EventRegistrationToken) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "ApplicationModel_DataTransfer", feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams", feature = "UI", feature = "Web_Http"))] +#[cfg(all(feature = "ApplicationModel_DataTransfer", feature = "Foundation_Collections", feature = "Storage_Streams", feature = "UI", feature = "Web_Http"))] impl ::windows::core::RuntimeName for IWebViewControl { const NAME: &'static str = "Windows.Web.UI.IWebViewControl"; } -#[cfg(all(feature = "ApplicationModel_DataTransfer", feature = "Foundation", feature = "Foundation_Collections", feature = "Storage_Streams", feature = "UI", feature = "Web_Http"))] +#[cfg(all(feature = "ApplicationModel_DataTransfer", feature = "Foundation_Collections", feature = "Storage_Streams", feature = "UI", feature = "Web_Http"))] impl IWebViewControl_Vtbl { pub const fn new() -> IWebViewControl_Vtbl { unsafe extern "system" fn Source(this: *mut ::core::ffi::c_void, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/Web/UI/mod.rs b/crates/libs/windows/src/Windows/Web/UI/mod.rs index 0b33054225..5eb6f0822c 100644 --- a/crates/libs/windows/src/Windows/Web/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/mod.rs @@ -127,8 +127,8 @@ impl IWebViewControl { let this = self; unsafe { (::windows::core::Interface::vtable(this).NavigateWithHttpRequestMessage)(::core::mem::transmute_copy(this), requestmessage.into_param().abi()).ok() } } - #[doc = "*Required features: 'Web_UI', 'Foundation', 'Foundation_Collections'*"] - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[doc = "*Required features: 'Web_UI', 'Foundation_Collections'*"] + #[cfg(feature = "Foundation_Collections")] pub fn InvokeScriptAsync<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::HSTRING>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::Collections::IIterable<::windows::core::HSTRING>>>(&self, scriptname: Param0, arguments: Param1) -> ::windows::core::Result> { let this = self; unsafe { @@ -537,9 +537,9 @@ pub struct IWebViewControl_Vtbl { pub NavigateWithHttpRequestMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, requestmessage: ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Web_Http"))] NavigateWithHttpRequestMessage: usize, - #[cfg(all(feature = "Foundation", feature = "Foundation_Collections"))] + #[cfg(feature = "Foundation_Collections")] pub InvokeScriptAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, scriptname: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, arguments: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Foundation", feature = "Foundation_Collections")))] + #[cfg(not(feature = "Foundation_Collections"))] InvokeScriptAsync: usize, #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub CapturePreviewToStreamAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, stream: ::windows::core::RawPtr, result__: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs index cd496aadd7..90582ba914 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs @@ -326,14 +326,14 @@ impl IFunctionDiscoveryServiceProvider_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IFunctionInstance_Impl: Sized + super::super::System::Com::IServiceProvider_Impl { fn GetID(&self) -> ::windows::core::Result<*mut u16>; fn GetProviderInstanceID(&self) -> ::windows::core::Result<*mut u16>; fn OpenPropertyStore(&self, dwstgaccess: super::super::System::Com::StructuredStorage::STGM) -> ::windows::core::Result; fn GetCategory(&self, ppszcomemcategory: *mut *mut u16, ppszcomemsubcategory: *mut *mut u16) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IFunctionInstance_Vtbl { pub const fn new() -> IFunctionInstance_Vtbl { unsafe extern "system" fn GetID(this: *mut ::core::ffi::c_void, ppszcomemidentity: *mut *mut u16) -> ::windows::core::HRESULT { @@ -467,13 +467,13 @@ impl IFunctionInstanceCollection_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IFunctionInstanceCollectionQuery_Impl: Sized { fn AddQueryConstraint(&self, pszconstraintname: super::super::Foundation::PWSTR, pszconstraintvalue: super::super::Foundation::PWSTR) -> ::windows::core::Result<()>; fn AddPropertyConstraint(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pv: *const super::super::System::Com::StructuredStorage::PROPVARIANT, enumpropertyconstraint: PropertyConstraint) -> ::windows::core::Result<()>; fn Execute(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IFunctionInstanceCollectionQuery_Vtbl { pub const fn new() -> IFunctionInstanceCollectionQuery_Vtbl { unsafe extern "system" fn AddQueryConstraint(this: *mut ::core::ffi::c_void, pszconstraintname: super::super::Foundation::PWSTR, pszconstraintvalue: super::super::Foundation::PWSTR) -> ::windows::core::HRESULT { @@ -683,14 +683,14 @@ impl IPropertyStoreCollection_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IProviderProperties_Impl: Sized { fn GetCount(&self, pifunctioninstance: &::core::option::Option, iproviderinstancecontext: isize) -> ::windows::core::Result; fn GetAt(&self, pifunctioninstance: &::core::option::Option, iproviderinstancecontext: isize, dwindex: u32) -> ::windows::core::Result; fn GetValue(&self, pifunctioninstance: &::core::option::Option, iproviderinstancecontext: isize, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result; fn SetValue(&self, pifunctioninstance: &::core::option::Option, iproviderinstancecontext: isize, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IProviderProperties_Vtbl { pub const fn new() -> IProviderProperties_Vtbl { unsafe extern "system" fn GetCount(this: *mut ::core::ffi::c_void, pifunctioninstance: ::windows::core::RawPtr, iproviderinstancecontext: isize, pdwcount: *mut u32) -> ::windows::core::HRESULT { @@ -743,7 +743,7 @@ impl IProviderProperties_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IProviderPropertyConstraintCollection_Impl: Sized { fn GetCount(&self) -> ::windows::core::Result; fn Get(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pdwpropertyconstraint: *mut u32) -> ::windows::core::Result<()>; @@ -752,7 +752,7 @@ pub trait IProviderPropertyConstraintCollection_Impl: Sized { fn Skip(&self) -> ::windows::core::Result<()>; fn Reset(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IProviderPropertyConstraintCollection_Vtbl { pub const fn new() -> IProviderPropertyConstraintCollection_Vtbl { unsafe extern "system" fn GetCount(this: *mut ::core::ffi::c_void, pdwcount: *mut u32) -> ::windows::core::HRESULT { 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 947b60b742..af14977856 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs @@ -893,8 +893,8 @@ impl IFunctionInstanceCollectionQuery { pub unsafe fn AddQueryConstraint<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszconstraintname: Param0, pszconstraintvalue: Param1) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).AddQueryConstraint)(::core::mem::transmute_copy(self), pszconstraintname.into_param().abi(), pszconstraintvalue.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_Devices_FunctionDiscovery', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Devices_FunctionDiscovery', '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"))] pub unsafe fn AddPropertyConstraint(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pv: *const super::super::System::Com::StructuredStorage::PROPVARIANT, enumpropertyconstraint: PropertyConstraint) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).AddPropertyConstraint)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(pv), ::core::mem::transmute(enumpropertyconstraint)).ok() } @@ -952,9 +952,9 @@ pub struct IFunctionInstanceCollectionQuery_Vtbl { pub AddQueryConstraint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszconstraintname: super::super::Foundation::PWSTR, pszconstraintvalue: super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] AddQueryConstraint: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub AddPropertyConstraint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pv: *const super::super::System::Com::StructuredStorage::PROPVARIANT, enumpropertyconstraint: PropertyConstraint) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] AddPropertyConstraint: usize, pub Execute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppifunctioninstancecollection: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, } @@ -1292,14 +1292,14 @@ impl IProviderProperties { let mut result__: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::core::mem::transmute_copy(self), pifunctioninstance.into_param().abi(), ::core::mem::transmute(iproviderinstancecontext), ::core::mem::transmute(dwindex), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Devices_FunctionDiscovery', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Devices_FunctionDiscovery', '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"))] pub unsafe fn GetValue<'a, Param0: ::windows::core::IntoParam<'a, IFunctionInstance>>(&self, pifunctioninstance: Param0, iproviderinstancecontext: isize, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::core::mem::transmute_copy(self), pifunctioninstance.into_param().abi(), ::core::mem::transmute(iproviderinstancecontext), ::core::mem::transmute(key), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Devices_FunctionDiscovery', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Devices_FunctionDiscovery', '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"))] pub unsafe fn SetValue<'a, Param0: ::windows::core::IntoParam<'a, IFunctionInstance>>(&self, pifunctioninstance: Param0, iproviderinstancecontext: isize, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetValue)(::core::mem::transmute_copy(self), pifunctioninstance.into_param().abi(), ::core::mem::transmute(iproviderinstancecontext), ::core::mem::transmute(key), ::core::mem::transmute(ppropvar)).ok() } @@ -1356,13 +1356,13 @@ pub struct IProviderProperties_Vtbl { pub GetAt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pifunctioninstance: ::windows::core::RawPtr, iproviderinstancecontext: isize, dwindex: u32, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem")))] GetAt: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pifunctioninstance: ::windows::core::RawPtr, iproviderinstancecontext: isize, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] GetValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub SetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pifunctioninstance: ::windows::core::RawPtr, iproviderinstancecontext: isize, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] SetValue: usize, } #[doc = "*Required features: 'Win32_Devices_FunctionDiscovery'*"] @@ -1374,18 +1374,18 @@ impl IProviderPropertyConstraintCollection { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Devices_FunctionDiscovery', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Devices_FunctionDiscovery', '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"))] pub unsafe fn Get(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pdwpropertyconstraint: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Get)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(ppropvar), ::core::mem::transmute(pdwpropertyconstraint)).ok() } - #[doc = "*Required features: 'Win32_Devices_FunctionDiscovery', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Devices_FunctionDiscovery', '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"))] pub unsafe fn Item(&self, dwindex: u32, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pdwpropertyconstraint: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Item)(::core::mem::transmute_copy(self), ::core::mem::transmute(dwindex), ::core::mem::transmute(pkey), ::core::mem::transmute(ppropvar), ::core::mem::transmute(pdwpropertyconstraint)).ok() } - #[doc = "*Required features: 'Win32_Devices_FunctionDiscovery', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Devices_FunctionDiscovery', '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"))] pub unsafe fn Next(&self, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pdwpropertyconstraint: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Next)(::core::mem::transmute_copy(self), ::core::mem::transmute(pkey), ::core::mem::transmute(ppropvar), ::core::mem::transmute(pdwpropertyconstraint)).ok() } @@ -1443,17 +1443,17 @@ unsafe impl ::windows::core::Interface for IProviderPropertyConstraintCollection pub struct IProviderPropertyConstraintCollection_Vtbl { pub base: ::windows::core::IUnknownVtbl, pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwcount: *mut u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub Get: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pdwpropertyconstraint: *mut u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] Get: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub Item: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwindex: u32, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pdwpropertyconstraint: *mut u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] Item: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub Next: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pdwpropertyconstraint: *mut u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] Next: usize, pub Skip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs index 0dffd143b4..4945d8dcf7 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs @@ -1,4 +1,4 @@ -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait ICivicAddressReport_Impl: Sized + ILocationReport_Impl { fn GetAddressLine1(&self) -> ::windows::core::Result; fn GetAddressLine2(&self) -> ::windows::core::Result; @@ -8,7 +8,7 @@ pub trait ICivicAddressReport_Impl: Sized + ILocationReport_Impl { fn GetCountryRegion(&self) -> ::windows::core::Result; fn GetDetailLevel(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ICivicAddressReport_Vtbl { pub const fn new() -> ICivicAddressReport_Vtbl { unsafe extern "system" fn GetAddressLine1(this: *mut ::core::ffi::c_void, pbstraddress1: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { @@ -369,7 +369,7 @@ impl IDispLatLongReport_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait ILatLongReport_Impl: Sized + ILocationReport_Impl { fn GetLatitude(&self) -> ::windows::core::Result; fn GetLongitude(&self) -> ::windows::core::Result; @@ -377,7 +377,7 @@ pub trait ILatLongReport_Impl: Sized + ILocationReport_Impl { fn GetAltitude(&self) -> ::windows::core::Result; fn GetAltitudeError(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ILatLongReport_Vtbl { pub const fn new() -> ILatLongReport_Vtbl { unsafe extern "system" fn GetLatitude(this: *mut ::core::ffi::c_void, platitude: *mut f64) -> ::windows::core::HRESULT { @@ -625,13 +625,13 @@ impl ILocationPower_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait ILocationReport_Impl: Sized { fn GetSensorID(&self) -> ::windows::core::Result<::windows::core::GUID>; fn GetTimestamp(&self) -> ::windows::core::Result; fn GetValue(&self, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ILocationReport_Vtbl { pub const fn new() -> ILocationReport_Vtbl { unsafe extern "system" fn GetSensorID(this: *mut ::core::ffi::c_void, psensorid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT { 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 87c08f4e18..beff46fa5b 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs @@ -2758,8 +2758,8 @@ impl ICivicAddressReport { let mut result__: super::super::Foundation::SYSTEMTIME = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetTimestamp)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Devices_Geolocation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Devices_Geolocation', '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"))] pub unsafe fn GetValue(&self, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(pkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -3473,8 +3473,8 @@ impl ILatLongReport { let mut result__: super::super::Foundation::SYSTEMTIME = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetTimestamp)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Devices_Geolocation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Devices_Geolocation', '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"))] pub unsafe fn GetValue(&self, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(pkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -3998,8 +3998,8 @@ impl ILocationReport { let mut result__: super::super::Foundation::SYSTEMTIME = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetTimestamp)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Devices_Geolocation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Devices_Geolocation', '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"))] pub unsafe fn GetValue(&self, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(pkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -4054,9 +4054,9 @@ pub struct ILocationReport_Vtbl { pub GetTimestamp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcreationtime: *mut super::super::Foundation::SYSTEMTIME) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] GetTimestamp: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] GetValue: usize, } #[doc = "*Required features: 'Win32_Devices_Geolocation', 'Win32_System_Com'*"] diff --git a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs index 8fae8932da..67ab219584 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs @@ -345,7 +345,7 @@ impl IWiaDataCallback_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub trait IWiaDataTransfer_Impl: Sized { fn idtGetData(&self, pmedium: *mut super::super::System::Com::STGMEDIUM, piwiadatacallback: &::core::option::Option) -> ::windows::core::Result<()>; fn idtGetBandedData(&self, pwiadatatransinfo: *mut WIA_DATA_TRANSFER_INFO, piwiadatacallback: &::core::option::Option) -> ::windows::core::Result<()>; @@ -353,7 +353,7 @@ pub trait IWiaDataTransfer_Impl: Sized { fn idtEnumWIA_FORMAT_INFO(&self) -> ::windows::core::Result; fn idtGetExtendedTransferInfo(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] impl IWiaDataTransfer_Vtbl { pub const fn new() -> IWiaDataTransfer_Vtbl { unsafe extern "system" fn idtGetData(this: *mut ::core::ffi::c_void, pmedium: *mut super::super::System::Com::STGMEDIUM, piwiadatacallback: ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -1629,7 +1629,7 @@ impl IWiaPreview_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IWiaPropertyStorage_Impl: Sized { fn ReadMultiple(&self, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgpropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn WriteMultiple(&self, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgpropvar: *const super::super::System::Com::StructuredStorage::PROPVARIANT, propidnamefirst: u32) -> ::windows::core::Result<()>; @@ -1648,7 +1648,7 @@ pub trait IWiaPropertyStorage_Impl: Sized { fn GetPropertyStream(&self, pcompatibilityid: *mut ::windows::core::GUID, ppistream: *mut ::core::option::Option) -> ::windows::core::Result<()>; fn SetPropertyStream(&self, pcompatibilityid: *mut ::windows::core::GUID, pistream: &::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IWiaPropertyStorage_Vtbl { pub const fn new() -> IWiaPropertyStorage_Vtbl { unsafe extern "system" fn ReadMultiple(this: *mut ::core::ffi::c_void, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgpropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { 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 1d3c83915f..1af58fdddb 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs @@ -877,8 +877,8 @@ pub struct IWiaDataCallback_Vtbl { #[repr(transparent)] pub struct IWiaDataTransfer(::windows::core::IUnknown); impl IWiaDataTransfer { - #[doc = "*Required features: 'Win32_Devices_ImageAcquisition', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Devices_ImageAcquisition', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn idtGetData<'a, Param1: ::windows::core::IntoParam<'a, IWiaDataCallback>>(&self, pmedium: *mut super::super::System::Com::STGMEDIUM, piwiadatacallback: Param1) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).idtGetData)(::core::mem::transmute_copy(self), ::core::mem::transmute(pmedium), piwiadatacallback.into_param().abi()).ok() } @@ -946,9 +946,9 @@ unsafe impl ::windows::core::Interface for IWiaDataTransfer { #[doc(hidden)] pub struct IWiaDataTransfer_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub idtGetData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pmedium: *mut super::super::System::Com::STGMEDIUM, piwiadatacallback: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage")))] idtGetData: usize, #[cfg(feature = "Win32_Foundation")] pub idtGetBandedData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwiadatatransinfo: *mut WIA_DATA_TRANSFER_INFO, piwiadatacallback: ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -2525,13 +2525,13 @@ pub struct IWiaPreview_Vtbl { #[repr(transparent)] pub struct IWiaPropertyStorage(::windows::core::IUnknown); impl IWiaPropertyStorage { - #[doc = "*Required features: 'Win32_Devices_ImageAcquisition', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Devices_ImageAcquisition', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn ReadMultiple(&self, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgpropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadMultiple)(::core::mem::transmute_copy(self), ::core::mem::transmute(cpspec), ::core::mem::transmute(rgpspec), ::core::mem::transmute(rgpropvar)).ok() } - #[doc = "*Required features: 'Win32_Devices_ImageAcquisition', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Devices_ImageAcquisition', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn WriteMultiple(&self, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgpropvar: *const super::super::System::Com::StructuredStorage::PROPVARIANT, propidnamefirst: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).WriteMultiple)(::core::mem::transmute_copy(self), ::core::mem::transmute(cpspec), ::core::mem::transmute(rgpspec), ::core::mem::transmute(rgpropvar), ::core::mem::transmute(propidnamefirst)).ok() } @@ -2583,8 +2583,8 @@ impl IWiaPropertyStorage { let mut result__: super::super::System::Com::StructuredStorage::STATPROPSETSTG = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).Stat)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Devices_ImageAcquisition', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Devices_ImageAcquisition', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetPropertyAttributes(&self, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgflags: *mut u32, rgpropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetPropertyAttributes)(::core::mem::transmute_copy(self), ::core::mem::transmute(cpspec), ::core::mem::transmute(rgpspec), ::core::mem::transmute(rgflags), ::core::mem::transmute(rgpropvar)).ok() } @@ -2648,13 +2648,13 @@ unsafe impl ::windows::core::Interface for IWiaPropertyStorage { #[doc(hidden)] pub struct IWiaPropertyStorage_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub ReadMultiple: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgpropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] ReadMultiple: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub WriteMultiple: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgpropvar: *const super::super::System::Com::StructuredStorage::PROPVARIANT, propidnamefirst: u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] WriteMultiple: usize, #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub DeleteMultiple: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC) -> ::windows::core::HRESULT, @@ -2684,9 +2684,9 @@ pub struct IWiaPropertyStorage_Vtbl { pub Stat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstatpsstg: *mut super::super::System::Com::StructuredStorage::STATPROPSETSTG) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] Stat: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetPropertyAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgflags: *mut u32, rgpropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetPropertyAttributes: usize, pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pulnumprops: *mut u32) -> ::windows::core::HRESULT, #[cfg(feature = "Win32_System_Com")] diff --git a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs index 9fe11df146..68efb0e74d 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs @@ -631,12 +631,12 @@ impl IPortableDeviceContent2_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPortableDeviceDataStream_Impl: Sized + super::super::System::Com::ISequentialStream_Impl + super::super::System::Com::IStream_Impl { fn GetObjectID(&self) -> ::windows::core::Result; fn Cancel(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IPortableDeviceDataStream_Vtbl { pub const fn new() -> IPortableDeviceDataStream_Vtbl { unsafe extern "system" fn GetObjectID(this: *mut ::core::ffi::c_void, ppszobjectid: *mut super::super::Foundation::PWSTR) -> ::windows::core::HRESULT { @@ -817,7 +817,7 @@ impl IPortableDeviceManager_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPortableDevicePropVariantCollection_Impl: Sized { fn GetCount(&self, pcelems: *const u32) -> ::windows::core::Result<()>; fn GetAt(&self, dwindex: u32, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; @@ -827,7 +827,7 @@ pub trait IPortableDevicePropVariantCollection_Impl: Sized { fn Clear(&self) -> ::windows::core::Result<()>; fn RemoveAt(&self, dwindex: u32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IPortableDevicePropVariantCollection_Vtbl { pub const fn new() -> IPortableDevicePropVariantCollection_Vtbl { unsafe extern "system" fn GetCount(this: *mut ::core::ffi::c_void, pcelems: *const u32) -> ::windows::core::HRESULT { @@ -1642,7 +1642,7 @@ impl IPortableDeviceUnitsStream_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IPortableDeviceValues_Impl: Sized { fn GetCount(&self, pcelt: *const u32) -> ::windows::core::Result<()>; fn GetAt(&self, index: u32, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; @@ -1685,7 +1685,7 @@ pub trait IPortableDeviceValues_Impl: Sized { fn CopyValuesToPropertyStore(&self, pstore: &::core::option::Option) -> ::windows::core::Result<()>; fn Clear(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IPortableDeviceValues_Vtbl { pub const fn new() -> IPortableDeviceValues_Vtbl { unsafe extern "system" fn GetCount(this: *mut ::core::ffi::c_void, pcelt: *const u32) -> ::windows::core::HRESULT { 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 6e054cdf9f..dcaf59976f 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs @@ -1180,8 +1180,8 @@ impl IPortableDeviceDataStream { pub unsafe fn CopyTo<'a, Param0: ::windows::core::IntoParam<'a, super::super::System::Com::IStream>>(&self, pstm: Param0, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.CopyTo)(::core::mem::transmute_copy(self), pstm.into_param().abi(), ::core::mem::transmute(cb), ::core::mem::transmute(pcbread), ::core::mem::transmute(pcbwritten)).ok() } - #[doc = "*Required features: 'Win32_Devices_PortableDevices', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Devices_PortableDevices', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Commit(&self, grfcommitflags: super::super::System::Com::StructuredStorage::STGC) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.Commit)(::core::mem::transmute_copy(self), ::core::mem::transmute(grfcommitflags)).ok() } @@ -1645,13 +1645,13 @@ impl IPortableDevicePropVariantCollection { pub unsafe fn GetCount(&self, pcelems: *const u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(pcelems)).ok() } - #[doc = "*Required features: 'Win32_Devices_PortableDevices', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Devices_PortableDevices', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetAt(&self, dwindex: u32, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetAt)(::core::mem::transmute_copy(self), ::core::mem::transmute(dwindex), ::core::mem::transmute(pvalue)).ok() } - #[doc = "*Required features: 'Win32_Devices_PortableDevices', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Devices_PortableDevices', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Add(&self, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Add)(::core::mem::transmute_copy(self), ::core::mem::transmute(pvalue)).ok() } @@ -1718,13 +1718,13 @@ unsafe impl ::windows::core::Interface for IPortableDevicePropVariantCollection pub struct IPortableDevicePropVariantCollection_Vtbl { pub base: ::windows::core::IUnknownVtbl, pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcelems: *const u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetAt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwindex: u32, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetAt: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] Add: usize, pub GetType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvt: *mut u16) -> ::windows::core::HRESULT, pub ChangeType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, vt: u16) -> ::windows::core::HRESULT, @@ -2754,18 +2754,18 @@ impl IPortableDeviceValues { pub unsafe fn GetCount(&self, pcelt: *const u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(pcelt)).ok() } - #[doc = "*Required features: 'Win32_Devices_PortableDevices', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Devices_PortableDevices', '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"))] pub unsafe fn GetAt(&self, index: u32, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetAt)(::core::mem::transmute_copy(self), ::core::mem::transmute(index), ::core::mem::transmute(pkey), ::core::mem::transmute(pvalue)).ok() } - #[doc = "*Required features: 'Win32_Devices_PortableDevices', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Devices_PortableDevices', '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"))] pub unsafe fn SetValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(pvalue)).ok() } - #[doc = "*Required features: 'Win32_Devices_PortableDevices', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Devices_PortableDevices', '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"))] pub unsafe fn GetValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -3010,17 +3010,17 @@ unsafe impl ::windows::core::Interface for IPortableDeviceValues { pub struct IPortableDeviceValues_Vtbl { pub base: ::windows::core::IUnknownVtbl, pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcelt: *const u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetAt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: u32, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] GetAt: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub SetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] SetValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] GetValue: usize, #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))] pub SetStringValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, value: super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs index edcb77c634..64bb4c73bb 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs @@ -32,7 +32,7 @@ impl ILocationPermissions_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Devices_PortableDevices", feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Devices_PortableDevices", feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait ISensor_Impl: Sized { fn GetID(&self) -> ::windows::core::Result<::windows::core::GUID>; fn GetCategory(&self) -> ::windows::core::Result<::windows::core::GUID>; @@ -50,7 +50,7 @@ pub trait ISensor_Impl: Sized { fn SetEventInterest(&self, pvalues: *const ::windows::core::GUID, count: u32) -> ::windows::core::Result<()>; fn SetEventSink(&self, pevents: &::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Devices_PortableDevices", feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Devices_PortableDevices", feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ISensor_Vtbl { pub const fn new() -> ISensor_Vtbl { unsafe extern "system" fn GetID(this: *mut ::core::ffi::c_void, pid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT { @@ -289,13 +289,13 @@ impl ISensorCollection_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Devices_PortableDevices", feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Devices_PortableDevices", feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait ISensorDataReport_Impl: Sized { fn GetTimestamp(&self) -> ::windows::core::Result; fn GetSensorValue(&self, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result; fn GetSensorValues(&self, pkeys: &::core::option::Option) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Devices_PortableDevices", feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Devices_PortableDevices", feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ISensorDataReport_Vtbl { pub const fn new() -> ISensorDataReport_Vtbl { unsafe extern "system" fn GetTimestamp(this: *mut ::core::ffi::c_void, ptimestamp: *mut super::super::Foundation::SYSTEMTIME) -> ::windows::core::HRESULT { 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 a46e0f0654..429503c5de 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs @@ -98,8 +98,8 @@ impl ::core::fmt::Debug for AXIS { f.debug_tuple("AXIS").field(&self.0).finish() } } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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 CollectionsListAllocateBufferAndSerialize(sourcecollection: *const SENSOR_COLLECTION_LIST, ptargetbuffersizeinbytes: *mut u32, ptargetbuffer: *mut *mut u8) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -113,8 +113,8 @@ pub unsafe fn CollectionsListAllocateBufferAndSerialize(sourcecollection: *const #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -128,8 +128,8 @@ pub unsafe fn CollectionsListCopyAndMarshall(target: *mut SENSOR_COLLECTION_LIST #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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(sourcebuffersizeinbytes: u32, sourcebuffer: *const u8, targetcollection: *mut SENSOR_COLLECTION_LIST) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -157,8 +157,8 @@ pub unsafe fn CollectionsListGetFillableCount(buffersizebytes: u32) -> u32 { #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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 { #[cfg(windows)] @@ -172,8 +172,8 @@ pub unsafe fn CollectionsListGetMarshalledSize(collection: *const SENSOR_COLLECT #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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 { #[cfg(windows)] @@ -187,8 +187,8 @@ pub unsafe fn CollectionsListGetMarshalledSizeWithoutSerialization(collection: * #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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 { #[cfg(windows)] @@ -202,8 +202,8 @@ pub unsafe fn CollectionsListGetSerializedSize(collection: *const SENSOR_COLLECT #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -217,8 +217,8 @@ pub unsafe fn CollectionsListMarshall(target: *mut SENSOR_COLLECTION_LIST) -> :: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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, targetbuffersizeinbytes: u32, targetbuffer: *mut u8) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -232,8 +232,8 @@ pub unsafe fn CollectionsListSerializeToBuffer(sourcecollection: *const SENSOR_C #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -247,8 +247,8 @@ pub unsafe fn CollectionsListSortSubscribedActivitiesByConfidence(thresholds: *c #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -295,8 +295,8 @@ impl ::core::fmt::Debug for ELEVATION_CHANGE_MODE { f.debug_tuple("ELEVATION_CHANGE_MODE").field(&self.0).finish() } } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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 { #[cfg(windows)] @@ -508,8 +508,8 @@ impl ISensor { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetFriendlyName)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub unsafe fn GetProperty(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -617,9 +617,9 @@ pub struct ISensor_Vtbl { pub GetFriendlyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfriendlyname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] GetFriendlyName: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pproperty: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] GetProperty: usize, #[cfg(feature = "Win32_Devices_PortableDevices")] pub GetProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pkeys: ::windows::core::RawPtr, ppproperties: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -736,8 +736,8 @@ impl ISensorDataReport { let mut result__: super::super::Foundation::SYSTEMTIME = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetTimestamp)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[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"))] pub unsafe fn GetSensorValue(&self, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetSensorValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(pkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -797,9 +797,9 @@ pub struct ISensorDataReport_Vtbl { pub GetTimestamp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptimestamp: *mut super::super::Foundation::SYSTEMTIME) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] GetTimestamp: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetSensorValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] GetSensorValue: usize, #[cfg(feature = "Win32_Devices_PortableDevices")] pub GetSensorValues: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pkeys: ::windows::core::RawPtr, ppvalues: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1017,8 +1017,8 @@ pub struct ISensorManagerEvents_Vtbl { pub base: ::windows::core::IUnknownVtbl, pub OnSensorEnter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psensor: ::windows::core::RawPtr, state: SensorState) -> ::windows::core::HRESULT, } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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: *const ::windows::core::GUID, size: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -1033,8 +1033,8 @@ pub unsafe fn InitPropVariantFromCLSIDArray(members: *const ::windows::core::GUI #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromFloat(fltval: f32) -> ::windows::core::Result { #[cfg(windows)] @@ -1049,8 +1049,8 @@ pub unsafe fn InitPropVariantFromFloat(fltval: f32) -> ::windows::core::Result super::super::Foundation::BOOLEAN { #[cfg(windows)] @@ -1079,8 +1079,8 @@ pub unsafe fn IsGUIDPresentInList(guidarray: *const ::windows::core::GUID, array #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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 { #[cfg(windows)] @@ -1109,8 +1109,8 @@ pub unsafe fn IsKeyPresentInPropertyList(plist: *const SENSOR_PROPERTY_LIST, pke #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<'a, Param1: ::windows::core::IntoParam<'a, ::windows::core::GUID>>(subscriptionlist: *const SENSOR_COLLECTION_LIST, currenttype: Param1) -> super::super::Foundation::BOOLEAN { #[cfg(windows)] @@ -1455,8 +1455,8 @@ impl ::core::fmt::Debug for PROXIMITY_TYPE { f.debug_tuple("PROXIMITY_TYPE").field(&self.0).finish() } } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -1470,8 +1470,8 @@ pub unsafe fn PropKeyFindKeyGetBool(plist: *const SENSOR_COLLECTION_LIST, pkey: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -1485,8 +1485,8 @@ pub unsafe fn PropKeyFindKeyGetDouble(plist: *const SENSOR_COLLECTION_LIST, pkey #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -1500,8 +1500,8 @@ pub unsafe fn PropKeyFindKeyGetFileTime(plist: *const SENSOR_COLLECTION_LIST, pk #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -1515,8 +1515,8 @@ pub unsafe fn PropKeyFindKeyGetFloat(plist: *const SENSOR_COLLECTION_LIST, pkey: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -1530,8 +1530,8 @@ pub unsafe fn PropKeyFindKeyGetGuid(plist: *const SENSOR_COLLECTION_LIST, pkey: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -1545,8 +1545,8 @@ pub unsafe fn PropKeyFindKeyGetInt32(plist: *const SENSOR_COLLECTION_LIST, pkey: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -1560,8 +1560,8 @@ pub unsafe fn PropKeyFindKeyGetInt64(plist: *const SENSOR_COLLECTION_LIST, pkey: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -1575,8 +1575,8 @@ pub unsafe fn PropKeyFindKeyGetNthInt64(plist: *const SENSOR_COLLECTION_LIST, pk #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -1590,8 +1590,8 @@ pub unsafe fn PropKeyFindKeyGetNthUlong(plist: *const SENSOR_COLLECTION_LIST, pk #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -1605,8 +1605,8 @@ pub unsafe fn PropKeyFindKeyGetNthUshort(plist: *const SENSOR_COLLECTION_LIST, p #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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 PropKeyFindKeyGetPropVariant<'a, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::BOOLEAN>>(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, typecheck: Param2, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -1620,8 +1620,8 @@ pub unsafe fn PropKeyFindKeyGetPropVariant<'a, Param2: ::windows::core::IntoPara #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -1635,8 +1635,8 @@ pub unsafe fn PropKeyFindKeyGetUlong(plist: *const SENSOR_COLLECTION_LIST, pkey: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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<()> { #[cfg(windows)] @@ -1650,8 +1650,8 @@ pub unsafe fn PropKeyFindKeyGetUshort(plist: *const SENSOR_COLLECTION_LIST, pkey #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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 PropKeyFindKeySetPropVariant<'a, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::BOOLEAN>>(plist: *mut SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, typecheck: Param2, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -1665,8 +1665,8 @@ pub unsafe fn PropKeyFindKeySetPropVariant<'a, Param2: ::windows::core::IntoPara #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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: *mut u32, propvariantsize: *mut u32, propvariantpointer: *mut *mut ::core::ffi::c_void, remappedtype: *mut u32) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -1755,32 +1755,32 @@ pub const SENSOR_CATEGORY_OTHER: ::windows::core::GUID = ::windows::core::GUID:: pub const SENSOR_CATEGORY_SCANNER: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb000e77e_f5b5_420f_815d_0270a726f270); pub const SENSOR_CATEGORY_UNSUPPORTED: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x2beae7fa_19b0_48c5_a1f6_b5480dc206b0); #[repr(C)] -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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"))] pub struct SENSOR_COLLECTION_LIST { pub AllocatedSizeInBytes: u32, pub Count: u32, pub List: [SENSOR_VALUE_PAIR; 1], } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ::core::clone::Clone for SENSOR_COLLECTION_LIST { fn clone(&self) -> Self { Self { AllocatedSizeInBytes: self.AllocatedSizeInBytes, Count: self.Count, List: self.List.clone() } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] unsafe impl ::windows::core::Abi for SENSOR_COLLECTION_LIST { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ::core::cmp::PartialEq for SENSOR_COLLECTION_LIST { fn eq(&self, other: &Self) -> bool { self.AllocatedSizeInBytes == other.AllocatedSizeInBytes && self.Count == other.Count && self.List == other.List } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ::core::cmp::Eq for SENSOR_COLLECTION_LIST {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ::core::default::Default for SENSOR_COLLECTION_LIST { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -2434,31 +2434,31 @@ pub const SENSOR_TYPE_TOUCH: ::windows::core::GUID = ::windows::core::GUID::from pub const SENSOR_TYPE_UNKNOWN: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x10ba83e3_ef4f_41ed_9885_a87d6435a8e1); pub const SENSOR_TYPE_VOLTAGE: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc5484637_4fb7_4953_98b8_a56d8aa1fb1e); #[repr(C)] -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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"))] pub struct SENSOR_VALUE_PAIR { pub Key: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pub Value: super::super::System::Com::StructuredStorage::PROPVARIANT, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ::core::clone::Clone for SENSOR_VALUE_PAIR { fn clone(&self) -> Self { Self { Key: self.Key, Value: self.Value.clone() } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] unsafe impl ::windows::core::Abi for SENSOR_VALUE_PAIR { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ::core::cmp::PartialEq for SENSOR_VALUE_PAIR { fn eq(&self, other: &Self) -> bool { self.Key == other.Key && self.Value == other.Value } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ::core::cmp::Eq for SENSOR_VALUE_PAIR {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ::core::default::Default for SENSOR_VALUE_PAIR { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -2501,8 +2501,8 @@ impl ::core::fmt::Debug for SIMPLE_DEVICE_ORIENTATION { } pub const Sensor: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe97ced00_523a_4133_bf6f_d3a2dae7f6ba); pub const SensorCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x79c43adb_a429_469f_aa39_2f2b74b75937); -#[doc = "*Required features: 'Win32_Devices_Sensors', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[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: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { #[cfg(windows)] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs index e020b51fe3..d2269824f7 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs @@ -77,7 +77,7 @@ impl ID2D1Bitmap_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] +#[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub trait ID2D1Bitmap1_Impl: Sized + ID2D1Resource_Impl + ID2D1Image_Impl + ID2D1Bitmap_Impl { fn GetColorContext(&self, colorcontext: *mut ::core::option::Option); fn GetOptions(&self) -> D2D1_BITMAP_OPTIONS; @@ -85,7 +85,7 @@ pub trait ID2D1Bitmap1_Impl: Sized + ID2D1Resource_Impl + ID2D1Image_Impl + ID2D fn Map(&self, options: D2D1_MAP_OPTIONS) -> ::windows::core::Result; fn Unmap(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] +#[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] impl ID2D1Bitmap1_Vtbl { pub const fn new() -> ID2D1Bitmap1_Vtbl { unsafe extern "system" fn GetColorContext(this: *mut ::core::ffi::c_void, colorcontext: *mut ::windows::core::RawPtr) { @@ -1163,7 +1163,7 @@ impl ID2D1Device6_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] pub trait ID2D1DeviceContext_Impl: Sized + ID2D1Resource_Impl + ID2D1RenderTarget_Impl { fn CreateBitmap2(&self, size: &Common::D2D_SIZE_U, sourcedata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result; fn CreateBitmapFromWicBitmap2(&self, wicbitmapsource: &::core::option::Option, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result; @@ -1201,7 +1201,7 @@ pub trait ID2D1DeviceContext_Impl: Sized + ID2D1Resource_Impl + ID2D1RenderTarge fn GetEffectRequiredInputRectangles(&self, rendereffect: &::core::option::Option, renderimagerectangle: *const Common::D2D_RECT_F, inputdescriptions: *const D2D1_EFFECT_INPUT_DESCRIPTION, requiredinputrects: *mut Common::D2D_RECT_F, inputcount: u32) -> ::windows::core::Result<()>; fn FillOpacityMask2(&self, opacitymask: &::core::option::Option, brush: &::core::option::Option, destinationrectangle: *const Common::D2D_RECT_F, sourcerectangle: *const Common::D2D_RECT_F); } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] impl ID2D1DeviceContext_Vtbl { pub const fn new() -> ID2D1DeviceContext_Vtbl { unsafe extern "system" fn CreateBitmap2(this: *mut ::core::ffi::c_void, size: Common::D2D_SIZE_U, sourcedata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1, bitmap: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -1512,13 +1512,13 @@ impl ID2D1DeviceContext_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] pub trait ID2D1DeviceContext1_Impl: Sized + ID2D1Resource_Impl + ID2D1RenderTarget_Impl + ID2D1DeviceContext_Impl { fn CreateFilledGeometryRealization(&self, geometry: &::core::option::Option, flatteningtolerance: f32) -> ::windows::core::Result; fn CreateStrokedGeometryRealization(&self, geometry: &::core::option::Option, flatteningtolerance: f32, strokewidth: f32, strokestyle: &::core::option::Option) -> ::windows::core::Result; fn DrawGeometryRealization(&self, geometryrealization: &::core::option::Option, brush: &::core::option::Option); } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] impl ID2D1DeviceContext1_Vtbl { pub const fn new() -> ID2D1DeviceContext1_Vtbl { unsafe extern "system" fn CreateFilledGeometryRealization(this: *mut ::core::ffi::c_void, geometry: ::windows::core::RawPtr, flatteningtolerance: f32, geometryrealization: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -1559,7 +1559,7 @@ impl ID2D1DeviceContext1_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] pub trait ID2D1DeviceContext2_Impl: Sized + ID2D1Resource_Impl + ID2D1RenderTarget_Impl + ID2D1DeviceContext_Impl + ID2D1DeviceContext1_Impl { fn CreateInk(&self, startpoint: *const D2D1_INK_POINT) -> ::windows::core::Result; fn CreateInkStyle(&self, inkstyleproperties: *const D2D1_INK_STYLE_PROPERTIES) -> ::windows::core::Result; @@ -1573,7 +1573,7 @@ pub trait ID2D1DeviceContext2_Impl: Sized + ID2D1Resource_Impl + ID2D1RenderTarg fn DrawGdiMetafile2(&self, gdimetafile: &::core::option::Option, destinationrectangle: *const Common::D2D_RECT_F, sourcerectangle: *const Common::D2D_RECT_F); fn CreateTransformedImageSource(&self, imagesource: &::core::option::Option, properties: *const D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] impl ID2D1DeviceContext2_Vtbl { pub const fn new() -> ID2D1DeviceContext2_Vtbl { unsafe extern "system" fn CreateInk(this: *mut ::core::ffi::c_void, startpoint: *const D2D1_INK_POINT, ink: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -1698,12 +1698,12 @@ impl ID2D1DeviceContext2_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] pub trait ID2D1DeviceContext3_Impl: Sized + ID2D1Resource_Impl + ID2D1RenderTarget_Impl + ID2D1DeviceContext_Impl + ID2D1DeviceContext1_Impl + ID2D1DeviceContext2_Impl { fn CreateSpriteBatch(&self) -> ::windows::core::Result; fn DrawSpriteBatch(&self, spritebatch: &::core::option::Option, startindex: u32, spritecount: u32, bitmap: &::core::option::Option, interpolationmode: D2D1_BITMAP_INTERPOLATION_MODE, spriteoptions: D2D1_SPRITE_OPTIONS); } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] impl ID2D1DeviceContext3_Vtbl { pub const fn new() -> ID2D1DeviceContext3_Vtbl { unsafe extern "system" fn CreateSpriteBatch(this: *mut ::core::ffi::c_void, spritebatch: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -1732,7 +1732,7 @@ impl ID2D1DeviceContext3_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] pub trait ID2D1DeviceContext4_Impl: Sized + ID2D1Resource_Impl + ID2D1RenderTarget_Impl + ID2D1DeviceContext_Impl + ID2D1DeviceContext1_Impl + ID2D1DeviceContext2_Impl + ID2D1DeviceContext3_Impl { fn CreateSvgGlyphStyle(&self) -> ::windows::core::Result; fn DrawText2(&self, string: super::super::Foundation::PWSTR, stringlength: u32, textformat: &::core::option::Option, layoutrect: *const Common::D2D_RECT_F, defaultfillbrush: &::core::option::Option, svgglyphstyle: &::core::option::Option, colorpaletteindex: u32, options: D2D1_DRAW_TEXT_OPTIONS, measuringmode: super::DirectWrite::DWRITE_MEASURING_MODE); @@ -1742,7 +1742,7 @@ pub trait ID2D1DeviceContext4_Impl: Sized + ID2D1Resource_Impl + ID2D1RenderTarg fn GetColorBitmapGlyphImage(&self, glyphimageformat: super::DirectWrite::DWRITE_GLYPH_IMAGE_FORMATS, glyphorigin: &Common::D2D_POINT_2F, fontface: &::core::option::Option, fontemsize: f32, glyphindex: u16, issideways: super::super::Foundation::BOOL, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, dpix: f32, dpiy: f32, glyphtransform: *mut super::super::super::Foundation::Numerics::Matrix3x2, glyphimage: *mut ::core::option::Option) -> ::windows::core::Result<()>; fn GetSvgGlyphImage(&self, glyphorigin: &Common::D2D_POINT_2F, fontface: &::core::option::Option, fontemsize: f32, glyphindex: u16, issideways: super::super::Foundation::BOOL, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, defaultfillbrush: &::core::option::Option, svgglyphstyle: &::core::option::Option, colorpaletteindex: u32, glyphtransform: *mut super::super::super::Foundation::Numerics::Matrix3x2, glyphimage: *mut ::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] impl ID2D1DeviceContext4_Vtbl { pub const fn new() -> ID2D1DeviceContext4_Vtbl { unsafe extern "system" fn CreateSvgGlyphStyle(this: *mut ::core::ffi::c_void, svgglyphstyle: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -1805,14 +1805,14 @@ impl ID2D1DeviceContext4_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] pub trait ID2D1DeviceContext5_Impl: Sized + ID2D1Resource_Impl + ID2D1RenderTarget_Impl + ID2D1DeviceContext_Impl + ID2D1DeviceContext1_Impl + ID2D1DeviceContext2_Impl + ID2D1DeviceContext3_Impl + ID2D1DeviceContext4_Impl { fn CreateSvgDocument(&self, inputxmlstream: &::core::option::Option, viewportsize: &Common::D2D_SIZE_F) -> ::windows::core::Result; fn DrawSvgDocument(&self, svgdocument: &::core::option::Option); fn CreateColorContextFromDxgiColorSpace(&self, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE) -> ::windows::core::Result; fn CreateColorContextFromSimpleColorProfile(&self, simpleprofile: *const D2D1_SIMPLE_COLOR_PROFILE) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] impl ID2D1DeviceContext5_Vtbl { pub const fn new() -> ID2D1DeviceContext5_Vtbl { unsafe extern "system" fn CreateSvgDocument(this: *mut ::core::ffi::c_void, inputxmlstream: ::windows::core::RawPtr, viewportsize: Common::D2D_SIZE_F, svgdocument: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -1865,11 +1865,11 @@ impl ID2D1DeviceContext5_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] pub trait ID2D1DeviceContext6_Impl: Sized + ID2D1Resource_Impl + ID2D1RenderTarget_Impl + ID2D1DeviceContext_Impl + ID2D1DeviceContext1_Impl + ID2D1DeviceContext2_Impl + ID2D1DeviceContext3_Impl + ID2D1DeviceContext4_Impl + ID2D1DeviceContext5_Impl { fn BlendImage(&self, image: &::core::option::Option, blendmode: Common::D2D1_BLEND_MODE, targetoffset: *const Common::D2D_POINT_2F, imagerectangle: *const Common::D2D_RECT_F, interpolationmode: D2D1_INTERPOLATION_MODE); } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] impl ID2D1DeviceContext6_Vtbl { pub const fn new() -> ID2D1DeviceContext6_Vtbl { unsafe extern "system" fn BlendImage(this: *mut ::core::ffi::c_void, image: ::windows::core::RawPtr, blendmode: Common::D2D1_BLEND_MODE, targetoffset: *const Common::D2D_POINT_2F, imagerectangle: *const Common::D2D_RECT_F, interpolationmode: D2D1_INTERPOLATION_MODE) { @@ -2429,7 +2429,7 @@ impl ID2D1EllipseGeometry_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] pub trait ID2D1Factory_Impl: Sized { fn ReloadSystemMetrics(&self) -> ::windows::core::Result<()>; fn GetDesktopDpi(&self, dpix: *mut f32, dpiy: *mut f32); @@ -2446,7 +2446,7 @@ pub trait ID2D1Factory_Impl: Sized { fn CreateDxgiSurfaceRenderTarget(&self, dxgisurface: &::core::option::Option, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result; fn CreateDCRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] impl ID2D1Factory_Vtbl { pub const fn new() -> ID2D1Factory_Vtbl { unsafe extern "system" fn ReloadSystemMetrics(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -2613,7 +2613,7 @@ impl ID2D1Factory_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] pub trait ID2D1Factory1_Impl: Sized + ID2D1Factory_Impl { fn CreateDevice(&self, dxgidevice: &::core::option::Option) -> ::windows::core::Result; fn CreateStrokeStyle2(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES1, dashes: *const f32, dashescount: u32) -> ::windows::core::Result; @@ -2626,7 +2626,7 @@ pub trait ID2D1Factory1_Impl: Sized + ID2D1Factory_Impl { fn GetRegisteredEffects(&self, effects: *mut ::windows::core::GUID, effectscount: u32, effectsreturned: *mut u32, effectsregistered: *mut u32) -> ::windows::core::Result<()>; fn GetEffectProperties(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] impl ID2D1Factory1_Vtbl { pub const fn new() -> ID2D1Factory1_Vtbl { unsafe extern "system" fn CreateDevice(this: *mut ::core::ffi::c_void, dxgidevice: ::windows::core::RawPtr, d2ddevice: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -2733,11 +2733,11 @@ impl ID2D1Factory1_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] pub trait ID2D1Factory2_Impl: Sized + ID2D1Factory_Impl + ID2D1Factory1_Impl { fn CreateDevice2(&self, dxgidevice: &::core::option::Option) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] impl ID2D1Factory2_Vtbl { pub const fn new() -> ID2D1Factory2_Vtbl { unsafe extern "system" fn CreateDevice2(this: *mut ::core::ffi::c_void, dxgidevice: ::windows::core::RawPtr, d2ddevice1: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -2757,11 +2757,11 @@ impl ID2D1Factory2_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] pub trait ID2D1Factory3_Impl: Sized + ID2D1Factory_Impl + ID2D1Factory1_Impl + ID2D1Factory2_Impl { fn CreateDevice3(&self, dxgidevice: &::core::option::Option) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] impl ID2D1Factory3_Vtbl { pub const fn new() -> ID2D1Factory3_Vtbl { unsafe extern "system" fn CreateDevice3(this: *mut ::core::ffi::c_void, dxgidevice: ::windows::core::RawPtr, d2ddevice2: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -2781,11 +2781,11 @@ impl ID2D1Factory3_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] pub trait ID2D1Factory4_Impl: Sized + ID2D1Factory_Impl + ID2D1Factory1_Impl + ID2D1Factory2_Impl + ID2D1Factory3_Impl { fn CreateDevice4(&self, dxgidevice: &::core::option::Option) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] impl ID2D1Factory4_Vtbl { pub const fn new() -> ID2D1Factory4_Vtbl { unsafe extern "system" fn CreateDevice4(this: *mut ::core::ffi::c_void, dxgidevice: ::windows::core::RawPtr, d2ddevice3: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -2805,11 +2805,11 @@ impl ID2D1Factory4_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] pub trait ID2D1Factory5_Impl: Sized + ID2D1Factory_Impl + ID2D1Factory1_Impl + ID2D1Factory2_Impl + ID2D1Factory3_Impl + ID2D1Factory4_Impl { fn CreateDevice5(&self, dxgidevice: &::core::option::Option) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] impl ID2D1Factory5_Vtbl { pub const fn new() -> ID2D1Factory5_Vtbl { unsafe extern "system" fn CreateDevice5(this: *mut ::core::ffi::c_void, dxgidevice: ::windows::core::RawPtr, d2ddevice4: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -2829,11 +2829,11 @@ impl ID2D1Factory5_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] pub trait ID2D1Factory6_Impl: Sized + ID2D1Factory_Impl + ID2D1Factory1_Impl + ID2D1Factory2_Impl + ID2D1Factory3_Impl + ID2D1Factory4_Impl + ID2D1Factory5_Impl { fn CreateDevice6(&self, dxgidevice: &::core::option::Option) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] impl ID2D1Factory6_Vtbl { pub const fn new() -> ID2D1Factory6_Vtbl { unsafe extern "system" fn CreateDevice6(this: *mut ::core::ffi::c_void, dxgidevice: ::windows::core::RawPtr, d2ddevice5: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -2853,11 +2853,11 @@ impl ID2D1Factory6_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] pub trait ID2D1Factory7_Impl: Sized + ID2D1Factory_Impl + ID2D1Factory1_Impl + ID2D1Factory2_Impl + ID2D1Factory3_Impl + ID2D1Factory4_Impl + ID2D1Factory5_Impl + ID2D1Factory6_Impl { fn CreateDevice7(&self, dxgidevice: &::core::option::Option) -> ::windows::core::Result; } -#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging", feature = "Win32_System_Com"))] impl ID2D1Factory7_Vtbl { pub const fn new() -> ID2D1Factory7_Vtbl { unsafe extern "system" fn CreateDevice7(this: *mut ::core::ffi::c_void, dxgidevice: ::windows::core::RawPtr, d2ddevice6: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { 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 d42159076c..139b0d0005 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs @@ -13726,8 +13726,8 @@ impl ID2D1DeviceContext { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).CreateColorContextFromWicColorContext)(::core::mem::transmute_copy(self), wiccolorcontext.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmapFromDxgiSurface<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, surface: Param0, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapFromDxgiSurface)(::core::mem::transmute_copy(self), surface.into_param().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -13978,9 +13978,9 @@ pub struct ID2D1DeviceContext_Vtbl { pub CreateColorContextFromWicColorContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, wiccolorcontext: ::windows::core::RawPtr, colorcontext: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Graphics_Imaging"))] CreateColorContextFromWicColorContext: usize, - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub CreateBitmapFromDxgiSurface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, surface: ::windows::core::RawPtr, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1, bitmap: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common")))] + #[cfg(not(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common")))] CreateBitmapFromDxgiSurface: usize, pub CreateEffect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, effectid: *const ::windows::core::GUID, effect: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(feature = "Win32_Graphics_Direct2D_Common")] @@ -14367,8 +14367,8 @@ impl ID2D1DeviceContext1 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CreateColorContextFromWicColorContext)(::core::mem::transmute_copy(self), wiccolorcontext.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmapFromDxgiSurface<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, surface: Param0, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CreateBitmapFromDxgiSurface)(::core::mem::transmute_copy(self), surface.into_param().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -14938,8 +14938,8 @@ impl ID2D1DeviceContext2 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.CreateColorContextFromWicColorContext)(::core::mem::transmute_copy(self), wiccolorcontext.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmapFromDxgiSurface<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, surface: Param0, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.CreateBitmapFromDxgiSurface)(::core::mem::transmute_copy(self), surface.into_param().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -15130,8 +15130,8 @@ impl ID2D1DeviceContext2 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).CreateLookupTable3D)(::core::mem::transmute_copy(self), ::core::mem::transmute(precision), ::core::mem::transmute(extents), ::core::mem::transmute(data), ::core::mem::transmute(datacount), ::core::mem::transmute(strides), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: *const ::core::option::Option, surfacecount: u32, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).CreateImageSourceFromDxgi)(::core::mem::transmute_copy(self), ::core::mem::transmute(surfaces), ::core::mem::transmute(surfacecount), ::core::mem::transmute(colorspace), ::core::mem::transmute(options), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -15299,9 +15299,9 @@ pub struct ID2D1DeviceContext2_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Imaging")))] CreateImageSourceFromWic: usize, pub CreateLookupTable3D: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, precision: D2D1_BUFFER_PRECISION, extents: *const u32, data: *const u8, datacount: u32, strides: *const u32, lookuptable: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub CreateImageSourceFromDxgi: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, surfaces: *const ::windows::core::RawPtr, surfacecount: u32, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS, imagesource: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common")))] + #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] CreateImageSourceFromDxgi: usize, #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub GetGradientMeshWorldBounds: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, gradientmesh: ::windows::core::RawPtr, pbounds: *mut Common::D2D_RECT_F) -> ::windows::core::HRESULT, @@ -15613,8 +15613,8 @@ impl ID2D1DeviceContext3 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.CreateColorContextFromWicColorContext)(::core::mem::transmute_copy(self), wiccolorcontext.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmapFromDxgiSurface<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, surface: Param0, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.CreateBitmapFromDxgiSurface)(::core::mem::transmute_copy(self), surface.into_param().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -15805,8 +15805,8 @@ impl ID2D1DeviceContext3 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CreateLookupTable3D)(::core::mem::transmute_copy(self), ::core::mem::transmute(precision), ::core::mem::transmute(extents), ::core::mem::transmute(data), ::core::mem::transmute(datacount), ::core::mem::transmute(strides), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: *const ::core::option::Option, surfacecount: u32, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CreateImageSourceFromDxgi)(::core::mem::transmute_copy(self), ::core::mem::transmute(surfaces), ::core::mem::transmute(surfacecount), ::core::mem::transmute(colorspace), ::core::mem::transmute(options), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -16290,8 +16290,8 @@ impl ID2D1DeviceContext4 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.CreateColorContextFromWicColorContext)(::core::mem::transmute_copy(self), wiccolorcontext.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmapFromDxgiSurface<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, surface: Param0, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.CreateBitmapFromDxgiSurface)(::core::mem::transmute_copy(self), surface.into_param().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -16482,8 +16482,8 @@ impl ID2D1DeviceContext4 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.CreateLookupTable3D)(::core::mem::transmute_copy(self), ::core::mem::transmute(precision), ::core::mem::transmute(extents), ::core::mem::transmute(data), ::core::mem::transmute(datacount), ::core::mem::transmute(strides), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: *const ::core::option::Option, surfacecount: u32, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.CreateImageSourceFromDxgi)(::core::mem::transmute_copy(self), ::core::mem::transmute(surfaces), ::core::mem::transmute(surfacecount), ::core::mem::transmute(colorspace), ::core::mem::transmute(options), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -17045,8 +17045,8 @@ impl ID2D1DeviceContext5 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.base.CreateColorContextFromWicColorContext)(::core::mem::transmute_copy(self), wiccolorcontext.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmapFromDxgiSurface<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, surface: Param0, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.base.CreateBitmapFromDxgiSurface)(::core::mem::transmute_copy(self), surface.into_param().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -17237,8 +17237,8 @@ impl ID2D1DeviceContext5 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.CreateLookupTable3D)(::core::mem::transmute_copy(self), ::core::mem::transmute(precision), ::core::mem::transmute(extents), ::core::mem::transmute(data), ::core::mem::transmute(datacount), ::core::mem::transmute(strides), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: *const ::core::option::Option, surfacecount: u32, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.CreateImageSourceFromDxgi)(::core::mem::transmute_copy(self), ::core::mem::transmute(surfaces), ::core::mem::transmute(surfacecount), ::core::mem::transmute(colorspace), ::core::mem::transmute(options), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -17830,8 +17830,8 @@ impl ID2D1DeviceContext6 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.base.base.CreateColorContextFromWicColorContext)(::core::mem::transmute_copy(self), wiccolorcontext.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmapFromDxgiSurface<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, surface: Param0, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.base.base.CreateBitmapFromDxgiSurface)(::core::mem::transmute_copy(self), surface.into_param().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -18022,8 +18022,8 @@ impl ID2D1DeviceContext6 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.CreateLookupTable3D)(::core::mem::transmute_copy(self), ::core::mem::transmute(precision), ::core::mem::transmute(extents), ::core::mem::transmute(data), ::core::mem::transmute(datacount), ::core::mem::transmute(strides), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: *const ::core::option::Option, surfacecount: u32, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.CreateImageSourceFromDxgi)(::core::mem::transmute_copy(self), ::core::mem::transmute(surfaces), ::core::mem::transmute(surfacecount), ::core::mem::transmute(colorspace), ::core::mem::transmute(options), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -19864,8 +19864,8 @@ impl ID2D1Factory { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).CreateHwndRenderTarget)(::core::mem::transmute_copy(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDxgiSurfaceRenderTarget<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, dxgisurface: Param0, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).CreateDxgiSurfaceRenderTarget)(::core::mem::transmute_copy(self), dxgisurface.into_param().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -19957,9 +19957,9 @@ pub struct ID2D1Factory_Vtbl { pub CreateHwndRenderTarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES, hwndrendertargetproperties: *const D2D1_HWND_RENDER_TARGET_PROPERTIES, hwndrendertarget: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common")))] CreateHwndRenderTarget: usize, - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub CreateDxgiSurfaceRenderTarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dxgisurface: ::windows::core::RawPtr, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES, rendertarget: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common")))] + #[cfg(not(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common")))] CreateDxgiSurfaceRenderTarget: usize, #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub CreateDCRenderTarget: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES, dcrendertarget: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -20036,8 +20036,8 @@ impl ID2D1Factory1 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CreateHwndRenderTarget)(::core::mem::transmute_copy(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDxgiSurfaceRenderTarget<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, dxgisurface: Param0, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CreateDxgiSurfaceRenderTarget)(::core::mem::transmute_copy(self), dxgisurface.into_param().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -20260,8 +20260,8 @@ impl ID2D1Factory2 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.CreateHwndRenderTarget)(::core::mem::transmute_copy(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDxgiSurfaceRenderTarget<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, dxgisurface: Param0, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.CreateDxgiSurfaceRenderTarget)(::core::mem::transmute_copy(self), dxgisurface.into_param().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -20489,8 +20489,8 @@ impl ID2D1Factory3 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.CreateHwndRenderTarget)(::core::mem::transmute_copy(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDxgiSurfaceRenderTarget<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, dxgisurface: Param0, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.CreateDxgiSurfaceRenderTarget)(::core::mem::transmute_copy(self), dxgisurface.into_param().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -20744,8 +20744,8 @@ impl ID2D1Factory4 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.CreateHwndRenderTarget)(::core::mem::transmute_copy(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDxgiSurfaceRenderTarget<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, dxgisurface: Param0, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.CreateDxgiSurfaceRenderTarget)(::core::mem::transmute_copy(self), dxgisurface.into_param().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -21025,8 +21025,8 @@ impl ID2D1Factory5 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.base.CreateHwndRenderTarget)(::core::mem::transmute_copy(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDxgiSurfaceRenderTarget<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, dxgisurface: Param0, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.base.CreateDxgiSurfaceRenderTarget)(::core::mem::transmute_copy(self), dxgisurface.into_param().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -21332,8 +21332,8 @@ impl ID2D1Factory6 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.base.base.CreateHwndRenderTarget)(::core::mem::transmute_copy(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDxgiSurfaceRenderTarget<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, dxgisurface: Param0, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.base.base.CreateDxgiSurfaceRenderTarget)(::core::mem::transmute_copy(self), dxgisurface.into_param().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -21665,8 +21665,8 @@ impl ID2D1Factory7 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.base.base.base.CreateHwndRenderTarget)(::core::mem::transmute_copy(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDxgiSurfaceRenderTarget<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGISurface>>(&self, dxgisurface: Param0, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.base.base.base.base.CreateDxgiSurfaceRenderTarget)(::core::mem::transmute_copy(self), dxgisurface.into_param().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(&mut result__)).from_abi::(result__) 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 cb2436ef11..6145bfadd4 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs @@ -77,8 +77,8 @@ pub unsafe fn D3D10CreateDevice1<'a, Param0: ::windows::core::IntoParam<'a, supe #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] +#[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi_Common'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] #[inline] pub unsafe fn D3D10CreateDeviceAndSwapChain<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGIAdapter>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::HINSTANCE>>(padapter: Param0, drivertype: D3D10_DRIVER_TYPE, software: Param2, flags: u32, sdkversion: u32, pswapchaindesc: *const super::Dxgi::DXGI_SWAP_CHAIN_DESC, ppswapchain: *mut ::core::option::Option, ppdevice: *mut ::core::option::Option) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -92,8 +92,8 @@ pub unsafe fn D3D10CreateDeviceAndSwapChain<'a, Param0: ::windows::core::IntoPar #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] +#[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi_Common'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] #[inline] pub unsafe fn D3D10CreateDeviceAndSwapChain1<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGIAdapter>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::HINSTANCE>>(padapter: Param0, drivertype: D3D10_DRIVER_TYPE, software: Param2, flags: u32, hardwarelevel: D3D10_FEATURE_LEVEL1, sdkversion: u32, pswapchaindesc: *const super::Dxgi::DXGI_SWAP_CHAIN_DESC, ppswapchain: *mut ::core::option::Option, ppdevice: *mut ::core::option::Option) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -14735,8 +14735,8 @@ pub struct ID3D10View_Vtbl { #[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi"))] pub type PFN_D3D10_CREATE_DEVICE1 = ::core::option::Option, param1: D3D10_DRIVER_TYPE, param2: super::super::Foundation::HINSTANCE, param3: u32, param4: D3D10_FEATURE_LEVEL1, param5: u32, param6: *mut ::core::option::Option) -> ::windows::core::HRESULT>; -#[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] +#[doc = "*Required features: 'Win32_Graphics_Direct3D10', 'Win32_Foundation', 'Win32_Graphics_Dxgi_Common'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub type PFN_D3D10_CREATE_DEVICE_AND_SWAP_CHAIN1 = ::core::option::Option, param1: D3D10_DRIVER_TYPE, param2: super::super::Foundation::HINSTANCE, param3: u32, param4: D3D10_FEATURE_LEVEL1, param5: u32, param6: *mut super::Dxgi::DXGI_SWAP_CHAIN_DESC, param7: *mut ::core::option::Option, param8: *mut ::core::option::Option) -> ::windows::core::HRESULT>; #[doc = "*Required features: 'Win32_Graphics_Direct3D10'*"] pub const _FACD3D10: u32 = 2169u32; diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs index 21fc71f5e3..d77d61d2af 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs @@ -4574,14 +4574,14 @@ impl ID3D11VideoContext1_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub trait ID3D11VideoContext2_Impl: Sized + ID3D11DeviceChild_Impl + ID3D11VideoContext_Impl + ID3D11VideoContext1_Impl { fn VideoProcessorSetOutputHDRMetaData(&self, pvideoprocessor: &::core::option::Option, r#type: super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, phdrmetadata: *const ::core::ffi::c_void); fn VideoProcessorGetOutputHDRMetaData(&self, pvideoprocessor: &::core::option::Option, ptype: *mut super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, pmetadata: *mut ::core::ffi::c_void); fn VideoProcessorSetStreamHDRMetaData(&self, pvideoprocessor: &::core::option::Option, streamindex: u32, r#type: super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, phdrmetadata: *const ::core::ffi::c_void); fn VideoProcessorGetStreamHDRMetaData(&self, pvideoprocessor: &::core::option::Option, streamindex: u32, ptype: *mut super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, pmetadata: *mut ::core::ffi::c_void); } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] impl ID3D11VideoContext2_Vtbl { pub const fn new() -> ID3D11VideoContext2_Vtbl { unsafe extern "system" fn VideoProcessorSetOutputHDRMetaData(this: *mut ::core::ffi::c_void, pvideoprocessor: ::windows::core::RawPtr, r#type: super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, phdrmetadata: *const ::core::ffi::c_void) { @@ -4616,12 +4616,12 @@ impl ID3D11VideoContext2_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub trait ID3D11VideoContext3_Impl: Sized + ID3D11DeviceChild_Impl + ID3D11VideoContext_Impl + ID3D11VideoContext1_Impl + ID3D11VideoContext2_Impl { fn DecoderBeginFrame1(&self, pdecoder: &::core::option::Option, pview: &::core::option::Option, contentkeysize: u32, pcontentkey: *const ::core::ffi::c_void, numcomponenthistograms: u32, phistogramoffsets: *const u32, pphistogrambuffers: *const ::core::option::Option) -> ::windows::core::Result<()>; fn SubmitDecoderBuffers2(&self, pdecoder: &::core::option::Option, numbuffers: u32, pbufferdesc: *const D3D11_VIDEO_DECODER_BUFFER_DESC2) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] impl ID3D11VideoContext3_Vtbl { pub const fn new() -> ID3D11VideoContext3_Vtbl { unsafe extern "system" fn DecoderBeginFrame1(this: *mut ::core::ffi::c_void, pdecoder: ::windows::core::RawPtr, pview: ::windows::core::RawPtr, contentkeysize: u32, pcontentkey: *const ::core::ffi::c_void, numcomponenthistograms: u32, phistogramoffsets: *const u32, pphistogrambuffers: *const ::windows::core::RawPtr) -> ::windows::core::HRESULT { 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 3e0ba80191..012349cf78 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs @@ -16,8 +16,8 @@ pub unsafe fn D3D11CreateDevice<'a, Param0: ::windows::core::IntoParam<'a, super #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Graphics_Direct3D11', 'Win32_Foundation', 'Win32_Graphics_Direct3D', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] +#[doc = "*Required features: 'Win32_Graphics_Direct3D11', 'Win32_Foundation', 'Win32_Graphics_Direct3D', 'Win32_Graphics_Dxgi_Common'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] #[inline] pub unsafe fn D3D11CreateDeviceAndSwapChain<'a, Param0: ::windows::core::IntoParam<'a, super::Dxgi::IDXGIAdapter>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::HINSTANCE>>(padapter: Param0, drivertype: super::Direct3D::D3D_DRIVER_TYPE, software: Param2, 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 ::core::option::Option, ppdevice: *mut ::core::option::Option, pfeaturelevel: *mut super::Direct3D::D3D_FEATURE_LEVEL, ppimmediatecontext: *mut ::core::option::Option) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -31621,8 +31621,8 @@ pub struct ID3DX11SegmentedScan_Vtbl { #[doc = "*Required features: 'Win32_Graphics_Direct3D11', 'Win32_Foundation', 'Win32_Graphics_Direct3D', 'Win32_Graphics_Dxgi'*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi"))] pub type PFN_D3D11_CREATE_DEVICE = ::core::option::Option, param1: super::Direct3D::D3D_DRIVER_TYPE, param2: super::super::Foundation::HINSTANCE, param3: u32, param4: *const super::Direct3D::D3D_FEATURE_LEVEL, featurelevels: u32, param6: u32, param7: *mut ::core::option::Option, param8: *mut super::Direct3D::D3D_FEATURE_LEVEL, param9: *mut ::core::option::Option) -> ::windows::core::HRESULT>; -#[doc = "*Required features: 'Win32_Graphics_Direct3D11', 'Win32_Foundation', 'Win32_Graphics_Direct3D', 'Win32_Graphics_Dxgi', 'Win32_Graphics_Dxgi_Common'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi", feature = "Win32_Graphics_Dxgi_Common"))] +#[doc = "*Required features: 'Win32_Graphics_Direct3D11', 'Win32_Foundation', 'Win32_Graphics_Direct3D', 'Win32_Graphics_Dxgi_Common'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] pub type PFN_D3D11_CREATE_DEVICE_AND_SWAP_CHAIN = ::core::option::Option, param1: super::Direct3D::D3D_DRIVER_TYPE, param2: super::super::Foundation::HINSTANCE, param3: u32, param4: *const super::Direct3D::D3D_FEATURE_LEVEL, featurelevels: u32, param6: u32, param7: *const super::Dxgi::DXGI_SWAP_CHAIN_DESC, param8: *mut ::core::option::Option, param9: *mut ::core::option::Option, param10: *mut super::Direct3D::D3D_FEATURE_LEVEL, param11: *mut ::core::option::Option) -> ::windows::core::HRESULT>; #[doc = "*Required features: 'Win32_Graphics_Direct3D11'*"] pub const _FACD3D11: u32 = 2172u32; diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs index 49989604f1..7d2d4a4f21 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs @@ -1,10 +1,10 @@ -#[cfg(all(feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] +#[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub trait IWICImageEncoder_Impl: Sized { fn WriteFrame(&self, pimage: &::core::option::Option, pframeencode: &::core::option::Option, pimageparameters: *const super::WICImageParameters) -> ::windows::core::Result<()>; fn WriteFrameThumbnail(&self, pimage: &::core::option::Option, pframeencode: &::core::option::Option, pimageparameters: *const super::WICImageParameters) -> ::windows::core::Result<()>; fn WriteThumbnail(&self, pimage: &::core::option::Option, pencoder: &::core::option::Option, pimageparameters: *const super::WICImageParameters) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] +#[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] impl IWICImageEncoder_Vtbl { pub const fn new() -> IWICImageEncoder_Vtbl { unsafe extern "system" fn WriteFrame(this: *mut ::core::ffi::c_void, pimage: ::windows::core::RawPtr, pframeencode: ::windows::core::RawPtr, pimageparameters: *const super::WICImageParameters) -> ::windows::core::HRESULT { 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 e5dc279a9e..5a18d020d8 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 @@ -3,18 +3,18 @@ #[repr(transparent)] pub struct IWICImageEncoder(::windows::core::IUnknown); impl IWICImageEncoder { - #[doc = "*Required features: 'Win32_Graphics_Imaging_D2D', 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging_D2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn WriteFrame<'a, Param0: ::windows::core::IntoParam<'a, super::super::Direct2D::ID2D1Image>, Param1: ::windows::core::IntoParam<'a, super::IWICBitmapFrameEncode>>(&self, pimage: Param0, pframeencode: Param1, pimageparameters: *const super::WICImageParameters) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).WriteFrame)(::core::mem::transmute_copy(self), pimage.into_param().abi(), pframeencode.into_param().abi(), ::core::mem::transmute(pimageparameters)).ok() } - #[doc = "*Required features: 'Win32_Graphics_Imaging_D2D', 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging_D2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn WriteFrameThumbnail<'a, Param0: ::windows::core::IntoParam<'a, super::super::Direct2D::ID2D1Image>, Param1: ::windows::core::IntoParam<'a, super::IWICBitmapFrameEncode>>(&self, pimage: Param0, pframeencode: Param1, pimageparameters: *const super::WICImageParameters) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).WriteFrameThumbnail)(::core::mem::transmute_copy(self), pimage.into_param().abi(), pframeencode.into_param().abi(), ::core::mem::transmute(pimageparameters)).ok() } - #[doc = "*Required features: 'Win32_Graphics_Imaging_D2D', 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] - #[cfg(all(feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging_D2D', 'Win32_Graphics_Direct2D_Common', 'Win32_Graphics_Dxgi_Common'*"] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn WriteThumbnail<'a, Param0: ::windows::core::IntoParam<'a, super::super::Direct2D::ID2D1Image>, Param1: ::windows::core::IntoParam<'a, super::IWICBitmapEncoder>>(&self, pimage: Param0, pencoder: Param1, pimageparameters: *const super::WICImageParameters) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).WriteThumbnail)(::core::mem::transmute_copy(self), pimage.into_param().abi(), pencoder.into_param().abi(), ::core::mem::transmute(pimageparameters)).ok() } @@ -63,17 +63,17 @@ unsafe impl ::windows::core::Interface for IWICImageEncoder { #[doc(hidden)] pub struct IWICImageEncoder_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub WriteFrame: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pimage: ::windows::core::RawPtr, pframeencode: ::windows::core::RawPtr, pimageparameters: *const super::WICImageParameters) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common")))] + #[cfg(not(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common")))] WriteFrame: usize, - #[cfg(all(feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub WriteFrameThumbnail: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pimage: ::windows::core::RawPtr, pframeencode: ::windows::core::RawPtr, pimageparameters: *const super::WICImageParameters) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common")))] + #[cfg(not(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common")))] WriteFrameThumbnail: usize, - #[cfg(all(feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] + #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub WriteThumbnail: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pimage: ::windows::core::RawPtr, pencoder: ::windows::core::RawPtr, pimageparameters: *const super::WICImageParameters) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common")))] + #[cfg(not(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common")))] WriteThumbnail: usize, } #[doc = "*Required features: 'Win32_Graphics_Imaging_D2D'*"] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs index eedca67aaf..786934cd69 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs @@ -392,7 +392,7 @@ impl IWICBitmapDecoderInfo_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] pub trait IWICBitmapEncoder_Impl: Sized { fn Initialize(&self, pistream: &::core::option::Option, cacheoption: WICBitmapEncoderCacheOption) -> ::windows::core::Result<()>; fn GetContainerFormat(&self) -> ::windows::core::Result<::windows::core::GUID>; @@ -405,7 +405,7 @@ pub trait IWICBitmapEncoder_Impl: Sized { fn Commit(&self) -> ::windows::core::Result<()>; fn GetMetadataQueryWriter(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl IWICBitmapEncoder_Vtbl { pub const fn new() -> IWICBitmapEncoder_Vtbl { unsafe extern "system" fn Initialize(this: *mut ::core::ffi::c_void, pistream: ::windows::core::RawPtr, cacheoption: WICBitmapEncoderCacheOption) -> ::windows::core::HRESULT { @@ -929,7 +929,7 @@ impl IWICColorTransform_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_WindowsAndMessaging"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_WindowsAndMessaging"))] pub trait IWICComponentFactory_Impl: Sized + IWICImagingFactory_Impl { fn CreateMetadataReader(&self, guidmetadataformat: *const ::windows::core::GUID, pguidvendor: *const ::windows::core::GUID, dwoptions: u32, pistream: &::core::option::Option) -> ::windows::core::Result; fn CreateMetadataReaderFromContainer(&self, guidcontainerformat: *const ::windows::core::GUID, pguidvendor: *const ::windows::core::GUID, dwoptions: u32, pistream: &::core::option::Option) -> ::windows::core::Result; @@ -939,7 +939,7 @@ pub trait IWICComponentFactory_Impl: Sized + IWICImagingFactory_Impl { fn CreateQueryWriterFromBlockWriter(&self, piblockwriter: &::core::option::Option) -> ::windows::core::Result; fn CreateEncoderPropertyBag(&self, ppropoptions: *const super::super::System::Com::StructuredStorage::PROPBAG2, ccount: u32) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_WindowsAndMessaging"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_WindowsAndMessaging"))] impl IWICComponentFactory_Vtbl { pub const fn new() -> IWICComponentFactory_Vtbl { unsafe extern "system" fn CreateMetadataReader(this: *mut ::core::ffi::c_void, guidmetadataformat: *const ::windows::core::GUID, pguidvendor: *const ::windows::core::GUID, dwoptions: u32, pistream: ::windows::core::RawPtr, ppireader: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -1576,14 +1576,14 @@ impl IWICDevelopRawNotificationCallback_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IWICEnumMetadataItem_Impl: Sized { fn Next(&self, celt: u32, rgeltschema: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, rgeltid: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, rgeltvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pceltfetched: *mut u32) -> ::windows::core::Result<()>; fn Skip(&self, celt: u32) -> ::windows::core::Result<()>; fn Reset(&self) -> ::windows::core::Result<()>; fn Clone(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IWICEnumMetadataItem_Vtbl { pub const fn new() -> IWICEnumMetadataItem_Vtbl { unsafe extern "system" fn Next(this: *mut ::core::ffi::c_void, celt: u32, rgeltschema: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, rgeltid: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, rgeltvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pceltfetched: *mut u32) -> ::windows::core::HRESULT { @@ -2451,14 +2451,14 @@ impl IWICMetadataHandlerInfo_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IWICMetadataQueryReader_Impl: Sized { fn GetContainerFormat(&self) -> ::windows::core::Result<::windows::core::GUID>; fn GetLocation(&self, cchmaxlength: u32, wznamespace: super::super::Foundation::PWSTR, pcchactuallength: *mut u32) -> ::windows::core::Result<()>; fn GetMetadataByName(&self, wzname: super::super::Foundation::PWSTR, pvarvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn GetEnumerator(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IWICMetadataQueryReader_Vtbl { pub const fn new() -> IWICMetadataQueryReader_Vtbl { unsafe extern "system" fn GetContainerFormat(this: *mut ::core::ffi::c_void, pguidcontainerformat: *mut ::windows::core::GUID) -> ::windows::core::HRESULT { @@ -2505,12 +2505,12 @@ impl IWICMetadataQueryReader_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IWICMetadataQueryWriter_Impl: Sized + IWICMetadataQueryReader_Impl { fn SetMetadataByName(&self, wzname: super::super::Foundation::PWSTR, pvarvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn RemoveMetadataByName(&self, wzname: super::super::Foundation::PWSTR) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IWICMetadataQueryWriter_Vtbl { pub const fn new() -> IWICMetadataQueryWriter_Vtbl { unsafe extern "system" fn SetMetadataByName(this: *mut ::core::ffi::c_void, wzname: super::super::Foundation::PWSTR, pvarvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { @@ -2533,7 +2533,7 @@ impl IWICMetadataQueryWriter_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IWICMetadataReader_Impl: Sized { fn GetMetadataFormat(&self) -> ::windows::core::Result<::windows::core::GUID>; fn GetMetadataHandlerInfo(&self) -> ::windows::core::Result; @@ -2542,7 +2542,7 @@ pub trait IWICMetadataReader_Impl: Sized { fn GetValue(&self, pvarschema: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn GetEnumerator(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IWICMetadataReader_Vtbl { pub const fn new() -> IWICMetadataReader_Vtbl { unsafe extern "system" fn GetMetadataFormat(this: *mut ::core::ffi::c_void, pguidmetadataformat: *mut ::windows::core::GUID) -> ::windows::core::HRESULT { @@ -2660,14 +2660,14 @@ impl IWICMetadataReaderInfo_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IWICMetadataWriter_Impl: Sized + IWICMetadataReader_Impl { fn SetValue(&self, pvarschema: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn SetValueByIndex(&self, nindex: u32, pvarschema: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn RemoveValue(&self, pvarschema: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn RemoveValueByIndex(&self, nindex: u32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IWICMetadataWriter_Vtbl { pub const fn new() -> IWICMetadataWriter_Vtbl { unsafe extern "system" fn SetValue(this: *mut ::core::ffi::c_void, pvarschema: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { @@ -3140,14 +3140,14 @@ impl IWICProgressiveLevelControl_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IWICStream_Impl: Sized + super::super::System::Com::ISequentialStream_Impl + super::super::System::Com::IStream_Impl { fn InitializeFromIStream(&self, pistream: &::core::option::Option) -> ::windows::core::Result<()>; fn InitializeFromFilename(&self, wzfilename: super::super::Foundation::PWSTR, dwdesiredaccess: u32) -> ::windows::core::Result<()>; fn InitializeFromMemory(&self, pbbuffer: *const u8, cbbuffersize: u32) -> ::windows::core::Result<()>; fn InitializeFromIStreamRegion(&self, pistream: &::core::option::Option, uloffset: u64, ulmaxsize: u64) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IWICStream_Vtbl { pub const fn new() -> IWICStream_Vtbl { unsafe extern "system" fn InitializeFromIStream(this: *mut ::core::ffi::c_void, pistream: ::windows::core::RawPtr) -> ::windows::core::HRESULT { 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 70a2c04d88..a22ec6d8e6 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs @@ -3143,8 +3143,8 @@ pub struct IWICDevelopRawNotificationCallback_Vtbl { #[repr(transparent)] pub struct IWICEnumMetadataItem(::windows::core::IUnknown); impl IWICEnumMetadataItem { - #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Next(&self, celt: u32, rgeltschema: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, rgeltid: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, rgeltvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pceltfetched: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Next)(::core::mem::transmute_copy(self), ::core::mem::transmute(celt), ::core::mem::transmute(rgeltschema), ::core::mem::transmute(rgeltid), ::core::mem::transmute(rgeltvalue), ::core::mem::transmute(pceltfetched)).ok() } @@ -3206,9 +3206,9 @@ unsafe impl ::windows::core::Interface for IWICEnumMetadataItem { #[doc(hidden)] pub struct IWICEnumMetadataItem_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub Next: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: u32, rgeltschema: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, rgeltid: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, rgeltvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pceltfetched: *mut u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] Next: usize, pub Skip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: u32) -> ::windows::core::HRESULT, pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, @@ -4311,8 +4311,8 @@ impl IWICMetadataQueryReader { pub unsafe fn GetLocation<'a, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, cchmaxlength: u32, wznamespace: Param1, pcchactuallength: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetLocation)(::core::mem::transmute_copy(self), ::core::mem::transmute(cchmaxlength), wznamespace.into_param().abi(), ::core::mem::transmute(pcchactuallength)).ok() } - #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetMetadataByName<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wzname: Param0, pvarvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetMetadataByName)(::core::mem::transmute_copy(self), wzname.into_param().abi(), ::core::mem::transmute(pvarvalue)).ok() } @@ -4372,9 +4372,9 @@ pub struct IWICMetadataQueryReader_Vtbl { pub GetLocation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cchmaxlength: u32, wznamespace: super::super::Foundation::PWSTR, pcchactuallength: *mut u32) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] GetLocation: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetMetadataByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, wzname: super::super::Foundation::PWSTR, pvarvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetMetadataByName: usize, #[cfg(feature = "Win32_System_Com")] pub GetEnumerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppienumstring: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -4395,8 +4395,8 @@ impl IWICMetadataQueryWriter { pub unsafe fn GetLocation<'a, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, cchmaxlength: u32, wznamespace: Param1, pcchactuallength: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetLocation)(::core::mem::transmute_copy(self), ::core::mem::transmute(cchmaxlength), wznamespace.into_param().abi(), ::core::mem::transmute(pcchactuallength)).ok() } - #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetMetadataByName<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wzname: Param0, pvarvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetMetadataByName)(::core::mem::transmute_copy(self), wzname.into_param().abi(), ::core::mem::transmute(pvarvalue)).ok() } @@ -4406,8 +4406,8 @@ impl IWICMetadataQueryWriter { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetEnumerator)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetMetadataByName<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wzname: Param0, pvarvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMetadataByName)(::core::mem::transmute_copy(self), wzname.into_param().abi(), ::core::mem::transmute(pvarvalue)).ok() } @@ -4481,9 +4481,9 @@ unsafe impl ::windows::core::Interface for IWICMetadataQueryWriter { #[doc(hidden)] pub struct IWICMetadataQueryWriter_Vtbl { pub base: IWICMetadataQueryReader_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetMetadataByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, wzname: super::super::Foundation::PWSTR, pvarvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetMetadataByName: usize, #[cfg(feature = "Win32_Foundation")] pub RemoveMetadataByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, wzname: super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, @@ -4509,13 +4509,13 @@ impl IWICMetadataReader { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValueByIndex(&self, nindex: u32, pvarschema: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pvarvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetValueByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(nindex), ::core::mem::transmute(pvarschema), ::core::mem::transmute(pvarid), ::core::mem::transmute(pvarvalue)).ok() } - #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValue(&self, pvarschema: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(pvarschema), ::core::mem::transmute(pvarid), ::core::mem::transmute(pvarvalue)).ok() } @@ -4572,13 +4572,13 @@ pub struct IWICMetadataReader_Vtbl { pub GetMetadataFormat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pguidmetadataformat: *mut ::windows::core::GUID) -> ::windows::core::HRESULT, pub GetMetadataHandlerInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppihandler: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pccount: *mut u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetValueByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nindex: u32, pvarschema: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pvarvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetValueByIndex: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarschema: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetValue: usize, pub GetEnumerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppienummetadata: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, } @@ -4789,13 +4789,13 @@ impl IWICMetadataWriter { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValueByIndex(&self, nindex: u32, pvarschema: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pvarvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetValueByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(nindex), ::core::mem::transmute(pvarschema), ::core::mem::transmute(pvarid), ::core::mem::transmute(pvarvalue)).ok() } - #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValue(&self, pvarschema: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(pvarschema), ::core::mem::transmute(pvarid), ::core::mem::transmute(pvarvalue)).ok() } @@ -4804,18 +4804,18 @@ impl IWICMetadataWriter { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetEnumerator)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetValue(&self, pvarschema: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(pvarschema), ::core::mem::transmute(pvarid), ::core::mem::transmute(pvarvalue)).ok() } - #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetValueByIndex(&self, nindex: u32, pvarschema: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetValueByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(nindex), ::core::mem::transmute(pvarschema), ::core::mem::transmute(pvarid), ::core::mem::transmute(pvarvalue)).ok() } - #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn RemoveValue(&self, pvarschema: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).RemoveValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(pvarschema), ::core::mem::transmute(pvarid)).ok() } @@ -4888,17 +4888,17 @@ unsafe impl ::windows::core::Interface for IWICMetadataWriter { #[doc(hidden)] pub struct IWICMetadataWriter_Vtbl { pub base: IWICMetadataReader_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarschema: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetValueByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nindex: u32, pvarschema: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetValueByIndex: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub RemoveValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarschema: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarid: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] RemoveValue: usize, pub RemoveValueByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nindex: u32) -> ::windows::core::HRESULT, } @@ -6054,8 +6054,8 @@ impl IWICStream { pub unsafe fn CopyTo<'a, Param0: ::windows::core::IntoParam<'a, super::super::System::Com::IStream>>(&self, pstm: Param0, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.CopyTo)(::core::mem::transmute_copy(self), pstm.into_param().abi(), ::core::mem::transmute(cb), ::core::mem::transmute(pcbread), ::core::mem::transmute(pcbwritten)).ok() } - #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Graphics_Imaging', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Commit(&self, grfcommitflags: super::super::System::Com::StructuredStorage::STGC) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.Commit)(::core::mem::transmute_copy(self), ::core::mem::transmute(grfcommitflags)).ok() } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs index 3dc8eebef0..6794fb2504 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs @@ -1792,14 +1792,14 @@ impl IDeviceTopology_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IMMDevice_Impl: Sized { fn Activate(&self, iid: *const ::windows::core::GUID, dwclsctx: super::super::System::Com::CLSCTX, pactivationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, ppinterface: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn OpenPropertyStore(&self, stgmaccess: super::super::System::Com::StructuredStorage::STGM) -> ::windows::core::Result; fn GetId(&self) -> ::windows::core::Result; fn GetState(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IMMDevice_Vtbl { pub const fn new() -> IMMDevice_Vtbl { unsafe extern "system" fn Activate(this: *mut ::core::ffi::c_void, iid: *const ::windows::core::GUID, dwclsctx: super::super::System::Com::CLSCTX, pactivationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, ppinterface: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -1852,11 +1852,11 @@ impl IMMDevice_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMMDeviceActivator_Impl: Sized { fn Activate(&self, iid: *const ::windows::core::GUID, pdevice: &::core::option::Option, pactivationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, ppinterface: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMMDeviceActivator_Vtbl { pub const fn new() -> IMMDeviceActivator_Vtbl { unsafe extern "system" fn Activate(this: *mut ::core::ffi::c_void, iid: *const ::windows::core::GUID, pdevice: ::windows::core::RawPtr, pactivationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, ppinterface: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -2404,7 +2404,7 @@ impl ISimpleAudioVolume_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait ISpatialAudioClient_Impl: Sized { fn GetStaticObjectPosition(&self, r#type: AudioObjectType, x: *mut f32, y: *mut f32, z: *mut f32) -> ::windows::core::Result<()>; fn GetNativeStaticObjectTypeMask(&self) -> ::windows::core::Result; @@ -2415,7 +2415,7 @@ pub trait ISpatialAudioClient_Impl: Sized { fn IsSpatialAudioStreamAvailable(&self, streamuuid: *const ::windows::core::GUID, auxiliaryinfo: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn ActivateSpatialAudioStream(&self, activationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, riid: *const ::windows::core::GUID, stream: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ISpatialAudioClient_Vtbl { pub const fn new() -> ISpatialAudioClient_Vtbl { unsafe extern "system" fn GetStaticObjectPosition(this: *mut ::core::ffi::c_void, r#type: AudioObjectType, x: *mut f32, y: *mut f32, z: *mut f32) -> ::windows::core::HRESULT { @@ -2498,12 +2498,12 @@ impl ISpatialAudioClient_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait ISpatialAudioClient2_Impl: Sized + ISpatialAudioClient_Impl { fn IsOffloadCapable(&self, category: AUDIO_STREAM_CATEGORY) -> ::windows::core::Result; fn GetMaxFrameCountForCategory(&self, category: AUDIO_STREAM_CATEGORY, offloadenabled: super::super::Foundation::BOOL, objectformat: *const WAVEFORMATEX) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ISpatialAudioClient2_Vtbl { pub const fn new() -> ISpatialAudioClient2_Vtbl { unsafe extern "system" fn IsOffloadCapable(this: *mut ::core::ffi::c_void, category: AUDIO_STREAM_CATEGORY, isoffloadcapable: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { 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 f8087b9431..5c7733e13e 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs @@ -1850,8 +1850,8 @@ pub const AUXCAPS_CDAUDIO: u32 = 1u32; pub const AUXCAPS_LRVOLUME: u32 = 2u32; #[doc = "*Required features: 'Win32_Media_Audio'*"] pub const AUXCAPS_VOLUME: u32 = 1u32; -#[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn ActivateAudioInterfaceAsync<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::core::IntoParam<'a, IActivateAudioInterfaceCompletionHandler>>(deviceinterfacepath: Param0, riid: *const ::windows::core::GUID, activationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, completionhandler: Param3) -> ::windows::core::Result { #[cfg(windows)] @@ -6547,8 +6547,8 @@ pub struct IDeviceTopology_Vtbl { #[repr(transparent)] pub struct IMMDevice(::windows::core::IUnknown); impl IMMDevice { - #[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Activate(&self, iid: *const ::windows::core::GUID, dwclsctx: super::super::System::Com::CLSCTX, pactivationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, ppinterface: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Activate)(::core::mem::transmute_copy(self), ::core::mem::transmute(iid), ::core::mem::transmute(dwclsctx), ::core::mem::transmute(pactivationparams), ::core::mem::transmute(ppinterface)).ok() } @@ -6614,9 +6614,9 @@ unsafe impl ::windows::core::Interface for IMMDevice { #[doc(hidden)] pub struct IMMDevice_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub Activate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, iid: *const ::windows::core::GUID, dwclsctx: super::super::System::Com::CLSCTX, pactivationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, ppinterface: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] Activate: usize, #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub OpenPropertyStore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, stgmaccess: super::super::System::Com::StructuredStorage::STGM, ppproperties: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -6632,8 +6632,8 @@ pub struct IMMDevice_Vtbl { #[repr(transparent)] pub struct IMMDeviceActivator(::windows::core::IUnknown); impl IMMDeviceActivator { - #[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Activate<'a, Param1: ::windows::core::IntoParam<'a, IMMDevice>>(&self, iid: *const ::windows::core::GUID, pdevice: Param1, pactivationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, ppinterface: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Activate)(::core::mem::transmute_copy(self), ::core::mem::transmute(iid), pdevice.into_param().abi(), ::core::mem::transmute(pactivationparams), ::core::mem::transmute(ppinterface)).ok() } @@ -6682,9 +6682,9 @@ unsafe impl ::windows::core::Interface for IMMDeviceActivator { #[doc(hidden)] pub struct IMMDeviceActivator_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub Activate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, iid: *const ::windows::core::GUID, pdevice: ::windows::core::RawPtr, pactivationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, ppinterface: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] Activate: usize, } #[doc = "*Required features: 'Win32_Media_Audio'*"] @@ -7440,13 +7440,13 @@ impl ISpatialAudioClient { pub unsafe fn IsAudioObjectFormatSupported(&self, objectformat: *const WAVEFORMATEX) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).IsAudioObjectFormatSupported)(::core::mem::transmute_copy(self), ::core::mem::transmute(objectformat)).ok() } - #[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn IsSpatialAudioStreamAvailable(&self, streamuuid: *const ::windows::core::GUID, auxiliaryinfo: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).IsSpatialAudioStreamAvailable)(::core::mem::transmute_copy(self), ::core::mem::transmute(streamuuid), ::core::mem::transmute(auxiliaryinfo)).ok() } - #[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn ActivateSpatialAudioStream(&self, activationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).ActivateSpatialAudioStream)(::core::mem::transmute_copy(self), ::core::mem::transmute(activationparams), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) @@ -7502,13 +7502,13 @@ pub struct ISpatialAudioClient_Vtbl { pub GetSupportedAudioObjectFormatEnumerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, enumerator: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub GetMaxFrameCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, objectformat: *const WAVEFORMATEX, framecountperbuffer: *mut u32) -> ::windows::core::HRESULT, pub IsAudioObjectFormatSupported: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, objectformat: *const WAVEFORMATEX) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub IsSpatialAudioStreamAvailable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, streamuuid: *const ::windows::core::GUID, auxiliaryinfo: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] IsSpatialAudioStreamAvailable: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub ActivateSpatialAudioStream: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, activationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, riid: *const ::windows::core::GUID, stream: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] ActivateSpatialAudioStream: usize, } #[doc = "*Required features: 'Win32_Media_Audio'*"] @@ -7543,13 +7543,13 @@ impl ISpatialAudioClient2 { pub unsafe fn IsAudioObjectFormatSupported(&self, objectformat: *const WAVEFORMATEX) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.IsAudioObjectFormatSupported)(::core::mem::transmute_copy(self), ::core::mem::transmute(objectformat)).ok() } - #[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn IsSpatialAudioStreamAvailable(&self, streamuuid: *const ::windows::core::GUID, auxiliaryinfo: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.IsSpatialAudioStreamAvailable)(::core::mem::transmute_copy(self), ::core::mem::transmute(streamuuid), ::core::mem::transmute(auxiliaryinfo)).ok() } - #[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn ActivateSpatialAudioStream(&self, activationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.ActivateSpatialAudioStream)(::core::mem::transmute_copy(self), ::core::mem::transmute(activationparams), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) @@ -11675,8 +11675,8 @@ impl ::core::default::Default for SpatialAudioObjectRenderStreamActivationParams } } #[repr(C, packed(1))] -#[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct SpatialAudioObjectRenderStreamForMetadataActivationParams { pub ObjectFormat: *const WAVEFORMATEX, pub StaticObjectTypeMask: AudioObjectType, @@ -11689,27 +11689,27 @@ pub struct SpatialAudioObjectRenderStreamForMetadataActivationParams { pub MetadataActivationParams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pub NotifyObject: ::core::option::Option, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for SpatialAudioObjectRenderStreamForMetadataActivationParams { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for SpatialAudioObjectRenderStreamForMetadataActivationParams { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for SpatialAudioObjectRenderStreamForMetadataActivationParams {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for SpatialAudioObjectRenderStreamForMetadataActivationParams { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C, packed(1))] -#[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_Audio', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct SpatialAudioObjectRenderStreamForMetadataActivationParams2 { pub ObjectFormat: *const WAVEFORMATEX, pub StaticObjectTypeMask: AudioObjectType, @@ -11723,19 +11723,19 @@ pub struct SpatialAudioObjectRenderStreamForMetadataActivationParams2 { pub NotifyObject: ::core::option::Option, pub Options: SPATIAL_AUDIO_STREAM_OPTIONS, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for SpatialAudioObjectRenderStreamForMetadataActivationParams2 { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for SpatialAudioObjectRenderStreamForMetadataActivationParams2 { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for SpatialAudioObjectRenderStreamForMetadataActivationParams2 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for SpatialAudioObjectRenderStreamForMetadataActivationParams2 { fn default() -> Self { unsafe { ::core::mem::zeroed() } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs index a9282ae87c..e274236a0c 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs @@ -193,7 +193,7 @@ impl IMDSPDevice2_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub trait IMDSPDevice3_Impl: Sized + IMDSPDevice_Impl + IMDSPDevice2_Impl { fn GetProperty(&self, pwszpropname: super::super::Foundation::PWSTR) -> ::windows::core::Result; fn SetProperty(&self, pwszpropname: super::super::Foundation::PWSTR, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; @@ -201,7 +201,7 @@ pub trait IMDSPDevice3_Impl: Sized + IMDSPDevice_Impl + IMDSPDevice2_Impl { fn DeviceIoControl(&self, dwiocontrolcode: u32, lpinbuffer: *const u8, ninbuffersize: u32, lpoutbuffer: *mut u8, pnoutbuffersize: *mut u32) -> ::windows::core::Result<()>; fn FindStorage(&self, findscope: WMDM_FIND_SCOPE, pwszuniqueid: super::super::Foundation::PWSTR) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl IMDSPDevice3_Vtbl { pub const fn new() -> IMDSPDevice3_Vtbl { unsafe extern "system" fn GetProperty(this: *mut ::core::ffi::c_void, pwszpropname: super::super::Foundation::PWSTR, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { @@ -1582,7 +1582,7 @@ impl IWMDMDevice2_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub trait IWMDMDevice3_Impl: Sized + IWMDMDevice_Impl + IWMDMDevice2_Impl { fn GetProperty(&self, pwszpropname: super::super::Foundation::PWSTR) -> ::windows::core::Result; fn SetProperty(&self, pwszpropname: super::super::Foundation::PWSTR, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; @@ -1590,7 +1590,7 @@ pub trait IWMDMDevice3_Impl: Sized + IWMDMDevice_Impl + IWMDMDevice2_Impl { fn DeviceIoControl(&self, dwiocontrolcode: u32, lpinbuffer: *const u8, ninbuffersize: u32, lpoutbuffer: *mut u8, pnoutbuffersize: *mut u32) -> ::windows::core::Result<()>; fn FindStorage(&self, findscope: WMDM_FIND_SCOPE, pwszuniqueid: super::super::Foundation::PWSTR) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl IWMDMDevice3_Vtbl { pub const fn new() -> IWMDMDevice3_Vtbl { unsafe extern "system" fn GetProperty(this: *mut ::core::ffi::c_void, pwszpropname: super::super::Foundation::PWSTR, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { 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 304fe213b2..cc241418b0 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs @@ -422,19 +422,19 @@ impl IMDSPDevice3 { pub unsafe fn GetCanonicalName(&self, pwszpnpname: super::super::Foundation::PWSTR, nmaxchars: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetCanonicalName)(::core::mem::transmute_copy(self), ::core::mem::transmute(pwszpnpname), ::core::mem::transmute(nmaxchars)).ok() } - #[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetProperty<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pwszpropname: Param0) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::core::mem::transmute_copy(self), pwszpropname.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetProperty<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pwszpropname: Param0, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetProperty)(::core::mem::transmute_copy(self), pwszpropname.into_param().abi(), ::core::mem::transmute(pvalue)).ok() } - #[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetFormatCapability(&self, format: WMDM_FORMATCODE) -> ::windows::core::Result { let mut result__: WMDM_FORMAT_CAPABILITY = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetFormatCapability)(::core::mem::transmute_copy(self), ::core::mem::transmute(format), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -534,17 +534,17 @@ unsafe impl ::windows::core::Interface for IMDSPDevice3 { #[doc(hidden)] pub struct IMDSPDevice3_Vtbl { pub base: IMDSPDevice2_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszpropname: super::super::Foundation::PWSTR, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetProperty: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszpropname: super::super::Foundation::PWSTR, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetProperty: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetFormatCapability: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, format: WMDM_FORMATCODE, pformatsupport: *mut WMDM_FORMAT_CAPABILITY) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetFormatCapability: usize, pub DeviceIoControl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwiocontrolcode: u32, lpinbuffer: *const u8, ninbuffersize: u32, lpoutbuffer: *mut u8, pnoutbuffersize: *mut u32) -> ::windows::core::HRESULT, #[cfg(feature = "Win32_Foundation")] @@ -3425,19 +3425,19 @@ impl IWMDMDevice3 { pub unsafe fn GetCanonicalName(&self, pwszpnpname: super::super::Foundation::PWSTR, nmaxchars: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetCanonicalName)(::core::mem::transmute_copy(self), ::core::mem::transmute(pwszpnpname), ::core::mem::transmute(nmaxchars)).ok() } - #[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetProperty<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pwszpropname: Param0) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::core::mem::transmute_copy(self), pwszpropname.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetProperty<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pwszpropname: Param0, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetProperty)(::core::mem::transmute_copy(self), pwszpropname.into_param().abi(), ::core::mem::transmute(pvalue)).ok() } - #[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetFormatCapability(&self, format: WMDM_FORMATCODE) -> ::windows::core::Result { let mut result__: WMDM_FORMAT_CAPABILITY = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetFormatCapability)(::core::mem::transmute_copy(self), ::core::mem::transmute(format), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -3537,17 +3537,17 @@ unsafe impl ::windows::core::Interface for IWMDMDevice3 { #[doc(hidden)] pub struct IWMDMDevice3_Vtbl { pub base: IWMDMDevice2_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszpropname: super::super::Foundation::PWSTR, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetProperty: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszpropname: super::super::Foundation::PWSTR, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetProperty: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetFormatCapability: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, format: WMDM_FORMATCODE, pformatsupport: *mut WMDM_FORMAT_CAPABILITY) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetFormatCapability: usize, pub DeviceIoControl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwiocontrolcode: u32, lpinbuffer: *const u8, ninbuffersize: u32, lpoutbuffer: *mut u8, pnoutbuffersize: *mut u32) -> ::windows::core::HRESULT, #[cfg(feature = "Win32_Foundation")] @@ -7049,39 +7049,39 @@ impl ::core::fmt::Debug for WMDM_FORMATCODE { } } #[repr(C)] -#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct WMDM_FORMAT_CAPABILITY { pub nPropConfig: u32, pub pConfigs: *mut WMDM_PROP_CONFIG, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for WMDM_FORMAT_CAPABILITY {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for WMDM_FORMAT_CAPABILITY { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::fmt::Debug for WMDM_FORMAT_CAPABILITY { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("WMDM_FORMAT_CAPABILITY").field("nPropConfig", &self.nPropConfig).field("pConfigs", &self.pConfigs).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for WMDM_FORMAT_CAPABILITY { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for WMDM_FORMAT_CAPABILITY { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for WMDM_FORMAT_CAPABILITY {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for WMDM_FORMAT_CAPABILITY { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -7128,174 +7128,174 @@ pub const WMDM_POWER_IS_EXTERNAL: u32 = 8u32; #[doc = "*Required features: 'Win32_Media_DeviceManager'*"] pub const WMDM_POWER_PERCENT_AVAILABLE: u32 = 16u32; #[repr(C)] -#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct WMDM_PROP_CONFIG { pub nPreference: u32, pub nPropDesc: u32, pub pPropDesc: *mut WMDM_PROP_DESC, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for WMDM_PROP_CONFIG {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for WMDM_PROP_CONFIG { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::fmt::Debug for WMDM_PROP_CONFIG { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("WMDM_PROP_CONFIG").field("nPreference", &self.nPreference).field("nPropDesc", &self.nPropDesc).field("pPropDesc", &self.pPropDesc).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for WMDM_PROP_CONFIG { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for WMDM_PROP_CONFIG { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for WMDM_PROP_CONFIG {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for WMDM_PROP_CONFIG { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct WMDM_PROP_DESC { pub pwszPropName: super::super::Foundation::PWSTR, pub ValidValuesForm: WMDM_ENUM_PROP_VALID_VALUES_FORM, pub ValidValues: WMDM_PROP_DESC_0, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for WMDM_PROP_DESC { fn clone(&self) -> Self { Self { pwszPropName: self.pwszPropName, ValidValuesForm: self.ValidValuesForm, ValidValues: self.ValidValues.clone() } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for WMDM_PROP_DESC { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for WMDM_PROP_DESC { fn eq(&self, other: &Self) -> bool { self.pwszPropName == other.pwszPropName && self.ValidValuesForm == other.ValidValuesForm && self.ValidValues == other.ValidValues } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for WMDM_PROP_DESC {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for WMDM_PROP_DESC { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub union WMDM_PROP_DESC_0 { pub ValidValuesRange: ::core::mem::ManuallyDrop, pub EnumeratedValidValues: WMDM_PROP_VALUES_ENUM, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for WMDM_PROP_DESC_0 { fn clone(&self) -> Self { unsafe { ::core::mem::transmute_copy(self) } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for WMDM_PROP_DESC_0 { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for WMDM_PROP_DESC_0 { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for WMDM_PROP_DESC_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for WMDM_PROP_DESC_0 { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct WMDM_PROP_VALUES_ENUM { pub cEnumValues: u32, pub pValues: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for WMDM_PROP_VALUES_ENUM {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for WMDM_PROP_VALUES_ENUM { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::fmt::Debug for WMDM_PROP_VALUES_ENUM { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("WMDM_PROP_VALUES_ENUM").field("cEnumValues", &self.cEnumValues).field("pValues", &self.pValues).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for WMDM_PROP_VALUES_ENUM { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for WMDM_PROP_VALUES_ENUM { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for WMDM_PROP_VALUES_ENUM {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for WMDM_PROP_VALUES_ENUM { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_DeviceManager', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct WMDM_PROP_VALUES_RANGE { pub rangeMin: super::super::System::Com::StructuredStorage::PROPVARIANT, pub rangeMax: super::super::System::Com::StructuredStorage::PROPVARIANT, pub rangeStep: super::super::System::Com::StructuredStorage::PROPVARIANT, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for WMDM_PROP_VALUES_RANGE { fn clone(&self) -> Self { Self { rangeMin: self.rangeMin.clone(), rangeMax: self.rangeMax.clone(), rangeStep: self.rangeStep.clone() } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for WMDM_PROP_VALUES_RANGE { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for WMDM_PROP_VALUES_RANGE { fn eq(&self, other: &Self) -> bool { self.rangeMin == other.rangeMin && self.rangeMax == other.rangeMax && self.rangeStep == other.rangeStep } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for WMDM_PROP_VALUES_RANGE {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for WMDM_PROP_VALUES_RANGE { fn default() -> Self { unsafe { ::core::mem::zeroed() } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs index 5a4ef1a39f..0634c4e608 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs @@ -6941,9 +6941,9 @@ impl IBDA_DeviceControl_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub trait IBDA_DiagnosticProperties_Impl: Sized + super::super::System::Com::StructuredStorage::IPropertyBag_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl IBDA_DiagnosticProperties_Vtbl { pub const fn new() -> IBDA_DiagnosticProperties_Vtbl { Self { base: super::super::System::Com::StructuredStorage::IPropertyBag_Vtbl::new::() } @@ -30915,11 +30915,11 @@ impl IMediaPosition_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub trait IMediaPropertyBag_Impl: Sized + super::super::System::Com::StructuredStorage::IPropertyBag_Impl { fn EnumProperty(&self, iproperty: u32, pvarpropertyname: *mut super::super::System::Com::VARIANT, pvarpropertyvalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl IMediaPropertyBag_Vtbl { pub const fn new() -> IMediaPropertyBag_Vtbl { unsafe extern "system" fn EnumProperty(this: *mut ::core::ffi::c_void, iproperty: u32, pvarpropertyname: *mut super::super::System::Com::VARIANT, pvarpropertyvalue: *mut super::super::System::Com::VARIANT) -> ::windows::core::HRESULT { @@ -33285,13 +33285,13 @@ impl IPTFilterLicenseRenewal_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPersistMediaPropertyBag_Impl: Sized + super::super::System::Com::IPersist_Impl { fn InitNew(&self) -> ::windows::core::Result<()>; fn Load(&self, ppropbag: &::core::option::Option, perrorlog: &::core::option::Option) -> ::windows::core::Result<()>; fn Save(&self, ppropbag: &::core::option::Option, fcleardirty: super::super::Foundation::BOOL, fsaveallproperties: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IPersistMediaPropertyBag_Vtbl { pub const fn new() -> IPersistMediaPropertyBag_Vtbl { unsafe extern "system" fn InitNew(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { 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 2783e3be07..83ffa27cda 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs @@ -25898,13 +25898,13 @@ pub struct IBDA_DeviceControl_Vtbl { pub struct IBDA_DiagnosticProperties(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl IBDA_DiagnosticProperties { - #[doc = "*Required features: 'Win32_Media_DirectShow', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_Media_DirectShow', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Read<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::core::IntoParam<'a, super::super::System::Com::IErrorLog>>(&self, pszpropname: Param0, pvar: *mut super::super::System::Com::VARIANT, perrorlog: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.Read)(::core::mem::transmute_copy(self), pszpropname.into_param().abi(), ::core::mem::transmute(pvar), perrorlog.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_Media_DirectShow', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_Media_DirectShow', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Write<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpropname: Param0, pvar: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.Write)(::core::mem::transmute_copy(self), pszpropname.into_param().abi(), ::core::mem::transmute(pvar)).ok() } @@ -72553,13 +72553,13 @@ pub struct IMediaPosition_Vtbl { pub struct IMediaPropertyBag(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl IMediaPropertyBag { - #[doc = "*Required features: 'Win32_Media_DirectShow', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_Media_DirectShow', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Read<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::core::IntoParam<'a, super::super::System::Com::IErrorLog>>(&self, pszpropname: Param0, pvar: *mut super::super::System::Com::VARIANT, perrorlog: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.Read)(::core::mem::transmute_copy(self), pszpropname.into_param().abi(), ::core::mem::transmute(pvar), perrorlog.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_Media_DirectShow', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_Media_DirectShow', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Write<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpropname: Param0, pvar: *const super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.Write)(::core::mem::transmute_copy(self), pszpropname.into_param().abi(), ::core::mem::transmute(pvar)).ok() } @@ -76072,8 +76072,8 @@ impl IPersistMediaPropertyBag { pub unsafe fn InitNew(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).InitNew)(::core::mem::transmute_copy(self)).ok() } - #[doc = "*Required features: 'Win32_Media_DirectShow', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_DirectShow', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Load<'a, Param0: ::windows::core::IntoParam<'a, IMediaPropertyBag>, Param1: ::windows::core::IntoParam<'a, super::super::System::Com::IErrorLog>>(&self, ppropbag: Param0, perrorlog: Param1) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Load)(::core::mem::transmute_copy(self), ppropbag.into_param().abi(), perrorlog.into_param().abi()).ok() } @@ -76162,9 +76162,9 @@ unsafe impl ::windows::core::Interface for IPersistMediaPropertyBag { pub struct IPersistMediaPropertyBag_Vtbl { pub base: super::super::System::Com::IPersist_Vtbl, pub InitNew: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub Load: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppropbag: ::windows::core::RawPtr, perrorlog: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] Load: usize, #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub Save: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppropbag: ::windows::core::RawPtr, fcleardirty: super::super::Foundation::BOOL, fsaveallproperties: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs index feedc91e8f..6aa56e9457 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs @@ -2435,7 +2435,7 @@ impl IMFASFContentInfo_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFASFIndexer_Impl: Sized { fn SetFlags(&self, dwflags: u32) -> ::windows::core::Result<()>; fn GetFlags(&self) -> ::windows::core::Result; @@ -2451,7 +2451,7 @@ pub trait IMFASFIndexer_Impl: Sized { fn GetIndexWriteSpace(&self) -> ::windows::core::Result; fn GetCompletedIndex(&self, piindexbuffer: &::core::option::Option, cboffsetwithinindex: u64) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFASFIndexer_Vtbl { pub const fn new() -> IMFASFIndexer_Vtbl { unsafe extern "system" fn SetFlags(this: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows::core::HRESULT { @@ -2750,7 +2750,7 @@ impl IMFASFMutualExclusion_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFASFProfile_Impl: Sized + IMFAttributes_Impl { fn GetStreamCount(&self) -> ::windows::core::Result; fn GetStream(&self, dwstreamindex: u32, pwstreamnumber: *mut u16, ppistream: *mut ::core::option::Option) -> ::windows::core::Result<()>; @@ -2769,7 +2769,7 @@ pub trait IMFASFProfile_Impl: Sized + IMFAttributes_Impl { fn CreateStreamPrioritization(&self) -> ::windows::core::Result; fn Clone(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFASFProfile_Vtbl { pub const fn new() -> IMFASFProfile_Vtbl { unsafe extern "system" fn GetStreamCount(this: *mut ::core::ffi::c_void, pcstreams: *mut u32) -> ::windows::core::HRESULT { @@ -3017,7 +3017,7 @@ impl IMFASFSplitter_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFASFStreamConfig_Impl: Sized + IMFAttributes_Impl { fn GetStreamType(&self) -> ::windows::core::Result<::windows::core::GUID>; fn GetStreamNumber(&self) -> u16; @@ -3030,7 +3030,7 @@ pub trait IMFASFStreamConfig_Impl: Sized + IMFAttributes_Impl { fn RemoveAllPayloadExtensions(&self) -> ::windows::core::Result<()>; fn Clone(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFASFStreamConfig_Vtbl { pub const fn new() -> IMFASFStreamConfig_Vtbl { unsafe extern "system" fn GetStreamType(this: *mut ::core::ffi::c_void, pguidstreamtype: *mut ::windows::core::GUID) -> ::windows::core::HRESULT { @@ -3354,13 +3354,13 @@ impl IMFASFStreamSelector_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFActivate_Impl: Sized + IMFAttributes_Impl { fn ActivateObject(&self, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn ShutdownObject(&self) -> ::windows::core::Result<()>; fn DetachObject(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFActivate_Vtbl { pub const fn new() -> IMFActivate_Vtbl { unsafe extern "system" fn ActivateObject(this: *mut ::core::ffi::c_void, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -3500,7 +3500,7 @@ impl IMFAsyncResult_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFAttributes_Impl: Sized { fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result; @@ -3533,7 +3533,7 @@ pub trait IMFAttributes_Impl: Sized { fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn CopyAllItems(&self, pdest: &::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFAttributes_Vtbl { pub const fn new() -> IMFAttributes_Vtbl { unsafe extern "system" fn GetItem(this: *mut ::core::ffi::c_void, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { @@ -3784,11 +3784,11 @@ impl IMFAttributes_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFAudioMediaType_Impl: Sized + IMFAttributes_Impl + IMFMediaType_Impl { fn GetAudioFormat(&self) -> *mut super::Audio::WAVEFORMATEX; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com_StructuredStorage"))] impl IMFAudioMediaType_Vtbl { pub const fn new() -> IMFAudioMediaType_Vtbl { unsafe extern "system" fn GetAudioFormat(this: *mut ::core::ffi::c_void) -> *mut super::Audio::WAVEFORMATEX { @@ -7422,7 +7422,7 @@ impl IMFMediaEngineEMENotify_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFMediaEngineEx_Impl: Sized + IMFMediaEngine_Impl { fn SetSourceFromByteStream(&self, pbytestream: &::core::option::Option, purl: &super::super::Foundation::BSTR) -> ::windows::core::Result<()>; fn GetStatistics(&self, statisticid: MF_MEDIA_ENGINE_STATISTIC) -> ::windows::core::Result; @@ -7462,7 +7462,7 @@ pub trait IMFMediaEngineEx_Impl: Sized + IMFMediaEngine_Impl { fn SetCurrentTimeEx(&self, seektime: f64, seekmode: MF_MEDIA_ENGINE_SEEK_MODE) -> ::windows::core::Result<()>; fn EnableTimeUpdateTimer(&self, fenabletimer: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFMediaEngineEx_Vtbl { pub const fn new() -> IMFMediaEngineEx_Vtbl { unsafe extern "system" fn SetSourceFromByteStream(this: *mut ::core::ffi::c_void, pbytestream: ::windows::core::RawPtr, purl: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT { @@ -8200,14 +8200,14 @@ impl IMFMediaError_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFMediaEvent_Impl: Sized + IMFAttributes_Impl { fn GetType(&self) -> ::windows::core::Result; fn GetExtendedType(&self) -> ::windows::core::Result<::windows::core::GUID>; fn GetStatus(&self) -> ::windows::core::Result<::windows::core::HRESULT>; fn GetValue(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFMediaEvent_Vtbl { pub const fn new() -> IMFMediaEvent_Vtbl { unsafe extern "system" fn GetType(this: *mut ::core::ffi::c_void, pmet: *mut u32) -> ::windows::core::HRESULT { @@ -8266,14 +8266,14 @@ impl IMFMediaEvent_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFMediaEventGenerator_Impl: Sized { fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows::core::Result; fn BeginGetEvent(&self, pcallback: &::core::option::Option, punkstate: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; fn EndGetEvent(&self, presult: &::core::option::Option) -> ::windows::core::Result; fn QueueEvent(&self, met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFMediaEventGenerator_Vtbl { pub const fn new() -> IMFMediaEventGenerator_Vtbl { unsafe extern "system" fn GetEvent(this: *mut ::core::ffi::c_void, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS, ppevent: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -8320,7 +8320,7 @@ impl IMFMediaEventGenerator_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFMediaEventQueue_Impl: Sized { fn GetEvent(&self, dwflags: u32) -> ::windows::core::Result; fn BeginGetEvent(&self, pcallback: &::core::option::Option, punkstate: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; @@ -8330,7 +8330,7 @@ pub trait IMFMediaEventQueue_Impl: Sized { fn QueueEventParamUnk(&self, met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, punk: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; fn Shutdown(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFMediaEventQueue_Vtbl { pub const fn new() -> IMFMediaEventQueue_Vtbl { unsafe extern "system" fn GetEvent(this: *mut ::core::ffi::c_void, dwflags: u32, ppevent: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -8747,7 +8747,7 @@ impl IMFMediaKeys2_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFMediaSession_Impl: Sized + IMFMediaEventGenerator_Impl { fn SetTopology(&self, dwsettopologyflags: u32, ptopology: &::core::option::Option) -> ::windows::core::Result<()>; fn ClearTopologies(&self) -> ::windows::core::Result<()>; @@ -8760,7 +8760,7 @@ pub trait IMFMediaSession_Impl: Sized + IMFMediaEventGenerator_Impl { fn GetSessionCapabilities(&self) -> ::windows::core::Result; fn GetFullTopology(&self, dwgetfulltopologyflags: u32, topoid: u64) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFMediaSession_Vtbl { pub const fn new() -> IMFMediaSession_Vtbl { unsafe extern "system" fn SetTopology(this: *mut ::core::ffi::c_void, dwsettopologyflags: u32, ptopology: ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -9022,7 +9022,7 @@ impl IMFMediaSinkPreroll_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFMediaSource_Impl: Sized + IMFMediaEventGenerator_Impl { fn GetCharacteristics(&self) -> ::windows::core::Result; fn CreatePresentationDescriptor(&self) -> ::windows::core::Result; @@ -9031,7 +9031,7 @@ pub trait IMFMediaSource_Impl: Sized + IMFMediaEventGenerator_Impl { fn Pause(&self) -> ::windows::core::Result<()>; fn Shutdown(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFMediaSource_Vtbl { pub const fn new() -> IMFMediaSource_Vtbl { unsafe extern "system" fn GetCharacteristics(this: *mut ::core::ffi::c_void, pdwcharacteristics: *mut u32) -> ::windows::core::HRESULT { @@ -9090,11 +9090,11 @@ impl IMFMediaSource_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFMediaSource2_Impl: Sized + IMFMediaEventGenerator_Impl + IMFMediaSource_Impl + IMFMediaSourceEx_Impl { fn SetMediaType(&self, dwstreamid: u32, pmediatype: &::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFMediaSource2_Vtbl { pub const fn new() -> IMFMediaSource2_Vtbl { unsafe extern "system" fn SetMediaType(this: *mut ::core::ffi::c_void, dwstreamid: u32, pmediatype: ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -9108,13 +9108,13 @@ impl IMFMediaSource2_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFMediaSourceEx_Impl: Sized + IMFMediaEventGenerator_Impl + IMFMediaSource_Impl { fn GetSourceAttributes(&self) -> ::windows::core::Result; fn GetStreamAttributes(&self, dwstreamidentifier: u32) -> ::windows::core::Result; fn SetD3DManager(&self, pmanager: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFMediaSourceEx_Vtbl { pub const fn new() -> IMFMediaSourceEx_Vtbl { unsafe extern "system" fn GetSourceAttributes(this: *mut ::core::ffi::c_void, ppattributes: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -9342,13 +9342,13 @@ impl IMFMediaSourceTopologyProvider_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFMediaStream_Impl: Sized + IMFMediaEventGenerator_Impl { fn GetMediaSource(&self) -> ::windows::core::Result; fn GetStreamDescriptor(&self) -> ::windows::core::Result; fn RequestSample(&self, ptoken: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFMediaStream_Vtbl { pub const fn new() -> IMFMediaStream_Vtbl { unsafe extern "system" fn GetMediaSource(this: *mut ::core::ffi::c_void, ppmediasource: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -9389,12 +9389,12 @@ impl IMFMediaStream_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFMediaStream2_Impl: Sized + IMFMediaEventGenerator_Impl + IMFMediaStream_Impl { fn SetStreamState(&self, value: MF_STREAM_STATE) -> ::windows::core::Result<()>; fn GetStreamState(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFMediaStream2_Vtbl { pub const fn new() -> IMFMediaStream2_Vtbl { unsafe extern "system" fn SetStreamState(this: *mut ::core::ffi::c_void, value: MF_STREAM_STATE) -> ::windows::core::HRESULT { @@ -9507,7 +9507,7 @@ impl IMFMediaTimeRange_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFMediaType_Impl: Sized + IMFAttributes_Impl { fn GetMajorType(&self) -> ::windows::core::Result<::windows::core::GUID>; fn IsCompressedFormat(&self) -> ::windows::core::Result; @@ -9515,7 +9515,7 @@ pub trait IMFMediaType_Impl: Sized + IMFAttributes_Impl { fn GetRepresentation(&self, guidrepresentation: &::windows::core::GUID, ppvrepresentation: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn FreeRepresentation(&self, guidrepresentation: &::windows::core::GUID, pvrepresentation: *const ::core::ffi::c_void) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFMediaType_Vtbl { pub const fn new() -> IMFMediaType_Vtbl { unsafe extern "system" fn GetMajorType(this: *mut ::core::ffi::c_void, pguidmajortype: *mut ::windows::core::GUID) -> ::windows::core::HRESULT { @@ -9658,7 +9658,7 @@ impl IMFMediaTypeHandler_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFMetadata_Impl: Sized { fn SetLanguage(&self, pwszrfc1766: super::super::Foundation::PWSTR) -> ::windows::core::Result<()>; fn GetLanguage(&self) -> ::windows::core::Result; @@ -9668,7 +9668,7 @@ pub trait IMFMetadata_Impl: Sized { fn DeleteProperty(&self, pwszname: super::super::Foundation::PWSTR) -> ::windows::core::Result<()>; fn GetAllPropertyNames(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFMetadata_Vtbl { pub const fn new() -> IMFMetadata_Vtbl { unsafe extern "system" fn SetLanguage(this: *mut ::core::ffi::c_void, pwszrfc1766: super::super::Foundation::PWSTR) -> ::windows::core::HRESULT { @@ -10296,13 +10296,13 @@ impl IMFObjectReferenceStream_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFOutputPolicy_Impl: Sized + IMFAttributes_Impl { fn GenerateRequiredSchemas(&self, dwattributes: u32, guidoutputsubtype: &::windows::core::GUID, rgguidprotectionschemassupported: *const ::windows::core::GUID, cprotectionschemassupported: u32) -> ::windows::core::Result; fn GetOriginatorID(&self) -> ::windows::core::Result<::windows::core::GUID>; fn GetMinimumGRLVersion(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFOutputPolicy_Vtbl { pub const fn new() -> IMFOutputPolicy_Vtbl { unsafe extern "system" fn GenerateRequiredSchemas(this: *mut ::core::ffi::c_void, dwattributes: u32, guidoutputsubtype: ::windows::core::GUID, rgguidprotectionschemassupported: *const ::windows::core::GUID, cprotectionschemassupported: u32, pprequiredprotectionschemas: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -10349,13 +10349,13 @@ impl IMFOutputPolicy_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFOutputSchema_Impl: Sized + IMFAttributes_Impl { fn GetSchemaType(&self) -> ::windows::core::Result<::windows::core::GUID>; fn GetConfigurationData(&self) -> ::windows::core::Result; fn GetOriginatorID(&self) -> ::windows::core::Result<::windows::core::GUID>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFOutputSchema_Vtbl { pub const fn new() -> IMFOutputSchema_Vtbl { unsafe extern "system" fn GetSchemaType(this: *mut ::core::ffi::c_void, pguidschematype: *mut ::windows::core::GUID) -> ::windows::core::HRESULT { @@ -10569,7 +10569,7 @@ impl IMFPMPServer_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IMFPMediaItem_Impl: Sized { fn GetMediaPlayer(&self) -> ::windows::core::Result; fn GetURL(&self) -> ::windows::core::Result; @@ -10591,7 +10591,7 @@ pub trait IMFPMediaItem_Impl: Sized { fn SetStreamSink(&self, dwstreamindex: u32, pmediasink: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; fn GetMetadata(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IMFPMediaItem_Vtbl { pub const fn new() -> IMFPMediaItem_Vtbl { unsafe extern "system" fn GetMediaPlayer(this: *mut ::core::ffi::c_void, ppmediaplayer: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -10788,7 +10788,7 @@ impl IMFPMediaItem_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFPMediaPlayer_Impl: Sized { fn Play(&self) -> ::windows::core::Result<()>; fn Pause(&self) -> ::windows::core::Result<()>; @@ -10827,7 +10827,7 @@ pub trait IMFPMediaPlayer_Impl: Sized { fn RemoveAllEffects(&self) -> ::windows::core::Result<()>; fn Shutdown(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFPMediaPlayer_Vtbl { pub const fn new() -> IMFPMediaPlayer_Vtbl { unsafe extern "system" fn Play(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -11322,7 +11322,7 @@ impl IMFPresentationClock_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFPresentationDescriptor_Impl: Sized + IMFAttributes_Impl { fn GetStreamDescriptorCount(&self) -> ::windows::core::Result; fn GetStreamDescriptorByIndex(&self, dwindex: u32, pfselected: *mut super::super::Foundation::BOOL, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()>; @@ -11330,7 +11330,7 @@ pub trait IMFPresentationDescriptor_Impl: Sized + IMFAttributes_Impl { fn DeselectStream(&self, dwdescriptorindex: u32) -> ::windows::core::Result<()>; fn Clone(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFPresentationDescriptor_Vtbl { pub const fn new() -> IMFPresentationDescriptor_Vtbl { unsafe extern "system" fn GetStreamDescriptorCount(this: *mut ::core::ffi::c_void, pdwdescriptorcount: *mut u32) -> ::windows::core::HRESULT { @@ -11904,14 +11904,14 @@ impl IMFRemoteProxy_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFSAMIStyle_Impl: Sized { fn GetStyleCount(&self) -> ::windows::core::Result; fn GetStyles(&self) -> ::windows::core::Result; fn SetSelectedStyle(&self, pwszstyle: super::super::Foundation::PWSTR) -> ::windows::core::Result<()>; fn GetSelectedStyle(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFSAMIStyle_Vtbl { pub const fn new() -> IMFSAMIStyle_Vtbl { unsafe extern "system" fn GetStyleCount(this: *mut ::core::ffi::c_void, pdwcount: *mut u32) -> ::windows::core::HRESULT { @@ -12019,7 +12019,7 @@ impl IMFSSLCertificateManager_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFSample_Impl: Sized + IMFAttributes_Impl { fn GetSampleFlags(&self) -> ::windows::core::Result; fn SetSampleFlags(&self, dwsampleflags: u32) -> ::windows::core::Result<()>; @@ -12036,7 +12036,7 @@ pub trait IMFSample_Impl: Sized + IMFAttributes_Impl { fn GetTotalLength(&self) -> ::windows::core::Result; fn CopyToBuffer(&self, pbuffer: &::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFSample_Vtbl { pub const fn new() -> IMFSample_Vtbl { unsafe extern "system" fn GetSampleFlags(this: *mut ::core::ffi::c_void, pdwsampleflags: *mut u32) -> ::windows::core::HRESULT { @@ -12469,11 +12469,11 @@ impl IMFSecureChannel_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFSeekInfo_Impl: Sized { fn GetNearestKeyFrames(&self, pguidtimeformat: *const ::windows::core::GUID, pvarstartposition: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarpreviouskeyframe: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pvarnextkeyframe: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFSeekInfo_Vtbl { pub const fn new() -> IMFSeekInfo_Vtbl { unsafe extern "system" fn GetNearestKeyFrames(this: *mut ::core::ffi::c_void, pguidtimeformat: *const ::windows::core::GUID, pvarstartposition: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarpreviouskeyframe: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pvarnextkeyframe: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { @@ -13043,13 +13043,13 @@ impl IMFSensorProfileCollection_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFSensorStream_Impl: Sized + IMFAttributes_Impl { fn GetMediaTypeCount(&self) -> ::windows::core::Result; fn GetMediaType(&self, dwindex: u32) -> ::windows::core::Result; fn CloneSensorStream(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFSensorStream_Vtbl { pub const fn new() -> IMFSensorStream_Vtbl { unsafe extern "system" fn GetMediaTypeCount(this: *mut ::core::ffi::c_void, pdwcount: *mut u32) -> ::windows::core::HRESULT { @@ -13756,7 +13756,7 @@ impl IMFSourceOpenMonitor_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFSourceReader_Impl: Sized { fn GetStreamSelection(&self, dwstreamindex: u32) -> ::windows::core::Result; fn SetStreamSelection(&self, dwstreamindex: u32, fselected: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; @@ -13769,7 +13769,7 @@ pub trait IMFSourceReader_Impl: Sized { fn GetServiceForStream(&self, dwstreamindex: u32, guidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn GetPresentationAttribute(&self, dwstreamindex: u32, guidattribute: *const ::windows::core::GUID) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFSourceReader_Vtbl { pub const fn new() -> IMFSourceReader_Vtbl { unsafe extern "system" fn GetStreamSelection(this: *mut ::core::ffi::c_void, dwstreamindex: u32, pfselected: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { @@ -13923,14 +13923,14 @@ impl IMFSourceReaderCallback2_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFSourceReaderEx_Impl: Sized + IMFSourceReader_Impl { fn SetNativeMediaType(&self, dwstreamindex: u32, pmediatype: &::core::option::Option) -> ::windows::core::Result; fn AddTransformForStream(&self, dwstreamindex: u32, ptransformoractivate: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; fn RemoveAllTransformsForStream(&self, dwstreamindex: u32) -> ::windows::core::Result<()>; fn GetTransformForStream(&self, dwstreamindex: u32, dwtransformindex: u32, pguidcategory: *mut ::windows::core::GUID, pptransform: *mut ::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFSourceReaderEx_Vtbl { pub const fn new() -> IMFSourceReaderEx_Vtbl { unsafe extern "system" fn SetNativeMediaType(this: *mut ::core::ffi::c_void, dwstreamindex: u32, pmediatype: ::windows::core::RawPtr, pdwstreamflags: *mut u32) -> ::windows::core::HRESULT { @@ -14101,13 +14101,13 @@ impl IMFSpatialAudioObjectBuffer_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFSpatialAudioSample_Impl: Sized + IMFAttributes_Impl + IMFSample_Impl { fn GetObjectCount(&self) -> ::windows::core::Result; fn AddSpatialAudioObject(&self, paudioobjbuffer: &::core::option::Option) -> ::windows::core::Result<()>; fn GetSpatialAudioObjectByIndex(&self, dwindex: u32) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFSpatialAudioSample_Vtbl { pub const fn new() -> IMFSpatialAudioSample_Vtbl { unsafe extern "system" fn GetObjectCount(this: *mut ::core::ffi::c_void, pdwobjectcount: *mut u32) -> ::windows::core::HRESULT { @@ -14148,12 +14148,12 @@ impl IMFSpatialAudioSample_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFStreamDescriptor_Impl: Sized + IMFAttributes_Impl { fn GetStreamIdentifier(&self) -> ::windows::core::Result; fn GetMediaTypeHandler(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFStreamDescriptor_Vtbl { pub const fn new() -> IMFStreamDescriptor_Vtbl { unsafe extern "system" fn GetStreamIdentifier(this: *mut ::core::ffi::c_void, pdwstreamidentifier: *mut u32) -> ::windows::core::HRESULT { @@ -14188,7 +14188,7 @@ impl IMFStreamDescriptor_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFStreamSink_Impl: Sized + IMFMediaEventGenerator_Impl { fn GetMediaSink(&self) -> ::windows::core::Result; fn GetIdentifier(&self) -> ::windows::core::Result; @@ -14197,7 +14197,7 @@ pub trait IMFStreamSink_Impl: Sized + IMFMediaEventGenerator_Impl { fn PlaceMarker(&self, emarkertype: MFSTREAMSINK_MARKER_TYPE, pvarmarkervalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarcontextvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn Flush(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFStreamSink_Vtbl { pub const fn new() -> IMFStreamSink_Vtbl { unsafe extern "system" fn GetMediaSink(this: *mut ::core::ffi::c_void, ppmediasink: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -14306,14 +14306,14 @@ impl IMFSystemId_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFTimecodeTranslate_Impl: Sized { fn BeginConvertTimecodeToHNS(&self, ppropvartimecode: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pcallback: &::core::option::Option, punkstate: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; fn EndConvertTimecodeToHNS(&self, presult: &::core::option::Option) -> ::windows::core::Result; fn BeginConvertHNSToTimecode(&self, hnstime: i64, pcallback: &::core::option::Option, punkstate: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; fn EndConvertHNSToTimecode(&self, presult: &::core::option::Option) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFTimecodeTranslate_Vtbl { pub const fn new() -> IMFTimecodeTranslate_Vtbl { unsafe extern "system" fn BeginConvertTimecodeToHNS(this: *mut ::core::ffi::c_void, ppropvartimecode: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pcallback: ::windows::core::RawPtr, punkstate: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -15576,7 +15576,7 @@ impl IMFTopoLoader_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFTopology_Impl: Sized + IMFAttributes_Impl { fn GetTopologyID(&self) -> ::windows::core::Result; fn AddNode(&self, pnode: &::core::option::Option) -> ::windows::core::Result<()>; @@ -15589,7 +15589,7 @@ pub trait IMFTopology_Impl: Sized + IMFAttributes_Impl { fn GetSourceNodeCollection(&self) -> ::windows::core::Result; fn GetOutputNodeCollection(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFTopology_Vtbl { pub const fn new() -> IMFTopology_Vtbl { unsafe extern "system" fn GetTopologyID(this: *mut ::core::ffi::c_void, pid: *mut u64) -> ::windows::core::HRESULT { @@ -15696,7 +15696,7 @@ impl IMFTopology_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFTopologyNode_Impl: Sized + IMFAttributes_Impl { fn SetObject(&self, pobject: &::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; fn GetObject(&self) -> ::windows::core::Result<::windows::core::IUnknown>; @@ -15715,7 +15715,7 @@ pub trait IMFTopologyNode_Impl: Sized + IMFAttributes_Impl { fn GetInputPrefType(&self, dwinputindex: u32) -> ::windows::core::Result; fn CloneFrom(&self, pnode: &::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFTopologyNode_Vtbl { pub const fn new() -> IMFTopologyNode_Vtbl { unsafe extern "system" fn SetObject(this: *mut ::core::ffi::c_void, pobject: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -16569,12 +16569,12 @@ impl IMFVideoDisplayControl_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFVideoMediaType_Impl: Sized + IMFAttributes_Impl + IMFMediaType_Impl { fn GetVideoFormat(&self) -> *mut MFVIDEOFORMAT; fn GetVideoRepresentation(&self, guidrepresentation: &::windows::core::GUID, ppvrepresentation: *mut *mut ::core::ffi::c_void, lstride: i32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFVideoMediaType_Vtbl { pub const fn new() -> IMFVideoMediaType_Vtbl { unsafe extern "system" fn GetVideoFormat(this: *mut ::core::ffi::c_void) -> *mut MFVIDEOFORMAT { @@ -17229,7 +17229,7 @@ impl IMFVideoSampleAllocatorNotifyEx_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IMFVirtualCamera_Impl: Sized + IMFAttributes_Impl { fn AddDeviceSourceInfo(&self, devicesourceinfo: super::super::Foundation::PWSTR) -> ::windows::core::Result<()>; fn AddProperty(&self, pkey: *const super::super::Devices::Properties::DEVPROPKEY, r#type: u32, pbdata: *const u8, cbdata: u32) -> ::windows::core::Result<()>; @@ -17243,7 +17243,7 @@ pub trait IMFVirtualCamera_Impl: Sized + IMFAttributes_Impl { fn CreateSyncSemaphore(&self, kseventset: *const ::windows::core::GUID, kseventid: u32, kseventflags: u32, semaphorehandle: super::super::Foundation::HANDLE, semaphoreadjustment: i32) -> ::windows::core::Result; fn Shutdown(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IMFVirtualCamera_Vtbl { pub const fn new() -> IMFVirtualCamera_Vtbl { unsafe extern "system" fn AddDeviceSourceInfo(this: *mut ::core::ffi::c_void, devicesourceinfo: super::super::Foundation::PWSTR) -> ::windows::core::HRESULT { 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 8b3eab5a99..abe233839b 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs @@ -22220,8 +22220,8 @@ impl IMFASFIndexer { pub unsafe fn SetIndexStatus<'a, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pbindexdescriptor: *const u8, cbindexdescriptor: u32, fgenerateindex: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIndexStatus)(::core::mem::transmute_copy(self), ::core::mem::transmute(pbindexdescriptor), ::core::mem::transmute(cbindexdescriptor), fgenerateindex.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetSeekPositionForValue(&self, pvarvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pindexidentifier: *const ASF_INDEX_IDENTIFIER, pcboffsetwithindata: *mut u64, phnsapproxtime: *mut i64, pdwpayloadnumberofstreamwithinpacket: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetSeekPositionForValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(pvarvalue), ::core::mem::transmute(pindexidentifier), ::core::mem::transmute(pcboffsetwithindata), ::core::mem::transmute(phnsapproxtime), ::core::mem::transmute(pdwpayloadnumberofstreamwithinpacket)).ok() } @@ -22301,9 +22301,9 @@ pub struct IMFASFIndexer_Vtbl { pub SetIndexStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbindexdescriptor: *const u8, cbindexdescriptor: u32, fgenerateindex: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] SetIndexStatus: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetSeekPositionForValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvarvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pindexidentifier: *const ASF_INDEX_IDENTIFIER, pcboffsetwithindata: *mut u64, phnsapproxtime: *mut i64, pdwpayloadnumberofstreamwithinpacket: *mut u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetSeekPositionForValue: usize, pub GenerateIndexEntries: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, piasfpacketsample: ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub CommitIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, picontentinfo: ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -22510,8 +22510,8 @@ pub struct IMFASFMutualExclusion_Vtbl { #[repr(transparent)] pub struct IMFASFProfile(::windows::core::IUnknown); impl IMFASFProfile { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -22520,8 +22520,8 @@ impl IMFASFProfile { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -22585,8 +22585,8 @@ impl IMFASFProfile { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -22640,8 +22640,8 @@ impl IMFASFProfile { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -22905,8 +22905,8 @@ pub struct IMFASFSplitter_Vtbl { #[repr(transparent)] pub struct IMFASFStreamConfig(::windows::core::IUnknown); impl IMFASFStreamConfig { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -22915,8 +22915,8 @@ impl IMFASFStreamConfig { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -22980,8 +22980,8 @@ impl IMFASFStreamConfig { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -23035,8 +23035,8 @@ impl IMFASFStreamConfig { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -23375,8 +23375,8 @@ pub struct IMFASFStreamSelector_Vtbl { #[repr(transparent)] pub struct IMFActivate(::windows::core::IUnknown); impl IMFActivate { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -23385,8 +23385,8 @@ impl IMFActivate { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -23450,8 +23450,8 @@ impl IMFActivate { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -23505,8 +23505,8 @@ impl IMFActivate { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -23825,8 +23825,8 @@ pub struct IMFAsyncResult_Vtbl { #[repr(transparent)] pub struct IMFAttributes(::windows::core::IUnknown); impl IMFAttributes { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -23835,8 +23835,8 @@ impl IMFAttributes { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -23900,8 +23900,8 @@ impl IMFAttributes { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -23955,8 +23955,8 @@ impl IMFAttributes { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -24009,14 +24009,14 @@ unsafe impl ::windows::core::Interface for IMFAttributes { #[doc(hidden)] pub struct IMFAttributes_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetItem: usize, pub GetItemType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidkey: *const ::windows::core::GUID, ptype: *mut MF_ATTRIBUTE_TYPE) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub CompareItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pbresult: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] CompareItem: usize, #[cfg(feature = "Win32_Foundation")] pub Compare: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptheirs: ::windows::core::RawPtr, matchtype: MF_ATTRIBUTES_MATCH_TYPE, pbresult: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, @@ -24039,9 +24039,9 @@ pub struct IMFAttributes_Vtbl { pub GetBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidkey: *const ::windows::core::GUID, pbuf: *mut u8, cbbufsize: u32, pcbblobsize: *mut u32) -> ::windows::core::HRESULT, pub GetAllocatedBlob: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidkey: *const ::windows::core::GUID, ppbuf: *mut *mut u8, pcbsize: *mut u32) -> ::windows::core::HRESULT, pub GetUnknown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidkey: *const ::windows::core::GUID, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetItem: usize, pub DeleteItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidkey: *const ::windows::core::GUID) -> ::windows::core::HRESULT, pub DeleteAllItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, @@ -24058,9 +24058,9 @@ pub struct IMFAttributes_Vtbl { pub LockStore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub UnlockStore: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcitems: *mut u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetItemByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetItemByIndex: usize, pub CopyAllItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdest: ::windows::core::RawPtr) -> ::windows::core::HRESULT, } @@ -24068,8 +24068,8 @@ pub struct IMFAttributes_Vtbl { #[repr(transparent)] pub struct IMFAudioMediaType(::windows::core::IUnknown); impl IMFAudioMediaType { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -24078,8 +24078,8 @@ impl IMFAudioMediaType { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -24143,8 +24143,8 @@ impl IMFAudioMediaType { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -24198,8 +24198,8 @@ impl IMFAudioMediaType { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -30561,8 +30561,8 @@ impl IMFMediaEngineEx { pub unsafe fn SetSourceFromByteStream<'a, Param0: ::windows::core::IntoParam<'a, IMFByteStream>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pbytestream: Param0, purl: Param1) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSourceFromByteStream)(::core::mem::transmute_copy(self), pbytestream.into_param().abi(), purl.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetStatistics(&self, statisticid: MF_MEDIA_ENGINE_STATISTIC) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetStatistics)(::core::mem::transmute_copy(self), ::core::mem::transmute(statisticid), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -30595,8 +30595,8 @@ impl IMFMediaEngineEx { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetResourceCharacteristics)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetPresentationAttribute(&self, guidmfattribute: *const ::windows::core::GUID) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetPresentationAttribute)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidmfattribute), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -30606,8 +30606,8 @@ impl IMFMediaEngineEx { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfStreams)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetStreamAttribute(&self, dwstreamindex: u32, guidmfattribute: *const ::windows::core::GUID) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetStreamAttribute)(::core::mem::transmute_copy(self), ::core::mem::transmute(dwstreamindex), ::core::mem::transmute(guidmfattribute), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -30806,9 +30806,9 @@ pub struct IMFMediaEngineEx_Vtbl { pub SetSourceFromByteStream: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbytestream: ::windows::core::RawPtr, purl: ::core::mem::ManuallyDrop) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] SetSourceFromByteStream: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetStatistics: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, statisticid: MF_MEDIA_ENGINE_STATISTIC, pstatistic: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetStatistics: usize, #[cfg(feature = "Win32_Foundation")] pub UpdateVideoStream: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psrc: *const MFVideoNormalizedRect, pdst: *const super::super::Foundation::RECT, pborderclr: *const MFARGB) -> ::windows::core::HRESULT, @@ -30825,14 +30825,14 @@ pub struct IMFMediaEngineEx_Vtbl { #[cfg(not(feature = "Win32_Foundation"))] FrameStep: usize, pub GetResourceCharacteristics: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcharacteristics: *mut u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetPresentationAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidmfattribute: *const ::windows::core::GUID, pvvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetPresentationAttribute: usize, pub GetNumberOfStreams: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwstreamcount: *mut u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetStreamAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwstreamindex: u32, guidmfattribute: *const ::windows::core::GUID, pvvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetStreamAttribute: usize, #[cfg(feature = "Win32_Foundation")] pub GetStreamSelection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwstreamindex: u32, penabled: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, @@ -31724,8 +31724,8 @@ pub struct IMFMediaError_Vtbl { #[repr(transparent)] pub struct IMFMediaEvent(::windows::core::IUnknown); impl IMFMediaEvent { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -31734,8 +31734,8 @@ impl IMFMediaEvent { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -31799,8 +31799,8 @@ impl IMFMediaEvent { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -31854,8 +31854,8 @@ impl IMFMediaEvent { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -31878,8 +31878,8 @@ impl IMFMediaEvent { let mut result__: ::windows::core::HRESULT = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::<::windows::core::HRESULT>(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValue(&self) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -31952,9 +31952,9 @@ pub struct IMFMediaEvent_Vtbl { pub GetType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pmet: *mut u32) -> ::windows::core::HRESULT, pub GetExtendedType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pguidextendedtype: *mut ::windows::core::GUID) -> ::windows::core::HRESULT, pub GetStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, phrstatus: *mut ::windows::core::HRESULT) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetValue: usize, } #[doc = "*Required features: 'Win32_Media_MediaFoundation'*"] @@ -31975,8 +31975,8 @@ impl IMFMediaEventGenerator { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).EndGetEvent)(::core::mem::transmute_copy(self), presult.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn QueueEvent(&self, met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).QueueEvent)(::core::mem::transmute_copy(self), ::core::mem::transmute(met), ::core::mem::transmute(guidextendedtype), ::core::mem::transmute(hrstatus), ::core::mem::transmute(pvvalue)).ok() } @@ -32028,9 +32028,9 @@ pub struct IMFMediaEventGenerator_Vtbl { pub GetEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS, ppevent: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub BeginGetEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcallback: ::windows::core::RawPtr, punkstate: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub EndGetEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: ::windows::core::RawPtr, ppevent: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub QueueEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] QueueEvent: usize, } #[doc = "*Required features: 'Win32_Media_MediaFoundation'*"] @@ -32055,8 +32055,8 @@ impl IMFMediaEventQueue { pub unsafe fn QueueEvent<'a, Param0: ::windows::core::IntoParam<'a, IMFMediaEvent>>(&self, pevent: Param0) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).QueueEvent)(::core::mem::transmute_copy(self), pevent.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn QueueEventParamVar(&self, met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).QueueEventParamVar)(::core::mem::transmute_copy(self), ::core::mem::transmute(met), ::core::mem::transmute(guidextendedtype), ::core::mem::transmute(hrstatus), ::core::mem::transmute(pvvalue)).ok() } @@ -32117,9 +32117,9 @@ pub struct IMFMediaEventQueue_Vtbl { pub BeginGetEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcallback: ::windows::core::RawPtr, punkstate: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub EndGetEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: ::windows::core::RawPtr, ppevent: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub QueueEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pevent: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub QueueEventParamVar: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] QueueEventParamVar: usize, pub QueueEventParamUnk: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, punk: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub Shutdown: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, @@ -32796,8 +32796,8 @@ impl IMFMediaSession { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.EndGetEvent)(::core::mem::transmute_copy(self), presult.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn QueueEvent(&self, met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.QueueEvent)(::core::mem::transmute_copy(self), ::core::mem::transmute(met), ::core::mem::transmute(guidextendedtype), ::core::mem::transmute(hrstatus), ::core::mem::transmute(pvvalue)).ok() } @@ -32809,8 +32809,8 @@ impl IMFMediaSession { pub unsafe fn ClearTopologies(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ClearTopologies)(::core::mem::transmute_copy(self)).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Start(&self, pguidtimeformat: *const ::windows::core::GUID, pvarstartposition: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Start)(::core::mem::transmute_copy(self), ::core::mem::transmute(pguidtimeformat), ::core::mem::transmute(pvarstartposition)).ok() } @@ -32912,9 +32912,9 @@ pub struct IMFMediaSession_Vtbl { pub base: IMFMediaEventGenerator_Vtbl, pub SetTopology: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwsettopologyflags: u32, ptopology: ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub ClearTopologies: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub Start: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pguidtimeformat: *const ::windows::core::GUID, pvarstartposition: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] Start: usize, pub Pause: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub Stop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, @@ -33424,8 +33424,8 @@ impl IMFMediaSource { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.EndGetEvent)(::core::mem::transmute_copy(self), presult.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn QueueEvent(&self, met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.QueueEvent)(::core::mem::transmute_copy(self), ::core::mem::transmute(met), ::core::mem::transmute(guidextendedtype), ::core::mem::transmute(hrstatus), ::core::mem::transmute(pvvalue)).ok() } @@ -33439,8 +33439,8 @@ impl IMFMediaSource { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).CreatePresentationDescriptor)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Start<'a, Param0: ::windows::core::IntoParam<'a, IMFPresentationDescriptor>>(&self, ppresentationdescriptor: Param0, pguidtimeformat: *const ::windows::core::GUID, pvarstartposition: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Start)(::core::mem::transmute_copy(self), ppresentationdescriptor.into_param().abi(), ::core::mem::transmute(pguidtimeformat), ::core::mem::transmute(pvarstartposition)).ok() } @@ -33523,9 +33523,9 @@ pub struct IMFMediaSource_Vtbl { pub base: IMFMediaEventGenerator_Vtbl, pub GetCharacteristics: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwcharacteristics: *mut u32) -> ::windows::core::HRESULT, pub CreatePresentationDescriptor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pppresentationdescriptor: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub Start: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppresentationdescriptor: ::windows::core::RawPtr, pguidtimeformat: *const ::windows::core::GUID, pvarstartposition: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] Start: usize, pub Stop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub Pause: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, @@ -33549,8 +33549,8 @@ impl IMFMediaSource2 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.base.EndGetEvent)(::core::mem::transmute_copy(self), presult.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn QueueEvent(&self, met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.base.QueueEvent)(::core::mem::transmute_copy(self), ::core::mem::transmute(met), ::core::mem::transmute(guidextendedtype), ::core::mem::transmute(hrstatus), ::core::mem::transmute(pvvalue)).ok() } @@ -33564,8 +33564,8 @@ impl IMFMediaSource2 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.CreatePresentationDescriptor)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Start<'a, Param0: ::windows::core::IntoParam<'a, IMFPresentationDescriptor>>(&self, ppresentationdescriptor: Param0, pguidtimeformat: *const ::windows::core::GUID, pvarstartposition: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.Start)(::core::mem::transmute_copy(self), ppresentationdescriptor.into_param().abi(), ::core::mem::transmute(pguidtimeformat), ::core::mem::transmute(pvarstartposition)).ok() } @@ -33724,8 +33724,8 @@ impl IMFMediaSourceEx { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.EndGetEvent)(::core::mem::transmute_copy(self), presult.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn QueueEvent(&self, met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.QueueEvent)(::core::mem::transmute_copy(self), ::core::mem::transmute(met), ::core::mem::transmute(guidextendedtype), ::core::mem::transmute(hrstatus), ::core::mem::transmute(pvvalue)).ok() } @@ -33739,8 +33739,8 @@ impl IMFMediaSourceEx { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CreatePresentationDescriptor)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Start<'a, Param0: ::windows::core::IntoParam<'a, IMFPresentationDescriptor>>(&self, ppresentationdescriptor: Param0, pguidtimeformat: *const ::windows::core::GUID, pvarstartposition: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.Start)(::core::mem::transmute_copy(self), ppresentationdescriptor.into_param().abi(), ::core::mem::transmute(pguidtimeformat), ::core::mem::transmute(pvarstartposition)).ok() } @@ -34222,8 +34222,8 @@ impl IMFMediaStream { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.EndGetEvent)(::core::mem::transmute_copy(self), presult.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn QueueEvent(&self, met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.QueueEvent)(::core::mem::transmute_copy(self), ::core::mem::transmute(met), ::core::mem::transmute(guidextendedtype), ::core::mem::transmute(hrstatus), ::core::mem::transmute(pvvalue)).ok() } @@ -34328,8 +34328,8 @@ impl IMFMediaStream2 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.EndGetEvent)(::core::mem::transmute_copy(self), presult.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn QueueEvent(&self, met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.QueueEvent)(::core::mem::transmute_copy(self), ::core::mem::transmute(met), ::core::mem::transmute(guidextendedtype), ::core::mem::transmute(hrstatus), ::core::mem::transmute(pvvalue)).ok() } @@ -34589,8 +34589,8 @@ pub struct IMFMediaTimeRange_Vtbl { #[repr(transparent)] pub struct IMFMediaType(::windows::core::IUnknown); impl IMFMediaType { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -34599,8 +34599,8 @@ impl IMFMediaType { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -34664,8 +34664,8 @@ impl IMFMediaType { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -34719,8 +34719,8 @@ impl IMFMediaType { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -34926,19 +34926,19 @@ impl IMFMetadata { let mut result__: super::super::Foundation::PWSTR = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetLanguage)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetAllLanguages(&self) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetAllLanguages)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetProperty<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pwszname: Param0, ppvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetProperty)(::core::mem::transmute_copy(self), pwszname.into_param().abi(), ::core::mem::transmute(ppvvalue)).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetProperty<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pwszname: Param0) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::core::mem::transmute_copy(self), pwszname.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -34948,8 +34948,8 @@ impl IMFMetadata { pub unsafe fn DeleteProperty<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pwszname: Param0) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).DeleteProperty)(::core::mem::transmute_copy(self), pwszname.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetAllPropertyNames(&self) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetAllPropertyNames)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -35007,25 +35007,25 @@ pub struct IMFMetadata_Vtbl { pub GetLanguage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppwszrfc1766: *mut super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] GetLanguage: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetAllLanguages: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvlanguages: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetAllLanguages: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszname: super::super::Foundation::PWSTR, ppvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetProperty: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszname: super::super::Foundation::PWSTR, ppvvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetProperty: usize, #[cfg(feature = "Win32_Foundation")] pub DeleteProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszname: super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] DeleteProperty: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetAllPropertyNames: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvnames: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetAllPropertyNames: usize, } #[doc = "*Required features: 'Win32_Media_MediaFoundation'*"] @@ -35960,8 +35960,8 @@ pub struct IMFObjectReferenceStream_Vtbl { #[repr(transparent)] pub struct IMFOutputPolicy(::windows::core::IUnknown); impl IMFOutputPolicy { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -35970,8 +35970,8 @@ impl IMFOutputPolicy { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -36035,8 +36035,8 @@ impl IMFOutputPolicy { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -36090,8 +36090,8 @@ impl IMFOutputPolicy { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -36187,8 +36187,8 @@ pub struct IMFOutputPolicy_Vtbl { #[repr(transparent)] pub struct IMFOutputSchema(::windows::core::IUnknown); impl IMFOutputSchema { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -36197,8 +36197,8 @@ impl IMFOutputSchema { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -36262,8 +36262,8 @@ impl IMFOutputSchema { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -36317,8 +36317,8 @@ impl IMFOutputSchema { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -36816,13 +36816,13 @@ impl IMFPMediaItem { pub unsafe fn SetUserData(&self, dwuserdata: usize) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUserData)(::core::mem::transmute_copy(self), ::core::mem::transmute(dwuserdata)).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetStartStopPosition(&self, pguidstartpositiontype: *mut ::windows::core::GUID, pvstartvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pguidstoppositiontype: *mut ::windows::core::GUID, pvstopvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetStartStopPosition)(::core::mem::transmute_copy(self), ::core::mem::transmute(pguidstartpositiontype), ::core::mem::transmute(pvstartvalue), ::core::mem::transmute(pguidstoppositiontype), ::core::mem::transmute(pvstopvalue)).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetStartStopPosition(&self, pguidstartpositiontype: *const ::windows::core::GUID, pvstartvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pguidstoppositiontype: *const ::windows::core::GUID, pvstopvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStartStopPosition)(::core::mem::transmute_copy(self), ::core::mem::transmute(pguidstartpositiontype), ::core::mem::transmute(pvstartvalue), ::core::mem::transmute(pguidstoppositiontype), ::core::mem::transmute(pvstopvalue)).ok() } @@ -36842,8 +36842,8 @@ impl IMFPMediaItem { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).IsProtected)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetDuration(&self, guidpositiontype: *const ::windows::core::GUID) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetDuration)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidpositiontype), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -36864,14 +36864,14 @@ impl IMFPMediaItem { pub unsafe fn SetStreamSelection<'a, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwstreamindex: u32, fenabled: Param1) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStreamSelection)(::core::mem::transmute_copy(self), ::core::mem::transmute(dwstreamindex), fenabled.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetStreamAttribute(&self, dwstreamindex: u32, guidmfattribute: *const ::windows::core::GUID) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetStreamAttribute)(::core::mem::transmute_copy(self), ::core::mem::transmute(dwstreamindex), ::core::mem::transmute(guidmfattribute), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetPresentationAttribute(&self, guidmfattribute: *const ::windows::core::GUID) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetPresentationAttribute)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidmfattribute), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -36944,13 +36944,13 @@ pub struct IMFPMediaItem_Vtbl { pub GetObject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppiunknown: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub GetUserData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwuserdata: *mut usize) -> ::windows::core::HRESULT, pub SetUserData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwuserdata: usize) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetStartStopPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pguidstartpositiontype: *mut ::windows::core::GUID, pvstartvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pguidstoppositiontype: *mut ::windows::core::GUID, pvstopvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetStartStopPosition: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetStartStopPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pguidstartpositiontype: *const ::windows::core::GUID, pvstartvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pguidstoppositiontype: *const ::windows::core::GUID, pvstopvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetStartStopPosition: usize, #[cfg(feature = "Win32_Foundation")] pub HasVideo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfhasvideo: *mut super::super::Foundation::BOOL, pfselected: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, @@ -36964,9 +36964,9 @@ pub struct IMFPMediaItem_Vtbl { pub IsProtected: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfprotected: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] IsProtected: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidpositiontype: *const ::windows::core::GUID, pvdurationvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetDuration: usize, pub GetNumberOfStreams: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwstreamcount: *mut u32) -> ::windows::core::HRESULT, #[cfg(feature = "Win32_Foundation")] @@ -36977,13 +36977,13 @@ pub struct IMFPMediaItem_Vtbl { pub SetStreamSelection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwstreamindex: u32, fenabled: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] SetStreamSelection: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetStreamAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwstreamindex: u32, guidmfattribute: *const ::windows::core::GUID, pvvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetStreamAttribute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetPresentationAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidmfattribute: *const ::windows::core::GUID, pvvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetPresentationAttribute: usize, pub GetCharacteristics: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcharacteristics: *mut u32) -> ::windows::core::HRESULT, pub SetStreamSink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwstreamindex: u32, pmediasink: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, @@ -37012,19 +37012,19 @@ impl IMFPMediaPlayer { pub unsafe fn FrameStep(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).FrameStep)(::core::mem::transmute_copy(self)).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetPosition(&self, guidpositiontype: *const ::windows::core::GUID, pvpositionvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPosition)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidpositiontype), ::core::mem::transmute(pvpositionvalue)).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetPosition(&self, guidpositiontype: *const ::windows::core::GUID) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetPosition)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidpositiontype), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetDuration(&self, guidpositiontype: *const ::windows::core::GUID) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetDuration)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidpositiontype), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -37215,17 +37215,17 @@ pub struct IMFPMediaPlayer_Vtbl { pub Pause: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub Stop: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub FrameStep: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidpositiontype: *const ::windows::core::GUID, pvpositionvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetPosition: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidpositiontype: *const ::windows::core::GUID, pvpositionvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetPosition: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetDuration: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidpositiontype: *const ::windows::core::GUID, pvdurationvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetDuration: usize, pub SetRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flrate: f32) -> ::windows::core::HRESULT, pub GetRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pflrate: *mut f32) -> ::windows::core::HRESULT, @@ -37686,8 +37686,8 @@ pub struct IMFPresentationClock_Vtbl { #[repr(transparent)] pub struct IMFPresentationDescriptor(::windows::core::IUnknown); impl IMFPresentationDescriptor { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -37696,8 +37696,8 @@ impl IMFPresentationDescriptor { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -37761,8 +37761,8 @@ impl IMFPresentationDescriptor { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -37816,8 +37816,8 @@ impl IMFPresentationDescriptor { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -39080,8 +39080,8 @@ impl IMFSAMIStyle { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetStyleCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetStyles(&self) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetStyles)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -39143,9 +39143,9 @@ unsafe impl ::windows::core::Interface for IMFSAMIStyle { pub struct IMFSAMIStyle_Vtbl { pub base: ::windows::core::IUnknownVtbl, pub GetStyleCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwcount: *mut u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetStyles: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppropvarstylearray: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetStyles: usize, #[cfg(feature = "Win32_Foundation")] pub SetSelectedStyle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszstyle: super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, @@ -39252,8 +39252,8 @@ pub struct IMFSSLCertificateManager_Vtbl { #[repr(transparent)] pub struct IMFSample(::windows::core::IUnknown); impl IMFSample { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -39262,8 +39262,8 @@ impl IMFSample { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -39327,8 +39327,8 @@ impl IMFSample { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -39382,8 +39382,8 @@ impl IMFSample { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -40228,8 +40228,8 @@ pub struct IMFSecureChannel_Vtbl { #[repr(transparent)] pub struct IMFSeekInfo(::windows::core::IUnknown); impl IMFSeekInfo { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetNearestKeyFrames(&self, pguidtimeformat: *const ::windows::core::GUID, pvarstartposition: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarpreviouskeyframe: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pvarnextkeyframe: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetNearestKeyFrames)(::core::mem::transmute_copy(self), ::core::mem::transmute(pguidtimeformat), ::core::mem::transmute(pvarstartposition), ::core::mem::transmute(pvarpreviouskeyframe), ::core::mem::transmute(pvarnextkeyframe)).ok() } @@ -40278,9 +40278,9 @@ unsafe impl ::windows::core::Interface for IMFSeekInfo { #[doc(hidden)] pub struct IMFSeekInfo_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetNearestKeyFrames: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pguidtimeformat: *const ::windows::core::GUID, pvarstartposition: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarpreviouskeyframe: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, pvarnextkeyframe: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetNearestKeyFrames: usize, } #[doc = "*Required features: 'Win32_Media_MediaFoundation'*"] @@ -41008,8 +41008,8 @@ pub struct IMFSensorProfileCollection_Vtbl { #[repr(transparent)] pub struct IMFSensorStream(::windows::core::IUnknown); impl IMFSensorStream { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -41018,8 +41018,8 @@ impl IMFSensorStream { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -41083,8 +41083,8 @@ impl IMFSensorStream { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -41138,8 +41138,8 @@ impl IMFSensorStream { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -42475,8 +42475,8 @@ impl IMFSourceReader { pub unsafe fn SetCurrentMediaType<'a, Param2: ::windows::core::IntoParam<'a, IMFMediaType>>(&self, dwstreamindex: u32, pdwreserved: *mut u32, pmediatype: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentMediaType)(::core::mem::transmute_copy(self), ::core::mem::transmute(dwstreamindex), ::core::mem::transmute(pdwreserved), pmediatype.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetCurrentPosition(&self, guidtimeformat: *const ::windows::core::GUID, varposition: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentPosition)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidtimeformat), ::core::mem::transmute(varposition)).ok() } @@ -42492,8 +42492,8 @@ impl IMFSourceReader { pub unsafe fn GetServiceForStream(&self, dwstreamindex: u32, guidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetServiceForStream)(::core::mem::transmute_copy(self), ::core::mem::transmute(dwstreamindex), ::core::mem::transmute(guidservice), ::core::mem::transmute(riid), ::core::mem::transmute(ppvobject)).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetPresentationAttribute(&self, dwstreamindex: u32, guidattribute: *const ::windows::core::GUID) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetPresentationAttribute)(::core::mem::transmute_copy(self), ::core::mem::transmute(dwstreamindex), ::core::mem::transmute(guidattribute), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -42554,16 +42554,16 @@ pub struct IMFSourceReader_Vtbl { pub GetNativeMediaType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwstreamindex: u32, dwmediatypeindex: u32, ppmediatype: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub GetCurrentMediaType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwstreamindex: u32, ppmediatype: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub SetCurrentMediaType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwstreamindex: u32, pdwreserved: *mut u32, pmediatype: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetCurrentPosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guidtimeformat: *const ::windows::core::GUID, varposition: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetCurrentPosition: usize, pub ReadSample: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwstreamindex: u32, dwcontrolflags: u32, pdwactualstreamindex: *mut u32, pdwstreamflags: *mut u32, plltimestamp: *mut i64, ppsample: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub Flush: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwstreamindex: u32) -> ::windows::core::HRESULT, pub GetServiceForStream: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwstreamindex: u32, guidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetPresentationAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwstreamindex: u32, guidattribute: *const ::windows::core::GUID, pvarattribute: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetPresentationAttribute: usize, } #[doc = "*Required features: 'Win32_Media_MediaFoundation'*"] @@ -42752,8 +42752,8 @@ impl IMFSourceReaderEx { pub unsafe fn SetCurrentMediaType<'a, Param2: ::windows::core::IntoParam<'a, IMFMediaType>>(&self, dwstreamindex: u32, pdwreserved: *mut u32, pmediatype: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetCurrentMediaType)(::core::mem::transmute_copy(self), ::core::mem::transmute(dwstreamindex), ::core::mem::transmute(pdwreserved), pmediatype.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetCurrentPosition(&self, guidtimeformat: *const ::windows::core::GUID, varposition: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetCurrentPosition)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidtimeformat), ::core::mem::transmute(varposition)).ok() } @@ -42769,8 +42769,8 @@ impl IMFSourceReaderEx { pub unsafe fn GetServiceForStream(&self, dwstreamindex: u32, guidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetServiceForStream)(::core::mem::transmute_copy(self), ::core::mem::transmute(dwstreamindex), ::core::mem::transmute(guidservice), ::core::mem::transmute(riid), ::core::mem::transmute(ppvobject)).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetPresentationAttribute(&self, dwstreamindex: u32, guidattribute: *const ::windows::core::GUID) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetPresentationAttribute)(::core::mem::transmute_copy(self), ::core::mem::transmute(dwstreamindex), ::core::mem::transmute(guidattribute), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -43099,8 +43099,8 @@ pub struct IMFSpatialAudioObjectBuffer_Vtbl { #[repr(transparent)] pub struct IMFSpatialAudioSample(::windows::core::IUnknown); impl IMFSpatialAudioSample { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -43109,8 +43109,8 @@ impl IMFSpatialAudioSample { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -43174,8 +43174,8 @@ impl IMFSpatialAudioSample { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -43229,8 +43229,8 @@ impl IMFSpatialAudioSample { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -43408,8 +43408,8 @@ pub struct IMFSpatialAudioSample_Vtbl { #[repr(transparent)] pub struct IMFStreamDescriptor(::windows::core::IUnknown); impl IMFStreamDescriptor { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -43418,8 +43418,8 @@ impl IMFStreamDescriptor { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -43483,8 +43483,8 @@ impl IMFStreamDescriptor { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -43538,8 +43538,8 @@ impl IMFStreamDescriptor { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -43643,8 +43643,8 @@ impl IMFStreamSink { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.EndGetEvent)(::core::mem::transmute_copy(self), presult.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn QueueEvent(&self, met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.QueueEvent)(::core::mem::transmute_copy(self), ::core::mem::transmute(met), ::core::mem::transmute(guidextendedtype), ::core::mem::transmute(hrstatus), ::core::mem::transmute(pvvalue)).ok() } @@ -43667,8 +43667,8 @@ impl IMFStreamSink { pub unsafe fn ProcessSample<'a, Param0: ::windows::core::IntoParam<'a, IMFSample>>(&self, psample: Param0) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ProcessSample)(::core::mem::transmute_copy(self), psample.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn PlaceMarker(&self, emarkertype: MFSTREAMSINK_MARKER_TYPE, pvarmarkervalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarcontextvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).PlaceMarker)(::core::mem::transmute_copy(self), ::core::mem::transmute(emarkertype), ::core::mem::transmute(pvarmarkervalue), ::core::mem::transmute(pvarcontextvalue)).ok() } @@ -43745,9 +43745,9 @@ pub struct IMFStreamSink_Vtbl { pub GetIdentifier: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwidentifier: *mut u32) -> ::windows::core::HRESULT, pub GetMediaTypeHandler: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pphandler: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, pub ProcessSample: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psample: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub PlaceMarker: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, emarkertype: MFSTREAMSINK_MARKER_TYPE, pvarmarkervalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pvarcontextvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] PlaceMarker: usize, pub Flush: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, } @@ -43874,8 +43874,8 @@ pub struct IMFSystemId_Vtbl { #[repr(transparent)] pub struct IMFTimecodeTranslate(::windows::core::IUnknown); impl IMFTimecodeTranslate { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn BeginConvertTimecodeToHNS<'a, Param1: ::windows::core::IntoParam<'a, IMFAsyncCallback>, Param2: ::windows::core::IntoParam<'a, ::windows::core::IUnknown>>(&self, ppropvartimecode: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pcallback: Param1, punkstate: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).BeginConvertTimecodeToHNS)(::core::mem::transmute_copy(self), ::core::mem::transmute(ppropvartimecode), pcallback.into_param().abi(), punkstate.into_param().abi()).ok() } @@ -43888,8 +43888,8 @@ impl IMFTimecodeTranslate { pub unsafe fn BeginConvertHNSToTimecode<'a, Param1: ::windows::core::IntoParam<'a, IMFAsyncCallback>, Param2: ::windows::core::IntoParam<'a, ::windows::core::IUnknown>>(&self, hnstime: i64, pcallback: Param1, punkstate: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).BeginConvertHNSToTimecode)(::core::mem::transmute_copy(self), ::core::mem::transmute(hnstime), pcallback.into_param().abi(), punkstate.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn EndConvertHNSToTimecode<'a, Param0: ::windows::core::IntoParam<'a, IMFAsyncResult>>(&self, presult: Param0) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).EndConvertHNSToTimecode)(::core::mem::transmute_copy(self), presult.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -43939,15 +43939,15 @@ unsafe impl ::windows::core::Interface for IMFTimecodeTranslate { #[doc(hidden)] pub struct IMFTimecodeTranslate_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub BeginConvertTimecodeToHNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppropvartimecode: *const super::super::System::Com::StructuredStorage::PROPVARIANT, pcallback: ::windows::core::RawPtr, punkstate: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] BeginConvertTimecodeToHNS: usize, pub EndConvertTimecodeToHNS: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: ::windows::core::RawPtr, phnstime: *mut i64) -> ::windows::core::HRESULT, pub BeginConvertHNSToTimecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hnstime: i64, pcallback: ::windows::core::RawPtr, punkstate: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub EndConvertHNSToTimecode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presult: ::windows::core::RawPtr, ppropvartimecode: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] EndConvertHNSToTimecode: usize, } #[doc = "*Required features: 'Win32_Media_MediaFoundation'*"] @@ -45362,8 +45362,8 @@ pub struct IMFTopoLoader_Vtbl { #[repr(transparent)] pub struct IMFTopology(::windows::core::IUnknown); impl IMFTopology { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -45372,8 +45372,8 @@ impl IMFTopology { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -45437,8 +45437,8 @@ impl IMFTopology { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -45492,8 +45492,8 @@ impl IMFTopology { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -45627,8 +45627,8 @@ pub struct IMFTopology_Vtbl { #[repr(transparent)] pub struct IMFTopologyNode(::windows::core::IUnknown); impl IMFTopologyNode { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -45637,8 +45637,8 @@ impl IMFTopologyNode { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -45702,8 +45702,8 @@ impl IMFTopologyNode { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -45757,8 +45757,8 @@ impl IMFTopologyNode { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -46929,8 +46929,8 @@ pub struct IMFVideoDisplayControl_Vtbl { #[repr(transparent)] pub struct IMFVideoMediaType(::windows::core::IUnknown); impl IMFVideoMediaType { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -46939,8 +46939,8 @@ impl IMFVideoMediaType { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -47004,8 +47004,8 @@ impl IMFVideoMediaType { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -47059,8 +47059,8 @@ impl IMFVideoMediaType { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -48560,8 +48560,8 @@ pub struct IMFVideoSampleAllocatorNotifyEx_Vtbl { #[repr(transparent)] pub struct IMFVirtualCamera(::windows::core::IUnknown); impl IMFVirtualCamera { - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItem(&self, guidkey: *const ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } @@ -48570,8 +48570,8 @@ impl IMFVirtualCamera { let mut result__: MF_ATTRIBUTE_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetItemType)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.CompareItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -48635,8 +48635,8 @@ impl IMFVirtualCamera { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetUnknown)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value)).ok() } @@ -48690,8 +48690,8 @@ impl IMFVirtualCamera { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetCount)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut ::windows::core::GUID, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetItemByIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(unindex), ::core::mem::transmute(pguidkey), ::core::mem::transmute(pvalue)).ok() } @@ -53338,8 +53338,8 @@ pub unsafe fn MFCreateMediaBufferWrapper<'a, Param0: ::windows::core::IntoParam< #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[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: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { #[cfg(windows)] @@ -53790,8 +53790,8 @@ pub unsafe fn MFCreateSensorStream<'a, Param1: ::windows::core::IntoParam<'a, IM #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn MFCreateSequencerSegmentOffset(dwid: u32, hnsoffset: i64) -> ::windows::core::Result { #[cfg(windows)] @@ -54798,8 +54798,8 @@ pub unsafe fn MFGetStrideForBitmapInfoHeader(format: u32, dwwidth: u32) -> ::win #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Media_MediaFoundation', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn MFGetSupportedMimeTypes() -> ::windows::core::Result { #[cfg(windows)] @@ -54814,8 +54814,8 @@ pub unsafe fn MFGetSupportedMimeTypes() -> ::windows::core::Result ::windows::core::Result { #[cfg(windows)] diff --git a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs index 908d27940c..63921d3ba6 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs @@ -80,7 +80,7 @@ impl IPhotoAcquireDeviceSelectionDialog_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IPhotoAcquireItem_Impl: Sized { fn GetItemName(&self) -> ::windows::core::Result; fn GetThumbnail(&self, sizethumbnail: &super::super::Foundation::SIZE) -> ::windows::core::Result; @@ -92,7 +92,7 @@ pub trait IPhotoAcquireItem_Impl: Sized { fn GetSubItemCount(&self) -> ::windows::core::Result; fn GetSubItemAt(&self, nitemindex: u32) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IPhotoAcquireItem_Vtbl { pub const fn new() -> IPhotoAcquireItem_Vtbl { unsafe extern "system" fn GetItemName(this: *mut ::core::ffi::c_void, pbstritemname: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { @@ -296,7 +296,7 @@ impl IPhotoAcquirePlugin_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPhotoAcquireProgressCB_Impl: Sized { fn Cancelled(&self) -> ::windows::core::Result; fn StartEnumeration(&self, pphotoacquiresource: &::core::option::Option) -> ::windows::core::Result<()>; @@ -318,7 +318,7 @@ pub trait IPhotoAcquireProgressCB_Impl: Sized { fn ErrorAdvise(&self, hr: ::windows::core::HRESULT, pszerrormessage: super::super::Foundation::PWSTR, nmessagetype: ERROR_ADVISE_MESSAGE_TYPE) -> ::windows::core::Result; fn GetUserInput(&self, riidtype: *const ::windows::core::GUID, punknown: &::core::option::Option<::windows::core::IUnknown>, ppropvarresult: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, ppropvardefault: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IPhotoAcquireProgressCB_Vtbl { pub const fn new() -> IPhotoAcquireProgressCB_Vtbl { unsafe extern "system" fn Cancelled(this: *mut ::core::ffi::c_void, pfcancelled: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { @@ -720,7 +720,7 @@ impl IPhotoProgressActionCB_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_WindowsAndMessaging"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_WindowsAndMessaging"))] pub trait IPhotoProgressDialog_Impl: Sized { fn Create(&self, hwndparent: super::super::Foundation::HWND) -> ::windows::core::Result<()>; fn GetWindow(&self) -> ::windows::core::Result; @@ -741,7 +741,7 @@ pub trait IPhotoProgressDialog_Impl: Sized { fn IsCancelled(&self) -> ::windows::core::Result; fn GetUserInput(&self, riidtype: *const ::windows::core::GUID, punknown: &::core::option::Option<::windows::core::IUnknown>, ppropvarresult: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, ppropvardefault: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_WindowsAndMessaging"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_WindowsAndMessaging"))] impl IPhotoProgressDialog_Vtbl { pub const fn new() -> IPhotoProgressDialog_Vtbl { unsafe extern "system" fn Create(this: *mut ::core::ffi::c_void, hwndparent: super::super::Foundation::HWND) -> ::windows::core::HRESULT { 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 1c5cdbd332..d4b8f14f57 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs @@ -296,14 +296,14 @@ impl IPhotoAcquireItem { let mut result__: super::super::Graphics::Gdi::HBITMAP = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetThumbnail)(::core::mem::transmute_copy(self), sizethumbnail.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_PictureAcquisition', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Media_PictureAcquisition', '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"))] pub unsafe fn GetProperty(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_PictureAcquisition', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Media_PictureAcquisition', '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"))] pub unsafe fn SetProperty(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pv: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetProperty)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(pv)).ok() } @@ -386,13 +386,13 @@ pub struct IPhotoAcquireItem_Vtbl { pub GetThumbnail: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, sizethumbnail: super::super::Foundation::SIZE, phbmpthumbnail: *mut super::super::Graphics::Gdi::HBITMAP) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] GetThumbnail: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pv: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] GetProperty: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub SetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pv: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] SetProperty: usize, #[cfg(feature = "Win32_System_Com")] pub GetStream: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppstream: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -656,8 +656,8 @@ impl IPhotoAcquireProgressCB { let mut result__: ERROR_ADVISE_RESULT = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).ErrorAdvise)(::core::mem::transmute_copy(self), ::core::mem::transmute(hr), pszerrormessage.into_param().abi(), ::core::mem::transmute(nmessagetype), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_PictureAcquisition', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_PictureAcquisition', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetUserInput<'a, Param1: ::windows::core::IntoParam<'a, ::windows::core::IUnknown>>(&self, riidtype: *const ::windows::core::GUID, punknown: Param1, ppropvarresult: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, ppropvardefault: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetUserInput)(::core::mem::transmute_copy(self), ::core::mem::transmute(riidtype), punknown.into_param().abi(), ::core::mem::transmute(ppropvarresult), ::core::mem::transmute(ppropvardefault)).ok() } @@ -739,9 +739,9 @@ pub struct IPhotoAcquireProgressCB_Vtbl { pub ErrorAdvise: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hr: ::windows::core::HRESULT, pszerrormessage: super::super::Foundation::PWSTR, nmessagetype: ERROR_ADVISE_MESSAGE_TYPE, pnerroradviseresult: *mut ERROR_ADVISE_RESULT) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] ErrorAdvise: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetUserInput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, riidtype: *const ::windows::core::GUID, punknown: *mut ::core::ffi::c_void, ppropvarresult: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, ppropvardefault: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetUserInput: usize, } #[doc = "*Required features: 'Win32_Media_PictureAcquisition'*"] @@ -1160,8 +1160,8 @@ impl IPhotoProgressDialog { let mut result__: super::super::Foundation::BOOL = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).IsCancelled)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Media_PictureAcquisition', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_PictureAcquisition', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetUserInput<'a, Param1: ::windows::core::IntoParam<'a, ::windows::core::IUnknown>>(&self, riidtype: *const ::windows::core::GUID, punknown: Param1, ppropvarresult: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, ppropvardefault: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetUserInput)(::core::mem::transmute_copy(self), ::core::mem::transmute(riidtype), punknown.into_param().abi(), ::core::mem::transmute(ppropvarresult), ::core::mem::transmute(ppropvardefault)).ok() } @@ -1269,9 +1269,9 @@ pub struct IPhotoProgressDialog_Vtbl { pub IsCancelled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfcancelled: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] IsCancelled: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetUserInput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, riidtype: *const ::windows::core::GUID, punknown: *mut ::core::ffi::c_void, ppropvarresult: *mut super::super::System::Com::StructuredStorage::PROPVARIANT, ppropvardefault: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetUserInput: usize, } #[doc = "*Required features: 'Win32_Media_PictureAcquisition'*"] diff --git a/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs index 782a415d5c..f9552acf52 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs @@ -64,7 +64,7 @@ impl IEnumSpObjectTokens_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com_StructuredStorage"))] pub trait ISpAudio_Impl: Sized + super::super::System::Com::ISequentialStream_Impl + super::super::System::Com::IStream_Impl + ISpStreamFormat_Impl { fn SetState(&self, newstate: SPAUDIOSTATE, ullreserved: u64) -> ::windows::core::Result<()>; fn SetFormat(&self, rguidfmtid: *const ::windows::core::GUID, pwaveformatex: *const super::Audio::WAVEFORMATEX) -> ::windows::core::Result<()>; @@ -78,7 +78,7 @@ pub trait ISpAudio_Impl: Sized + super::super::System::Com::ISequentialStream_Im fn GetBufferNotifySize(&self, pcbsize: *mut u32) -> ::windows::core::Result<()>; fn SetBufferNotifySize(&self, cbsize: u32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com_StructuredStorage"))] impl ISpAudio_Vtbl { pub const fn new() -> ISpAudio_Vtbl { unsafe extern "system" fn SetState(this: *mut ::core::ffi::c_void, newstate: SPAUDIOSTATE, ullreserved: u64) -> ::windows::core::HRESULT { @@ -592,7 +592,7 @@ impl ISpLexicon_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com_StructuredStorage"))] pub trait ISpMMSysAudio_Impl: Sized + super::super::System::Com::ISequentialStream_Impl + super::super::System::Com::IStream_Impl + ISpStreamFormat_Impl + ISpAudio_Impl { fn GetDeviceId(&self, pudeviceid: *mut u32) -> ::windows::core::Result<()>; fn SetDeviceId(&self, udeviceid: u32) -> ::windows::core::Result<()>; @@ -600,7 +600,7 @@ pub trait ISpMMSysAudio_Impl: Sized + super::super::System::Com::ISequentialStre fn GetLineId(&self, pulineid: *mut u32) -> ::windows::core::Result<()>; fn SetLineId(&self, ulineid: u32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com_StructuredStorage"))] impl ISpMMSysAudio_Vtbl { pub const fn new() -> ISpMMSysAudio_Vtbl { unsafe extern "system" fn GetDeviceId(this: *mut ::core::ffi::c_void, pudeviceid: *mut u32) -> ::windows::core::HRESULT { @@ -1677,7 +1677,7 @@ impl ISpRecoGrammar_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_Urlmon"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_Urlmon"))] pub trait ISpRecoGrammar2_Impl: Sized { fn GetRules(&self, ppcomemrules: *mut *mut SPRULE, punumrules: *mut u32) -> ::windows::core::Result<()>; fn LoadCmdFromFile2(&self, pszfilename: super::super::Foundation::PWSTR, options: SPLOADOPTIONS, pszsharinguri: super::super::Foundation::PWSTR, pszbaseuri: super::super::Foundation::PWSTR) -> ::windows::core::Result<()>; @@ -1688,7 +1688,7 @@ pub trait ISpRecoGrammar2_Impl: Sized { fn SetGrammarLoader(&self, ploader: &::core::option::Option) -> ::windows::core::Result<()>; fn SetSMLSecurityManager(&self, psmlsecuritymanager: &::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_Urlmon"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_Urlmon"))] impl ISpRecoGrammar2_Vtbl { pub const fn new() -> ISpRecoGrammar2_Vtbl { unsafe extern "system" fn GetRules(this: *mut ::core::ffi::c_void, ppcomemrules: *mut *mut SPRULE, punumrules: *mut u32) -> ::windows::core::HRESULT { @@ -2202,14 +2202,14 @@ impl ISpShortcut_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com_StructuredStorage"))] pub trait ISpStream_Impl: Sized + super::super::System::Com::ISequentialStream_Impl + super::super::System::Com::IStream_Impl + ISpStreamFormat_Impl { fn SetBaseStream(&self, pstream: &::core::option::Option, rguidformat: *const ::windows::core::GUID, pwaveformatex: *const super::Audio::WAVEFORMATEX) -> ::windows::core::Result<()>; fn GetBaseStream(&self) -> ::windows::core::Result; fn BindToFile(&self, pszfilename: super::super::Foundation::PWSTR, emode: SPFILEMODE, pformatid: *const ::windows::core::GUID, pwaveformatex: *const super::Audio::WAVEFORMATEX, ulleventinterest: u64) -> ::windows::core::Result<()>; fn Close(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com_StructuredStorage"))] impl ISpStream_Vtbl { pub const fn new() -> ISpStream_Vtbl { unsafe extern "system" fn SetBaseStream(this: *mut ::core::ffi::c_void, pstream: ::windows::core::RawPtr, rguidformat: *const ::windows::core::GUID, pwaveformatex: *const super::Audio::WAVEFORMATEX) -> ::windows::core::HRESULT { @@ -2250,11 +2250,11 @@ impl ISpStream_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com_StructuredStorage"))] pub trait ISpStreamFormat_Impl: Sized + super::super::System::Com::ISequentialStream_Impl + super::super::System::Com::IStream_Impl { fn GetFormat(&self, pguidformatid: *const ::windows::core::GUID) -> ::windows::core::Result<*mut super::Audio::WAVEFORMATEX>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com_StructuredStorage"))] impl ISpStreamFormat_Vtbl { pub const fn new() -> ISpStreamFormat_Vtbl { unsafe extern "system" fn GetFormat(this: *mut ::core::ffi::c_void, pguidformatid: *const ::windows::core::GUID, ppcomemwaveformatex: *mut *mut super::Audio::WAVEFORMATEX) -> ::windows::core::HRESULT { @@ -2274,7 +2274,7 @@ impl ISpStreamFormat_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com_StructuredStorage"))] pub trait ISpStreamFormatConverter_Impl: Sized + super::super::System::Com::ISequentialStream_Impl + super::super::System::Com::IStream_Impl + ISpStreamFormat_Impl { fn SetBaseStream(&self, pstream: &::core::option::Option, fsetformattobasestreamformat: super::super::Foundation::BOOL, fwritetobasestream: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; fn GetBaseStream(&self) -> ::windows::core::Result; @@ -2283,7 +2283,7 @@ pub trait ISpStreamFormatConverter_Impl: Sized + super::super::System::Com::ISeq fn ScaleConvertedToBaseOffset(&self, ulloffsetconvertedstream: u64) -> ::windows::core::Result; fn ScaleBaseToConvertedOffset(&self, ulloffsetbasestream: u64) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio", feature = "Win32_System_Com_StructuredStorage"))] impl ISpStreamFormatConverter_Vtbl { pub const fn new() -> ISpStreamFormatConverter_Vtbl { unsafe extern "system" fn SetBaseStream(this: *mut ::core::ffi::c_void, pstream: ::windows::core::RawPtr, fsetformattobasestreamformat: super::super::Foundation::BOOL, fwritetobasestream: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { 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 837852422e..1db8334482 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs @@ -1952,8 +1952,8 @@ impl ISpAudio { pub unsafe fn CopyTo<'a, Param0: ::windows::core::IntoParam<'a, super::super::System::Com::IStream>>(&self, pstm: Param0, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.CopyTo)(::core::mem::transmute_copy(self), pstm.into_param().abi(), ::core::mem::transmute(cb), ::core::mem::transmute(pcbread), ::core::mem::transmute(pcbwritten)).ok() } - #[doc = "*Required features: 'Win32_Media_Speech', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_Speech', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Commit(&self, grfcommitflags: super::super::System::Com::StructuredStorage::STGC) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.Commit)(::core::mem::transmute_copy(self), ::core::mem::transmute(grfcommitflags)).ok() } @@ -3215,8 +3215,8 @@ impl ISpMMSysAudio { pub unsafe fn CopyTo<'a, Param0: ::windows::core::IntoParam<'a, super::super::System::Com::IStream>>(&self, pstm: Param0, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.base.CopyTo)(::core::mem::transmute_copy(self), pstm.into_param().abi(), ::core::mem::transmute(cb), ::core::mem::transmute(pcbread), ::core::mem::transmute(pcbwritten)).ok() } - #[doc = "*Required features: 'Win32_Media_Speech', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_Speech', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Commit(&self, grfcommitflags: super::super::System::Com::StructuredStorage::STGC) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.base.Commit)(::core::mem::transmute_copy(self), ::core::mem::transmute(grfcommitflags)).ok() } @@ -6809,8 +6809,8 @@ impl ISpStream { pub unsafe fn CopyTo<'a, Param0: ::windows::core::IntoParam<'a, super::super::System::Com::IStream>>(&self, pstm: Param0, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.CopyTo)(::core::mem::transmute_copy(self), pstm.into_param().abi(), ::core::mem::transmute(cb), ::core::mem::transmute(pcbread), ::core::mem::transmute(pcbwritten)).ok() } - #[doc = "*Required features: 'Win32_Media_Speech', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_Speech', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Commit(&self, grfcommitflags: super::super::System::Com::StructuredStorage::STGC) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.Commit)(::core::mem::transmute_copy(self), ::core::mem::transmute(grfcommitflags)).ok() } @@ -7040,8 +7040,8 @@ impl ISpStreamFormat { pub unsafe fn CopyTo<'a, Param0: ::windows::core::IntoParam<'a, super::super::System::Com::IStream>>(&self, pstm: Param0, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.CopyTo)(::core::mem::transmute_copy(self), pstm.into_param().abi(), ::core::mem::transmute(cb), ::core::mem::transmute(pcbread), ::core::mem::transmute(pcbwritten)).ok() } - #[doc = "*Required features: 'Win32_Media_Speech', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_Speech', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Commit(&self, grfcommitflags: super::super::System::Com::StructuredStorage::STGC) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.Commit)(::core::mem::transmute_copy(self), ::core::mem::transmute(grfcommitflags)).ok() } @@ -7218,8 +7218,8 @@ impl ISpStreamFormatConverter { pub unsafe fn CopyTo<'a, Param0: ::windows::core::IntoParam<'a, super::super::System::Com::IStream>>(&self, pstm: Param0, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.CopyTo)(::core::mem::transmute_copy(self), pstm.into_param().abi(), ::core::mem::transmute(cb), ::core::mem::transmute(pcbread), ::core::mem::transmute(pcbwritten)).ok() } - #[doc = "*Required features: 'Win32_Media_Speech', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Media_Speech', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Commit(&self, grfcommitflags: super::super::System::Com::StructuredStorage::STGC) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.Commit)(::core::mem::transmute_copy(self), ::core::mem::transmute(grfcommitflags)).ok() } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs index 19f6ce58f8..b571d84b3d 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs @@ -6772,11 +6772,11 @@ impl IADsWinNTSystemInfo_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait ICommonQuery_Impl: Sized { fn OpenQueryWindow(&self, hwndparent: super::super::Foundation::HWND, pquerywnd: *mut OPENQUERYWINDOW, ppdataobject: *mut ::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ICommonQuery_Vtbl { pub const fn new() -> ICommonQuery_Vtbl { unsafe extern "system" fn OpenQueryWindow(this: *mut ::core::ffi::c_void, hwndparent: super::super::Foundation::HWND, pquerywnd: *mut OPENQUERYWINDOW, ppdataobject: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { 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 f3f204000b..460244c113 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs @@ -23023,8 +23023,8 @@ pub struct IADsWinNTSystemInfo_Vtbl { #[repr(transparent)] pub struct ICommonQuery(::windows::core::IUnknown); impl ICommonQuery { - #[doc = "*Required features: 'Win32_Networking_ActiveDirectory', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Networking_ActiveDirectory', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn OpenQueryWindow<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndparent: Param0, pquerywnd: *mut OPENQUERYWINDOW, ppdataobject: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).OpenQueryWindow)(::core::mem::transmute_copy(self), hwndparent.into_param().abi(), ::core::mem::transmute(pquerywnd), ::core::mem::transmute(ppdataobject)).ok() } @@ -23073,9 +23073,9 @@ unsafe impl ::windows::core::Interface for ICommonQuery { #[doc(hidden)] pub struct ICommonQuery_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub OpenQueryWindow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hwndparent: super::super::Foundation::HWND, pquerywnd: *mut OPENQUERYWINDOW, ppdataobject: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] OpenQueryWindow: usize, } #[doc = "*Required features: 'Win32_Networking_ActiveDirectory'*"] @@ -24690,8 +24690,8 @@ pub const NTDSTRANSPORT_OPT_IGNORE_SCHEDULES: u32 = 1u32; pub const NameTranslate: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x274fae1f_3626_11d1_a3a4_00c04fb950dc); pub const NetAddress: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb0b71247_4080_11d1_a3ac_00c04fb950dc); #[repr(C)] -#[doc = "*Required features: 'Win32_Networking_ActiveDirectory', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Networking_ActiveDirectory', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] pub struct OPENQUERYWINDOW { pub cbStruct: u32, pub dwFlags: u32, @@ -24701,7 +24701,7 @@ pub struct OPENQUERYWINDOW { pub pPersistQuery: ::core::option::Option, pub Anonymous: OPENQUERYWINDOW_0, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::clone::Clone for OPENQUERYWINDOW { fn clone(&self) -> Self { Self { @@ -24715,50 +24715,50 @@ impl ::core::clone::Clone for OPENQUERYWINDOW { } } } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows::core::Abi for OPENQUERYWINDOW { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::cmp::PartialEq for OPENQUERYWINDOW { fn eq(&self, other: &Self) -> bool { self.cbStruct == other.cbStruct && self.dwFlags == other.dwFlags && self.clsidHandler == other.clsidHandler && self.pHandlerParameters == other.pHandlerParameters && self.clsidDefaultForm == other.clsidDefaultForm && self.pPersistQuery == other.pPersistQuery && self.Anonymous == other.Anonymous } } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::cmp::Eq for OPENQUERYWINDOW {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::default::Default for OPENQUERYWINDOW { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: 'Win32_Networking_ActiveDirectory', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Networking_ActiveDirectory', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] pub union OPENQUERYWINDOW_0 { pub pFormParameters: *mut ::core::ffi::c_void, pub ppbFormParameters: ::core::mem::ManuallyDrop<::core::option::Option>, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::clone::Clone for OPENQUERYWINDOW_0 { fn clone(&self) -> Self { unsafe { ::core::mem::transmute_copy(self) } } } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows::core::Abi for OPENQUERYWINDOW_0 { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::cmp::PartialEq for OPENQUERYWINDOW_0 { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::cmp::Eq for OPENQUERYWINDOW_0 {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::default::Default for OPENQUERYWINDOW_0 { fn default() -> Self { unsafe { ::core::mem::zeroed() } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs index ad743d1a20..255587d818 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs @@ -226,7 +226,7 @@ impl AsyncIIdentityAuthentication_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait AsyncIIdentityProvider_Impl: Sized { fn Begin_GetIdentityEnum(&self, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn Finish_GetIdentityEnum(&self) -> ::windows::core::Result; @@ -245,7 +245,7 @@ pub trait AsyncIIdentityProvider_Impl: Sized { fn Begin_UnAdvise(&self, dwcookie: u32) -> ::windows::core::Result<()>; fn Finish_UnAdvise(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl AsyncIIdentityProvider_Vtbl { pub const fn new() -> AsyncIIdentityProvider_Vtbl { unsafe extern "system" fn Begin_GetIdentityEnum(this: *mut ::core::ffi::c_void, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { @@ -382,7 +382,7 @@ impl AsyncIIdentityProvider_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait AsyncIIdentityStore_Impl: Sized { fn Begin_GetCount(&self) -> ::windows::core::Result<()>; fn Finish_GetCount(&self) -> ::windows::core::Result; @@ -397,7 +397,7 @@ pub trait AsyncIIdentityStore_Impl: Sized { fn Begin_Reset(&self) -> ::windows::core::Result<()>; fn Finish_Reset(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl AsyncIIdentityStore_Vtbl { pub const fn new() -> AsyncIIdentityStore_Vtbl { unsafe extern "system" fn Begin_GetCount(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -682,7 +682,7 @@ impl IIdentityAuthentication_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IIdentityProvider_Impl: Sized { fn GetIdentityEnum(&self, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result; fn Create(&self, lpszusername: super::super::super::super::Foundation::PWSTR, pppropertystore: *mut ::core::option::Option, pkeywordstoadd: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; @@ -693,7 +693,7 @@ pub trait IIdentityProvider_Impl: Sized { fn Advise(&self, pidentityadvise: &::core::option::Option, dwidentityupdateevents: IdentityUpdateEvent) -> ::windows::core::Result; fn UnAdvise(&self, dwcookie: u32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IIdentityProvider_Vtbl { pub const fn new() -> IIdentityProvider_Vtbl { unsafe extern "system" fn GetIdentityEnum(this: *mut ::core::ffi::c_void, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppidentityenum: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -776,7 +776,7 @@ impl IIdentityProvider_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IIdentityStore_Impl: Sized { fn GetCount(&self) -> ::windows::core::Result; fn GetAt(&self, dwprovider: u32, pprovguid: *mut ::windows::core::GUID, ppidentityprovider: *mut ::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; @@ -785,7 +785,7 @@ pub trait IIdentityStore_Impl: Sized { fn EnumerateIdentities(&self, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result; fn Reset(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IIdentityStore_Vtbl { pub const fn new() -> IIdentityStore_Vtbl { unsafe extern "system" fn GetCount(this: *mut ::core::ffi::c_void, pdwproviders: *mut u32) -> ::windows::core::HRESULT { 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 7e0aa18b84..d6872c2684 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 @@ -385,8 +385,8 @@ pub struct AsyncIIdentityAuthentication_Vtbl { #[repr(transparent)] pub struct AsyncIIdentityProvider(::windows::core::IUnknown); impl AsyncIIdentityProvider { - #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', '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"))] pub unsafe fn Begin_GetIdentityEnum(&self, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Begin_GetIdentityEnum)(::core::mem::transmute_copy(self), ::core::mem::transmute(eidentitytype), ::core::mem::transmute(pfilterkey), ::core::mem::transmute(pfilterpropvarvalue)).ok() } @@ -396,8 +396,8 @@ impl AsyncIIdentityProvider { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).Finish_GetIdentityEnum)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Begin_Create<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::PWSTR>>(&self, lpszusername: Param0, pkeywordstoadd: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Begin_Create)(::core::mem::transmute_copy(self), lpszusername.into_param().abi(), ::core::mem::transmute(pkeywordstoadd)).ok() } @@ -416,8 +416,8 @@ impl AsyncIIdentityProvider { pub unsafe fn Finish_Import(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Finish_Import)(::core::mem::transmute_copy(self)).ok() } - #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Begin_Delete<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::PWSTR>>(&self, lpszuniqueid: Param0, pkeywordstodelete: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Begin_Delete)(::core::mem::transmute_copy(self), lpszuniqueid.into_param().abi(), ::core::mem::transmute(pkeywordstodelete)).ok() } @@ -508,17 +508,17 @@ unsafe impl ::windows::core::Interface for AsyncIIdentityProvider { #[doc(hidden)] pub struct AsyncIIdentityProvider_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub Begin_GetIdentityEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] Begin_GetIdentityEnum: usize, #[cfg(feature = "Win32_System_Com")] pub Finish_GetIdentityEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppidentityenum: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Finish_GetIdentityEnum: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub Begin_Create: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpszusername: super::super::super::super::Foundation::PWSTR, pkeywordstoadd: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] Begin_Create: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub Finish_Create: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pppropertystore: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -529,9 +529,9 @@ pub struct AsyncIIdentityProvider_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] Begin_Import: usize, pub Finish_Import: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub Begin_Delete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpszuniqueid: super::super::super::super::Foundation::PWSTR, pkeywordstodelete: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] Begin_Delete: usize, pub Finish_Delete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, #[cfg(feature = "Win32_Foundation")] @@ -591,8 +591,8 @@ impl AsyncIIdentityStore { pub unsafe fn Finish_ConvertToSid(&self, psid: *mut u8, pcbrequiredsid: *mut u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Finish_ConvertToSid)(::core::mem::transmute_copy(self), ::core::mem::transmute(psid), ::core::mem::transmute(pcbrequiredsid)).ok() } - #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', '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"))] pub unsafe fn Begin_EnumerateIdentities(&self, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Begin_EnumerateIdentities)(::core::mem::transmute_copy(self), ::core::mem::transmute(eidentitytype), ::core::mem::transmute(pfilterkey), ::core::mem::transmute(pfilterpropvarvalue)).ok() } @@ -669,9 +669,9 @@ pub struct AsyncIIdentityStore_Vtbl { #[cfg(not(feature = "Win32_Foundation"))] Begin_ConvertToSid: usize, pub Finish_ConvertToSid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psid: *mut u8, pcbrequiredsid: *mut u16) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub Begin_EnumerateIdentities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] Begin_EnumerateIdentities: usize, #[cfg(feature = "Win32_System_Com")] pub Finish_EnumerateIdentities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppidentityenum: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1122,14 +1122,14 @@ pub struct IIdentityAuthentication_Vtbl { #[repr(transparent)] pub struct IIdentityProvider(::windows::core::IUnknown); impl IIdentityProvider { - #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', '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"))] pub unsafe fn GetIdentityEnum(&self, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetIdentityEnum)(::core::mem::transmute_copy(self), ::core::mem::transmute(eidentitytype), ::core::mem::transmute(pfilterkey), ::core::mem::transmute(pfilterpropvarvalue), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', '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"))] pub unsafe fn Create<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::PWSTR>>(&self, lpszusername: Param0, pppropertystore: *mut ::core::option::Option, pkeywordstoadd: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Create)(::core::mem::transmute_copy(self), lpszusername.into_param().abi(), ::core::mem::transmute(pppropertystore), ::core::mem::transmute(pkeywordstoadd)).ok() } @@ -1138,8 +1138,8 @@ impl IIdentityProvider { pub unsafe fn Import<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::UI::Shell::PropertiesSystem::IPropertyStore>>(&self, ppropertystore: Param0) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Import)(::core::mem::transmute_copy(self), ppropertystore.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Delete<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::PWSTR>>(&self, lpszuniqueid: Param0, pkeywordstodelete: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Delete)(::core::mem::transmute_copy(self), lpszuniqueid.into_param().abi(), ::core::mem::transmute(pkeywordstodelete)).ok() } @@ -1209,21 +1209,21 @@ unsafe impl ::windows::core::Interface for IIdentityProvider { #[doc(hidden)] pub struct IIdentityProvider_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetIdentityEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppidentityenum: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] GetIdentityEnum: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub Create: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpszusername: super::super::super::super::Foundation::PWSTR, pppropertystore: *mut ::windows::core::RawPtr, pkeywordstoadd: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] Create: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub Import: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppropertystore: ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] Import: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub Delete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpszuniqueid: super::super::super::super::Foundation::PWSTR, pkeywordstodelete: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] Delete: usize, #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))] pub FindByUniqueID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpszuniqueid: super::super::super::super::Foundation::PWSTR, pppropertystore: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -1259,8 +1259,8 @@ impl IIdentityStore { pub unsafe fn ConvertToSid<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::super::Foundation::PWSTR>>(&self, lpszuniqueid: Param0, providerguid: *const ::windows::core::GUID, cbsid: u16, psid: *mut u8, pcbrequiredsid: *mut u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ConvertToSid)(::core::mem::transmute_copy(self), lpszuniqueid.into_param().abi(), ::core::mem::transmute(providerguid), ::core::mem::transmute(cbsid), ::core::mem::transmute(psid), ::core::mem::transmute(pcbrequiredsid)).ok() } - #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_Security_Authentication_Identity_Provider', '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"))] pub unsafe fn EnumerateIdentities(&self, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).EnumerateIdentities)(::core::mem::transmute_copy(self), ::core::mem::transmute(eidentitytype), ::core::mem::transmute(pfilterkey), ::core::mem::transmute(pfilterpropvarvalue), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -1324,9 +1324,9 @@ pub struct IIdentityStore_Vtbl { pub ConvertToSid: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpszuniqueid: super::super::super::super::Foundation::PWSTR, providerguid: *const ::windows::core::GUID, cbsid: u16, psid: *mut u8, pcbrequiredsid: *mut u16) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] ConvertToSid: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub EnumerateIdentities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppidentityenum: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] EnumerateIdentities: usize, pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, } 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 95c06d7262..0f940952d6 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/WinTrust/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/WinTrust/mod.rs @@ -316,8 +316,8 @@ impl ::core::default::Default for CRYPT_PROVIDER_CERT { } } #[repr(C)] -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub struct CRYPT_PROVIDER_DATA { pub cbStruct: u32, pub pWintrustData: *mut WINTRUST_DATA, @@ -353,59 +353,59 @@ pub struct CRYPT_PROVIDER_DATA { pub pSigState: *mut CRYPT_PROVIDER_SIGSTATE, pub pSigSettings: *mut WINTRUST_SIGNATURE_SETTINGS, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::marker::Copy for CRYPT_PROVIDER_DATA {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::clone::Clone for CRYPT_PROVIDER_DATA { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] unsafe impl ::windows::core::Abi for CRYPT_PROVIDER_DATA { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::cmp::PartialEq for CRYPT_PROVIDER_DATA { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::cmp::Eq for CRYPT_PROVIDER_DATA {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::default::Default for CRYPT_PROVIDER_DATA { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub union CRYPT_PROVIDER_DATA_0 { pub pPDSip: *mut PROVDATA_SIP, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::marker::Copy for CRYPT_PROVIDER_DATA_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::clone::Clone for CRYPT_PROVIDER_DATA_0 { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] unsafe impl ::windows::core::Abi for CRYPT_PROVIDER_DATA_0 { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::cmp::PartialEq for CRYPT_PROVIDER_DATA_0 { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::cmp::Eq for CRYPT_PROVIDER_DATA_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::default::Default for CRYPT_PROVIDER_DATA_0 { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -445,8 +445,8 @@ impl ::core::default::Default for CRYPT_PROVIDER_DEFUSAGE { } } #[repr(C)] -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub struct CRYPT_PROVIDER_FUNCTIONS { pub cbStruct: u32, pub pfnAlloc: PFN_CPD_MEM_ALLOC, @@ -465,15 +465,15 @@ pub struct CRYPT_PROVIDER_FUNCTIONS { pub psUIpfns: *mut CRYPT_PROVUI_FUNCS, pub pfnCleanupPolicy: PFN_PROVIDER_CLEANUP_CALL, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::marker::Copy for CRYPT_PROVIDER_FUNCTIONS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::clone::Clone for CRYPT_PROVIDER_FUNCTIONS { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::fmt::Debug for CRYPT_PROVIDER_FUNCTIONS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("CRYPT_PROVIDER_FUNCTIONS") @@ -496,19 +496,19 @@ impl ::core::fmt::Debug for CRYPT_PROVIDER_FUNCTIONS { .finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] unsafe impl ::windows::core::Abi for CRYPT_PROVIDER_FUNCTIONS { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::cmp::PartialEq for CRYPT_PROVIDER_FUNCTIONS { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::cmp::Eq for CRYPT_PROVIDER_FUNCTIONS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::default::Default for CRYPT_PROVIDER_FUNCTIONS { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -755,8 +755,8 @@ impl ::core::default::Default for CRYPT_PROVUI_DATA { } } #[repr(C)] -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub struct CRYPT_PROVUI_FUNCS { pub cbStruct: u32, pub psUIData: *mut CRYPT_PROVUI_DATA, @@ -765,33 +765,33 @@ pub struct CRYPT_PROVUI_FUNCS { pub pfnOnAdvancedClick: PFN_PROVUI_CALL, pub pfnOnAdvancedClickDefault: PFN_PROVUI_CALL, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::marker::Copy for CRYPT_PROVUI_FUNCS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::clone::Clone for CRYPT_PROVUI_FUNCS { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::fmt::Debug for CRYPT_PROVUI_FUNCS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("CRYPT_PROVUI_FUNCS").field("cbStruct", &self.cbStruct).field("psUIData", &self.psUIData).field("pfnOnMoreInfoClick", &self.pfnOnMoreInfoClick.map(|f| f as usize)).field("pfnOnMoreInfoClickDefault", &self.pfnOnMoreInfoClickDefault.map(|f| f as usize)).field("pfnOnAdvancedClick", &self.pfnOnAdvancedClick.map(|f| f as usize)).field("pfnOnAdvancedClickDefault", &self.pfnOnAdvancedClickDefault.map(|f| f as usize)).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] unsafe impl ::windows::core::Abi for CRYPT_PROVUI_FUNCS { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::cmp::PartialEq for CRYPT_PROVUI_FUNCS { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::cmp::Eq for CRYPT_PROVUI_FUNCS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::default::Default for CRYPT_PROVUI_FUNCS { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -1083,17 +1083,17 @@ pub unsafe fn OpenPersonalTrustDBDialogEx<'a, Param0: ::windows::core::IntoParam #[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub type PFN_ALLOCANDFILLDEFUSAGE = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_CPD_ADD_CERT = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_CPD_ADD_PRIVDATA = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_CPD_ADD_SGNR = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_CPD_ADD_STORE = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "*Required features: 'Win32_Security_WinTrust'*"] pub type PFN_CPD_MEM_ALLOC = ::core::option::Option *mut ::core::ffi::c_void>; @@ -1102,39 +1102,39 @@ pub type PFN_CPD_MEM_FREE = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_CERTCHKPOLICY_CALL = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_CERTTRUST_CALL = ::core::option::Option ::windows::core::HRESULT>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_CLEANUP_CALL = ::core::option::Option ::windows::core::HRESULT>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_FINALPOLICY_CALL = ::core::option::Option ::windows::core::HRESULT>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_INIT_CALL = ::core::option::Option ::windows::core::HRESULT>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_OBJTRUST_CALL = ::core::option::Option ::windows::core::HRESULT>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_SIGTRUST_CALL = ::core::option::Option ::windows::core::HRESULT>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVIDER_TESTFINALPOLICY_CALL = ::core::option::Option ::windows::core::HRESULT>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_PROVUI_CALL = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub type PFN_WTD_GENERIC_CHAIN_POLICY_CALLBACK = ::core::option::Option ::windows::core::HRESULT>; #[repr(C)] -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub struct PROVDATA_SIP { pub cbStruct: u32, pub gSubject: ::windows::core::GUID, @@ -1144,33 +1144,33 @@ pub struct PROVDATA_SIP { pub psSipCATSubjectInfo: *mut super::Cryptography::Sip::SIP_SUBJECTINFO, pub psIndirectData: *mut super::Cryptography::Sip::SIP_INDIRECT_DATA, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::marker::Copy for PROVDATA_SIP {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::clone::Clone for PROVDATA_SIP { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::fmt::Debug for PROVDATA_SIP { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("PROVDATA_SIP").field("cbStruct", &self.cbStruct).field("gSubject", &self.gSubject).field("pSip", &self.pSip).field("pCATSip", &self.pCATSip).field("psSipSubjectInfo", &self.psSipSubjectInfo).field("psSipCATSubjectInfo", &self.psSipCATSubjectInfo).field("psIndirectData", &self.psIndirectData).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] unsafe impl ::windows::core::Abi for PROVDATA_SIP { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::cmp::PartialEq for PROVDATA_SIP { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::cmp::Eq for PROVDATA_SIP {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::default::Default for PROVDATA_SIP { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -2899,8 +2899,8 @@ impl ::core::default::Default for WTD_GENERIC_CHAIN_POLICY_CREATE_INFO_0 { } } #[repr(C)] -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub struct WTD_GENERIC_CHAIN_POLICY_DATA { pub Anonymous: WTD_GENERIC_CHAIN_POLICY_DATA_0, pub pSignerChainInfo: *mut WTD_GENERIC_CHAIN_POLICY_CREATE_INFO, @@ -2908,60 +2908,60 @@ pub struct WTD_GENERIC_CHAIN_POLICY_DATA { pub pfnPolicyCallback: PFN_WTD_GENERIC_CHAIN_POLICY_CALLBACK, pub pvPolicyArg: *mut ::core::ffi::c_void, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_DATA {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_DATA { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] unsafe impl ::windows::core::Abi for WTD_GENERIC_CHAIN_POLICY_DATA { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::cmp::PartialEq for WTD_GENERIC_CHAIN_POLICY_DATA { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::cmp::Eq for WTD_GENERIC_CHAIN_POLICY_DATA {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::default::Default for WTD_GENERIC_CHAIN_POLICY_DATA { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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"))] pub union WTD_GENERIC_CHAIN_POLICY_DATA_0 { pub cbStruct: u32, pub cbSize: u32, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_DATA_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_DATA_0 { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] unsafe impl ::windows::core::Abi for WTD_GENERIC_CHAIN_POLICY_DATA_0 { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::cmp::PartialEq for WTD_GENERIC_CHAIN_POLICY_DATA_0 { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::cmp::Eq for WTD_GENERIC_CHAIN_POLICY_DATA_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] impl ::core::default::Default for WTD_GENERIC_CHAIN_POLICY_DATA_0 { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -3040,8 +3040,8 @@ impl ::core::default::Default for WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO_0 { } #[doc = "*Required features: 'Win32_Security_WinTrust'*"] pub const WTD_PROV_FLAGS_MASK: u32 = 65535u32; -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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<()> { #[cfg(windows)] @@ -3085,8 +3085,8 @@ pub unsafe fn WTHelperGetProvCertFromChain(psgnr: *mut CRYPT_PROVIDER_SGNR, idxc #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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 { #[cfg(windows)] @@ -3100,8 +3100,8 @@ pub unsafe fn WTHelperGetProvPrivateDataFromChain(pprovdata: *mut CRYPT_PROVIDER #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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 WTHelperGetProvSignerFromChain<'a, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::BOOL>>(pprovdata: *mut CRYPT_PROVIDER_DATA, idxsigner: u32, fcountersigner: Param2, idxcountersigner: u32) -> *mut CRYPT_PROVIDER_SGNR { #[cfg(windows)] @@ -3115,8 +3115,8 @@ pub unsafe fn WTHelperGetProvSignerFromChain<'a, Param2: ::windows::core::IntoPa #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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 WTHelperProvDataFromStateData<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::HANDLE>>(hstatedata: Param0) -> *mut CRYPT_PROVIDER_DATA { #[cfg(windows)] @@ -3235,8 +3235,8 @@ pub unsafe fn WintrustGetRegPolicyFlags(pdwpolicyflags: *mut WINTRUST_POLICY_FLA #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_Security_WinTrust', 'Win32_Foundation', 'Win32_Security_Cryptography', 'Win32_Security_Cryptography_Catalog', 'Win32_Security_Cryptography_Sip'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +#[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 { #[cfg(windows)] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs index 255f659481..a9f836ed79 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs @@ -4857,14 +4857,14 @@ impl IRedbookDiscMaster_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IStreamConcatenate_Impl: Sized + super::super::System::Com::ISequentialStream_Impl + super::super::System::Com::IStream_Impl { fn Initialize(&self, stream1: &::core::option::Option, stream2: &::core::option::Option) -> ::windows::core::Result<()>; fn Initialize2(&self, streams: *const ::core::option::Option, streamcount: u32) -> ::windows::core::Result<()>; fn Append(&self, stream: &::core::option::Option) -> ::windows::core::Result<()>; fn Append2(&self, streams: *const ::core::option::Option, streamcount: u32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IStreamConcatenate_Vtbl { pub const fn new() -> IStreamConcatenate_Vtbl { unsafe extern "system" fn Initialize(this: *mut ::core::ffi::c_void, stream1: ::windows::core::RawPtr, stream2: ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -4899,11 +4899,11 @@ impl IStreamConcatenate_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IStreamInterleave_Impl: Sized + super::super::System::Com::ISequentialStream_Impl + super::super::System::Com::IStream_Impl { fn Initialize(&self, streams: *const ::core::option::Option, interleavesizes: *const u32, streamcount: u32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IStreamInterleave_Vtbl { pub const fn new() -> IStreamInterleave_Vtbl { unsafe extern "system" fn Initialize(this: *mut ::core::ffi::c_void, streams: *const ::windows::core::RawPtr, interleavesizes: *const u32, streamcount: u32) -> ::windows::core::HRESULT { @@ -4917,14 +4917,14 @@ impl IStreamInterleave_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IStreamPseudoRandomBased_Impl: Sized + super::super::System::Com::ISequentialStream_Impl + super::super::System::Com::IStream_Impl { fn SetSeed(&self, value: u32) -> ::windows::core::Result<()>; fn Seed(&self) -> ::windows::core::Result; fn SetExtendedSeed(&self, values: *const u32, ecount: u32) -> ::windows::core::Result<()>; fn ExtendedSeed(&self, values: *mut *mut u32, ecount: *mut u32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IStreamPseudoRandomBased_Vtbl { pub const fn new() -> IStreamPseudoRandomBased_Vtbl { unsafe extern "system" fn SetSeed(this: *mut ::core::ffi::c_void, value: u32) -> ::windows::core::HRESULT { 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 c0b91825ea..e5bfb3e323 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs @@ -11185,8 +11185,8 @@ impl IStreamConcatenate { pub unsafe fn CopyTo<'a, Param0: ::windows::core::IntoParam<'a, super::super::System::Com::IStream>>(&self, pstm: Param0, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.CopyTo)(::core::mem::transmute_copy(self), pstm.into_param().abi(), ::core::mem::transmute(cb), ::core::mem::transmute(pcbread), ::core::mem::transmute(pcbwritten)).ok() } - #[doc = "*Required features: 'Win32_Storage_Imapi', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Storage_Imapi', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Commit(&self, grfcommitflags: super::super::System::Com::StructuredStorage::STGC) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.Commit)(::core::mem::transmute_copy(self), ::core::mem::transmute(grfcommitflags)).ok() } @@ -11389,8 +11389,8 @@ impl IStreamInterleave { pub unsafe fn CopyTo<'a, Param0: ::windows::core::IntoParam<'a, super::super::System::Com::IStream>>(&self, pstm: Param0, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.CopyTo)(::core::mem::transmute_copy(self), pstm.into_param().abi(), ::core::mem::transmute(cb), ::core::mem::transmute(pcbread), ::core::mem::transmute(pcbwritten)).ok() } - #[doc = "*Required features: 'Win32_Storage_Imapi', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Storage_Imapi', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Commit(&self, grfcommitflags: super::super::System::Com::StructuredStorage::STGC) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.Commit)(::core::mem::transmute_copy(self), ::core::mem::transmute(grfcommitflags)).ok() } @@ -11566,8 +11566,8 @@ impl IStreamPseudoRandomBased { pub unsafe fn CopyTo<'a, Param0: ::windows::core::IntoParam<'a, super::super::System::Com::IStream>>(&self, pstm: Param0, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.CopyTo)(::core::mem::transmute_copy(self), pstm.into_param().abi(), ::core::mem::transmute(cb), ::core::mem::transmute(pcbread), ::core::mem::transmute(pcbwritten)).ok() } - #[doc = "*Required features: 'Win32_Storage_Imapi', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Storage_Imapi', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Commit(&self, grfcommitflags: super::super::System::Com::StructuredStorage::STGC) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.Commit)(::core::mem::transmute_copy(self), ::core::mem::transmute(grfcommitflags)).ok() } @@ -12316,8 +12316,8 @@ pub const NMP_PROCESS_CONTROL: u32 = 2u32; pub const NMP_PROCESS_MODERATOR: u32 = 4u32; #[doc = "*Required features: 'Win32_Storage_Imapi'*"] pub const NMP_PROCESS_POST: u32 = 1u32; -#[doc = "*Required features: 'Win32_Storage_Imapi', 'Win32_System_AddressBook', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_System_AddressBook", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_Storage_Imapi', 'Win32_System_AddressBook', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_System_AddressBook", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn OpenIMsgOnIStg<'a, Param4: ::windows::core::IntoParam<'a, super::super::System::Com::IMalloc>, Param6: ::windows::core::IntoParam<'a, super::super::System::Com::StructuredStorage::IStorage>>(lpmsgsess: *mut _MSGSESS, lpallocatebuffer: super::super::System::AddressBook::LPALLOCATEBUFFER, lpallocatemore: super::super::System::AddressBook::LPALLOCATEMORE, lpfreebuffer: super::super::System::AddressBook::LPFREEBUFFER, lpmalloc: Param4, lpmapisup: *mut ::core::ffi::c_void, lpstg: Param6, lpfmsgcallrelease: *mut MSGCALLRELEASE, ulcallerdata: u32, ulflags: u32, lppmsg: *mut ::core::option::Option) -> i32 { #[cfg(windows)] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs index f15d4df33b..8a5b64d7b7 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs @@ -1,4 +1,4 @@ -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IFilter_Impl: Sized { fn Init(&self, grfflags: u32, cattributes: u32, aattributes: *const FULLPROPSPEC, pflags: *mut u32) -> i32; fn GetChunk(&self, pstat: *mut STAT_CHUNK) -> i32; @@ -6,7 +6,7 @@ pub trait IFilter_Impl: Sized { fn GetValue(&self, pppropvalue: *mut *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> i32; fn BindRegion(&self, origpos: &FILTERREGION, riid: *const ::windows::core::GUID, ppunk: *mut *mut ::core::ffi::c_void) -> i32; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IFilter_Vtbl { pub const fn new() -> IFilter_Vtbl { unsafe extern "system" fn Init(this: *mut ::core::ffi::c_void, grfflags: u32, cattributes: u32, aattributes: *const FULLPROPSPEC, pflags: *mut u32) -> i32 { 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 3b53a62604..89770baaf9 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs @@ -744,8 +744,8 @@ impl IFilter { pub unsafe fn GetText(&self, pcwcbuffer: *mut u32, awcbuffer: super::super::Foundation::PWSTR) -> i32 { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetText)(::core::mem::transmute_copy(self), ::core::mem::transmute(pcwcbuffer), ::core::mem::transmute(awcbuffer))) } - #[doc = "*Required features: 'Win32_Storage_IndexServer', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Storage_IndexServer', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValue(&self, pppropvalue: *mut *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> i32 { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(pppropvalue))) } @@ -810,9 +810,9 @@ pub struct IFilter_Vtbl { pub GetText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcwcbuffer: *mut u32, awcbuffer: super::super::Foundation::PWSTR) -> i32, #[cfg(not(feature = "Win32_Foundation"))] GetText: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pppropvalue: *mut *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> i32, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetValue: usize, pub BindRegion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, origpos: FILTERREGION, riid: *const ::windows::core::GUID, ppunk: *mut *mut ::core::ffi::c_void) -> i32, } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs index 9eeba833f2..f65a197e3b 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs @@ -6231,7 +6231,7 @@ impl IXpsSignatureCollection_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Security_Cryptography", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub trait IXpsSignatureManager_Impl: Sized { fn LoadPackageFile(&self, filename: super::super::Foundation::PWSTR) -> ::windows::core::Result<()>; fn LoadPackageStream(&self, stream: &::core::option::Option) -> ::windows::core::Result<()>; @@ -6245,7 +6245,7 @@ pub trait IXpsSignatureManager_Impl: Sized { fn SavePackageToFile(&self, filename: super::super::Foundation::PWSTR, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, flagsandattributes: u32) -> ::windows::core::Result<()>; fn SavePackageToStream(&self, stream: &::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Security_Cryptography", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] impl IXpsSignatureManager_Vtbl { pub const fn new() -> IXpsSignatureManager_Vtbl { unsafe extern "system" fn LoadPackageFile(this: *mut ::core::ffi::c_void, filename: super::super::Foundation::PWSTR) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs index c644b63c96..adbbbe74b9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs @@ -20961,12 +20961,12 @@ impl IDebugExpressionContext_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub trait IDebugExtendedProperty_Impl: Sized + IDebugProperty_Impl { fn GetExtendedPropertyInfo(&self, dwfieldspec: u32, nradix: u32) -> ::windows::core::Result; fn EnumExtendedMembers(&self, dwfieldspec: u32, nradix: u32) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl IDebugExtendedProperty_Vtbl { pub const fn new() -> IDebugExtendedProperty_Vtbl { unsafe extern "system" fn GetExtendedPropertyInfo(this: *mut ::core::ffi::c_void, dwfieldspec: u32, nradix: u32, pextendedpropertyinfo: *mut ExtendedDebugPropertyInfo) -> ::windows::core::HRESULT { @@ -30003,7 +30003,7 @@ impl IEnumDebugExpressionContexts_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub trait IEnumDebugExtendedPropertyInfo_Impl: Sized { fn Next(&self, celt: u32, rgextendedpropertyinfo: *mut ExtendedDebugPropertyInfo, pceltfetched: *mut u32) -> ::windows::core::Result<()>; fn Skip(&self, celt: u32) -> ::windows::core::Result<()>; @@ -30011,7 +30011,7 @@ pub trait IEnumDebugExtendedPropertyInfo_Impl: Sized { fn Clone(&self) -> ::windows::core::Result; fn GetCount(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl IEnumDebugExtendedPropertyInfo_Vtbl { pub const fn new() -> IEnumDebugExtendedPropertyInfo_Vtbl { unsafe extern "system" fn Next(this: *mut ::core::ffi::c_void, celt: u32, rgextendedpropertyinfo: *mut ExtendedDebugPropertyInfo, pceltfetched: *mut u32) -> ::windows::core::HRESULT { 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 af4b2d0cc9..79512ab0d0 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 @@ -8534,8 +8534,8 @@ impl ::core::fmt::Debug for ErrorClass { } } #[repr(C)] -#[doc = "*Required features: 'Win32_System_Diagnostics_Debug', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[doc = "*Required features: 'Win32_System_Diagnostics_Debug', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub struct ExtendedDebugPropertyInfo { pub dwValidFields: u32, pub pszName: super::super::super::Foundation::PWSTR, @@ -8550,7 +8550,7 @@ pub struct ExtendedDebugPropertyInfo { pub plbValue: ::core::option::Option, pub pDebugExtProp: ::core::option::Option, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::clone::Clone for ExtendedDebugPropertyInfo { fn clone(&self) -> Self { Self { @@ -8569,19 +8569,19 @@ impl ::core::clone::Clone for ExtendedDebugPropertyInfo { } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] unsafe impl ::windows::core::Abi for ExtendedDebugPropertyInfo { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::cmp::PartialEq for ExtendedDebugPropertyInfo { fn eq(&self, other: &Self) -> bool { self.dwValidFields == other.dwValidFields && self.pszName == other.pszName && self.pszType == other.pszType && self.pszValue == other.pszValue && self.pszFullName == other.pszFullName && self.dwAttrib == other.dwAttrib && self.pDebugProp == other.pDebugProp && self.nDISPID == other.nDISPID && self.nType == other.nType && self.varValue == other.varValue && self.plbValue == other.plbValue && self.pDebugExtProp == other.pDebugExtProp } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::cmp::Eq for ExtendedDebugPropertyInfo {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::default::Default for ExtendedDebugPropertyInfo { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -33104,8 +33104,8 @@ impl IDebugExtendedProperty { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetParent)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_System_Diagnostics_Debug', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_System_Diagnostics_Debug', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn GetExtendedPropertyInfo(&self, dwfieldspec: u32, nradix: u32) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetExtendedPropertyInfo)(::core::mem::transmute_copy(self), ::core::mem::transmute(dwfieldspec), ::core::mem::transmute(nradix), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -33180,9 +33180,9 @@ unsafe impl ::windows::core::Interface for IDebugExtendedProperty { #[doc(hidden)] pub struct IDebugExtendedProperty_Vtbl { pub base: IDebugProperty_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub GetExtendedPropertyInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwfieldspec: u32, nradix: u32, pextendedpropertyinfo: *mut ExtendedDebugPropertyInfo) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole")))] GetExtendedPropertyInfo: usize, pub EnumExtendedMembers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwfieldspec: u32, nradix: u32, ppeepi: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, } @@ -43973,8 +43973,8 @@ pub struct IEnumDebugExpressionContexts_Vtbl { #[repr(transparent)] pub struct IEnumDebugExtendedPropertyInfo(::windows::core::IUnknown); impl IEnumDebugExtendedPropertyInfo { - #[doc = "*Required features: 'Win32_System_Diagnostics_Debug', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_System_Diagnostics_Debug', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Next(&self, celt: u32, rgextendedpropertyinfo: *mut ExtendedDebugPropertyInfo, pceltfetched: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Next)(::core::mem::transmute_copy(self), ::core::mem::transmute(celt), ::core::mem::transmute(rgextendedpropertyinfo), ::core::mem::transmute(pceltfetched)).ok() } @@ -44041,9 +44041,9 @@ unsafe impl ::windows::core::Interface for IEnumDebugExtendedPropertyInfo { #[doc(hidden)] pub struct IEnumDebugExtendedPropertyInfo_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub Next: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: u32, rgextendedpropertyinfo: *mut ExtendedDebugPropertyInfo, pceltfetched: *mut u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole")))] Next: usize, pub Skip: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, celt: u32) -> ::windows::core::HRESULT, pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs index 586129b734..1b00d24a13 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs @@ -1,8 +1,8 @@ -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub trait IAdviseSinkEx_Impl: Sized + super::Com::IAdviseSink_Impl { fn OnViewStatusChange(&self, dwviewstatus: u32); } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] impl IAdviseSinkEx_Vtbl { pub const fn new() -> IAdviseSinkEx_Vtbl { unsafe extern "system" fn OnViewStatusChange(this: *mut ::core::ffi::c_void, dwviewstatus: u32) { @@ -1512,7 +1512,7 @@ impl IOleAdviseHolder_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub trait IOleCache_Impl: Sized { fn Cache(&self, pformatetc: *const super::Com::FORMATETC, advf: u32) -> ::windows::core::Result; fn Uncache(&self, dwconnection: u32) -> ::windows::core::Result<()>; @@ -1520,7 +1520,7 @@ pub trait IOleCache_Impl: Sized { fn InitCache(&self, pdataobject: &::core::option::Option) -> ::windows::core::Result<()>; fn SetData(&self, pformatetc: *const super::Com::FORMATETC, pmedium: *const super::Com::STGMEDIUM, frelease: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] impl IOleCache_Vtbl { pub const fn new() -> IOleCache_Vtbl { unsafe extern "system" fn Cache(this: *mut ::core::ffi::c_void, pformatetc: *const super::Com::FORMATETC, advf: u32, pdwconnection: *mut u32) -> ::windows::core::HRESULT { @@ -1573,12 +1573,12 @@ impl IOleCache_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub trait IOleCache2_Impl: Sized + IOleCache_Impl { fn UpdateCache(&self, pdataobject: &::core::option::Option, grfupdf: UPDFCACHE_FLAGS, preserved: *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn DiscardCache(&self, dwdiscardoptions: u32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] impl IOleCache2_Vtbl { pub const fn new() -> IOleCache2_Vtbl { unsafe extern "system" fn UpdateCache(this: *mut ::core::ffi::c_void, pdataobject: ::windows::core::RawPtr, grfupdf: UPDFCACHE_FLAGS, preserved: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -3534,13 +3534,13 @@ impl IPerPropertyBrowsing_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPersistPropertyBag_Impl: Sized + super::Com::IPersist_Impl { fn InitNew(&self) -> ::windows::core::Result<()>; fn Load(&self, ppropbag: &::core::option::Option, perrorlog: &::core::option::Option) -> ::windows::core::Result<()>; fn Save(&self, ppropbag: &::core::option::Option, fcleardirty: super::super::Foundation::BOOL, fsaveallproperties: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IPersistPropertyBag_Vtbl { pub const fn new() -> IPersistPropertyBag_Vtbl { unsafe extern "system" fn InitNew(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -3569,14 +3569,14 @@ impl IPersistPropertyBag_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPersistPropertyBag2_Impl: Sized + super::Com::IPersist_Impl { fn InitNew(&self) -> ::windows::core::Result<()>; fn Load(&self, ppropbag: &::core::option::Option, perrlog: &::core::option::Option) -> ::windows::core::Result<()>; fn Save(&self, ppropbag: &::core::option::Option, fcleardirty: super::super::Foundation::BOOL, fsaveallproperties: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; fn IsDirty(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IPersistPropertyBag2_Vtbl { pub const fn new() -> IPersistPropertyBag2_Vtbl { unsafe extern "system" fn InitNew(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -3995,13 +3995,13 @@ impl IPointerInactive_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPrint_Impl: Sized { fn SetInitialPageNum(&self, nfirstpage: i32) -> ::windows::core::Result<()>; fn GetPageInfo(&self, pnfirstpage: *mut i32, pcpages: *mut i32) -> ::windows::core::Result<()>; fn Print(&self, grfflags: u32, pptd: *mut *mut super::Com::DVTARGETDEVICE, pppageset: *mut *mut PAGESET, pstgmoptions: *mut super::Com::STGMEDIUM, pcallback: &::core::option::Option, nfirstpage: i32, pcpagesprinted: *mut i32, pnlastpage: *mut i32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] impl IPrint_Vtbl { pub const fn new() -> IPrint_Vtbl { unsafe extern "system" fn SetInitialPageNum(this: *mut ::core::ffi::c_void, nfirstpage: i32) -> ::windows::core::HRESULT { 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 f8fce29bdb..248cd185ae 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs @@ -1518,8 +1518,8 @@ pub unsafe fn HRGN_UserUnmarshal64(param0: *const u32, param1: *const u8, param2 pub struct IAdviseSinkEx(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAdviseSinkEx { - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn OnDataChange(&self, pformatetc: *const super::Com::FORMATETC, pstgmed: *const super::Com::STGMEDIUM) { (::windows::core::Interface::vtable(self).base.OnDataChange)(::core::mem::transmute_copy(self), ::core::mem::transmute(pformatetc), ::core::mem::transmute(pstgmed)) } @@ -4810,8 +4810,8 @@ impl IOleCache { pub unsafe fn InitCache<'a, Param0: ::windows::core::IntoParam<'a, super::Com::IDataObject>>(&self, pdataobject: Param0) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).InitCache)(::core::mem::transmute_copy(self), pdataobject.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetData<'a, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pformatetc: *const super::Com::FORMATETC, pmedium: *const super::Com::STGMEDIUM, frelease: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetData)(::core::mem::transmute_copy(self), ::core::mem::transmute(pformatetc), ::core::mem::transmute(pmedium), frelease.into_param().abi()).ok() } @@ -4873,9 +4873,9 @@ pub struct IOleCache_Vtbl { pub InitCache: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdataobject: ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitCache: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub SetData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pformatetc: *const super::Com::FORMATETC, pmedium: *const super::Com::STGMEDIUM, frelease: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage")))] SetData: usize, } #[doc = "*Required features: 'Win32_System_Ole'*"] @@ -4903,8 +4903,8 @@ impl IOleCache2 { pub unsafe fn InitCache<'a, Param0: ::windows::core::IntoParam<'a, super::Com::IDataObject>>(&self, pdataobject: Param0) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.InitCache)(::core::mem::transmute_copy(self), pdataobject.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetData<'a, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pformatetc: *const super::Com::FORMATETC, pmedium: *const super::Com::STGMEDIUM, frelease: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetData)(::core::mem::transmute_copy(self), ::core::mem::transmute(pformatetc), ::core::mem::transmute(pmedium), frelease.into_param().abi()).ok() } @@ -8650,8 +8650,8 @@ impl IPersistPropertyBag { pub unsafe fn InitNew(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).InitNew)(::core::mem::transmute_copy(self)).ok() } - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Load<'a, Param0: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IPropertyBag>, Param1: ::windows::core::IntoParam<'a, super::Com::IErrorLog>>(&self, ppropbag: Param0, perrorlog: Param1) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Load)(::core::mem::transmute_copy(self), ppropbag.into_param().abi(), perrorlog.into_param().abi()).ok() } @@ -8740,9 +8740,9 @@ unsafe impl ::windows::core::Interface for IPersistPropertyBag { pub struct IPersistPropertyBag_Vtbl { pub base: super::Com::IPersist_Vtbl, pub InitNew: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub Load: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppropbag: ::windows::core::RawPtr, perrorlog: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] Load: usize, #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub Save: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppropbag: ::windows::core::RawPtr, fcleardirty: super::super::Foundation::BOOL, fsaveallproperties: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, @@ -8765,8 +8765,8 @@ impl IPersistPropertyBag2 { pub unsafe fn InitNew(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).InitNew)(::core::mem::transmute_copy(self)).ok() } - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Load<'a, Param0: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IPropertyBag2>, Param1: ::windows::core::IntoParam<'a, super::Com::IErrorLog>>(&self, ppropbag: Param0, perrlog: Param1) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Load)(::core::mem::transmute_copy(self), ppropbag.into_param().abi(), perrlog.into_param().abi()).ok() } @@ -8859,9 +8859,9 @@ unsafe impl ::windows::core::Interface for IPersistPropertyBag2 { pub struct IPersistPropertyBag2_Vtbl { pub base: super::Com::IPersist_Vtbl, pub InitNew: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub Load: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppropbag: ::windows::core::RawPtr, perrlog: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] Load: usize, #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub Save: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppropbag: ::windows::core::RawPtr, fcleardirty: super::super::Foundation::BOOL, fsaveallproperties: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, @@ -9369,8 +9369,8 @@ impl IPrint { pub unsafe fn GetPageInfo(&self, pnfirstpage: *mut i32, pcpages: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetPageInfo)(::core::mem::transmute_copy(self), ::core::mem::transmute(pnfirstpage), ::core::mem::transmute(pcpages)).ok() } - #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Print<'a, Param4: ::windows::core::IntoParam<'a, IContinueCallback>>(&self, grfflags: u32, pptd: *mut *mut super::Com::DVTARGETDEVICE, pppageset: *mut *mut PAGESET, pstgmoptions: *mut super::Com::STGMEDIUM, pcallback: Param4, nfirstpage: i32, pcpagesprinted: *mut i32, pnlastpage: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Print)(::core::mem::transmute_copy(self), ::core::mem::transmute(grfflags), ::core::mem::transmute(pptd), ::core::mem::transmute(pppageset), ::core::mem::transmute(pstgmoptions), pcallback.into_param().abi(), ::core::mem::transmute(nfirstpage), ::core::mem::transmute(pcpagesprinted), ::core::mem::transmute(pnlastpage)).ok() } @@ -9421,9 +9421,9 @@ pub struct IPrint_Vtbl { pub base: ::windows::core::IUnknownVtbl, pub SetInitialPageNum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nfirstpage: i32) -> ::windows::core::HRESULT, pub GetPageInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnfirstpage: *mut i32, pcpages: *mut i32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub Print: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, grfflags: u32, pptd: *mut *mut super::Com::DVTARGETDEVICE, pppageset: *mut *mut PAGESET, pstgmoptions: *mut super::Com::STGMEDIUM, pcallback: ::windows::core::RawPtr, nfirstpage: i32, pcpagesprinted: *mut i32, pnlastpage: *mut i32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage")))] Print: usize, } #[doc = "*Required features: 'Win32_System_Ole'*"] @@ -13652,8 +13652,8 @@ impl ::core::default::Default for OLEUIGNRLPROPSW { } } #[repr(C)] -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct OLEUIINSERTOBJECTA { pub cbStruct: u32, pub dwFlags: u32, @@ -13678,7 +13678,7 @@ pub struct OLEUIINSERTOBJECTA { pub sc: i32, pub hMetaPict: isize, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for OLEUIINSERTOBJECTA { fn clone(&self) -> Self { Self { @@ -13707,7 +13707,7 @@ impl ::core::clone::Clone for OLEUIINSERTOBJECTA { } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::fmt::Debug for OLEUIINSERTOBJECTA { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("OLEUIINSERTOBJECTA") @@ -13736,11 +13736,11 @@ impl ::core::fmt::Debug for OLEUIINSERTOBJECTA { .finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for OLEUIINSERTOBJECTA { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for OLEUIINSERTOBJECTA { fn eq(&self, other: &Self) -> bool { self.cbStruct == other.cbStruct @@ -13767,17 +13767,17 @@ impl ::core::cmp::PartialEq for OLEUIINSERTOBJECTA { && self.hMetaPict == other.hMetaPict } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for OLEUIINSERTOBJECTA {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for OLEUIINSERTOBJECTA { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct OLEUIINSERTOBJECTW { pub cbStruct: u32, pub dwFlags: u32, @@ -13802,7 +13802,7 @@ pub struct OLEUIINSERTOBJECTW { pub sc: i32, pub hMetaPict: isize, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for OLEUIINSERTOBJECTW { fn clone(&self) -> Self { Self { @@ -13831,7 +13831,7 @@ impl ::core::clone::Clone for OLEUIINSERTOBJECTW { } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::fmt::Debug for OLEUIINSERTOBJECTW { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("OLEUIINSERTOBJECTW") @@ -13860,11 +13860,11 @@ impl ::core::fmt::Debug for OLEUIINSERTOBJECTW { .finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for OLEUIINSERTOBJECTW { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for OLEUIINSERTOBJECTW { fn eq(&self, other: &Self) -> bool { self.cbStruct == other.cbStruct @@ -13891,9 +13891,9 @@ impl ::core::cmp::PartialEq for OLEUIINSERTOBJECTW { && self.hMetaPict == other.hMetaPict } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for OLEUIINSERTOBJECTW {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for OLEUIINSERTOBJECTW { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -14931,8 +14931,8 @@ pub unsafe fn OleBuildVersion() -> u32 { #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] #[inline] pub unsafe fn OleCreate<'a, Param4: ::windows::core::IntoParam<'a, IOleClientSite>, Param5: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(rclsid: *const ::windows::core::GUID, riid: *const ::windows::core::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -14975,8 +14975,8 @@ pub unsafe fn OleCreateEmbeddingHelper<'a, Param1: ::windows::core::IntoParam<'a #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] #[inline] pub unsafe fn OleCreateEx<'a, Param7: ::windows::core::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::core::IntoParam<'a, IOleClientSite>, Param10: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(rclsid: *const ::windows::core::GUID, riid: *const ::windows::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: Param7, rgdwconnection: *mut u32, pclientsite: Param9, pstg: Param10, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -15005,8 +15005,8 @@ pub unsafe fn OleCreateFontIndirect(lpfontdesc: *mut FONTDESC, riid: *const ::wi #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] #[inline] pub unsafe fn OleCreateFromData<'a, Param0: ::windows::core::IntoParam<'a, super::Com::IDataObject>, Param4: ::windows::core::IntoParam<'a, IOleClientSite>, Param5: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(psrcdataobj: Param0, riid: *const ::windows::core::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -15020,8 +15020,8 @@ pub unsafe fn OleCreateFromData<'a, Param0: ::windows::core::IntoParam<'a, super #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] #[inline] pub unsafe fn OleCreateFromDataEx<'a, Param0: ::windows::core::IntoParam<'a, super::Com::IDataObject>, Param7: ::windows::core::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::core::IntoParam<'a, IOleClientSite>, Param10: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(psrcdataobj: Param0, riid: *const ::windows::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: Param7, rgdwconnection: *mut u32, pclientsite: Param9, pstg: Param10, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -15035,8 +15035,8 @@ pub unsafe fn OleCreateFromDataEx<'a, Param0: ::windows::core::IntoParam<'a, sup #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 OleCreateFromFile<'a, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::core::IntoParam<'a, IOleClientSite>, Param6: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(rclsid: *const ::windows::core::GUID, lpszfilename: Param1, riid: *const ::windows::core::GUID, renderopt: u32, lpformatetc: *mut super::Com::FORMATETC, pclientsite: Param5, pstg: Param6, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -15050,8 +15050,8 @@ pub unsafe fn OleCreateFromFile<'a, Param1: ::windows::core::IntoParam<'a, super #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 OleCreateFromFileEx<'a, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param8: ::windows::core::IntoParam<'a, super::Com::IAdviseSink>, Param10: ::windows::core::IntoParam<'a, IOleClientSite>, Param11: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(rclsid: *const ::windows::core::GUID, lpszfilename: Param1, riid: *const ::windows::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: Param8, rgdwconnection: *mut u32, pclientsite: Param10, pstg: Param11, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -15065,8 +15065,8 @@ pub unsafe fn OleCreateFromFileEx<'a, Param1: ::windows::core::IntoParam<'a, sup #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] #[inline] pub unsafe fn OleCreateLink<'a, Param0: ::windows::core::IntoParam<'a, super::Com::IMoniker>, Param4: ::windows::core::IntoParam<'a, IOleClientSite>, Param5: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(pmklinksrc: Param0, riid: *const ::windows::core::GUID, renderopt: u32, lpformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -15080,8 +15080,8 @@ pub unsafe fn OleCreateLink<'a, Param0: ::windows::core::IntoParam<'a, super::Co #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] #[inline] pub unsafe fn OleCreateLinkEx<'a, Param0: ::windows::core::IntoParam<'a, super::Com::IMoniker>, Param7: ::windows::core::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::core::IntoParam<'a, IOleClientSite>, Param10: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(pmklinksrc: Param0, riid: *const ::windows::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: Param7, rgdwconnection: *mut u32, pclientsite: Param9, pstg: Param10, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -15095,8 +15095,8 @@ pub unsafe fn OleCreateLinkEx<'a, Param0: ::windows::core::IntoParam<'a, super:: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] #[inline] pub unsafe fn OleCreateLinkFromData<'a, Param0: ::windows::core::IntoParam<'a, super::Com::IDataObject>, Param4: ::windows::core::IntoParam<'a, IOleClientSite>, Param5: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(psrcdataobj: Param0, riid: *const ::windows::core::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -15110,8 +15110,8 @@ pub unsafe fn OleCreateLinkFromData<'a, Param0: ::windows::core::IntoParam<'a, s #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] #[inline] pub unsafe fn OleCreateLinkFromDataEx<'a, Param0: ::windows::core::IntoParam<'a, super::Com::IDataObject>, Param7: ::windows::core::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::core::IntoParam<'a, IOleClientSite>, Param10: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(psrcdataobj: Param0, riid: *const ::windows::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: Param7, rgdwconnection: *mut u32, pclientsite: Param9, pstg: Param10, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -15125,8 +15125,8 @@ pub unsafe fn OleCreateLinkFromDataEx<'a, Param0: ::windows::core::IntoParam<'a, #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 OleCreateLinkToFile<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::core::IntoParam<'a, IOleClientSite>, Param5: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(lpszfilename: Param0, riid: *const ::windows::core::GUID, renderopt: u32, lpformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -15140,8 +15140,8 @@ pub unsafe fn OleCreateLinkToFile<'a, Param0: ::windows::core::IntoParam<'a, sup #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 OleCreateLinkToFileEx<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param7: ::windows::core::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::core::IntoParam<'a, IOleClientSite>, Param10: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(lpszfilename: Param0, riid: *const ::windows::core::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: Param7, rgdwconnection: *mut u32, pclientsite: Param9, pstg: Param10, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -15215,8 +15215,8 @@ pub unsafe fn OleCreatePropertyFrameIndirect(lpparams: *mut OCPFIPARAMS) -> ::wi #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Ole', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] #[inline] pub unsafe fn OleCreateStaticFromData<'a, Param0: ::windows::core::IntoParam<'a, super::Com::IDataObject>, Param4: ::windows::core::IntoParam<'a, IOleClientSite>, Param5: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(psrcdataobj: Param0, iid: *const ::windows::core::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -15724,8 +15724,8 @@ pub unsafe fn OleRun<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 OleSave<'a, Param0: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IPersistStorage>, Param1: ::windows::core::IntoParam<'a, super::Com::StructuredStorage::IStorage>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::BOOL>>(pps: Param0, pstg: Param1, fsameasload: Param2) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -16053,8 +16053,8 @@ pub unsafe fn OleUIEditLinksW(param0: *const OLEUIEDITLINKSW) -> u32 { #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -16068,8 +16068,8 @@ pub unsafe fn OleUIInsertObjectA(param0: *const OLEUIINSERTOBJECTA) -> u32 { #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -17268,8 +17268,8 @@ pub unsafe fn RegisterTypeLibForUser<'a, Param0: ::windows::core::IntoParam<'a, #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Ole', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn ReleaseStgMedium(param0: *mut super::Com::STGMEDIUM) { #[cfg(windows)] diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs index ed9e15c658..e9d6ced3e6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs @@ -1079,7 +1079,7 @@ impl ITsSbBaseNotifySink_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub trait ITsSbClientConnection_Impl: Sized { fn UserName(&self) -> ::windows::core::Result; fn Domain(&self) -> ::windows::core::Result; @@ -1097,7 +1097,7 @@ pub trait ITsSbClientConnection_Impl: Sized { fn UserSidString(&self) -> ::windows::core::Result<*mut i8>; fn GetDisconnectedSession(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ITsSbClientConnection_Vtbl { pub const fn new() -> ITsSbClientConnection_Vtbl { unsafe extern "system" fn UserName(this: *mut ::core::ffi::c_void, pval: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT { @@ -1282,9 +1282,9 @@ impl ITsSbClientConnection_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub trait ITsSbClientConnectionPropertySet_Impl: Sized + super::Com::StructuredStorage::IPropertyBag_Impl + ITsSbPropertySet_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ITsSbClientConnectionPropertySet_Vtbl { pub const fn new() -> ITsSbClientConnectionPropertySet_Vtbl { Self { base: ITsSbPropertySet_Vtbl::new::() } @@ -1353,9 +1353,9 @@ impl ITsSbEnvironment_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub trait ITsSbEnvironmentPropertySet_Impl: Sized + super::Com::StructuredStorage::IPropertyBag_Impl + ITsSbPropertySet_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ITsSbEnvironmentPropertySet_Vtbl { pub const fn new() -> ITsSbEnvironmentPropertySet_Vtbl { Self { base: ITsSbPropertySet_Vtbl::new::() } @@ -1699,9 +1699,9 @@ impl ITsSbPluginNotifySink_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub trait ITsSbPluginPropertySet_Impl: Sized + super::Com::StructuredStorage::IPropertyBag_Impl + ITsSbPropertySet_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ITsSbPluginPropertySet_Vtbl { pub const fn new() -> ITsSbPluginPropertySet_Vtbl { Self { base: ITsSbPropertySet_Vtbl::new::() } @@ -1710,9 +1710,9 @@ impl ITsSbPluginPropertySet_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub trait ITsSbPropertySet_Impl: Sized + super::Com::StructuredStorage::IPropertyBag_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ITsSbPropertySet_Vtbl { pub const fn new() -> ITsSbPropertySet_Vtbl { Self { base: super::Com::StructuredStorage::IPropertyBag_Vtbl::new::() } @@ -2734,9 +2734,9 @@ impl ITsSbTarget_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub trait ITsSbTargetPropertySet_Impl: Sized + super::Com::StructuredStorage::IPropertyBag_Impl + ITsSbPropertySet_Impl {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ITsSbTargetPropertySet_Vtbl { pub const fn new() -> ITsSbTargetPropertySet_Vtbl { Self { base: ITsSbPropertySet_Vtbl::new::() } 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 8118dbf9e3..fcaa1e3de0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -2743,13 +2743,13 @@ pub struct ITsSbClientConnection_Vtbl { pub struct ITsSbClientConnectionPropertySet(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbClientConnectionPropertySet { - #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Read<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::core::IntoParam<'a, super::Com::IErrorLog>>(&self, pszpropname: Param0, pvar: *mut super::Com::VARIANT, perrorlog: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.Read)(::core::mem::transmute_copy(self), pszpropname.into_param().abi(), ::core::mem::transmute(pvar), perrorlog.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Write<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpropname: Param0, pvar: *const super::Com::VARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.Write)(::core::mem::transmute_copy(self), pszpropname.into_param().abi(), ::core::mem::transmute(pvar)).ok() } @@ -2948,13 +2948,13 @@ pub struct ITsSbEnvironment_Vtbl { pub struct ITsSbEnvironmentPropertySet(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbEnvironmentPropertySet { - #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Read<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::core::IntoParam<'a, super::Com::IErrorLog>>(&self, pszpropname: Param0, pvar: *mut super::Com::VARIANT, perrorlog: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.Read)(::core::mem::transmute_copy(self), pszpropname.into_param().abi(), ::core::mem::transmute(pvar), perrorlog.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Write<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpropname: Param0, pvar: *const super::Com::VARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.Write)(::core::mem::transmute_copy(self), pszpropname.into_param().abi(), ::core::mem::transmute(pvar)).ok() } @@ -4043,13 +4043,13 @@ pub struct ITsSbPluginNotifySink_Vtbl { pub struct ITsSbPluginPropertySet(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbPluginPropertySet { - #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Read<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::core::IntoParam<'a, super::Com::IErrorLog>>(&self, pszpropname: Param0, pvar: *mut super::Com::VARIANT, perrorlog: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.Read)(::core::mem::transmute_copy(self), pszpropname.into_param().abi(), ::core::mem::transmute(pvar), perrorlog.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Write<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpropname: Param0, pvar: *const super::Com::VARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.Write)(::core::mem::transmute_copy(self), pszpropname.into_param().abi(), ::core::mem::transmute(pvar)).ok() } @@ -4163,13 +4163,13 @@ pub struct ITsSbPluginPropertySet_Vtbl { pub struct ITsSbPropertySet(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbPropertySet { - #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Read<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::core::IntoParam<'a, super::Com::IErrorLog>>(&self, pszpropname: Param0, pvar: *mut super::Com::VARIANT, perrorlog: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.Read)(::core::mem::transmute_copy(self), pszpropname.into_param().abi(), ::core::mem::transmute(pvar), perrorlog.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Write<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpropname: Param0, pvar: *const super::Com::VARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.Write)(::core::mem::transmute_copy(self), pszpropname.into_param().abi(), ::core::mem::transmute(pvar)).ok() } @@ -5572,13 +5572,13 @@ pub struct ITsSbTarget_Vtbl { pub struct ITsSbTargetPropertySet(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbTargetPropertySet { - #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Read<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::core::IntoParam<'a, super::Com::IErrorLog>>(&self, pszpropname: Param0, pvar: *mut super::Com::VARIANT, perrorlog: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.Read)(::core::mem::transmute_copy(self), pszpropname.into_param().abi(), ::core::mem::transmute(pvar), perrorlog.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] + #[doc = "*Required features: 'Win32_System_RemoteDesktop', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn Write<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpropname: Param0, pvar: *const super::Com::VARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.Write)(::core::mem::transmute_copy(self), pszpropname.into_param().abi(), ::core::mem::transmute(pvar)).ok() } diff --git a/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs index 9d5a718b78..dd558905bc 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs @@ -709,7 +709,7 @@ impl ICommandWithParameters_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub trait ICondition_Impl: Sized + super::Com::IPersist_Impl + super::Com::IPersistStream_Impl { fn GetConditionType(&self) -> ::windows::core::Result; fn GetSubConditions(&self, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; @@ -719,7 +719,7 @@ pub trait ICondition_Impl: Sized + super::Com::IPersist_Impl + super::Com::IPers fn GetInputTerms(&self, pppropertyterm: *mut ::core::option::Option, ppoperationterm: *mut ::core::option::Option, ppvalueterm: *mut ::core::option::Option) -> ::windows::core::Result<()>; fn Clone(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] impl ICondition_Vtbl { pub const fn new() -> ICondition_Vtbl { unsafe extern "system" fn GetConditionType(this: *mut ::core::ffi::c_void, pnodetype: *mut Common::CONDITION_TYPE) -> ::windows::core::HRESULT { @@ -796,12 +796,12 @@ impl ICondition_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait ICondition2_Impl: Sized + super::Com::IPersist_Impl + super::Com::IPersistStream_Impl + ICondition_Impl { fn GetLocale(&self) -> ::windows::core::Result; fn GetLeafConditionInfo(&self, ppropkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pcop: *mut Common::CONDITION_OPERATION, ppropvar: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ICondition2_Vtbl { pub const fn new() -> ICondition2_Vtbl { unsafe extern "system" fn GetLocale(this: *mut ::core::ffi::c_void, ppszlocalename: *mut super::super::Foundation::PWSTR) -> ::windows::core::HRESULT { @@ -830,14 +830,14 @@ impl ICondition2_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub trait IConditionFactory_Impl: Sized { fn MakeNot(&self, pcsub: &::core::option::Option, fsimplify: super::super::Foundation::BOOL) -> ::windows::core::Result; fn MakeAndOr(&self, ct: Common::CONDITION_TYPE, peusubs: &::core::option::Option, fsimplify: super::super::Foundation::BOOL) -> ::windows::core::Result; fn MakeLeaf(&self, pszpropertyname: super::super::Foundation::PWSTR, cop: Common::CONDITION_OPERATION, pszvaluetype: super::super::Foundation::PWSTR, ppropvar: *const super::Com::StructuredStorage::PROPVARIANT, ppropertynameterm: &::core::option::Option, poperationterm: &::core::option::Option, pvalueterm: &::core::option::Option, fexpand: super::super::Foundation::BOOL) -> ::windows::core::Result; fn Resolve(&self, pc: &::core::option::Option, sqro: STRUCTURED_QUERY_RESOLVE_OPTION, pstreferencetime: *const super::super::Foundation::SYSTEMTIME) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] impl IConditionFactory_Vtbl { pub const fn new() -> IConditionFactory_Vtbl { unsafe extern "system" fn MakeNot(this: *mut ::core::ffi::c_void, pcsub: ::windows::core::RawPtr, fsimplify: super::super::Foundation::BOOL, ppcresult: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -896,7 +896,7 @@ impl IConditionFactory_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IConditionFactory2_Impl: Sized + IConditionFactory_Impl { fn CreateTrueFalse(&self, fval: super::super::Foundation::BOOL, cco: CONDITION_CREATION_OPTIONS, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn CreateNegation(&self, pcsub: &::core::option::Option, cco: CONDITION_CREATION_OPTIONS, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; @@ -908,7 +908,7 @@ pub trait IConditionFactory2_Impl: Sized + IConditionFactory_Impl { fn CreateLeaf(&self, propkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, cop: Common::CONDITION_OPERATION, propvar: *const super::Com::StructuredStorage::PROPVARIANT, pszsemantictype: super::super::Foundation::PWSTR, pszlocalename: super::super::Foundation::PWSTR, ppropertynameterm: &::core::option::Option, poperationterm: &::core::option::Option, pvalueterm: &::core::option::Option, cco: CONDITION_CREATION_OPTIONS, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn ResolveCondition(&self, pc: &::core::option::Option, sqro: STRUCTURED_QUERY_RESOLVE_OPTION, pstreferencetime: *const super::super::Foundation::SYSTEMTIME, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IConditionFactory2_Vtbl { pub const fn new() -> IConditionFactory2_Vtbl { unsafe extern "system" fn CreateTrueFalse(this: *mut ::core::ffi::c_void, fval: super::super::Foundation::BOOL, cco: CONDITION_CREATION_OPTIONS, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -973,14 +973,14 @@ impl IConditionFactory2_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub trait IConditionGenerator_Impl: Sized { fn Initialize(&self, pschemaprovider: &::core::option::Option) -> ::windows::core::Result<()>; fn RecognizeNamedEntities(&self, pszinputstring: super::super::Foundation::PWSTR, lciduserlocale: u32, ptokencollection: &::core::option::Option, pnamedentities: &::core::option::Option) -> ::windows::core::Result<()>; fn GenerateForLeaf(&self, pconditionfactory: &::core::option::Option, pszpropertyname: super::super::Foundation::PWSTR, cop: Common::CONDITION_OPERATION, pszvaluetype: super::super::Foundation::PWSTR, pszvalue: super::super::Foundation::PWSTR, pszvalue2: super::super::Foundation::PWSTR, ppropertynameterm: &::core::option::Option, poperationterm: &::core::option::Option, pvalueterm: &::core::option::Option, automaticwildcard: super::super::Foundation::BOOL, pnostringquery: *mut super::super::Foundation::BOOL, ppqueryexpression: *mut ::core::option::Option) -> ::windows::core::Result<()>; fn DefaultPhrase(&self, pszvaluetype: super::super::Foundation::PWSTR, ppropvar: *const super::Com::StructuredStorage::PROPVARIANT, fuseenglish: super::super::Foundation::BOOL) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] impl IConditionGenerator_Vtbl { pub const fn new() -> IConditionGenerator_Vtbl { unsafe extern "system" fn Initialize(this: *mut ::core::ffi::c_void, pschemaprovider: ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -2197,11 +2197,11 @@ impl IIndexDefinition_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IInterval_Impl: Sized { fn GetLimits(&self, pilklower: *mut INTERVAL_LIMIT_KIND, ppropvarlower: *mut super::Com::StructuredStorage::PROPVARIANT, pilkupper: *mut INTERVAL_LIMIT_KIND, ppropvarupper: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IInterval_Vtbl { pub const fn new() -> IInterval_Vtbl { unsafe extern "system" fn GetLimits(this: *mut ::core::ffi::c_void, pilklower: *mut INTERVAL_LIMIT_KIND, ppropvarlower: *mut super::Com::StructuredStorage::PROPVARIANT, pilkupper: *mut INTERVAL_LIMIT_KIND, ppropvarupper: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { @@ -2215,13 +2215,13 @@ impl IInterval_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub trait ILoadFilter_Impl: Sized { fn LoadIFilter(&self, pwcspath: super::super::Foundation::PWSTR, pfilteredsources: *const FILTERED_DATA_SOURCES, punkouter: &::core::option::Option<::windows::core::IUnknown>, fusedefault: super::super::Foundation::BOOL, pfilterclsid: *mut ::windows::core::GUID, searchdecsize: *mut i32, pwcssearchdesc: *mut *mut u16, ppifilt: *mut ::core::option::Option) -> ::windows::core::Result<()>; fn LoadIFilterFromStorage(&self, pstg: &::core::option::Option, punkouter: &::core::option::Option<::windows::core::IUnknown>, pwcsoverride: super::super::Foundation::PWSTR, fusedefault: super::super::Foundation::BOOL, pfilterclsid: *mut ::windows::core::GUID, searchdecsize: *mut i32, pwcssearchdesc: *mut *mut u16, ppifilt: *mut ::core::option::Option) -> ::windows::core::Result<()>; fn LoadIFilterFromStream(&self, pstm: &::core::option::Option, pfilteredsources: *const FILTERED_DATA_SOURCES, punkouter: &::core::option::Option<::windows::core::IUnknown>, fusedefault: super::super::Foundation::BOOL, pfilterclsid: *mut ::windows::core::GUID, searchdecsize: *mut i32, pwcssearchdesc: *mut *mut u16, ppifilt: *mut ::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ILoadFilter_Vtbl { pub const fn new() -> ILoadFilter_Vtbl { unsafe extern "system" fn LoadIFilter(this: *mut ::core::ffi::c_void, pwcspath: super::super::Foundation::PWSTR, pfilteredsources: *const FILTERED_DATA_SOURCES, punkouter: *mut ::core::ffi::c_void, fusedefault: super::super::Foundation::BOOL, pfilterclsid: *mut ::windows::core::GUID, searchdecsize: *mut i32, pwcssearchdesc: *mut *mut u16, ppifilt: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -2250,11 +2250,11 @@ impl ILoadFilter_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub trait ILoadFilterWithPrivateComActivation_Impl: Sized + ILoadFilter_Impl { fn LoadIFilterWithPrivateComActivation(&self, filteredsources: *const FILTERED_DATA_SOURCES, usedefault: super::super::Foundation::BOOL, filterclsid: *mut ::windows::core::GUID, isfilterprivatecomactivated: *mut super::super::Foundation::BOOL, filterobj: *mut ::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ILoadFilterWithPrivateComActivation_Vtbl { pub const fn new() -> ILoadFilterWithPrivateComActivation_Vtbl { unsafe extern "system" fn LoadIFilterWithPrivateComActivation(this: *mut ::core::ffi::c_void, filteredsources: *const FILTERED_DATA_SOURCES, usedefault: super::super::Foundation::BOOL, filterclsid: *mut ::windows::core::GUID, isfilterprivatecomactivated: *mut super::super::Foundation::BOOL, filterobj: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -2464,7 +2464,7 @@ impl INamedEntityCollector_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] pub trait IObjectAccessControl_Impl: Sized { fn GetObjectAccessRights(&self, pobject: *mut SEC_OBJECT, pcaccessentries: *mut u32, prgaccessentries: *mut *mut super::super::Security::Authorization::EXPLICIT_ACCESS_W) -> ::windows::core::Result<()>; fn GetObjectOwner(&self, pobject: *mut SEC_OBJECT, ppowner: *mut *mut super::super::Security::Authorization::TRUSTEE_W) -> ::windows::core::Result<()>; @@ -2472,7 +2472,7 @@ pub trait IObjectAccessControl_Impl: Sized { fn SetObjectAccessRights(&self, pobject: *mut SEC_OBJECT, caccessentries: u32, prgaccessentries: *mut super::super::Security::Authorization::EXPLICIT_ACCESS_W) -> ::windows::core::Result<()>; fn SetObjectOwner(&self, pobject: *mut SEC_OBJECT, powner: *mut super::super::Security::Authorization::TRUSTEE_W) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] impl IObjectAccessControl_Vtbl { pub const fn new() -> IObjectAccessControl_Vtbl { unsafe extern "system" fn GetObjectAccessRights(this: *mut ::core::ffi::c_void, pobject: *mut SEC_OBJECT, pcaccessentries: *mut u32, prgaccessentries: *mut *mut super::super::Security::Authorization::EXPLICIT_ACCESS_W) -> ::windows::core::HRESULT { @@ -2648,7 +2648,7 @@ impl IProvideMoniker_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IQueryParser_Impl: Sized { fn Parse(&self, pszinputstring: super::super::Foundation::PWSTR, pcustomproperties: &::core::option::Option) -> ::windows::core::Result; fn SetOption(&self, option: STRUCTURED_QUERY_SINGLE_OPTION, poptionvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; @@ -2659,7 +2659,7 @@ pub trait IQueryParser_Impl: Sized { fn ParsePropertyValue(&self, pszpropertyname: super::super::Foundation::PWSTR, pszinputstring: super::super::Foundation::PWSTR) -> ::windows::core::Result; fn RestatePropertyValueToString(&self, pcondition: &::core::option::Option, fuseenglish: super::super::Foundation::BOOL, ppszpropertyname: *mut super::super::Foundation::PWSTR, ppszquerystring: *mut super::super::Foundation::PWSTR) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IQueryParser_Vtbl { pub const fn new() -> IQueryParser_Vtbl { unsafe extern "system" fn Parse(this: *mut ::core::ffi::c_void, pszinputstring: super::super::Foundation::PWSTR, pcustomproperties: ::windows::core::RawPtr, ppsolution: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -2748,13 +2748,13 @@ impl IQueryParser_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IQueryParserManager_Impl: Sized { fn CreateLoadedParser(&self, pszcatalog: super::super::Foundation::PWSTR, langidforkeywords: u16, riid: *const ::windows::core::GUID, ppqueryparser: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn InitializeOptions(&self, funderstandnqs: super::super::Foundation::BOOL, fautowildcard: super::super::Foundation::BOOL, pqueryparser: &::core::option::Option) -> ::windows::core::Result<()>; fn SetOption(&self, option: QUERY_PARSER_MANAGER_OPTION, poptionvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IQueryParserManager_Vtbl { pub const fn new() -> IQueryParserManager_Vtbl { unsafe extern "system" fn CreateLoadedParser(this: *mut ::core::ffi::c_void, pszcatalog: super::super::Foundation::PWSTR, langidforkeywords: u16, riid: *const ::windows::core::GUID, ppqueryparser: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -2783,13 +2783,13 @@ impl IQueryParserManager_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub trait IQuerySolution_Impl: Sized + IConditionFactory_Impl { fn GetQuery(&self, ppquerynode: *mut ::core::option::Option, ppmaintype: *mut ::core::option::Option) -> ::windows::core::Result<()>; fn GetErrors(&self, riid: *const ::windows::core::GUID, ppparseerrors: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn GetLexicalData(&self, ppszinputstring: *mut super::super::Foundation::PWSTR, pptokens: *mut ::core::option::Option, plcid: *mut u32, ppwordbreaker: *mut ::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] impl IQuerySolution_Vtbl { pub const fn new() -> IQuerySolution_Vtbl { unsafe extern "system" fn GetQuery(this: *mut ::core::ffi::c_void, ppquerynode: *mut ::windows::core::RawPtr, ppmaintype: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -2958,11 +2958,11 @@ impl IRelationship_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IRichChunk_Impl: Sized { fn GetData(&self, pfirstpos: *mut u32, plength: *mut u32, ppsz: *mut super::super::Foundation::PWSTR, pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IRichChunk_Vtbl { pub const fn new() -> IRichChunk_Vtbl { unsafe extern "system" fn GetData(this: *mut ::core::ffi::c_void, pfirstpos: *mut u32, plength: *mut u32, ppsz: *mut super::super::Foundation::PWSTR, pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { @@ -3368,14 +3368,14 @@ impl IRowsetCurrentIndex_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IRowsetEvents_Impl: Sized { fn OnNewItem(&self, itemid: *const super::Com::StructuredStorage::PROPVARIANT, newitemstate: ROWSETEVENT_ITEMSTATE) -> ::windows::core::Result<()>; fn OnChangedItem(&self, itemid: *const super::Com::StructuredStorage::PROPVARIANT, rowsetitemstate: ROWSETEVENT_ITEMSTATE, changeditemstate: ROWSETEVENT_ITEMSTATE) -> ::windows::core::Result<()>; fn OnDeletedItem(&self, itemid: *const super::Com::StructuredStorage::PROPVARIANT, deleteditemstate: ROWSETEVENT_ITEMSTATE) -> ::windows::core::Result<()>; fn OnRowsetEvent(&self, eventtype: ROWSETEVENT_TYPE, eventdata: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IRowsetEvents_Vtbl { pub const fn new() -> IRowsetEvents_Vtbl { unsafe extern "system" fn OnNewItem(this: *mut ::core::ffi::c_void, itemid: *const super::Com::StructuredStorage::PROPVARIANT, newitemstate: ROWSETEVENT_ITEMSTATE) -> ::windows::core::HRESULT { @@ -4269,7 +4269,7 @@ impl IScopedOperations_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait ISearchCatalogManager_Impl: Sized { fn Name(&self) -> ::windows::core::Result; fn GetParameter(&self, pszname: super::super::Foundation::PWSTR) -> ::windows::core::Result<*mut super::Com::StructuredStorage::PROPVARIANT>; @@ -4298,7 +4298,7 @@ pub trait ISearchCatalogManager_Impl: Sized { fn DiacriticSensitivity(&self) -> ::windows::core::Result; fn GetCrawlScopeManager(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ISearchCatalogManager_Vtbl { pub const fn new() -> ISearchCatalogManager_Vtbl { unsafe extern "system" fn Name(this: *mut ::core::ffi::c_void, pszname: *mut super::super::Foundation::PWSTR) -> ::windows::core::HRESULT { @@ -4543,11 +4543,11 @@ impl ISearchCatalogManager_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait ISearchCatalogManager2_Impl: Sized + ISearchCatalogManager_Impl { fn PrioritizeMatchingURLs(&self, pszpattern: super::super::Foundation::PWSTR, dwprioritizeflags: PRIORITIZE_FLAGS) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ISearchCatalogManager2_Vtbl { pub const fn new() -> ISearchCatalogManager2_Vtbl { unsafe extern "system" fn PrioritizeMatchingURLs(this: *mut ::core::ffi::c_void, pszpattern: super::super::Foundation::PWSTR, dwprioritizeflags: PRIORITIZE_FLAGS) -> ::windows::core::HRESULT { @@ -4837,7 +4837,7 @@ impl ISearchLanguageSupport_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait ISearchManager_Impl: Sized { fn GetIndexerVersionStr(&self) -> ::windows::core::Result; fn GetIndexerVersion(&self, pdwmajor: *mut u32, pdwminor: *mut u32) -> ::windows::core::Result<()>; @@ -4853,7 +4853,7 @@ pub trait ISearchManager_Impl: Sized { fn LocalBypass(&self) -> ::windows::core::Result; fn PortNumber(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ISearchManager_Vtbl { pub const fn new() -> ISearchManager_Vtbl { unsafe extern "system" fn GetIndexerVersionStr(this: *mut ::core::ffi::c_void, ppszversionstring: *mut super::super::Foundation::PWSTR) -> ::windows::core::HRESULT { @@ -4996,12 +4996,12 @@ impl ISearchManager_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait ISearchManager2_Impl: Sized + ISearchManager_Impl { fn CreateCatalog(&self, pszcatalog: super::super::Foundation::PWSTR) -> ::windows::core::Result; fn DeleteCatalog(&self, pszcatalog: super::super::Foundation::PWSTR) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ISearchManager2_Vtbl { pub const fn new() -> ISearchManager2_Vtbl { unsafe extern "system" fn CreateCatalog(this: *mut ::core::ffi::c_void, pszcatalog: super::super::Foundation::PWSTR, ppcatalogmanager: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -5184,7 +5184,7 @@ impl ISearchProtocolThreadContext_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait ISearchQueryHelper_Impl: Sized { fn ConnectionString(&self) -> ::windows::core::Result; fn SetQueryContentLocale(&self, lcid: u32) -> ::windows::core::Result<()>; @@ -5208,7 +5208,7 @@ pub trait ISearchQueryHelper_Impl: Sized { fn SetQueryMaxResults(&self, cmaxresults: i32) -> ::windows::core::Result<()>; fn QueryMaxResults(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ISearchQueryHelper_Vtbl { pub const fn new() -> ISearchQueryHelper_Vtbl { unsafe extern "system" fn ConnectionString(this: *mut ::core::ffi::c_void, pszconnectionstring: *mut super::super::Foundation::PWSTR) -> ::windows::core::HRESULT { @@ -6600,7 +6600,7 @@ impl IUMSInitialize_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub trait IUrlAccessor_Impl: Sized { fn AddRequestParameter(&self, pspec: *const super::Com::StructuredStorage::PROPSPEC, pvar: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn GetDocFormat(&self, wszdocformat: super::super::Foundation::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::Result<()>; @@ -6616,7 +6616,7 @@ pub trait IUrlAccessor_Impl: Sized { fn BindToStream(&self) -> ::windows::core::Result; fn BindToFilter(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl IUrlAccessor_Vtbl { pub const fn new() -> IUrlAccessor_Vtbl { unsafe extern "system" fn AddRequestParameter(this: *mut ::core::ffi::c_void, pspec: *const super::Com::StructuredStorage::PROPSPEC, pvar: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { @@ -6741,13 +6741,13 @@ impl IUrlAccessor_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub trait IUrlAccessor2_Impl: Sized + IUrlAccessor_Impl { fn GetDisplayUrl(&self, wszdocurl: super::super::Foundation::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::Result<()>; fn IsDocument(&self) -> ::windows::core::Result<()>; fn GetCodePage(&self, wszcodepage: super::super::Foundation::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl IUrlAccessor2_Vtbl { pub const fn new() -> IUrlAccessor2_Vtbl { unsafe extern "system" fn GetDisplayUrl(this: *mut ::core::ffi::c_void, wszdocurl: super::super::Foundation::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::HRESULT { @@ -6776,11 +6776,11 @@ impl IUrlAccessor2_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub trait IUrlAccessor3_Impl: Sized + IUrlAccessor_Impl + IUrlAccessor2_Impl { fn GetImpersonationSidBlobs(&self, pcwszurl: super::super::Foundation::PWSTR, pcsidcount: *mut u32, ppsidblobs: *mut *mut super::Com::BLOB) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl IUrlAccessor3_Vtbl { pub const fn new() -> IUrlAccessor3_Vtbl { unsafe extern "system" fn GetImpersonationSidBlobs(this: *mut ::core::ffi::c_void, pcwszurl: super::super::Foundation::PWSTR, pcsidcount: *mut u32, ppsidblobs: *mut *mut super::Com::BLOB) -> ::windows::core::HRESULT { @@ -6794,12 +6794,12 @@ impl IUrlAccessor3_Vtbl { iid == &::IID || iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IUrlAccessor4_Impl: Sized + IUrlAccessor_Impl + IUrlAccessor2_Impl + IUrlAccessor3_Impl { fn ShouldIndexItemContent(&self) -> ::windows::core::Result; fn ShouldIndexProperty(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IUrlAccessor4_Vtbl { pub const fn new() -> IUrlAccessor4_Vtbl { unsafe extern "system" fn ShouldIndexItemContent(this: *mut ::core::ffi::c_void, pfindexcontent: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT { 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 d76f4f27fb..f7bc75cffc 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs @@ -251,107 +251,107 @@ impl ::core::fmt::Debug for CASE_REQUIREMENT { } } #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub struct CATEGORIZATION { pub ulCatType: u32, pub Anonymous: CATEGORIZATION_0, pub csColumns: COLUMNSET, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for CATEGORIZATION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for CATEGORIZATION { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for CATEGORIZATION { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for CATEGORIZATION { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for CATEGORIZATION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for CATEGORIZATION { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub union CATEGORIZATION_0 { pub cClusters: u32, pub bucket: BUCKETCATEGORIZE, pub range: RANGECATEGORIZE, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for CATEGORIZATION_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for CATEGORIZATION_0 { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for CATEGORIZATION_0 { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for CATEGORIZATION_0 { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for CATEGORIZATION_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for CATEGORIZATION_0 { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub struct CATEGORIZATIONSET { pub cCat: u32, pub aCat: *mut CATEGORIZATION, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for CATEGORIZATIONSET {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for CATEGORIZATIONSET { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::fmt::Debug for CATEGORIZATIONSET { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("CATEGORIZATIONSET").field("cCat", &self.cCat).field("aCat", &self.aCat).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for CATEGORIZATIONSET { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for CATEGORIZATIONSET { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for CATEGORIZATIONSET {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for CATEGORIZATIONSET { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -9953,8 +9953,8 @@ impl ICondition { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).GetSubConditions)(::core::mem::transmute_copy(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Search_Common'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Search_Common'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub unsafe fn GetComparisonInfo(&self, ppszpropertyname: *mut super::super::Foundation::PWSTR, pcop: *mut Common::CONDITION_OPERATION, ppropvar: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetComparisonInfo)(::core::mem::transmute_copy(self), ::core::mem::transmute(ppszpropertyname), ::core::mem::transmute(pcop), ::core::mem::transmute(ppropvar)).ok() } @@ -10088,9 +10088,9 @@ pub struct ICondition_Vtbl { #[cfg(not(feature = "Win32_System_Search_Common"))] GetConditionType: usize, pub GetSubConditions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub GetComparisonInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppszpropertyname: *mut super::super::Foundation::PWSTR, pcop: *mut Common::CONDITION_OPERATION, ppropvar: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common")))] GetComparisonInfo: usize, #[cfg(feature = "Win32_Foundation")] pub GetValueType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppszvaluetypename: *mut super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, @@ -10150,8 +10150,8 @@ impl ICondition2 { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetSubConditions)(::core::mem::transmute_copy(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Search_Common'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Search_Common'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub unsafe fn GetComparisonInfo(&self, ppszpropertyname: *mut super::super::Foundation::PWSTR, pcop: *mut Common::CONDITION_OPERATION, ppropvar: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetComparisonInfo)(::core::mem::transmute_copy(self), ::core::mem::transmute(ppszpropertyname), ::core::mem::transmute(pcop), ::core::mem::transmute(ppropvar)).ok() } @@ -10183,8 +10183,8 @@ impl ICondition2 { let mut result__: super::super::Foundation::PWSTR = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetLocale)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Search_Common', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Search_Common', 'Win32_UI_Shell_PropertiesSystem'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetLeafConditionInfo(&self, ppropkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pcop: *mut Common::CONDITION_OPERATION, ppropvar: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetLeafConditionInfo)(::core::mem::transmute_copy(self), ::core::mem::transmute(ppropkey), ::core::mem::transmute(pcop), ::core::mem::transmute(ppropvar)).ok() } @@ -10319,9 +10319,9 @@ pub struct ICondition2_Vtbl { pub GetLocale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppszlocalename: *mut super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] GetLocale: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetLeafConditionInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppropkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pcop: *mut Common::CONDITION_OPERATION, ppropvar: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] GetLeafConditionInfo: usize, } #[doc = "*Required features: 'Win32_System_Search'*"] @@ -10340,8 +10340,8 @@ impl IConditionFactory { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).MakeAndOr)(::core::mem::transmute_copy(self), ::core::mem::transmute(ct), peusubs.into_param().abi(), fsimplify.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Search_Common'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Search_Common'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub unsafe fn MakeLeaf<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::core::IntoParam<'a, IRichChunk>, Param5: ::windows::core::IntoParam<'a, IRichChunk>, Param6: ::windows::core::IntoParam<'a, IRichChunk>, Param7: ::windows::core::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pszpropertyname: Param0, cop: Common::CONDITION_OPERATION, pszvaluetype: Param2, ppropvar: *const super::Com::StructuredStorage::PROPVARIANT, ppropertynameterm: Param4, poperationterm: Param5, pvalueterm: Param6, fexpand: Param7) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).MakeLeaf)(::core::mem::transmute_copy(self), pszpropertyname.into_param().abi(), ::core::mem::transmute(cop), pszvaluetype.into_param().abi(), ::core::mem::transmute(ppropvar), ppropertynameterm.into_param().abi(), poperationterm.into_param().abi(), pvalueterm.into_param().abi(), fexpand.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -10405,9 +10405,9 @@ pub struct IConditionFactory_Vtbl { pub MakeAndOr: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ct: Common::CONDITION_TYPE, peusubs: ::windows::core::RawPtr, fsimplify: super::super::Foundation::BOOL, ppcresult: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Search_Common")))] MakeAndOr: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub MakeLeaf: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszpropertyname: super::super::Foundation::PWSTR, cop: Common::CONDITION_OPERATION, pszvaluetype: super::super::Foundation::PWSTR, ppropvar: *const super::Com::StructuredStorage::PROPVARIANT, ppropertynameterm: ::windows::core::RawPtr, poperationterm: ::windows::core::RawPtr, pvalueterm: ::windows::core::RawPtr, fexpand: super::super::Foundation::BOOL, ppcresult: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common")))] MakeLeaf: usize, #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub Resolve: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pc: ::windows::core::RawPtr, sqro: STRUCTURED_QUERY_RESOLVE_OPTION, pstreferencetime: *const super::super::Foundation::SYSTEMTIME, ppcresolved: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, @@ -10430,8 +10430,8 @@ impl IConditionFactory2 { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.MakeAndOr)(::core::mem::transmute_copy(self), ::core::mem::transmute(ct), peusubs.into_param().abi(), fsimplify.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Search_Common'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Search_Common'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub unsafe fn MakeLeaf<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::core::IntoParam<'a, IRichChunk>, Param5: ::windows::core::IntoParam<'a, IRichChunk>, Param6: ::windows::core::IntoParam<'a, IRichChunk>, Param7: ::windows::core::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pszpropertyname: Param0, cop: Common::CONDITION_OPERATION, pszvaluetype: Param2, ppropvar: *const super::Com::StructuredStorage::PROPVARIANT, ppropertynameterm: Param4, poperationterm: Param5, pvalueterm: Param6, fexpand: Param7) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.MakeLeaf)(::core::mem::transmute_copy(self), pszpropertyname.into_param().abi(), ::core::mem::transmute(cop), pszvaluetype.into_param().abi(), ::core::mem::transmute(ppropvar), ppropertynameterm.into_param().abi(), poperationterm.into_param().abi(), pvalueterm.into_param().abi(), fexpand.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -10484,8 +10484,8 @@ impl IConditionFactory2 { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).CreateBooleanLeaf)(::core::mem::transmute_copy(self), ::core::mem::transmute(propkey), ::core::mem::transmute(cop), fvalue.into_param().abi(), ::core::mem::transmute(cco), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Search_Common', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Search_Common', 'Win32_UI_Shell_PropertiesSystem'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn CreateLeaf<'a, Param3: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::core::IntoParam<'a, IRichChunk>, Param6: ::windows::core::IntoParam<'a, IRichChunk>, Param7: ::windows::core::IntoParam<'a, IRichChunk>, T: ::windows::core::Interface>(&self, propkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, cop: Common::CONDITION_OPERATION, propvar: *const super::Com::StructuredStorage::PROPVARIANT, pszsemantictype: Param3, pszlocalename: Param4, ppropertynameterm: Param5, poperationterm: Param6, pvalueterm: Param7, cco: CONDITION_CREATION_OPTIONS) -> ::windows::core::Result { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).CreateLeaf)(::core::mem::transmute_copy(self), ::core::mem::transmute(propkey), ::core::mem::transmute(cop), ::core::mem::transmute(propvar), pszsemantictype.into_param().abi(), pszlocalename.into_param().abi(), ppropertynameterm.into_param().abi(), poperationterm.into_param().abi(), pvalueterm.into_param().abi(), ::core::mem::transmute(cco), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) @@ -10589,9 +10589,9 @@ pub struct IConditionFactory2_Vtbl { pub CreateBooleanLeaf: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, cop: Common::CONDITION_OPERATION, fvalue: super::super::Foundation::BOOL, cco: CONDITION_CREATION_OPTIONS, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] CreateBooleanLeaf: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] pub CreateLeaf: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, cop: Common::CONDITION_OPERATION, propvar: *const super::Com::StructuredStorage::PROPVARIANT, pszsemantictype: super::super::Foundation::PWSTR, pszlocalename: super::super::Foundation::PWSTR, ppropertynameterm: ::windows::core::RawPtr, poperationterm: ::windows::core::RawPtr, pvalueterm: ::windows::core::RawPtr, cco: CONDITION_CREATION_OPTIONS, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] CreateLeaf: usize, #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub ResolveCondition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pc: ::windows::core::RawPtr, sqro: STRUCTURED_QUERY_RESOLVE_OPTION, pstreferencetime: *const super::super::Foundation::SYSTEMTIME, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, @@ -10630,8 +10630,8 @@ impl IConditionGenerator { ) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GenerateForLeaf)(::core::mem::transmute_copy(self), pconditionfactory.into_param().abi(), pszpropertyname.into_param().abi(), ::core::mem::transmute(cop), pszvaluetype.into_param().abi(), pszvalue.into_param().abi(), pszvalue2.into_param().abi(), ppropertynameterm.into_param().abi(), poperationterm.into_param().abi(), pvalueterm.into_param().abi(), automaticwildcard.into_param().abi(), ::core::mem::transmute(pnostringquery), ::core::mem::transmute(ppqueryexpression)).ok() } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn DefaultPhrase<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pszvaluetype: Param0, ppropvar: *const super::Com::StructuredStorage::PROPVARIANT, fuseenglish: Param2) -> ::windows::core::Result { let mut result__: super::super::Foundation::PWSTR = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).DefaultPhrase)(::core::mem::transmute_copy(self), pszvaluetype.into_param().abi(), ::core::mem::transmute(ppropvar), fuseenglish.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -10690,9 +10690,9 @@ pub struct IConditionGenerator_Vtbl { pub GenerateForLeaf: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pconditionfactory: ::windows::core::RawPtr, pszpropertyname: super::super::Foundation::PWSTR, cop: Common::CONDITION_OPERATION, pszvaluetype: super::super::Foundation::PWSTR, pszvalue: super::super::Foundation::PWSTR, pszvalue2: super::super::Foundation::PWSTR, ppropertynameterm: ::windows::core::RawPtr, poperationterm: ::windows::core::RawPtr, pvalueterm: ::windows::core::RawPtr, automaticwildcard: super::super::Foundation::BOOL, pnostringquery: *mut super::super::Foundation::BOOL, ppqueryexpression: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Search_Common")))] GenerateForLeaf: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub DefaultPhrase: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszvaluetype: super::super::Foundation::PWSTR, ppropvar: *const super::Com::StructuredStorage::PROPVARIANT, fuseenglish: super::super::Foundation::BOOL, ppszphrase: *mut super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] DefaultPhrase: usize, } #[doc = "*Required features: 'Win32_System_Search'*"] @@ -13014,8 +13014,8 @@ pub struct IIndexDefinition_Vtbl { #[repr(transparent)] pub struct IInterval(::windows::core::IUnknown); impl IInterval { - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetLimits(&self, pilklower: *mut INTERVAL_LIMIT_KIND, ppropvarlower: *mut super::Com::StructuredStorage::PROPVARIANT, pilkupper: *mut INTERVAL_LIMIT_KIND, ppropvarupper: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetLimits)(::core::mem::transmute_copy(self), ::core::mem::transmute(pilklower), ::core::mem::transmute(ppropvarlower), ::core::mem::transmute(pilkupper), ::core::mem::transmute(ppropvarupper)).ok() } @@ -13064,9 +13064,9 @@ unsafe impl ::windows::core::Interface for IInterval { #[doc(hidden)] pub struct IInterval_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetLimits: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pilklower: *mut INTERVAL_LIMIT_KIND, ppropvarlower: *mut super::Com::StructuredStorage::PROPVARIANT, pilkupper: *mut INTERVAL_LIMIT_KIND, ppropvarupper: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetLimits: usize, } #[doc = "*Required features: 'Win32_System_Search'*"] @@ -13792,8 +13792,8 @@ pub struct INamedEntityCollector_Vtbl { #[repr(transparent)] pub struct IObjectAccessControl(::windows::core::IUnknown); impl IObjectAccessControl { - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Security', 'Win32_Security_Authorization', 'Win32_Storage_IndexServer'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Security_Authorization', 'Win32_Storage_IndexServer'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] pub unsafe fn GetObjectAccessRights(&self, pobject: *mut SEC_OBJECT, pcaccessentries: *mut u32, prgaccessentries: *mut *mut super::super::Security::Authorization::EXPLICIT_ACCESS_W) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetObjectAccessRights)(::core::mem::transmute_copy(self), ::core::mem::transmute(pobject), ::core::mem::transmute(pcaccessentries), ::core::mem::transmute(prgaccessentries)).ok() } @@ -13802,13 +13802,13 @@ impl IObjectAccessControl { pub unsafe fn GetObjectOwner(&self, pobject: *mut SEC_OBJECT, ppowner: *mut *mut super::super::Security::Authorization::TRUSTEE_W) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetObjectOwner)(::core::mem::transmute_copy(self), ::core::mem::transmute(pobject), ::core::mem::transmute(ppowner)).ok() } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Security', 'Win32_Security_Authorization', 'Win32_Storage_IndexServer'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Security_Authorization', 'Win32_Storage_IndexServer'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] pub unsafe fn IsObjectAccessAllowed(&self, pobject: *mut SEC_OBJECT, paccessentry: *mut super::super::Security::Authorization::EXPLICIT_ACCESS_W, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).IsObjectAccessAllowed)(::core::mem::transmute_copy(self), ::core::mem::transmute(pobject), ::core::mem::transmute(paccessentry), ::core::mem::transmute(pfresult)).ok() } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Security', 'Win32_Security_Authorization', 'Win32_Storage_IndexServer'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Security_Authorization', 'Win32_Storage_IndexServer'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] pub unsafe fn SetObjectAccessRights(&self, pobject: *mut SEC_OBJECT, caccessentries: u32, prgaccessentries: *mut super::super::Security::Authorization::EXPLICIT_ACCESS_W) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetObjectAccessRights)(::core::mem::transmute_copy(self), ::core::mem::transmute(pobject), ::core::mem::transmute(caccessentries), ::core::mem::transmute(prgaccessentries)).ok() } @@ -13862,21 +13862,21 @@ unsafe impl ::windows::core::Interface for IObjectAccessControl { #[doc(hidden)] pub struct IObjectAccessControl_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] pub GetObjectAccessRights: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobject: *mut SEC_OBJECT, pcaccessentries: *mut u32, prgaccessentries: *mut *mut super::super::Security::Authorization::EXPLICIT_ACCESS_W) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer")))] GetObjectAccessRights: usize, #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] pub GetObjectOwner: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobject: *mut SEC_OBJECT, ppowner: *mut *mut super::super::Security::Authorization::TRUSTEE_W) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer")))] GetObjectOwner: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] pub IsObjectAccessAllowed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobject: *mut SEC_OBJECT, paccessentry: *mut super::super::Security::Authorization::EXPLICIT_ACCESS_W, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer")))] IsObjectAccessAllowed: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] pub SetObjectAccessRights: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobject: *mut SEC_OBJECT, caccessentries: u32, prgaccessentries: *mut super::super::Security::Authorization::EXPLICIT_ACCESS_W) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer")))] SetObjectAccessRights: usize, #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] pub SetObjectOwner: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobject: *mut SEC_OBJECT, powner: *mut super::super::Security::Authorization::TRUSTEE_W) -> ::windows::core::HRESULT, @@ -14207,19 +14207,19 @@ impl IQueryParser { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).Parse)(::core::mem::transmute_copy(self), pszinputstring.into_param().abi(), pcustomproperties.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetOption(&self, option: STRUCTURED_QUERY_SINGLE_OPTION, poptionvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOption)(::core::mem::transmute_copy(self), ::core::mem::transmute(option), ::core::mem::transmute(poptionvalue)).ok() } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetOption(&self, option: STRUCTURED_QUERY_SINGLE_OPTION) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetOption)(::core::mem::transmute_copy(self), ::core::mem::transmute(option), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetMultiOption<'a, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, option: STRUCTURED_QUERY_MULTIOPTION, pszoptionkey: Param1, poptionvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMultiOption)(::core::mem::transmute_copy(self), ::core::mem::transmute(option), pszoptionkey.into_param().abi(), ::core::mem::transmute(poptionvalue)).ok() } @@ -14294,17 +14294,17 @@ pub struct IQueryParser_Vtbl { pub Parse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszinputstring: super::super::Foundation::PWSTR, pcustomproperties: ::windows::core::RawPtr, ppsolution: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] Parse: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetOption: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, option: STRUCTURED_QUERY_SINGLE_OPTION, poptionvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetOption: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetOption: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, option: STRUCTURED_QUERY_SINGLE_OPTION, poptionvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetOption: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetMultiOption: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, option: STRUCTURED_QUERY_MULTIOPTION, pszoptionkey: super::super::Foundation::PWSTR, poptionvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetMultiOption: usize, pub GetSchemaProvider: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppschemaprovider: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] @@ -14335,8 +14335,8 @@ impl IQueryParserManager { pub unsafe fn InitializeOptions<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::BOOL>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::core::IntoParam<'a, IQueryParser>>(&self, funderstandnqs: Param0, fautowildcard: Param1, pqueryparser: Param2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).InitializeOptions)(::core::mem::transmute_copy(self), funderstandnqs.into_param().abi(), fautowildcard.into_param().abi(), pqueryparser.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetOption(&self, option: QUERY_PARSER_MANAGER_OPTION, poptionvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOption)(::core::mem::transmute_copy(self), ::core::mem::transmute(option), ::core::mem::transmute(poptionvalue)).ok() } @@ -14393,9 +14393,9 @@ pub struct IQueryParserManager_Vtbl { pub InitializeOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, funderstandnqs: super::super::Foundation::BOOL, fautowildcard: super::super::Foundation::BOOL, pqueryparser: ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] InitializeOptions: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetOption: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, option: QUERY_PARSER_MANAGER_OPTION, poptionvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetOption: usize, } #[doc = "*Required features: 'Win32_System_Search'*"] @@ -14414,8 +14414,8 @@ impl IQuerySolution { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.MakeAndOr)(::core::mem::transmute_copy(self), ::core::mem::transmute(ct), peusubs.into_param().abi(), fsimplify.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Search_Common'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Search_Common'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub unsafe fn MakeLeaf<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::core::IntoParam<'a, IRichChunk>, Param5: ::windows::core::IntoParam<'a, IRichChunk>, Param6: ::windows::core::IntoParam<'a, IRichChunk>, Param7: ::windows::core::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pszpropertyname: Param0, cop: Common::CONDITION_OPERATION, pszvaluetype: Param2, ppropvar: *const super::Com::StructuredStorage::PROPVARIANT, ppropertynameterm: Param4, poperationterm: Param5, pvalueterm: Param6, fexpand: Param7) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.MakeLeaf)(::core::mem::transmute_copy(self), pszpropertyname.into_param().abi(), ::core::mem::transmute(cop), pszvaluetype.into_param().abi(), ::core::mem::transmute(ppropvar), ppropertynameterm.into_param().abi(), poperationterm.into_param().abi(), pvalueterm.into_param().abi(), fexpand.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -14750,8 +14750,8 @@ pub struct IRelationship_Vtbl { #[repr(transparent)] pub struct IRichChunk(::windows::core::IUnknown); impl IRichChunk { - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetData(&self, pfirstpos: *mut u32, plength: *mut u32, ppsz: *mut super::super::Foundation::PWSTR, pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetData)(::core::mem::transmute_copy(self), ::core::mem::transmute(pfirstpos), ::core::mem::transmute(plength), ::core::mem::transmute(ppsz), ::core::mem::transmute(pvalue)).ok() } @@ -14800,9 +14800,9 @@ unsafe impl ::windows::core::Interface for IRichChunk { #[doc(hidden)] pub struct IRichChunk_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfirstpos: *mut u32, plength: *mut u32, ppsz: *mut super::super::Foundation::PWSTR, pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetData: usize, } #[doc = "*Required features: 'Win32_System_Search'*"] @@ -15715,23 +15715,23 @@ pub struct IRowsetCurrentIndex_Vtbl { #[repr(transparent)] pub struct IRowsetEvents(::windows::core::IUnknown); impl IRowsetEvents { - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn OnNewItem(&self, itemid: *const super::Com::StructuredStorage::PROPVARIANT, newitemstate: ROWSETEVENT_ITEMSTATE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).OnNewItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(itemid), ::core::mem::transmute(newitemstate)).ok() } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn OnChangedItem(&self, itemid: *const super::Com::StructuredStorage::PROPVARIANT, rowsetitemstate: ROWSETEVENT_ITEMSTATE, changeditemstate: ROWSETEVENT_ITEMSTATE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).OnChangedItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(itemid), ::core::mem::transmute(rowsetitemstate), ::core::mem::transmute(changeditemstate)).ok() } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn OnDeletedItem(&self, itemid: *const super::Com::StructuredStorage::PROPVARIANT, deleteditemstate: ROWSETEVENT_ITEMSTATE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).OnDeletedItem)(::core::mem::transmute_copy(self), ::core::mem::transmute(itemid), ::core::mem::transmute(deleteditemstate)).ok() } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn OnRowsetEvent(&self, eventtype: ROWSETEVENT_TYPE, eventdata: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).OnRowsetEvent)(::core::mem::transmute_copy(self), ::core::mem::transmute(eventtype), ::core::mem::transmute(eventdata)).ok() } @@ -15780,21 +15780,21 @@ unsafe impl ::windows::core::Interface for IRowsetEvents { #[doc(hidden)] pub struct IRowsetEvents_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub OnNewItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, itemid: *const super::Com::StructuredStorage::PROPVARIANT, newitemstate: ROWSETEVENT_ITEMSTATE) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] OnNewItem: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub OnChangedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, itemid: *const super::Com::StructuredStorage::PROPVARIANT, rowsetitemstate: ROWSETEVENT_ITEMSTATE, changeditemstate: ROWSETEVENT_ITEMSTATE) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] OnChangedItem: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub OnDeletedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, itemid: *const super::Com::StructuredStorage::PROPVARIANT, deleteditemstate: ROWSETEVENT_ITEMSTATE) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] OnDeletedItem: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub OnRowsetEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, eventtype: ROWSETEVENT_TYPE, eventdata: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] OnRowsetEvent: usize, } #[repr(C)] @@ -17897,14 +17897,14 @@ impl ISearchCatalogManager { let mut result__: super::super::Foundation::PWSTR = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).Name)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetParameter<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszname: Param0) -> ::windows::core::Result<*mut super::Com::StructuredStorage::PROPVARIANT> { let mut result__: *mut super::Com::StructuredStorage::PROPVARIANT = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetParameter)(::core::mem::transmute_copy(self), pszname.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::<*mut super::Com::StructuredStorage::PROPVARIANT>(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetParameter<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszname: Param0, pvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetParameter)(::core::mem::transmute_copy(self), pszname.into_param().abi(), ::core::mem::transmute(pvalue)).ok() } @@ -18069,13 +18069,13 @@ pub struct ISearchCatalogManager_Vtbl { pub Name: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszname: *mut super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] Name: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetParameter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszname: super::super::Foundation::PWSTR, ppvalue: *mut *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetParameter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetParameter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszname: super::super::Foundation::PWSTR, pvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetParameter: usize, pub GetCatalogStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstatus: *mut CatalogStatus, ppausedreason: *mut CatalogPausedReason) -> ::windows::core::HRESULT, pub Reset: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, @@ -18138,14 +18138,14 @@ impl ISearchCatalogManager2 { let mut result__: super::super::Foundation::PWSTR = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.Name)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetParameter<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszname: Param0) -> ::windows::core::Result<*mut super::Com::StructuredStorage::PROPVARIANT> { let mut result__: *mut super::Com::StructuredStorage::PROPVARIANT = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetParameter)(::core::mem::transmute_copy(self), pszname.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::<*mut super::Com::StructuredStorage::PROPVARIANT>(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetParameter<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszname: Param0, pvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetParameter)(::core::mem::transmute_copy(self), pszname.into_param().abi(), ::core::mem::transmute(pvalue)).ok() } @@ -18856,14 +18856,14 @@ impl ISearchManager { pub unsafe fn GetIndexerVersion(&self, pdwmajor: *mut u32, pdwminor: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetIndexerVersion)(::core::mem::transmute_copy(self), ::core::mem::transmute(pdwmajor), ::core::mem::transmute(pdwminor)).ok() } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetParameter<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszname: Param0) -> ::windows::core::Result<*mut super::Com::StructuredStorage::PROPVARIANT> { let mut result__: *mut super::Com::StructuredStorage::PROPVARIANT = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetParameter)(::core::mem::transmute_copy(self), pszname.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::<*mut super::Com::StructuredStorage::PROPVARIANT>(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetParameter<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszname: Param0, pvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetParameter)(::core::mem::transmute_copy(self), pszname.into_param().abi(), ::core::mem::transmute(pvalue)).ok() } @@ -18967,13 +18967,13 @@ pub struct ISearchManager_Vtbl { #[cfg(not(feature = "Win32_Foundation"))] GetIndexerVersionStr: usize, pub GetIndexerVersion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwmajor: *mut u32, pdwminor: *mut u32) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetParameter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszname: super::super::Foundation::PWSTR, ppvalue: *mut *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetParameter: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetParameter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszname: super::super::Foundation::PWSTR, pvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetParameter: usize, #[cfg(feature = "Win32_Foundation")] pub ProxyName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppszproxyname: *mut super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, @@ -19020,14 +19020,14 @@ impl ISearchManager2 { pub unsafe fn GetIndexerVersion(&self, pdwmajor: *mut u32, pdwminor: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetIndexerVersion)(::core::mem::transmute_copy(self), ::core::mem::transmute(pdwmajor), ::core::mem::transmute(pdwminor)).ok() } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetParameter<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszname: Param0) -> ::windows::core::Result<*mut super::Com::StructuredStorage::PROPVARIANT> { let mut result__: *mut super::Com::StructuredStorage::PROPVARIANT = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetParameter)(::core::mem::transmute_copy(self), pszname.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::<*mut super::Com::StructuredStorage::PROPVARIANT>(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetParameter<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszname: Param0, pvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetParameter)(::core::mem::transmute_copy(self), pszname.into_param().abi(), ::core::mem::transmute(pvalue)).ok() } @@ -19639,8 +19639,8 @@ impl ISearchQueryHelper { let mut result__: super::super::Foundation::PWSTR = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GenerateSQLFromUserQuery)(::core::mem::transmute_copy(self), pszquery.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_System_Search', '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"))] pub unsafe fn WriteProperties(&self, itemid: i32, dwnumberofcolumns: u32, pcolumns: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalues: *const SEARCH_COLUMN_PROPERTIES, pftgathermodifiedtime: *const super::super::Foundation::FILETIME) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).WriteProperties)(::core::mem::transmute_copy(self), ::core::mem::transmute(itemid), ::core::mem::transmute(dwnumberofcolumns), ::core::mem::transmute(pcolumns), ::core::mem::transmute(pvalues), ::core::mem::transmute(pftgathermodifiedtime)).ok() } @@ -19746,9 +19746,9 @@ pub struct ISearchQueryHelper_Vtbl { pub GenerateSQLFromUserQuery: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszquery: super::super::Foundation::PWSTR, ppszsql: *mut super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] GenerateSQLFromUserQuery: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub WriteProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, itemid: i32, dwnumberofcolumns: u32, pcolumns: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalues: *const SEARCH_COLUMN_PROPERTIES, pftgathermodifiedtime: *const super::super::Foundation::FILETIME) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] WriteProperties: usize, pub SetQueryMaxResults: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cmaxresults: i32) -> ::windows::core::HRESULT, pub QueryMaxResults: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcmaxresults: *mut i32) -> ::windows::core::HRESULT, @@ -22071,8 +22071,8 @@ pub struct IUMSInitialize_Vtbl { #[repr(transparent)] pub struct IUrlAccessor(::windows::core::IUnknown); impl IUrlAccessor { - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn AddRequestParameter(&self, pspec: *const super::Com::StructuredStorage::PROPSPEC, pvar: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).AddRequestParameter)(::core::mem::transmute_copy(self), ::core::mem::transmute(pspec), ::core::mem::transmute(pvar)).ok() } @@ -22182,9 +22182,9 @@ unsafe impl ::windows::core::Interface for IUrlAccessor { #[doc(hidden)] pub struct IUrlAccessor_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub AddRequestParameter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pspec: *const super::Com::StructuredStorage::PROPSPEC, pvar: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] AddRequestParameter: usize, #[cfg(feature = "Win32_Foundation")] pub GetDocFormat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, wszdocformat: super::super::Foundation::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::HRESULT, @@ -22224,8 +22224,8 @@ pub struct IUrlAccessor_Vtbl { #[repr(transparent)] pub struct IUrlAccessor2(::windows::core::IUnknown); impl IUrlAccessor2 { - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn AddRequestParameter(&self, pspec: *const super::Com::StructuredStorage::PROPSPEC, pvar: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.AddRequestParameter)(::core::mem::transmute_copy(self), ::core::mem::transmute(pspec), ::core::mem::transmute(pvar)).ok() } @@ -22383,8 +22383,8 @@ pub struct IUrlAccessor2_Vtbl { #[repr(transparent)] pub struct IUrlAccessor3(::windows::core::IUnknown); impl IUrlAccessor3 { - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn AddRequestParameter(&self, pspec: *const super::Com::StructuredStorage::PROPSPEC, pvar: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.AddRequestParameter)(::core::mem::transmute_copy(self), ::core::mem::transmute(pspec), ::core::mem::transmute(pvar)).ok() } @@ -22562,8 +22562,8 @@ pub struct IUrlAccessor3_Vtbl { #[repr(transparent)] pub struct IUrlAccessor4(::windows::core::IUnknown); impl IUrlAccessor4 { - #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn AddRequestParameter(&self, pspec: *const super::Com::StructuredStorage::PROPSPEC, pvar: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.base.base.AddRequestParameter)(::core::mem::transmute_copy(self), ::core::mem::transmute(pspec), ::core::mem::transmute(pvar)).ok() } @@ -24080,40 +24080,40 @@ pub const NLADMIN_E_FAILED_TO_GIVE_ACCOUNT_PRIVILEGE: i32 = -2147215101i32; #[doc = "*Required features: 'Win32_System_Search'*"] pub const NLADMIN_S_NOT_ALL_BUILD_CATALOGS_INITIALIZED: i32 = 268546i32; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub struct NODERESTRICTION { pub cRes: u32, pub paRes: *mut *mut RESTRICTION, pub reserved: u32, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for NODERESTRICTION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for NODERESTRICTION { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::fmt::Debug for NODERESTRICTION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("NODERESTRICTION").field("cRes", &self.cRes).field("paRes", &self.paRes).field("reserved", &self.reserved).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for NODERESTRICTION { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for NODERESTRICTION { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for NODERESTRICTION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for NODERESTRICTION { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -24142,38 +24142,38 @@ pub const NOTESPH_S_IGNORE_ID: i32 = 271874i32; #[doc = "*Required features: 'Win32_System_Search'*"] pub const NOTESPH_S_LISTKNOWNFIELDS: i32 = 271888i32; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub struct NOTRESTRICTION { pub pRes: *mut RESTRICTION, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for NOTRESTRICTION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for NOTRESTRICTION { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::fmt::Debug for NOTRESTRICTION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("NOTRESTRICTION").field("pRes", &self.pRes).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for NOTRESTRICTION { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for NOTRESTRICTION { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for NOTRESTRICTION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for NOTRESTRICTION { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -24919,32 +24919,32 @@ pub const PROGID_MSPersist_Version_W: &'static str = "MSPersist.1"; #[doc = "*Required features: 'Win32_System_Search'*"] pub const PROGID_MSPersist_W: &'static str = "MSPersist"; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub struct PROPERTYRESTRICTION { pub rel: u32, pub prop: super::super::Storage::IndexServer::FULLPROPSPEC, pub prval: super::Com::StructuredStorage::PROPVARIANT, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for PROPERTYRESTRICTION { fn clone(&self) -> Self { Self { rel: self.rel, prop: self.prop, prval: self.prval.clone() } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for PROPERTYRESTRICTION { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for PROPERTYRESTRICTION { fn eq(&self, other: &Self) -> bool { self.rel == other.rel && self.prop == other.prop && self.prval == other.prval } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for PROPERTYRESTRICTION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for PROPERTYRESTRICTION { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -25211,79 +25211,79 @@ pub const QUERY_VALIDBITS: u32 = 3u32; pub const QueryParser: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb72f8fd8_0fab_4dd9_bdbf_245a6ce1485b); pub const QueryParserManager: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x5088b39a_29b4_4d9d_8245_4ee289222f66); #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct RANGECATEGORIZE { pub cRange: u32, pub aRangeBegin: *mut super::Com::StructuredStorage::PROPVARIANT, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for RANGECATEGORIZE {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for RANGECATEGORIZE { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::fmt::Debug for RANGECATEGORIZE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("RANGECATEGORIZE").field("cRange", &self.cRange).field("aRangeBegin", &self.aRangeBegin).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for RANGECATEGORIZE { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for RANGECATEGORIZE { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for RANGECATEGORIZE {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for RANGECATEGORIZE { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub struct RESTRICTION { pub rt: u32, pub weight: u32, pub res: RESTRICTION_0, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for RESTRICTION { fn clone(&self) -> Self { Self { rt: self.rt, weight: self.weight, res: self.res.clone() } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for RESTRICTION { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for RESTRICTION { fn eq(&self, other: &Self) -> bool { self.rt == other.rt && self.weight == other.weight && self.res == other.res } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for RESTRICTION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for RESTRICTION { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub union RESTRICTION_0 { pub ar: NODERESTRICTION, pub orRestriction: NODERESTRICTION, @@ -25294,25 +25294,25 @@ pub union RESTRICTION_0 { pub nlr: NATLANGUAGERESTRICTION, pub pr: ::core::mem::ManuallyDrop, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for RESTRICTION_0 { fn clone(&self) -> Self { unsafe { ::core::mem::transmute_copy(self) } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for RESTRICTION_0 { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for RESTRICTION_0 { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for RESTRICTION_0 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for RESTRICTION_0 { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -25339,9 +25339,9 @@ pub const REXSPH_E_UNKNOWN_DATA_TYPE: i32 = -2147207929i32; #[doc = "*Required features: 'Win32_System_Search'*"] pub const REXSPH_S_REDIRECTED: i32 = 275713i32; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub struct RMTPACK { pub pISeqStream: ::core::option::Option, pub cbData: u32, @@ -25359,7 +25359,7 @@ pub struct RMTPACK { pub rgArray: *mut super::Com::VARIANT, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::clone::Clone for RMTPACK { fn clone(&self) -> Self { Self { @@ -25381,31 +25381,31 @@ impl ::core::clone::Clone for RMTPACK { } } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] unsafe impl ::windows::core::Abi for RMTPACK { type Abi = ::core::mem::ManuallyDrop; } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::cmp::PartialEq for RMTPACK { fn eq(&self, other: &Self) -> bool { self.pISeqStream == other.pISeqStream && self.cbData == other.cbData && self.cBSTR == other.cBSTR && self.rgBSTR == other.rgBSTR && self.cVARIANT == other.cVARIANT && self.rgVARIANT == other.rgVARIANT && self.cIDISPATCH == other.cIDISPATCH && self.rgIDISPATCH == other.rgIDISPATCH && self.cIUNKNOWN == other.cIUNKNOWN && self.rgIUNKNOWN == other.rgIUNKNOWN && self.cPROPVARIANT == other.cPROPVARIANT && self.rgPROPVARIANT == other.rgPROPVARIANT && self.cArray == other.cArray && self.rgArray == other.rgArray } } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::cmp::Eq for RMTPACK {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::default::Default for RMTPACK { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C, packed(2))] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub struct RMTPACK { pub pISeqStream: ::core::option::Option, pub cbData: u32, @@ -25423,22 +25423,22 @@ pub struct RMTPACK { pub rgArray: *mut super::Com::VARIANT, } #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] unsafe impl ::windows::core::Abi for RMTPACK { type Abi = ::core::mem::ManuallyDrop; } #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::cmp::PartialEq for RMTPACK { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::cmp::Eq for RMTPACK {} #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl ::core::default::Default for RMTPACK { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -25592,31 +25592,31 @@ pub const SCRIPTPI_E_PID_NOT_NAME: i32 = -2147213311i32; #[doc = "*Required features: 'Win32_System_Search'*"] pub const SCRIPTPI_E_PID_NOT_NUMERIC: i32 = -2147213310i32; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub struct SEARCH_COLUMN_PROPERTIES { pub Value: super::Com::StructuredStorage::PROPVARIANT, pub lcid: u32, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for SEARCH_COLUMN_PROPERTIES { fn clone(&self) -> Self { Self { Value: self.Value.clone(), lcid: self.lcid } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for SEARCH_COLUMN_PROPERTIES { type Abi = ::core::mem::ManuallyDrop; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for SEARCH_COLUMN_PROPERTIES { fn eq(&self, other: &Self) -> bool { self.Value == other.Value && self.lcid == other.lcid } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for SEARCH_COLUMN_PROPERTIES {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for SEARCH_COLUMN_PROPERTIES { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -33407,39 +33407,39 @@ pub const TRACE_VERSION: u32 = 1000u32; #[doc = "*Required features: 'Win32_System_Search'*"] pub const TRACE_VS_EVENT_ON: i32 = 2i32; #[repr(C)] -#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: 'Win32_System_Search', 'Win32_Foundation', 'Win32_Storage_IndexServer', 'Win32_System_Com_StructuredStorage'*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] pub struct VECTORRESTRICTION { pub Node: NODERESTRICTION, pub RankMethod: u32, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::marker::Copy for VECTORRESTRICTION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::clone::Clone for VECTORRESTRICTION { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::fmt::Debug for VECTORRESTRICTION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("VECTORRESTRICTION").field("Node", &self.Node).field("RankMethod", &self.RankMethod).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] unsafe impl ::windows::core::Abi for VECTORRESTRICTION { type Abi = Self; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::PartialEq for VECTORRESTRICTION { fn eq(&self, other: &Self) -> bool { unsafe { ::windows::core::memcmp(self as *const _ as _, other as *const _ as _, core::mem::size_of::()) == 0 } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::cmp::Eq for VECTORRESTRICTION {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl ::core::default::Default for VECTORRESTRICTION { fn default() -> Self { unsafe { ::core::mem::zeroed() } diff --git a/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs index 5a932c9e85..5a6d4647ce 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs @@ -1,8 +1,8 @@ -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait ISideShowBulkCapabilities_Impl: Sized + ISideShowCapabilities_Impl { fn GetCapabilities(&self, in_keycollection: &::core::option::Option, inout_pvalues: *mut ::core::option::Option) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ISideShowBulkCapabilities_Vtbl { pub const fn new() -> ISideShowBulkCapabilities_Vtbl { unsafe extern "system" fn GetCapabilities(this: *mut ::core::ffi::c_void, in_keycollection: ::windows::core::RawPtr, inout_pvalues: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -16,11 +16,11 @@ impl ISideShowBulkCapabilities_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait ISideShowCapabilities_Impl: Sized { fn GetCapability(&self, in_keycapability: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, inout_pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ISideShowCapabilities_Vtbl { pub const fn new() -> ISideShowCapabilities_Vtbl { unsafe extern "system" fn GetCapability(this: *mut ::core::ffi::c_void, in_keycapability: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, inout_pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { @@ -414,7 +414,7 @@ impl ISideShowNotificationManager_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait ISideShowPropVariantCollection_Impl: Sized { fn Add(&self, pvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn Clear(&self) -> ::windows::core::Result<()>; @@ -422,7 +422,7 @@ pub trait ISideShowPropVariantCollection_Impl: Sized { fn GetCount(&self, pcelems: *const u32) -> ::windows::core::Result<()>; fn RemoveAt(&self, dwindex: u32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl ISideShowPropVariantCollection_Vtbl { pub const fn new() -> ISideShowPropVariantCollection_Vtbl { unsafe extern "system" fn Add(this: *mut ::core::ffi::c_void, pvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { 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 2562639356..4e3df62089 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs @@ -120,8 +120,8 @@ pub const GUID_DEVINTERFACE_SIDESHOW: ::windows::core::GUID = ::windows::core::G #[repr(transparent)] pub struct ISideShowBulkCapabilities(::windows::core::IUnknown); impl ISideShowBulkCapabilities { - #[doc = "*Required features: 'Win32_System_SideShow', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_System_SideShow', '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"))] pub unsafe fn GetCapability(&self, in_keycapability: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, inout_pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetCapability)(::core::mem::transmute_copy(self), ::core::mem::transmute(in_keycapability), ::core::mem::transmute(inout_pvalue)).ok() } @@ -200,8 +200,8 @@ pub struct ISideShowBulkCapabilities_Vtbl { #[repr(transparent)] pub struct ISideShowCapabilities(::windows::core::IUnknown); impl ISideShowCapabilities { - #[doc = "*Required features: 'Win32_System_SideShow', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_System_SideShow', '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"))] pub unsafe fn GetCapability(&self, in_keycapability: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, inout_pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetCapability)(::core::mem::transmute_copy(self), ::core::mem::transmute(in_keycapability), ::core::mem::transmute(inout_pvalue)).ok() } @@ -250,9 +250,9 @@ unsafe impl ::windows::core::Interface for ISideShowCapabilities { #[doc(hidden)] pub struct ISideShowCapabilities_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetCapability: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_keycapability: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, inout_pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] GetCapability: usize, } #[doc = "*Required features: 'Win32_System_SideShow'*"] @@ -824,8 +824,8 @@ pub struct ISideShowNotificationManager_Vtbl { #[repr(transparent)] pub struct ISideShowPropVariantCollection(::windows::core::IUnknown); impl ISideShowPropVariantCollection { - #[doc = "*Required features: 'Win32_System_SideShow', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_SideShow', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Add(&self, pvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Add)(::core::mem::transmute_copy(self), ::core::mem::transmute(pvalue)).ok() } @@ -833,8 +833,8 @@ impl ISideShowPropVariantCollection { pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Clear)(::core::mem::transmute_copy(self)).ok() } - #[doc = "*Required features: 'Win32_System_SideShow', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_System_SideShow', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetAt(&self, dwindex: u32, pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetAt)(::core::mem::transmute_copy(self), ::core::mem::transmute(dwindex), ::core::mem::transmute(pvalue)).ok() } @@ -891,14 +891,14 @@ unsafe impl ::windows::core::Interface for ISideShowPropVariantCollection { #[doc(hidden)] pub struct ISideShowPropVariantCollection_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] Add: usize, pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetAt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwindex: u32, pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetAt: usize, pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcelems: *const u32) -> ::windows::core::HRESULT, pub RemoveAt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwindex: u32) -> ::windows::core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/System/VirtualDosMachines/mod.rs b/crates/libs/windows/src/Windows/Win32/System/VirtualDosMachines/mod.rs index 6d22945a7f..153a25770f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/VirtualDosMachines/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/VirtualDosMachines/mod.rs @@ -601,9 +601,9 @@ pub const VDMEVENT_VERBOSE: u32 = 16384u32; #[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub type VDMGETADDREXPRESSIONPROC = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Diagnostics_Debug', 'Win32_System_Kernel'*"] +#[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Kernel'*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub type VDMGETCONTEXTPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Diagnostics_Debug', 'Win32_System_Kernel'*"] #[cfg(target_arch = "x86")] @@ -627,9 +627,9 @@ pub type VDMGETSELECTORMODULEPROC = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Diagnostics_Debug'*"] +#[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation'*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] +#[cfg(feature = "Win32_Foundation")] pub type VDMGETTHREADSELECTORENTRYPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Diagnostics_Debug'*"] #[cfg(target_arch = "x86")] @@ -802,9 +802,9 @@ pub type VDMMODULENEXTPROC = ::core::option::Option super::super::Foundation::BOOL>; -#[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Diagnostics_Debug', 'Win32_System_Kernel'*"] +#[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Kernel'*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub type VDMSETCONTEXTPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "*Required features: 'Win32_System_VirtualDosMachines', 'Win32_Foundation', 'Win32_System_Diagnostics_Debug', 'Win32_System_Kernel'*"] #[cfg(target_arch = "x86")] diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs index 8a224fae3f..1375a84886 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs @@ -1,9 +1,9 @@ -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi"))] pub trait IPdfRendererNative_Impl: Sized { fn RenderPageToSurface(&self, pdfpage: &::core::option::Option<::windows::core::IUnknown>, psurface: &::core::option::Option, offset: &super::super::super::Foundation::POINT, prenderparams: *const PDF_RENDER_PARAMS) -> ::windows::core::Result<()>; fn RenderPageToDeviceContext(&self, pdfpage: &::core::option::Option<::windows::core::IUnknown>, pd2ddevicecontext: &::core::option::Option, prenderparams: *const PDF_RENDER_PARAMS) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi"))] impl IPdfRendererNative_Vtbl { pub const fn new() -> IPdfRendererNative_Vtbl { unsafe extern "system" fn RenderPageToSurface(this: *mut ::core::ffi::c_void, pdfpage: *mut ::core::ffi::c_void, psurface: ::windows::core::RawPtr, offset: super::super::super::Foundation::POINT, prenderparams: *const PDF_RENDER_PARAMS) -> ::windows::core::HRESULT { 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 3b113dc815..09555d23df 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 @@ -8,8 +8,8 @@ impl IPdfRendererNative { pub unsafe fn RenderPageToSurface<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::IUnknown>, Param1: ::windows::core::IntoParam<'a, super::super::super::Graphics::Dxgi::IDXGISurface>, Param2: ::windows::core::IntoParam<'a, super::super::super::Foundation::POINT>>(&self, pdfpage: Param0, psurface: Param1, offset: Param2, prenderparams: *const PDF_RENDER_PARAMS) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).RenderPageToSurface)(::core::mem::transmute_copy(self), pdfpage.into_param().abi(), psurface.into_param().abi(), offset.into_param().abi(), ::core::mem::transmute(prenderparams)).ok() } - #[doc = "*Required features: 'Win32_System_WinRT_Pdf', 'Win32_Foundation', 'Win32_Graphics_Direct2D', 'Win32_Graphics_Direct2D_Common'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common"))] + #[doc = "*Required features: 'Win32_System_WinRT_Pdf', 'Win32_Foundation', 'Win32_Graphics_Direct2D_Common'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn RenderPageToDeviceContext<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::IUnknown>, Param1: ::windows::core::IntoParam<'a, super::super::super::Graphics::Direct2D::ID2D1DeviceContext>>(&self, pdfpage: Param0, pd2ddevicecontext: Param1, prenderparams: *const PDF_RENDER_PARAMS) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).RenderPageToDeviceContext)(::core::mem::transmute_copy(self), pdfpage.into_param().abi(), pd2ddevicecontext.into_param().abi(), ::core::mem::transmute(prenderparams)).ok() } @@ -62,9 +62,9 @@ pub struct IPdfRendererNative_Vtbl { pub RenderPageToSurface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdfpage: *mut ::core::ffi::c_void, psurface: ::windows::core::RawPtr, offset: super::super::super::Foundation::POINT, prenderparams: *const PDF_RENDER_PARAMS) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi")))] RenderPageToSurface: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub RenderPageToDeviceContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdfpage: *mut ::core::ffi::c_void, pd2ddevicecontext: ::windows::core::RawPtr, prenderparams: *const PDF_RENDER_PARAMS) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D", feature = "Win32_Graphics_Direct2D_Common")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common")))] RenderPageToDeviceContext: usize, } #[repr(C)] diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs index 6dd0072d43..7236ea5ab4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs @@ -3126,11 +3126,11 @@ impl ISyncProviderConfigUI_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait ISyncProviderConfigUIInfo_Impl: Sized + super::super::UI::Shell::PropertiesSystem::IPropertyStore_Impl { fn GetSyncProviderConfigUI(&self, dwclscontext: u32) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ISyncProviderConfigUIInfo_Vtbl { pub const fn new() -> ISyncProviderConfigUIInfo_Vtbl { unsafe extern "system" fn GetSyncProviderConfigUI(this: *mut ::core::ffi::c_void, dwclscontext: u32, ppsyncproviderconfigui: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -3153,11 +3153,11 @@ impl ISyncProviderConfigUIInfo_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait ISyncProviderInfo_Impl: Sized + super::super::UI::Shell::PropertiesSystem::IPropertyStore_Impl { fn GetSyncProvider(&self, dwclscontext: u32) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ISyncProviderInfo_Vtbl { pub const fn new() -> ISyncProviderInfo_Vtbl { unsafe extern "system" fn GetSyncProvider(this: *mut ::core::ffi::c_void, dwclscontext: u32, ppsyncprovider: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { 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 af752cc64e..346e073f41 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs @@ -6248,14 +6248,14 @@ impl ISyncProviderConfigUIInfo { let mut result__: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetAt)(::core::mem::transmute_copy(self), ::core::mem::transmute(iprop), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_System_WindowsSync', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_System_WindowsSync', '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"))] pub unsafe fn GetValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_System_WindowsSync', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_System_WindowsSync', '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"))] pub unsafe fn SetValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, propvar: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(propvar)).ok() } @@ -6368,14 +6368,14 @@ impl ISyncProviderInfo { let mut result__: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetAt)(::core::mem::transmute_copy(self), ::core::mem::transmute(iprop), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_System_WindowsSync', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_System_WindowsSync', '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"))] pub unsafe fn GetValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_System_WindowsSync', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_System_WindowsSync', '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"))] pub unsafe fn SetValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, propvar: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(propvar)).ok() } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs index 3123cbea3e..99214f0eb9 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs @@ -1,4 +1,4 @@ -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub trait IRichEditOle_Impl: Sized { fn GetClientSite(&self) -> ::windows::core::Result; fn GetObjectCount(&self) -> i32; @@ -17,7 +17,7 @@ pub trait IRichEditOle_Impl: Sized { fn GetClipboardData(&self, lpchrg: *mut CHARRANGE, reco: u32, lplpdataobj: *mut ::core::option::Option) -> ::windows::core::Result<()>; fn ImportDataObject(&self, lpdataobj: &::core::option::Option, cf: u16, hmetapict: isize) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] impl IRichEditOle_Vtbl { pub const fn new() -> IRichEditOle_Vtbl { unsafe extern "system" fn GetClientSite(this: *mut ::core::ffi::c_void, lplpolesite: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -130,7 +130,7 @@ impl IRichEditOle_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] pub trait IRichEditOleCallback_Impl: Sized { fn GetNewStorage(&self) -> ::windows::core::Result; fn GetInPlaceContext(&self, lplpframe: *mut ::core::option::Option, lplpdoc: *mut ::core::option::Option, lpframeinfo: *mut super::super::super::System::Ole::OIFI) -> ::windows::core::Result<()>; @@ -143,7 +143,7 @@ pub trait IRichEditOleCallback_Impl: Sized { fn GetDragDropEffect(&self, fdrag: super::super::super::Foundation::BOOL, grfkeystate: u32, pdweffect: *mut u32) -> ::windows::core::Result<()>; fn GetContextMenu(&self, seltype: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE, lpoleobj: &::core::option::Option, lpchrg: *mut CHARRANGE, lphmenu: *mut super::super::WindowsAndMessaging::HMENU) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] impl IRichEditOleCallback_Vtbl { pub const fn new() -> IRichEditOleCallback_Vtbl { unsafe extern "system" fn GetNewStorage(this: *mut ::core::ffi::c_void, lplpstg: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs index 1047c30dc6..02bf6ab318 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs @@ -201,12 +201,12 @@ impl IEmptyVolumeCacheCallBack_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IReconcilableObject_Impl: Sized { fn Reconcile(&self, pinitiator: &::core::option::Option, dwflags: u32, hwndowner: super::super::Foundation::HWND, hwndprogressfeedback: super::super::Foundation::HWND, ulcinput: u32, rgpmkotherinput: *mut ::core::option::Option, ploutindex: *mut i32, pstgnewresidues: &::core::option::Option, pvreserved: *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn GetProgressFeedbackMaxEstimate(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IReconcilableObject_Vtbl { pub const fn new() -> IReconcilableObject_Vtbl { unsafe extern "system" fn Reconcile(this: *mut ::core::ffi::c_void, pinitiator: ::windows::core::RawPtr, dwflags: u32, hwndowner: super::super::Foundation::HWND, hwndprogressfeedback: super::super::Foundation::HWND, ulcinput: u32, rgpmkotherinput: *mut ::windows::core::RawPtr, ploutindex: *mut i32, pstgnewresidues: ::windows::core::RawPtr, pvreserved: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { 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 d6c693eadf..9efc1e30d1 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs @@ -488,8 +488,8 @@ pub struct IEmptyVolumeCacheCallBack_Vtbl { #[repr(transparent)] pub struct IReconcilableObject(::windows::core::IUnknown); impl IReconcilableObject { - #[doc = "*Required features: 'Win32_UI_LegacyWindowsEnvironmentFeatures', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_LegacyWindowsEnvironmentFeatures', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Reconcile<'a, Param0: ::windows::core::IntoParam<'a, IReconcileInitiator>, Param2: ::windows::core::IntoParam<'a, super::super::Foundation::HWND>, Param3: ::windows::core::IntoParam<'a, super::super::Foundation::HWND>, Param7: ::windows::core::IntoParam<'a, super::super::System::Com::StructuredStorage::IStorage>>(&self, pinitiator: Param0, dwflags: u32, hwndowner: Param2, hwndprogressfeedback: Param3, ulcinput: u32, rgpmkotherinput: *mut ::core::option::Option, ploutindex: *mut i32, pstgnewresidues: Param7, pvreserved: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Reconcile)(::core::mem::transmute_copy(self), pinitiator.into_param().abi(), ::core::mem::transmute(dwflags), hwndowner.into_param().abi(), hwndprogressfeedback.into_param().abi(), ::core::mem::transmute(ulcinput), ::core::mem::transmute(rgpmkotherinput), ::core::mem::transmute(ploutindex), pstgnewresidues.into_param().abi(), ::core::mem::transmute(pvreserved)).ok() } @@ -543,9 +543,9 @@ unsafe impl ::windows::core::Interface for IReconcilableObject { #[doc(hidden)] pub struct IReconcilableObject_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub Reconcile: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinitiator: ::windows::core::RawPtr, dwflags: u32, hwndowner: super::super::Foundation::HWND, hwndprogressfeedback: super::super::Foundation::HWND, ulcinput: u32, rgpmkotherinput: *mut ::windows::core::RawPtr, ploutindex: *mut i32, pstgnewresidues: ::windows::core::RawPtr, pvreserved: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] Reconcile: usize, pub GetProgressFeedbackMaxEstimate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pulprogressmax: *mut u32) -> ::windows::core::HRESULT, } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs index b87653beb2..ea59ccb4e1 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs @@ -126,12 +126,12 @@ impl IUICollectionChangedEvent_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IUICommandHandler_Impl: Sized { fn Execute(&self, commandid: u32, verb: UI_EXECUTIONVERB, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, currentvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, commandexecutionproperties: &::core::option::Option) -> ::windows::core::Result<()>; fn UpdateProperty(&self, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, currentvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IUICommandHandler_Vtbl { pub const fn new() -> IUICommandHandler_Vtbl { unsafe extern "system" fn Execute(this: *mut ::core::ffi::c_void, commandid: u32, verb: UI_EXECUTIONVERB, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, currentvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, commandexecutionproperties: ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -210,7 +210,7 @@ impl IUIEventingManager_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IUIFramework_Impl: Sized { fn Initialize(&self, framewnd: super::super::Foundation::HWND, application: &::core::option::Option) -> ::windows::core::Result<()>; fn Destroy(&self) -> ::windows::core::Result<()>; @@ -222,7 +222,7 @@ pub trait IUIFramework_Impl: Sized { fn FlushPendingInvalidations(&self) -> ::windows::core::Result<()>; fn SetModes(&self, imodes: i32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IUIFramework_Vtbl { pub const fn new() -> IUIFramework_Vtbl { unsafe extern "system" fn Initialize(this: *mut ::core::ffi::c_void, framewnd: super::super::Foundation::HWND, application: ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -382,11 +382,11 @@ impl IUIRibbon_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IUISimplePropertySet_Impl: Sized { fn GetValue(&self, key: *const super::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IUISimplePropertySet_Vtbl { pub const fn new() -> IUISimplePropertySet_Vtbl { unsafe extern "system" fn GetValue(this: *mut ::core::ffi::c_void, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, value: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { 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 3a40b57b02..9172c9f733 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs @@ -211,13 +211,13 @@ pub struct IUICollectionChangedEvent_Vtbl { #[repr(transparent)] pub struct IUICommandHandler(::windows::core::IUnknown); impl IUICommandHandler { - #[doc = "*Required features: 'Win32_UI_Ribbon', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_UI_Ribbon', '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"))] pub unsafe fn Execute<'a, Param4: ::windows::core::IntoParam<'a, IUISimplePropertySet>>(&self, commandid: u32, verb: UI_EXECUTIONVERB, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, currentvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, commandexecutionproperties: Param4) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Execute)(::core::mem::transmute_copy(self), ::core::mem::transmute(commandid), ::core::mem::transmute(verb), ::core::mem::transmute(key), ::core::mem::transmute(currentvalue), commandexecutionproperties.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_UI_Ribbon', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_UI_Ribbon', '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"))] pub unsafe fn UpdateProperty(&self, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, currentvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).UpdateProperty)(::core::mem::transmute_copy(self), ::core::mem::transmute(commandid), ::core::mem::transmute(key), ::core::mem::transmute(currentvalue), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -267,13 +267,13 @@ unsafe impl ::windows::core::Interface for IUICommandHandler { #[doc(hidden)] pub struct IUICommandHandler_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub Execute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, commandid: u32, verb: UI_EXECUTIONVERB, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, currentvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, commandexecutionproperties: ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] Execute: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub UpdateProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, currentvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, newvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] UpdateProperty: usize, } #[doc = "*Required features: 'Win32_UI_Ribbon'*"] @@ -467,14 +467,14 @@ impl IUIFramework { pub unsafe fn GetView(&self, viewid: u32, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetView)(::core::mem::transmute_copy(self), ::core::mem::transmute(viewid), ::core::mem::transmute(riid), ::core::mem::transmute(ppv)).ok() } - #[doc = "*Required features: 'Win32_UI_Ribbon', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_UI_Ribbon', '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"))] pub unsafe fn GetUICommandProperty(&self, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetUICommandProperty)(::core::mem::transmute_copy(self), ::core::mem::transmute(commandid), ::core::mem::transmute(key), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Ribbon', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_UI_Ribbon', '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"))] pub unsafe fn SetUICommandProperty(&self, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUICommandProperty)(::core::mem::transmute_copy(self), ::core::mem::transmute(commandid), ::core::mem::transmute(key), ::core::mem::transmute(value)).ok() } @@ -546,13 +546,13 @@ pub struct IUIFramework_Vtbl { #[cfg(not(feature = "Win32_Foundation"))] LoadUI: usize, pub GetView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, viewid: u32, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetUICommandProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, value: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] GetUICommandProperty: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub SetUICommandProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] SetUICommandProperty: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub InvalidateUICommand: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, commandid: u32, flags: UI_INVALIDATIONS, key: *const super::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::HRESULT, @@ -759,8 +759,8 @@ pub struct IUIRibbon_Vtbl { #[repr(transparent)] pub struct IUISimplePropertySet(::windows::core::IUnknown); impl IUISimplePropertySet { - #[doc = "*Required features: 'Win32_UI_Ribbon', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_UI_Ribbon', '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"))] pub unsafe fn GetValue(&self, key: *const super::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -810,9 +810,9 @@ unsafe impl ::windows::core::Interface for IUISimplePropertySet { #[doc(hidden)] pub struct IUISimplePropertySet_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, value: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] GetValue: usize, } pub const LIBID_UIRibbon: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x942f35c2_e83b_45ef_b085_ac295dd63d5b); diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs index d8bdf93cc7..1061c948cd 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs @@ -66,14 +66,14 @@ impl IInitializeWithStream_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait INamedPropertyStore_Impl: Sized { fn GetNamedValue(&self, pszname: super::super::super::Foundation::PWSTR) -> ::windows::core::Result; fn SetNamedValue(&self, pszname: super::super::super::Foundation::PWSTR, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn GetNameCount(&self) -> ::windows::core::Result; fn GetNameAt(&self, iprop: u32) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl INamedPropertyStore_Vtbl { pub const fn new() -> INamedPropertyStore_Vtbl { unsafe extern "system" fn GetNamedValue(this: *mut ::core::ffi::c_void, pszname: super::super::super::Foundation::PWSTR, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { @@ -223,11 +223,11 @@ impl IPersistSerializedPropStorage2_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPropertyChange_Impl: Sized + IObjectWithPropertyKey_Impl { fn ApplyToPropVariant(&self, propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IPropertyChange_Vtbl { pub const fn new() -> IPropertyChange_Vtbl { unsafe extern "system" fn ApplyToPropVariant(this: *mut ::core::ffi::c_void, propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppropvarout: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { @@ -314,7 +314,7 @@ impl IPropertyChangeArray_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub trait IPropertyDescription_Impl: Sized { fn GetPropertyKey(&self) -> ::windows::core::Result; fn GetCanonicalName(&self) -> ::windows::core::Result; @@ -338,7 +338,7 @@ pub trait IPropertyDescription_Impl: Sized { fn FormatForDisplay(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS) -> ::windows::core::Result; fn IsValueCanonical(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] impl IPropertyDescription_Vtbl { pub const fn new() -> IPropertyDescription_Vtbl { unsafe extern "system" fn GetPropertyKey(this: *mut ::core::ffi::c_void, pkey: *mut PROPERTYKEY) -> ::windows::core::HRESULT { @@ -571,11 +571,11 @@ impl IPropertyDescription_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub trait IPropertyDescription2_Impl: Sized + IPropertyDescription_Impl { fn GetImageReferenceForValue(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] impl IPropertyDescription2_Vtbl { pub const fn new() -> IPropertyDescription2_Vtbl { unsafe extern "system" fn GetImageReferenceForValue(this: *mut ::core::ffi::c_void, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppszimageres: *mut super::super::super::Foundation::PWSTR) -> ::windows::core::HRESULT { @@ -595,12 +595,12 @@ impl IPropertyDescription2_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub trait IPropertyDescriptionAliasInfo_Impl: Sized + IPropertyDescription_Impl { fn GetSortByAlias(&self, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn GetAdditionalSortByAliases(&self, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] impl IPropertyDescriptionAliasInfo_Vtbl { pub const fn new() -> IPropertyDescriptionAliasInfo_Vtbl { unsafe extern "system" fn GetSortByAlias(this: *mut ::core::ffi::c_void, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -655,11 +655,11 @@ impl IPropertyDescriptionList_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub trait IPropertyDescriptionRelatedPropertyInfo_Impl: Sized + IPropertyDescription_Impl { fn GetRelatedProperty(&self, pszrelationshipname: super::super::super::Foundation::PWSTR, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] impl IPropertyDescriptionRelatedPropertyInfo_Vtbl { pub const fn new() -> IPropertyDescriptionRelatedPropertyInfo_Vtbl { unsafe extern "system" fn GetRelatedProperty(this: *mut ::core::ffi::c_void, pszrelationshipname: super::super::super::Foundation::PWSTR, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -673,14 +673,14 @@ impl IPropertyDescriptionRelatedPropertyInfo_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] pub trait IPropertyDescriptionSearchInfo_Impl: Sized + IPropertyDescription_Impl { fn GetSearchInfoFlags(&self) -> ::windows::core::Result; fn GetColumnIndexType(&self) -> ::windows::core::Result; fn GetProjectionString(&self) -> ::windows::core::Result; fn GetMaxSize(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common"))] impl IPropertyDescriptionSearchInfo_Vtbl { pub const fn new() -> IPropertyDescriptionSearchInfo_Vtbl { unsafe extern "system" fn GetSearchInfoFlags(this: *mut ::core::ffi::c_void, ppdsiflags: *mut PROPDESC_SEARCHINFO_FLAGS) -> ::windows::core::HRESULT { @@ -739,7 +739,7 @@ impl IPropertyDescriptionSearchInfo_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPropertyEnumType_Impl: Sized { fn GetEnumType(&self) -> ::windows::core::Result; fn GetValue(&self) -> ::windows::core::Result; @@ -747,7 +747,7 @@ pub trait IPropertyEnumType_Impl: Sized { fn GetRangeSetValue(&self) -> ::windows::core::Result; fn GetDisplayText(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IPropertyEnumType_Vtbl { pub const fn new() -> IPropertyEnumType_Vtbl { unsafe extern "system" fn GetEnumType(this: *mut ::core::ffi::c_void, penumtype: *mut PROPENUMTYPE) -> ::windows::core::HRESULT { @@ -818,11 +818,11 @@ impl IPropertyEnumType_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPropertyEnumType2_Impl: Sized + IPropertyEnumType_Impl { fn GetImageReference(&self) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IPropertyEnumType2_Vtbl { pub const fn new() -> IPropertyEnumType2_Vtbl { unsafe extern "system" fn GetImageReference(this: *mut ::core::ffi::c_void, ppszimageres: *mut super::super::super::Foundation::PWSTR) -> ::windows::core::HRESULT { @@ -842,14 +842,14 @@ impl IPropertyEnumType2_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPropertyEnumTypeList_Impl: Sized { fn GetCount(&self) -> ::windows::core::Result; fn GetAt(&self, itype: u32, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn GetConditionAt(&self, nindex: u32, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn FindMatchingIndex(&self, propvarcmp: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IPropertyEnumTypeList_Vtbl { pub const fn new() -> IPropertyEnumTypeList_Vtbl { unsafe extern "system" fn GetCount(this: *mut ::core::ffi::c_void, pctypes: *mut u32) -> ::windows::core::HRESULT { @@ -896,7 +896,7 @@ impl IPropertyEnumTypeList_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPropertyStore_Impl: Sized { fn GetCount(&self) -> ::windows::core::Result; fn GetAt(&self, iprop: u32) -> ::windows::core::Result; @@ -904,7 +904,7 @@ pub trait IPropertyStore_Impl: Sized { fn SetValue(&self, key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn Commit(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IPropertyStore_Vtbl { pub const fn new() -> IPropertyStore_Vtbl { unsafe extern "system" fn GetCount(this: *mut ::core::ffi::c_void, cprops: *mut u32) -> ::windows::core::HRESULT { @@ -963,14 +963,14 @@ impl IPropertyStore_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPropertyStoreCache_Impl: Sized + IPropertyStore_Impl { fn GetState(&self, key: *const PROPERTYKEY) -> ::windows::core::Result; fn GetValueAndState(&self, key: *const PROPERTYKEY, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT, pstate: *mut PSC_STATE) -> ::windows::core::Result<()>; fn SetState(&self, key: *const PROPERTYKEY, state: PSC_STATE) -> ::windows::core::Result<()>; fn SetValueAndState(&self, key: *const PROPERTYKEY, ppropvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, state: PSC_STATE) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IPropertyStoreCache_Vtbl { pub const fn new() -> IPropertyStoreCache_Vtbl { unsafe extern "system" fn GetState(this: *mut ::core::ffi::c_void, key: *const PROPERTYKEY, pstate: *mut PSC_STATE) -> ::windows::core::HRESULT { @@ -1053,7 +1053,7 @@ impl IPropertyStoreFactory_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPropertySystem_Impl: Sized { fn GetPropertyDescription(&self, propkey: *const PROPERTYKEY, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn GetPropertyDescriptionByName(&self, pszcanonicalname: super::super::super::Foundation::PWSTR, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; @@ -1065,7 +1065,7 @@ pub trait IPropertySystem_Impl: Sized { fn UnregisterPropertySchema(&self, pszpath: super::super::super::Foundation::PWSTR) -> ::windows::core::Result<()>; fn RefreshPropertySchema(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IPropertySystem_Vtbl { pub const fn new() -> IPropertySystem_Vtbl { unsafe extern "system" fn GetPropertyDescription(this: *mut ::core::ffi::c_void, propkey: *const PROPERTYKEY, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -1152,7 +1152,7 @@ impl IPropertySystemChangeNotify_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait IPropertyUI_Impl: Sized { fn ParsePropertyName(&self, pszname: super::super::super::Foundation::PWSTR, pfmtid: *mut ::windows::core::GUID, ppid: *mut u32, pcheaten: *mut u32) -> ::windows::core::Result<()>; fn GetCannonicalName(&self, fmtid: *const ::windows::core::GUID, pid: u32, pwsztext: super::super::super::Foundation::PWSTR, cchtext: u32) -> ::windows::core::Result<()>; @@ -1163,7 +1163,7 @@ pub trait IPropertyUI_Impl: Sized { fn FormatForDisplay(&self, fmtid: *const ::windows::core::GUID, pid: u32, ppropvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, puiff: PROPERTYUI_FORMAT_FLAGS, pwsztext: super::super::super::Foundation::PWSTR, cchtext: u32) -> ::windows::core::Result<()>; fn GetHelpInfo(&self, fmtid: *const ::windows::core::GUID, pid: u32, pwszhelpfile: super::super::super::Foundation::PWSTR, cch: u32, puhelpid: *mut u32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl IPropertyUI_Vtbl { pub const fn new() -> IPropertyUI_Vtbl { unsafe extern "system" fn ParsePropertyName(this: *mut ::core::ffi::c_void, pszname: super::super::super::Foundation::PWSTR, pfmtid: *mut ::windows::core::GUID, ppid: *mut u32, pcheaten: *mut u32) -> ::windows::core::HRESULT { 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 dc898eb16b..edd4230c5d 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 @@ -1,6 +1,6 @@ #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 ClearPropVariantArray(rgpropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT, cvars: u32) { #[cfg(windows)] @@ -437,14 +437,14 @@ pub struct IInitializeWithStream_Vtbl { #[repr(transparent)] pub struct INamedPropertyStore(::windows::core::IUnknown); impl INamedPropertyStore { - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetNamedValue<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pszname: Param0) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetNamedValue)(::core::mem::transmute_copy(self), pszname.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetNamedValue<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pszname: Param0, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetNamedValue)(::core::mem::transmute_copy(self), pszname.into_param().abi(), ::core::mem::transmute(propvar)).ok() } @@ -504,13 +504,13 @@ unsafe impl ::windows::core::Interface for INamedPropertyStore { #[doc(hidden)] pub struct INamedPropertyStore_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetNamedValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszname: super::super::super::Foundation::PWSTR, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetNamedValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetNamedValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszname: super::super::super::Foundation::PWSTR, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetNamedValue: usize, pub GetNameCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwcount: *mut u32) -> ::windows::core::HRESULT, #[cfg(feature = "Win32_Foundation")] @@ -750,8 +750,8 @@ impl IPropertyChange { let mut result__: PROPERTYKEY = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetPropertyKey)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn ApplyToPropVariant(&self, propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).ApplyToPropVariant)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvarin), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -821,9 +821,9 @@ unsafe impl ::windows::core::Interface for IPropertyChange { #[doc(hidden)] pub struct IPropertyChange_Vtbl { pub base: IObjectWithPropertyKey_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub ApplyToPropVariant: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppropvarout: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] ApplyToPropVariant: usize, } #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem'*"] @@ -980,8 +980,8 @@ impl IPropertyDescription { let mut result__: PROPDESC_RELATIVEDESCRIPTION_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetRelativeDescriptionType)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetRelativeDescription(&self, propvar1: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, propvar2: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppszdesc1: *mut super::super::super::Foundation::PWSTR, ppszdesc2: *mut super::super::super::Foundation::PWSTR) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetRelativeDescription)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar1), ::core::mem::transmute(propvar2), ::core::mem::transmute(ppszdesc1), ::core::mem::transmute(ppszdesc2)).ok() } @@ -1011,19 +1011,19 @@ impl IPropertyDescription { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).GetEnumTypeList)(::core::mem::transmute_copy(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CoerceToCanonicalValue(&self, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).CoerceToCanonicalValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(ppropvar)).ok() } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FormatForDisplay(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS) -> ::windows::core::Result { let mut result__: super::super::super::Foundation::PWSTR = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).FormatForDisplay)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar), ::core::mem::transmute(pdfflags), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn IsValueCanonical(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).IsValueCanonical)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar)).ok() } @@ -1093,9 +1093,9 @@ pub struct IPropertyDescription_Vtbl { pub GetColumnState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcsflags: *mut u32) -> ::windows::core::HRESULT, pub GetGroupingRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pgr: *mut PROPDESC_GROUPING_RANGE) -> ::windows::core::HRESULT, pub GetRelativeDescriptionType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prdt: *mut PROPDESC_RELATIVEDESCRIPTION_TYPE) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetRelativeDescription: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propvar1: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, propvar2: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppszdesc1: *mut super::super::super::Foundation::PWSTR, ppszdesc2: *mut super::super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetRelativeDescription: usize, pub GetSortDescription: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psd: *mut PROPDESC_SORTDESCRIPTION) -> ::windows::core::HRESULT, #[cfg(feature = "Win32_Foundation")] @@ -1108,17 +1108,17 @@ pub struct IPropertyDescription_Vtbl { #[cfg(not(feature = "Win32_System_Search_Common"))] GetConditionType: usize, pub GetEnumTypeList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub CoerceToCanonicalValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] CoerceToCanonicalValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub FormatForDisplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS, ppszdisplay: *mut super::super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] FormatForDisplay: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub IsValueCanonical: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] IsValueCanonical: usize, } #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem'*"] @@ -1188,8 +1188,8 @@ impl IPropertyDescription2 { let mut result__: PROPDESC_RELATIVEDESCRIPTION_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetRelativeDescriptionType)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetRelativeDescription(&self, propvar1: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, propvar2: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppszdesc1: *mut super::super::super::Foundation::PWSTR, ppszdesc2: *mut super::super::super::Foundation::PWSTR) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetRelativeDescription)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar1), ::core::mem::transmute(propvar2), ::core::mem::transmute(ppszdesc1), ::core::mem::transmute(ppszdesc2)).ok() } @@ -1219,24 +1219,24 @@ impl IPropertyDescription2 { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetEnumTypeList)(::core::mem::transmute_copy(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CoerceToCanonicalValue(&self, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.CoerceToCanonicalValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(ppropvar)).ok() } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FormatForDisplay(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS) -> ::windows::core::Result { let mut result__: super::super::super::Foundation::PWSTR = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.FormatForDisplay)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar), ::core::mem::transmute(pdfflags), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn IsValueCanonical(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.IsValueCanonical)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar)).ok() } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetImageReferenceForValue(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: super::super::super::Foundation::PWSTR = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetImageReferenceForValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -1306,9 +1306,9 @@ unsafe impl ::windows::core::Interface for IPropertyDescription2 { #[doc(hidden)] pub struct IPropertyDescription2_Vtbl { pub base: IPropertyDescription_Vtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetImageReferenceForValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppszimageres: *mut super::super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetImageReferenceForValue: usize, } #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem'*"] @@ -1378,8 +1378,8 @@ impl IPropertyDescriptionAliasInfo { let mut result__: PROPDESC_RELATIVEDESCRIPTION_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetRelativeDescriptionType)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetRelativeDescription(&self, propvar1: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, propvar2: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppszdesc1: *mut super::super::super::Foundation::PWSTR, ppszdesc2: *mut super::super::super::Foundation::PWSTR) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetRelativeDescription)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar1), ::core::mem::transmute(propvar2), ::core::mem::transmute(ppszdesc1), ::core::mem::transmute(ppszdesc2)).ok() } @@ -1409,19 +1409,19 @@ impl IPropertyDescriptionAliasInfo { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetEnumTypeList)(::core::mem::transmute_copy(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CoerceToCanonicalValue(&self, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.CoerceToCanonicalValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(ppropvar)).ok() } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FormatForDisplay(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS) -> ::windows::core::Result { let mut result__: super::super::super::Foundation::PWSTR = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.FormatForDisplay)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar), ::core::mem::transmute(pdfflags), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn IsValueCanonical(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.IsValueCanonical)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar)).ok() } @@ -1632,8 +1632,8 @@ impl IPropertyDescriptionRelatedPropertyInfo { let mut result__: PROPDESC_RELATIVEDESCRIPTION_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetRelativeDescriptionType)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetRelativeDescription(&self, propvar1: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, propvar2: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppszdesc1: *mut super::super::super::Foundation::PWSTR, ppszdesc2: *mut super::super::super::Foundation::PWSTR) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetRelativeDescription)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar1), ::core::mem::transmute(propvar2), ::core::mem::transmute(ppszdesc1), ::core::mem::transmute(ppszdesc2)).ok() } @@ -1663,19 +1663,19 @@ impl IPropertyDescriptionRelatedPropertyInfo { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetEnumTypeList)(::core::mem::transmute_copy(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CoerceToCanonicalValue(&self, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.CoerceToCanonicalValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(ppropvar)).ok() } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FormatForDisplay(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS) -> ::windows::core::Result { let mut result__: super::super::super::Foundation::PWSTR = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.FormatForDisplay)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar), ::core::mem::transmute(pdfflags), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn IsValueCanonical(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.IsValueCanonical)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar)).ok() } @@ -1822,8 +1822,8 @@ impl IPropertyDescriptionSearchInfo { let mut result__: PROPDESC_RELATIVEDESCRIPTION_TYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetRelativeDescriptionType)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetRelativeDescription(&self, propvar1: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, propvar2: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppszdesc1: *mut super::super::super::Foundation::PWSTR, ppszdesc2: *mut super::super::super::Foundation::PWSTR) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.GetRelativeDescription)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar1), ::core::mem::transmute(propvar2), ::core::mem::transmute(ppszdesc1), ::core::mem::transmute(ppszdesc2)).ok() } @@ -1853,19 +1853,19 @@ impl IPropertyDescriptionSearchInfo { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).base.GetEnumTypeList)(::core::mem::transmute_copy(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CoerceToCanonicalValue(&self, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.CoerceToCanonicalValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(ppropvar)).ok() } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FormatForDisplay(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS) -> ::windows::core::Result { let mut result__: super::super::super::Foundation::PWSTR = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.FormatForDisplay)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar), ::core::mem::transmute(pdfflags), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn IsValueCanonical(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.IsValueCanonical)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvar)).ok() } @@ -1972,20 +1972,20 @@ impl IPropertyEnumType { let mut result__: PROPENUMTYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetEnumType)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValue(&self) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetRangeMinValue(&self) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetRangeMinValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetRangeSetValue(&self) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetRangeSetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -2042,17 +2042,17 @@ unsafe impl ::windows::core::Interface for IPropertyEnumType { pub struct IPropertyEnumType_Vtbl { pub base: ::windows::core::IUnknownVtbl, pub GetEnumType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, penumtype: *mut PROPENUMTYPE) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetRangeMinValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppropvarmin: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetRangeMinValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetRangeSetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppropvarset: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetRangeSetValue: usize, #[cfg(feature = "Win32_Foundation")] pub GetDisplayText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppszdisplay: *mut super::super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, @@ -2068,20 +2068,20 @@ impl IPropertyEnumType2 { let mut result__: PROPENUMTYPE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetEnumType)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValue(&self) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetRangeMinValue(&self) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetRangeMinValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetRangeSetValue(&self) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetRangeSetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -2187,8 +2187,8 @@ impl IPropertyEnumTypeList { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).GetConditionAt)(::core::mem::transmute_copy(self), ::core::mem::transmute(nindex), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FindMatchingIndex(&self, propvarcmp: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { let mut result__: u32 = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).FindMatchingIndex)(::core::mem::transmute_copy(self), ::core::mem::transmute(propvarcmp), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -2241,9 +2241,9 @@ pub struct IPropertyEnumTypeList_Vtbl { pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pctypes: *mut u32) -> ::windows::core::HRESULT, pub GetAt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, itype: u32, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, pub GetConditionAt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nindex: u32, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub FindMatchingIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propvarcmp: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pnindex: *mut u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] FindMatchingIndex: usize, } #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem'*"] @@ -2260,14 +2260,14 @@ impl IPropertyStore { let mut result__: PROPERTYKEY = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::core::mem::transmute_copy(self), ::core::mem::transmute(iprop), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValue(&self, key: *const PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetValue(&self, key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(propvar)).ok() } @@ -2322,13 +2322,13 @@ pub struct IPropertyStore_Vtbl { pub base: ::windows::core::IUnknownVtbl, pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cprops: *mut u32) -> ::windows::core::HRESULT, pub GetAt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, iprop: u32, pkey: *mut PROPERTYKEY) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const PROPERTYKEY, pv: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetValue: usize, pub Commit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, } @@ -2346,14 +2346,14 @@ impl IPropertyStoreCache { let mut result__: PROPERTYKEY = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetAt)(::core::mem::transmute_copy(self), ::core::mem::transmute(iprop), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValue(&self, key: *const PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).base.GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetValue(&self, key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.SetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(propvar)).ok() } @@ -2366,8 +2366,8 @@ impl IPropertyStoreCache { let mut result__: PSC_STATE = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValueAndState(&self, key: *const PROPERTYKEY, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT, pstate: *mut PSC_STATE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetValueAndState)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(ppropvar), ::core::mem::transmute(pstate)).ok() } @@ -2375,8 +2375,8 @@ impl IPropertyStoreCache { pub unsafe fn SetState(&self, key: *const PROPERTYKEY, state: PSC_STATE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetState)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(state)).ok() } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn SetValueAndState(&self, key: *const PROPERTYKEY, ppropvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, state: PSC_STATE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetValueAndState)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(ppropvar), ::core::mem::transmute(state)).ok() } @@ -2446,14 +2446,14 @@ unsafe impl ::windows::core::Interface for IPropertyStoreCache { pub struct IPropertyStoreCache_Vtbl { pub base: IPropertyStore_Vtbl, pub GetState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const PROPERTYKEY, pstate: *mut PSC_STATE) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub GetValueAndState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const PROPERTYKEY, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT, pstate: *mut PSC_STATE) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] GetValueAndState: usize, pub SetState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const PROPERTYKEY, state: PSC_STATE) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub SetValueAndState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const PROPERTYKEY, ppropvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, state: PSC_STATE) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] SetValueAndState: usize, } #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem'*"] @@ -2599,13 +2599,13 @@ impl IPropertySystem { let mut result__ = ::core::option::Option::None; (::windows::core::Interface::vtable(self).EnumeratePropertyDescriptions)(::core::mem::transmute_copy(self), ::core::mem::transmute(filteron), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FormatForDisplay(&self, key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdff: PROPDESC_FORMAT_FLAGS, psztext: super::super::super::Foundation::PWSTR, cchtext: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).FormatForDisplay)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(propvar), ::core::mem::transmute(pdff), ::core::mem::transmute(psztext), ::core::mem::transmute(cchtext)).ok() } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FormatForDisplayAlloc(&self, key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdff: PROPDESC_FORMAT_FLAGS) -> ::windows::core::Result { let mut result__: super::super::super::Foundation::PWSTR = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).FormatForDisplayAlloc)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(propvar), ::core::mem::transmute(pdff), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -2679,13 +2679,13 @@ pub struct IPropertySystem_Vtbl { #[cfg(not(feature = "Win32_Foundation"))] GetPropertyDescriptionListFromString: usize, pub EnumeratePropertyDescriptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, filteron: PROPDESC_ENUMFILTER, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub FormatForDisplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdff: PROPDESC_FORMAT_FLAGS, psztext: super::super::super::Foundation::PWSTR, cchtext: u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] FormatForDisplay: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub FormatForDisplayAlloc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdff: PROPDESC_FORMAT_FLAGS, ppszdisplay: *mut super::super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] FormatForDisplayAlloc: usize, #[cfg(feature = "Win32_Foundation")] pub RegisterPropertySchema: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszpath: super::super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, @@ -2786,8 +2786,8 @@ impl IPropertyUI { let mut result__: PROPERTYUI_FLAGS = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::core::mem::transmute_copy(self), ::core::mem::transmute(fmtid), ::core::mem::transmute(pid), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FormatForDisplay(&self, fmtid: *const ::windows::core::GUID, pid: u32, ppropvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, puiff: PROPERTYUI_FORMAT_FLAGS, pwsztext: super::super::super::Foundation::PWSTR, cchtext: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).FormatForDisplay)(::core::mem::transmute_copy(self), ::core::mem::transmute(fmtid), ::core::mem::transmute(pid), ::core::mem::transmute(ppropvar), ::core::mem::transmute(puiff), ::core::mem::transmute(pwsztext), ::core::mem::transmute(cchtext)).ok() } @@ -2859,9 +2859,9 @@ pub struct IPropertyUI_Vtbl { GetPropertyDescription: usize, pub GetDefaultWidth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fmtid: *const ::windows::core::GUID, pid: u32, pcxchars: *mut u32) -> ::windows::core::HRESULT, pub GetFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fmtid: *const ::windows::core::GUID, pid: u32, pflags: *mut PROPERTYUI_FLAGS) -> ::windows::core::HRESULT, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub FormatForDisplay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fmtid: *const ::windows::core::GUID, pid: u32, ppropvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, puiff: PROPERTYUI_FORMAT_FLAGS, pwsztext: super::super::super::Foundation::PWSTR, cchtext: u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] FormatForDisplay: usize, #[cfg(feature = "Win32_Foundation")] pub GetHelpInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, fmtid: *const ::windows::core::GUID, pid: u32, pwszhelpfile: super::super::super::Foundation::PWSTR, cch: u32, puhelpid: *mut u32) -> ::windows::core::HRESULT, @@ -2870,8 +2870,8 @@ pub struct IPropertyUI_Vtbl { } pub const InMemoryPropertyStore: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9a02e012_6303_4e1e_b9a1_630f802592c5); pub const InMemoryPropertyStoreMarshalByValue: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd4ca0e2d_6da7_4b75_a97c_5f306f0eaedc); -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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: *const super::super::super::Foundation::BOOL, celems: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -2886,8 +2886,8 @@ pub unsafe fn InitPropVariantFromBooleanVector(prgf: *const super::super::super: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromBuffer(pv: *const ::core::ffi::c_void, cb: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -2902,8 +2902,8 @@ pub unsafe fn InitPropVariantFromBuffer(pv: *const ::core::ffi::c_void, cb: u32) #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromCLSID(clsid: *const ::windows::core::GUID) -> ::windows::core::Result { #[cfg(windows)] @@ -2918,8 +2918,8 @@ pub unsafe fn InitPropVariantFromCLSID(clsid: *const ::windows::core::GUID) -> : #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromDoubleVector(prgn: *const f64, celems: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -2934,8 +2934,8 @@ pub unsafe fn InitPropVariantFromDoubleVector(prgn: *const f64, celems: u32) -> #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromFileTime(pftin: *const super::super::super::Foundation::FILETIME) -> ::windows::core::Result { #[cfg(windows)] @@ -2950,8 +2950,8 @@ pub unsafe fn InitPropVariantFromFileTime(pftin: *const super::super::super::Fou #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromFileTimeVector(prgft: *const super::super::super::Foundation::FILETIME, celems: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -2966,8 +2966,8 @@ pub unsafe fn InitPropVariantFromFileTimeVector(prgft: *const super::super::supe #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromGUIDAsString(guid: *const ::windows::core::GUID) -> ::windows::core::Result { #[cfg(windows)] @@ -2982,8 +2982,8 @@ pub unsafe fn InitPropVariantFromGUIDAsString(guid: *const ::windows::core::GUID #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromInt16Vector(prgn: *const i16, celems: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -2998,8 +2998,8 @@ pub unsafe fn InitPropVariantFromInt16Vector(prgn: *const i16, celems: u32) -> : #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromInt32Vector(prgn: *const i32, celems: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -3014,8 +3014,8 @@ pub unsafe fn InitPropVariantFromInt32Vector(prgn: *const i32, celems: u32) -> : #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromInt64Vector(prgn: *const i64, celems: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -3030,8 +3030,8 @@ pub unsafe fn InitPropVariantFromInt64Vector(prgn: *const i64, celems: u32) -> : #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromPropVariantVectorElem(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -3046,8 +3046,8 @@ pub unsafe fn InitPropVariantFromPropVariantVectorElem(propvarin: *const super:: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromResource<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::HINSTANCE>>(hinst: Param0, id: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -3062,8 +3062,8 @@ pub unsafe fn InitPropVariantFromResource<'a, Param0: ::windows::core::IntoParam #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_Common'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common"))] +#[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 InitPropVariantFromStrRet(pstrret: *mut super::Common::STRRET, pidl: *const super::Common::ITEMIDLIST, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -3077,8 +3077,8 @@ pub unsafe fn InitPropVariantFromStrRet(pstrret: *mut super::Common::STRRET, pid #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromStringAsVector<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::Foundation::PWSTR>>(psz: Param0) -> ::windows::core::Result { #[cfg(windows)] @@ -3093,8 +3093,8 @@ pub unsafe fn InitPropVariantFromStringAsVector<'a, Param0: ::windows::core::Int #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromStringVector(prgsz: *const super::super::super::Foundation::PWSTR, celems: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -3109,8 +3109,8 @@ pub unsafe fn InitPropVariantFromStringVector(prgsz: *const super::super::super: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromUInt16Vector(prgn: *const u16, celems: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -3125,8 +3125,8 @@ pub unsafe fn InitPropVariantFromUInt16Vector(prgn: *const u16, celems: u32) -> #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromUInt32Vector(prgn: *const u32, celems: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -3141,8 +3141,8 @@ pub unsafe fn InitPropVariantFromUInt32Vector(prgn: *const u32, celems: u32) -> #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantFromUInt64Vector(prgn: *const u64, celems: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -3157,8 +3157,8 @@ pub unsafe fn InitPropVariantFromUInt64Vector(prgn: *const u64, celems: u32) -> #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 InitPropVariantVectorFromPropVariant(propvarsingle: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { #[cfg(windows)] @@ -4660,8 +4660,8 @@ impl ::core::fmt::Debug for PSC_STATE { f.debug_tuple("PSC_STATE").field(&self.0).finish() } } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PSCoerceToCanonicalValue(key: *const PROPERTYKEY, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -4731,8 +4731,8 @@ pub unsafe fn PSCreateMultiplexPropertyStore(prgpunkstores: *const ::core::optio #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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: *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::Result<()> { #[cfg(windows)] @@ -4775,8 +4775,8 @@ pub unsafe fn PSCreatePropertyStoreFromPropertySetStorage<'a, Param0: ::windows: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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<()> { #[cfg(windows)] @@ -4804,8 +4804,8 @@ pub unsafe fn PSEnumeratePropertyDescriptions(filteron: PROPDESC_ENUMFILTER, rii #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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: super::super::super::Foundation::PWSTR, cchtext: u32) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -4819,8 +4819,8 @@ pub unsafe fn PSFormatForDisplay(propkey: *const PROPERTYKEY, propvar: *const su #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -4851,8 +4851,8 @@ pub unsafe fn PSFormatPropertyValue<'a, Param0: ::windows::core::IntoParam<'a, I #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PSGetImageReferenceForValue(propkey: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { #[cfg(windows)] @@ -4913,8 +4913,8 @@ pub unsafe fn PSGetNameFromPropertyKey(propkey: *const PROPERTYKEY) -> ::windows #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PSGetNamedPropertyFromPropertyStorage<'a, Param2: ::windows::core::IntoParam<'a, super::super::super::Foundation::PWSTR>>(psps: *const SERIALIZEDPROPSTORAGE, cb: u32, pszname: Param2) -> ::windows::core::Result { #[cfg(windows)] @@ -4973,8 +4973,8 @@ pub unsafe fn PSGetPropertyDescriptionListFromString<'a, Param0: ::windows::core #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -5019,8 +5019,8 @@ pub unsafe fn PSGetPropertySystem(riid: *const ::windows::core::GUID, ppv: *mut #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PSGetPropertyValue<'a, Param0: ::windows::core::IntoParam<'a, IPropertyStore>, Param1: ::windows::core::IntoParam<'a, IPropertyDescription>>(pps: Param0, ppd: Param1) -> ::windows::core::Result { #[cfg(windows)] @@ -5273,8 +5273,8 @@ pub unsafe fn PSPropertyBag_ReadStrAlloc<'a, Param0: ::windows::core::IntoParam< #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PSPropertyBag_ReadStream<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::System::Com::StructuredStorage::IPropertyBag>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::PWSTR>>(propbag: Param0, propname: Param1) -> ::windows::core::Result { #[cfg(windows)] @@ -5289,8 +5289,8 @@ pub unsafe fn PSPropertyBag_ReadStream<'a, Param0: ::windows::core::IntoParam<'a #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[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 PSPropertyBag_ReadType<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::System::Com::StructuredStorage::IPropertyBag>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::PWSTR>>(propbag: Param0, propname: Param1, var: *mut super::super::super::System::Com::VARIANT, r#type: u16) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -5515,8 +5515,8 @@ pub unsafe fn PSPropertyBag_WriteStr<'a, Param0: ::windows::core::IntoParam<'a, #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PSPropertyBag_WriteStream<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::System::Com::StructuredStorage::IPropertyBag>, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::core::IntoParam<'a, super::super::super::System::Com::IStream>>(propbag: Param0, propname: Param1, value: Param2) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -5605,8 +5605,8 @@ pub unsafe fn PSRegisterPropertySchema<'a, Param0: ::windows::core::IntoParam<'a #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PSSetPropertyValue<'a, Param0: ::windows::core::IntoParam<'a, IPropertyStore>, Param1: ::windows::core::IntoParam<'a, IPropertyDescription>>(pps: Param0, ppd: Param1, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -5765,8 +5765,8 @@ pub unsafe fn PifMgr_SetProperties<'a, Param0: ::windows::core::IntoParam<'a, su #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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: u16) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -5780,8 +5780,8 @@ pub unsafe fn PropVariantChangeType(ppropvardest: *mut super::super::super::Syst #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -5795,8 +5795,8 @@ pub unsafe fn PropVariantCompareEx(propvar1: *const super::super::super::System: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -5811,8 +5811,8 @@ pub unsafe fn PropVariantGetBooleanElem(propvar: *const super::super::super::Sys #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantGetDoubleElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -5827,8 +5827,8 @@ pub unsafe fn PropVariantGetDoubleElem(propvar: *const super::super::super::Syst #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantGetElementCount(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> u32 { #[cfg(windows)] @@ -5842,8 +5842,8 @@ pub unsafe fn PropVariantGetElementCount(propvar: *const super::super::super::Sy #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -5858,8 +5858,8 @@ pub unsafe fn PropVariantGetFileTimeElem(propvar: *const super::super::super::Sy #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantGetInt16Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -5874,8 +5874,8 @@ pub unsafe fn PropVariantGetInt16Elem(propvar: *const super::super::super::Syste #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantGetInt32Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -5890,8 +5890,8 @@ pub unsafe fn PropVariantGetInt32Elem(propvar: *const super::super::super::Syste #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantGetInt64Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -5906,8 +5906,8 @@ pub unsafe fn PropVariantGetInt64Elem(propvar: *const super::super::super::Syste #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantGetStringElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -5922,8 +5922,8 @@ pub unsafe fn PropVariantGetStringElem(propvar: *const super::super::super::Syst #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantGetUInt16Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -5938,8 +5938,8 @@ pub unsafe fn PropVariantGetUInt16Elem(propvar: *const super::super::super::Syst #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantGetUInt32Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -5954,8 +5954,8 @@ pub unsafe fn PropVariantGetUInt32Elem(propvar: *const super::super::super::Syst #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantGetUInt64Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { #[cfg(windows)] @@ -5970,8 +5970,8 @@ pub unsafe fn PropVariantGetUInt64Elem(propvar: *const super::super::super::Syst #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToBSTR(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { #[cfg(windows)] @@ -5986,8 +5986,8 @@ pub unsafe fn PropVariantToBSTR(propvar: *const super::super::super::System::Com #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToBoolean(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { #[cfg(windows)] @@ -6002,8 +6002,8 @@ pub unsafe fn PropVariantToBoolean(propvarin: *const super::super::super::System #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToBooleanVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgf: *mut super::super::super::Foundation::BOOL, crgf: u32, pcelem: *mut u32) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -6017,8 +6017,8 @@ pub unsafe fn PropVariantToBooleanVector(propvar: *const super::super::super::Sy #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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<()> { #[cfg(windows)] @@ -6032,8 +6032,8 @@ pub unsafe fn PropVariantToBooleanVectorAlloc(propvar: *const super::super::supe #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToBooleanWithDefault<'a, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::BOOL>>(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, fdefault: Param1) -> super::super::super::Foundation::BOOL { #[cfg(windows)] @@ -6047,8 +6047,8 @@ pub unsafe fn PropVariantToBooleanWithDefault<'a, Param1: ::windows::core::IntoP #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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<()> { #[cfg(windows)] @@ -6062,8 +6062,8 @@ pub unsafe fn PropVariantToBuffer(propvar: *const super::super::super::System::C #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6078,8 +6078,8 @@ pub unsafe fn PropVariantToDouble(propvarin: *const super::super::super::System: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToDoubleVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut f64, crgn: u32, pcelem: *mut u32) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -6093,8 +6093,8 @@ pub unsafe fn PropVariantToDoubleVector(propvar: *const super::super::super::Sys #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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<()> { #[cfg(windows)] @@ -6108,8 +6108,8 @@ pub unsafe fn PropVariantToDoubleVectorAlloc(propvar: *const super::super::super #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6123,8 +6123,8 @@ pub unsafe fn PropVariantToDoubleWithDefault(propvarin: *const super::super::sup #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6139,8 +6139,8 @@ pub unsafe fn PropVariantToFileTime(propvar: *const super::super::super::System: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToFileTimeVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgft: *mut super::super::super::Foundation::FILETIME, crgft: u32, pcelem: *mut u32) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -6154,8 +6154,8 @@ pub unsafe fn PropVariantToFileTimeVector(propvar: *const super::super::super::S #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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<()> { #[cfg(windows)] @@ -6169,8 +6169,8 @@ pub unsafe fn PropVariantToFileTimeVectorAlloc(propvar: *const super::super::sup #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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> { #[cfg(windows)] @@ -6185,8 +6185,8 @@ pub unsafe fn PropVariantToGUID(propvar: *const super::super::super::System::Com #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToInt16(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { #[cfg(windows)] @@ -6201,8 +6201,8 @@ pub unsafe fn PropVariantToInt16(propvarin: *const super::super::super::System:: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToInt16Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut i16, crgn: u32, pcelem: *mut u32) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -6216,8 +6216,8 @@ pub unsafe fn PropVariantToInt16Vector(propvar: *const super::super::super::Syst #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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<()> { #[cfg(windows)] @@ -6231,8 +6231,8 @@ pub unsafe fn PropVariantToInt16VectorAlloc(propvar: *const super::super::super: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6246,8 +6246,8 @@ pub unsafe fn PropVariantToInt16WithDefault(propvarin: *const super::super::supe #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6262,8 +6262,8 @@ pub unsafe fn PropVariantToInt32(propvarin: *const super::super::super::System:: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToInt32Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut i32, crgn: u32, pcelem: *mut u32) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -6277,8 +6277,8 @@ pub unsafe fn PropVariantToInt32Vector(propvar: *const super::super::super::Syst #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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<()> { #[cfg(windows)] @@ -6292,8 +6292,8 @@ pub unsafe fn PropVariantToInt32VectorAlloc(propvar: *const super::super::super: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6307,8 +6307,8 @@ pub unsafe fn PropVariantToInt32WithDefault(propvarin: *const super::super::supe #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6323,8 +6323,8 @@ pub unsafe fn PropVariantToInt64(propvarin: *const super::super::super::System:: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToInt64Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut i64, crgn: u32, pcelem: *mut u32) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -6338,8 +6338,8 @@ pub unsafe fn PropVariantToInt64Vector(propvar: *const super::super::super::Syst #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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<()> { #[cfg(windows)] @@ -6353,8 +6353,8 @@ pub unsafe fn PropVariantToInt64VectorAlloc(propvar: *const super::super::super: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6368,8 +6368,8 @@ pub unsafe fn PropVariantToInt64WithDefault(propvarin: *const super::super::supe #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_Common'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common"))] +#[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) -> ::windows::core::Result { #[cfg(windows)] @@ -6384,8 +6384,8 @@ pub unsafe fn PropVariantToStrRet(propvar: *const super::super::super::System::C #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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: super::super::super::Foundation::PWSTR, cch: u32) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -6399,8 +6399,8 @@ pub unsafe fn PropVariantToString(propvar: *const super::super::super::System::C #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6415,8 +6415,8 @@ pub unsafe fn PropVariantToStringAlloc(propvar: *const super::super::super::Syst #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToStringVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgsz: *mut super::super::super::Foundation::PWSTR, crgsz: u32, pcelem: *mut u32) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -6430,8 +6430,8 @@ pub unsafe fn PropVariantToStringVector(propvar: *const super::super::super::Sys #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 super::super::super::Foundation::PWSTR, pcelem: *mut u32) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -6445,8 +6445,8 @@ pub unsafe fn PropVariantToStringVectorAlloc(propvar: *const super::super::super #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToStringWithDefault<'a, Param1: ::windows::core::IntoParam<'a, super::super::super::Foundation::PWSTR>>(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pszdefault: Param1) -> super::super::super::Foundation::PWSTR { #[cfg(windows)] @@ -6460,8 +6460,8 @@ pub unsafe fn PropVariantToStringWithDefault<'a, Param1: ::windows::core::IntoPa #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6476,8 +6476,8 @@ pub unsafe fn PropVariantToUInt16(propvarin: *const super::super::super::System: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToUInt16Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut u16, crgn: u32, pcelem: *mut u32) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -6491,8 +6491,8 @@ pub unsafe fn PropVariantToUInt16Vector(propvar: *const super::super::super::Sys #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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<()> { #[cfg(windows)] @@ -6506,8 +6506,8 @@ pub unsafe fn PropVariantToUInt16VectorAlloc(propvar: *const super::super::super #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6521,8 +6521,8 @@ pub unsafe fn PropVariantToUInt16WithDefault(propvarin: *const super::super::sup #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6537,8 +6537,8 @@ pub unsafe fn PropVariantToUInt32(propvarin: *const super::super::super::System: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToUInt32Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut u32, crgn: u32, pcelem: *mut u32) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -6552,8 +6552,8 @@ pub unsafe fn PropVariantToUInt32Vector(propvar: *const super::super::super::Sys #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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<()> { #[cfg(windows)] @@ -6567,8 +6567,8 @@ pub unsafe fn PropVariantToUInt32VectorAlloc(propvar: *const super::super::super #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6582,8 +6582,8 @@ pub unsafe fn PropVariantToUInt32WithDefault(propvarin: *const super::super::sup #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6598,8 +6598,8 @@ pub unsafe fn PropVariantToUInt64(propvarin: *const super::super::super::System: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToUInt64Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: *mut u64, crgn: u32, pcelem: *mut u32) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -6613,8 +6613,8 @@ pub unsafe fn PropVariantToUInt64Vector(propvar: *const super::super::super::Sys #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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<()> { #[cfg(windows)] @@ -6628,8 +6628,8 @@ pub unsafe fn PropVariantToUInt64VectorAlloc(propvar: *const super::super::super #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 { #[cfg(windows)] @@ -6643,8 +6643,8 @@ pub unsafe fn PropVariantToUInt64WithDefault(propvarin: *const super::super::sup #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[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 { #[cfg(windows)] @@ -6659,8 +6659,8 @@ pub unsafe fn PropVariantToVariant(ppropvar: *const super::super::super::System: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 PropVariantToWinRTPropertyValue(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, result__: *mut ::core::option::Option) -> ::windows::core::Result<()> { #[cfg(windows)] @@ -6752,8 +6752,8 @@ pub unsafe fn SHPropStgCreate<'a, Param0: ::windows::core::IntoParam<'a, super:: #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 SHPropStgReadMultiple<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::System::Com::StructuredStorage::IPropertyStorage>>(pps: Param0, ucodepage: u32, cpspec: u32, rgpspec: *const super::super::super::System::Com::StructuredStorage::PROPSPEC) -> ::windows::core::Result { #[cfg(windows)] @@ -6768,8 +6768,8 @@ pub unsafe fn SHPropStgReadMultiple<'a, Param0: ::windows::core::IntoParam<'a, s #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 SHPropStgWriteMultiple<'a, Param0: ::windows::core::IntoParam<'a, super::super::super::System::Com::StructuredStorage::IPropertyStorage>>(pps: Param0, 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::Result<()> { #[cfg(windows)] @@ -7472,8 +7472,8 @@ pub unsafe fn VariantToInt64WithDefault(varin: *const super::super::super::Syste #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_System_Ole'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] +#[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 { #[cfg(windows)] @@ -7763,8 +7763,8 @@ pub unsafe fn VariantToUInt64WithDefault(varin: *const super::super::super::Syst #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell_PropertiesSystem', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[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 WinRTPropertyValueToPropVariant<'a, Param0: ::windows::core::IntoParam<'a, ::windows::core::IUnknown>>(punkpropertyvalue: Param0) -> ::windows::core::Result { #[cfg(windows)] diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs index c18e1bf261..feb9e8f819 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs @@ -4184,14 +4184,14 @@ impl ICredentialProviderSetUserArray_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait ICredentialProviderUser_Impl: Sized { fn GetSid(&self) -> ::windows::core::Result; fn GetProviderID(&self) -> ::windows::core::Result<::windows::core::GUID>; fn GetStringValue(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result; fn GetValue(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ICredentialProviderUser_Vtbl { pub const fn new() -> ICredentialProviderUser_Vtbl { unsafe extern "system" fn GetSid(this: *mut ::core::ffi::c_void, sid: *mut super::super::Foundation::PWSTR) -> ::windows::core::HRESULT { @@ -8212,7 +8212,7 @@ impl IFolderView_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IFolderView2_Impl: Sized + IFolderView_Impl { fn SetGroupBy(&self, key: *const PropertiesSystem::PROPERTYKEY, fascending: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; fn GetGroupBy(&self, pkey: *mut PropertiesSystem::PROPERTYKEY, pfascending: *mut super::super::Foundation::BOOL) -> ::windows::core::Result<()>; @@ -8240,7 +8240,7 @@ pub trait IFolderView2_Impl: Sized + IFolderView_Impl { fn IsMoveInSameFolder(&self) -> ::windows::core::Result<()>; fn DoRename(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IFolderView2_Vtbl { pub const fn new() -> IFolderView2_Vtbl { unsafe extern "system" fn SetGroupBy(this: *mut ::core::ffi::c_void, key: *const PropertiesSystem::PROPERTYKEY, fascending: super::super::Foundation::BOOL) -> ::windows::core::HRESULT { @@ -9403,11 +9403,11 @@ impl IIdentityName_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] pub trait IImageRecompress_Impl: Sized { fn RecompressImage(&self, psi: &::core::option::Option, cx: i32, cy: i32, iquality: i32, pstg: &::core::option::Option) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl IImageRecompress_Vtbl { pub const fn new() -> IImageRecompress_Vtbl { unsafe extern "system" fn RecompressImage(this: *mut ::core::ffi::c_void, psi: ::windows::core::RawPtr, cx: i32, cy: i32, iquality: i32, pstg: ::windows::core::RawPtr, ppstrmout: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT { @@ -10767,13 +10767,13 @@ impl INameSpaceTreeControlFolderCapabilities_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub trait INamedPropertyBag_Impl: Sized { fn ReadPropertyNPB(&self, pszbagname: super::super::Foundation::PWSTR, pszpropname: super::super::Foundation::PWSTR, pvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn WritePropertyNPB(&self, pszbagname: super::super::Foundation::PWSTR, pszpropname: super::super::Foundation::PWSTR, pvar: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()>; fn RemovePropertyNPB(&self, pszbagname: super::super::Foundation::PWSTR, pszpropname: super::super::Foundation::PWSTR) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] impl INamedPropertyBag_Vtbl { pub const fn new() -> INamedPropertyBag_Vtbl { unsafe extern "system" fn ReadPropertyNPB(this: *mut ::core::ffi::c_void, pszbagname: super::super::Foundation::PWSTR, pszpropname: super::super::Foundation::PWSTR, pvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { @@ -15319,7 +15319,7 @@ impl IShellItem_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait IShellItem2_Impl: Sized + IShellItem_Impl { fn GetPropertyStore(&self, flags: PropertiesSystem::GETPROPERTYSTOREFLAGS, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; fn GetPropertyStoreWithCreateObject(&self, flags: PropertiesSystem::GETPROPERTYSTOREFLAGS, punkcreateobject: &::core::option::Option<::windows::core::IUnknown>, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; @@ -15335,7 +15335,7 @@ pub trait IShellItem2_Impl: Sized + IShellItem_Impl { fn GetUInt64(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result; fn GetBool(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IShellItem2_Vtbl { pub const fn new() -> IShellItem2_Vtbl { unsafe extern "system" fn GetPropertyStore(this: *mut ::core::ffi::c_void, flags: PropertiesSystem::GETPROPERTYSTOREFLAGS, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { @@ -18374,14 +18374,14 @@ impl IStorageProviderPropertyHandler_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_IO"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_IO"))] pub trait IStreamAsync_Impl: Sized + super::super::System::Com::ISequentialStream_Impl + super::super::System::Com::IStream_Impl { fn ReadAsync(&self, pv: *mut ::core::ffi::c_void, cb: u32, pcbread: *mut u32, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> ::windows::core::Result<()>; fn WriteAsync(&self, lpbuffer: *const ::core::ffi::c_void, cb: u32, pcbwritten: *mut u32, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> ::windows::core::Result<()>; fn OverlappedResult(&self, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpnumberofbytestransferred: *mut u32, bwait: super::super::Foundation::BOOL) -> ::windows::core::Result<()>; fn CancelIo(&self) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_IO"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_IO"))] impl IStreamAsync_Vtbl { pub const fn new() -> IStreamAsync_Vtbl { unsafe extern "system" fn ReadAsync(this: *mut ::core::ffi::c_void, pv: *mut ::core::ffi::c_void, cb: u32, pcbread: *mut u32, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> ::windows::core::HRESULT { @@ -18473,7 +18473,7 @@ impl ISuspensionDependencyManager_Vtbl { iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub trait ISyncMgrConflict_Impl: Sized { fn GetProperty(&self, propkey: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result; fn GetConflictIdInfo(&self) -> ::windows::core::Result; @@ -18481,7 +18481,7 @@ pub trait ISyncMgrConflict_Impl: Sized { fn Resolve(&self, presolveinfo: &::core::option::Option) -> ::windows::core::Result<()>; fn GetResolutionHandler(&self, riid: *const ::windows::core::GUID, ppvresolutionhandler: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ISyncMgrConflict_Vtbl { pub const fn new() -> ISyncMgrConflict_Vtbl { unsafe extern "system" fn GetProperty(this: *mut ::core::ffi::c_void, propkey: *const PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT { 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 d9ba6ca656..0a54bdca2e 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs @@ -19245,8 +19245,8 @@ impl ICredentialProviderUser { let mut result__: super::super::Foundation::PWSTR = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetStringValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(&mut result__)).from_abi::(result__) } - #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_UI_Shell', '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"))] pub unsafe fn GetValue(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -19305,9 +19305,9 @@ pub struct ICredentialProviderUser_Vtbl { pub GetStringValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const PropertiesSystem::PROPERTYKEY, stringvalue: *mut super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem")))] GetStringValue: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const PropertiesSystem::PROPERTYKEY, value: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] GetValue: usize, } #[doc = "*Required features: 'Win32_UI_Shell'*"] @@ -27246,13 +27246,13 @@ impl IFolderView2 { pub unsafe fn GetGroupBy(&self, pkey: *mut PropertiesSystem::PROPERTYKEY, pfascending: *mut super::super::Foundation::BOOL) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetGroupBy)(::core::mem::transmute_copy(self), ::core::mem::transmute(pkey), ::core::mem::transmute(pfascending)).ok() } - #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_Common', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_Common', 'Win32_UI_Shell_PropertiesSystem'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn SetViewProperty(&self, pidl: *const Common::ITEMIDLIST, propkey: *const PropertiesSystem::PROPERTYKEY, propvar: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetViewProperty)(::core::mem::transmute_copy(self), ::core::mem::transmute(pidl), ::core::mem::transmute(propkey), ::core::mem::transmute(propvar)).ok() } - #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_Common', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_Common', 'Win32_UI_Shell_PropertiesSystem'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetViewProperty(&self, pidl: *const Common::ITEMIDLIST, propkey: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetViewProperty)(::core::mem::transmute_copy(self), ::core::mem::transmute(pidl), ::core::mem::transmute(propkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -27432,13 +27432,13 @@ pub struct IFolderView2_Vtbl { pub GetGroupBy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pkey: *mut PropertiesSystem::PROPERTYKEY, pfascending: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem")))] GetGroupBy: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] pub SetViewProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pidl: *const Common::ITEMIDLIST, propkey: *const PropertiesSystem::PROPERTYKEY, propvar: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] SetViewProperty: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetViewProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pidl: *const Common::ITEMIDLIST, propkey: *const PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] GetViewProperty: usize, #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub SetTileViewProperties: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pidl: *const Common::ITEMIDLIST, pszproplist: super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, @@ -29239,8 +29239,8 @@ pub struct IIdentityName_Vtbl { #[repr(transparent)] pub struct IImageRecompress(::windows::core::IUnknown); impl IImageRecompress { - #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn RecompressImage<'a, Param0: ::windows::core::IntoParam<'a, IShellItem>, Param4: ::windows::core::IntoParam<'a, super::super::System::Com::StructuredStorage::IStorage>>(&self, psi: Param0, cx: i32, cy: i32, iquality: i32, pstg: Param4) -> ::windows::core::Result { let mut result__: ::windows::core::RawPtr = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).RecompressImage)(::core::mem::transmute_copy(self), psi.into_param().abi(), ::core::mem::transmute(cx), ::core::mem::transmute(cy), ::core::mem::transmute(iquality), pstg.into_param().abi(), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -29290,9 +29290,9 @@ unsafe impl ::windows::core::Interface for IImageRecompress { #[doc(hidden)] pub struct IImageRecompress_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub RecompressImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psi: ::windows::core::RawPtr, cx: i32, cy: i32, iquality: i32, pstg: ::windows::core::RawPtr, ppstrmout: *mut ::windows::core::RawPtr) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] RecompressImage: usize, } #[doc = "*Required features: 'Win32_UI_Shell'*"] @@ -32178,13 +32178,13 @@ pub struct INameSpaceTreeControlFolderCapabilities_Vtbl { #[repr(transparent)] pub struct INamedPropertyBag(::windows::core::IUnknown); impl INamedPropertyBag { - #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn ReadPropertyNPB<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszbagname: Param0, pszpropname: Param1, pvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadPropertyNPB)(::core::mem::transmute_copy(self), pszbagname.into_param().abi(), pszpropname.into_param().abi(), ::core::mem::transmute(pvar)).ok() } - #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn WritePropertyNPB<'a, Param0: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszbagname: Param0, pszpropname: Param1, pvar: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).WritePropertyNPB)(::core::mem::transmute_copy(self), pszbagname.into_param().abi(), pszpropname.into_param().abi(), ::core::mem::transmute(pvar)).ok() } @@ -32238,13 +32238,13 @@ unsafe impl ::windows::core::Interface for INamedPropertyBag { #[doc(hidden)] pub struct INamedPropertyBag_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub ReadPropertyNPB: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszbagname: super::super::Foundation::PWSTR, pszpropname: super::super::Foundation::PWSTR, pvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] ReadPropertyNPB: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub WritePropertyNPB: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszbagname: super::super::Foundation::PWSTR, pszpropname: super::super::Foundation::PWSTR, pvar: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] WritePropertyNPB: usize, #[cfg(feature = "Win32_Foundation")] pub RemovePropertyNPB: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszbagname: super::super::Foundation::PWSTR, pszpropname: super::super::Foundation::PWSTR) -> ::windows::core::HRESULT, @@ -42508,8 +42508,8 @@ impl IShellItem2 { pub unsafe fn Update<'a, Param0: ::windows::core::IntoParam<'a, super::super::System::Com::IBindCtx>>(&self, pbc: Param0) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Update)(::core::mem::transmute_copy(self), pbc.into_param().abi()).ok() } - #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_UI_Shell', '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"))] pub unsafe fn GetProperty(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::core::mem::transmute_copy(self), ::core::mem::transmute(key), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -42641,9 +42641,9 @@ pub struct IShellItem2_Vtbl { pub Update: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbc: ::windows::core::RawPtr) -> ::windows::core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Update: usize, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] GetProperty: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub GetCLSID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const PropertiesSystem::PROPERTYKEY, pclsid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT, @@ -50973,8 +50973,8 @@ impl IStreamAsync { pub unsafe fn CopyTo<'a, Param0: ::windows::core::IntoParam<'a, super::super::System::Com::IStream>>(&self, pstm: Param0, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.CopyTo)(::core::mem::transmute_copy(self), pstm.into_param().abi(), ::core::mem::transmute(cb), ::core::mem::transmute(pcbread), ::core::mem::transmute(pcbwritten)).ok() } - #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_System_Com_StructuredStorage'*"] + #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Commit(&self, grfcommitflags: super::super::System::Com::StructuredStorage::STGC) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base.Commit)(::core::mem::transmute_copy(self), ::core::mem::transmute(grfcommitflags)).ok() } @@ -51415,8 +51415,8 @@ pub struct ISuspensionDependencyManager_Vtbl { #[repr(transparent)] pub struct ISyncMgrConflict(::windows::core::IUnknown); impl ISyncMgrConflict { - #[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[doc = "*Required features: 'Win32_UI_Shell', '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"))] pub unsafe fn GetProperty(&self, propkey: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { let mut result__: ::core::mem::ManuallyDrop = ::core::mem::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::core::mem::transmute_copy(self), ::core::mem::transmute(propkey), ::core::mem::transmute(&mut result__)).from_abi::(result__) @@ -51486,9 +51486,9 @@ unsafe impl ::windows::core::Interface for ISyncMgrConflict { #[doc(hidden)] pub struct ISyncMgrConflict_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub GetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propkey: *const PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] GetProperty: usize, #[cfg(feature = "Win32_System_Com")] pub GetConflictIdInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pconflictidinfo: *mut SYNCMGR_CONFLICT_ID_INFO) -> ::windows::core::HRESULT, @@ -70457,8 +70457,8 @@ pub unsafe fn SHGetStockIconInfo(siid: SHSTOCKICONID, uflags: u32, psii: *mut SH #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[doc = "*Required features: 'Win32_UI_Shell', '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 SHGetTemporaryPropertyForItem<'a, Param0: ::windows::core::IntoParam<'a, IShellItem>>(psi: Param0, propkey: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { #[cfg(windows)] @@ -72499,8 +72499,8 @@ pub unsafe fn SHSetLocalizedName<'a, Param0: ::windows::core::IntoParam<'a, supe #[cfg(not(windows))] unimplemented!("Unsupported target OS"); } -#[doc = "*Required features: 'Win32_UI_Shell', 'Win32_Foundation', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage', 'Win32_UI_Shell_PropertiesSystem'*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] +#[doc = "*Required features: 'Win32_UI_Shell', '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 SHSetTemporaryPropertyForItem<'a, Param0: ::windows::core::IntoParam<'a, IShellItem>>(psi: Param0, propkey: *const PropertiesSystem::PROPERTYKEY, propvar: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { #[cfg(windows)] diff --git a/crates/libs/windows/src/Windows/Win32/Web/MsHtml/impl.rs b/crates/libs/windows/src/Windows/Win32/Web/MsHtml/impl.rs index 4a49ac70e1..6bd8793f88 100644 --- a/crates/libs/windows/src/Windows/Win32/Web/MsHtml/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Web/MsHtml/impl.rs @@ -7899,11 +7899,11 @@ impl IDownloadBehavior_Vtbl { iid == &::IID || iid == &::IID } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] pub trait IDownloadManager_Impl: Sized { fn Download(&self, pmk: &::core::option::Option, pbc: &::core::option::Option, dwbindverb: u32, grfbindf: i32, pbindinfo: *const super::super::System::Com::BINDINFO, pszheaders: super::super::Foundation::PWSTR, pszredir: super::super::Foundation::PWSTR, uicp: u32) -> ::windows::core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] impl IDownloadManager_Vtbl { pub const fn new() -> IDownloadManager_Vtbl { unsafe extern "system" fn Download(this: *mut ::core::ffi::c_void, pmk: ::windows::core::RawPtr, pbc: ::windows::core::RawPtr, dwbindverb: u32, grfbindf: i32, pbindinfo: *const super::super::System::Com::BINDINFO, pszheaders: super::super::Foundation::PWSTR, pszredir: super::super::Foundation::PWSTR, uicp: u32) -> ::windows::core::HRESULT { diff --git a/crates/libs/windows/src/Windows/Win32/Web/MsHtml/mod.rs b/crates/libs/windows/src/Windows/Win32/Web/MsHtml/mod.rs index 48fae1e26d..40d06d8531 100644 --- a/crates/libs/windows/src/Windows/Win32/Web/MsHtml/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Web/MsHtml/mod.rs @@ -56735,8 +56735,8 @@ pub struct IDownloadBehavior_Vtbl { #[repr(transparent)] pub struct IDownloadManager(::windows::core::IUnknown); impl IDownloadManager { - #[doc = "*Required features: 'Win32_Web_MsHtml', 'Win32_Foundation', 'Win32_Graphics_Gdi', 'Win32_Security', 'Win32_System_Com', 'Win32_System_Com_StructuredStorage'*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[doc = "*Required features: 'Win32_Web_MsHtml', '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"))] pub unsafe fn Download<'a, Param0: ::windows::core::IntoParam<'a, super::super::System::Com::IMoniker>, Param1: ::windows::core::IntoParam<'a, super::super::System::Com::IBindCtx>, Param5: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>, Param6: ::windows::core::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pmk: Param0, pbc: Param1, dwbindverb: u32, grfbindf: i32, pbindinfo: *const super::super::System::Com::BINDINFO, pszheaders: Param5, pszredir: Param6, uicp: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Download)(::core::mem::transmute_copy(self), pmk.into_param().abi(), pbc.into_param().abi(), ::core::mem::transmute(dwbindverb), ::core::mem::transmute(grfbindf), ::core::mem::transmute(pbindinfo), pszheaders.into_param().abi(), pszredir.into_param().abi(), ::core::mem::transmute(uicp)).ok() } @@ -56785,9 +56785,9 @@ unsafe impl ::windows::core::Interface for IDownloadManager { #[doc(hidden)] pub struct IDownloadManager_Vtbl { pub base: ::windows::core::IUnknownVtbl, - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] pub Download: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pmk: ::windows::core::RawPtr, pbc: ::windows::core::RawPtr, dwbindverb: u32, grfbindf: i32, pbindinfo: *const super::super::System::Com::BINDINFO, pszheaders: super::super::Foundation::PWSTR, pszredir: super::super::Foundation::PWSTR, uicp: u32) -> ::windows::core::HRESULT, - #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage")))] Download: usize, } #[doc = "*Required features: 'Win32_Web_MsHtml'*"] From 3ca2c5a7e1d329276247f8d6748669501c8f7bc3 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 17 Feb 2022 13:38:45 -0800 Subject: [PATCH 15/16] simpler --- crates/libs/bindgen/src/gen.rs | 16 ---------------- crates/libs/bindgen/src/helpers.rs | 2 +- crates/libs/bindgen/src/interfaces.rs | 2 +- crates/libs/bindgen/src/methods.rs | 4 ++-- 4 files changed, 4 insertions(+), 20 deletions(-) diff --git a/crates/libs/bindgen/src/gen.rs b/crates/libs/bindgen/src/gen.rs index a1c5bb07f3..ac7db0b826 100644 --- a/crates/libs/bindgen/src/gen.rs +++ b/crates/libs/bindgen/src/gen.rs @@ -43,22 +43,6 @@ impl Gen<'_> { } } - // TODO: remove - pub(crate) fn element_cfg(&self, def: &Type) -> Cfg { - if let Type::TypeDef(def) = def { - def.cfg() - } else { - Cfg::new() - } - } - - // TODO: remove - pub(crate) fn method_cfg(&self, def: &TypeDef, method: &MethodDef) -> Cfg { - let mut cfg = method.cfg(); - cfg.add_feature(def.namespace()); - cfg - } - pub(crate) fn doc(&self, cfg: &Cfg) -> TokenStream { if !self.doc { quote! {} diff --git a/crates/libs/bindgen/src/helpers.rs b/crates/libs/bindgen/src/helpers.rs index 88c30ea94f..24edbd7e96 100644 --- a/crates/libs/bindgen/src/helpers.rs +++ b/crates/libs/bindgen/src/helpers.rs @@ -175,7 +175,7 @@ pub fn gen_vtbl(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { let name = method_names.add(&method); let signature = gen_vtbl_signature(def, &method, gen); - let cfg = gen.method_cfg(def, &method); + let cfg = method.cfg(); let cfg_all = gen.cfg(&cfg); let cfg_not = gen.not_cfg(&cfg); diff --git a/crates/libs/bindgen/src/interfaces.rs b/crates/libs/bindgen/src/interfaces.rs index 0d90ebe5e3..22fcd212fc 100644 --- a/crates/libs/bindgen/src/interfaces.rs +++ b/crates/libs/bindgen/src/interfaces.rs @@ -121,7 +121,7 @@ fn gen_conversions(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { for def in def.vtable_types() { let into = gen_element_name(&def, gen); - let cfg = gen.cfg(&cfg.union(&gen.element_cfg(&def))); + let cfg = gen.cfg(&cfg.union(&def.cfg())); tokens.combine("e! { #cfg impl<#(#constraints)*> ::core::convert::From<#name> for #into { diff --git a/crates/libs/bindgen/src/methods.rs b/crates/libs/bindgen/src/methods.rs index 2008c835bf..3eede6db1e 100644 --- a/crates/libs/bindgen/src/methods.rs +++ b/crates/libs/bindgen/src/methods.rs @@ -15,7 +15,7 @@ pub fn gen_winrt_method(def: &TypeDef, kind: InterfaceKind, method: &MethodDef, let vname = virtual_names.add(method); let constraints = gen_param_constraints(params, gen); - let cfg = gen.method_cfg(def, method); + let cfg = method.cfg(); let doc = gen.doc(&cfg); let features = gen.cfg(&cfg); let args = params.iter().map(gen_winrt_abi_arg); @@ -144,7 +144,7 @@ pub fn gen_com_method(def: &TypeDef, method: &MethodDef, method_names: &mut Meth let name = method_names.add(method); let vname = virtual_names.add(method); let constraints = gen_param_constraints(&signature.params, gen); - let cfg = gen.method_cfg(def, method); + let cfg = method.cfg(); let doc = gen.doc(&cfg); let features = gen.cfg(&cfg); From e7530c1fb8c5388bd99c3b36a74c487eff91fcb8 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 17 Feb 2022 14:02:32 -0800 Subject: [PATCH 16/16] required methods --- crates/libs/bindgen/src/helpers.rs | 3 ++- crates/libs/bindgen/src/methods.rs | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/crates/libs/bindgen/src/helpers.rs b/crates/libs/bindgen/src/helpers.rs index 24edbd7e96..7d95e16919 100644 --- a/crates/libs/bindgen/src/helpers.rs +++ b/crates/libs/bindgen/src/helpers.rs @@ -175,7 +175,8 @@ pub fn gen_vtbl(def: &TypeDef, cfg: &Cfg, gen: &Gen) -> TokenStream { let name = method_names.add(&method); let signature = gen_vtbl_signature(def, &method, gen); - let cfg = method.cfg(); + let mut cfg = method.cfg(); + cfg.add_feature(def.namespace()); let cfg_all = gen.cfg(&cfg); let cfg_not = gen.not_cfg(&cfg); diff --git a/crates/libs/bindgen/src/methods.rs b/crates/libs/bindgen/src/methods.rs index 3eede6db1e..85fc5d8569 100644 --- a/crates/libs/bindgen/src/methods.rs +++ b/crates/libs/bindgen/src/methods.rs @@ -15,7 +15,8 @@ pub fn gen_winrt_method(def: &TypeDef, kind: InterfaceKind, method: &MethodDef, let vname = virtual_names.add(method); let constraints = gen_param_constraints(params, gen); - let cfg = method.cfg(); + let mut cfg = method.cfg(); + cfg.add_feature(def.namespace()); let doc = gen.doc(&cfg); let features = gen.cfg(&cfg); let args = params.iter().map(gen_winrt_abi_arg); @@ -144,7 +145,8 @@ pub fn gen_com_method(def: &TypeDef, method: &MethodDef, method_names: &mut Meth let name = method_names.add(method); let vname = virtual_names.add(method); let constraints = gen_param_constraints(&signature.params, gen); - let cfg = method.cfg(); + let mut cfg = method.cfg(); + cfg.add_feature(def.namespace()); let doc = gen.doc(&cfg); let features = gen.cfg(&cfg);