diff --git a/crates/libs/bindgen/src/type_map.rs b/crates/libs/bindgen/src/type_map.rs index 17fe42ae9c..dc0a119f32 100644 --- a/crates/libs/bindgen/src/type_map.rs +++ b/crates/libs/bindgen/src/type_map.rs @@ -71,16 +71,6 @@ impl TypeMap { } } - pub fn difference(&self, other: &Self) -> Self { - Self( - self.0 - .iter() - .filter(|(tn, _)| !other.0.contains_key(tn)) - .map(|(tn, ty)| (*tn, ty.clone())) - .collect(), - ) - } - pub fn included(&self, config: &Config) -> bool { self.0.iter().all(|(tn, _)| { // An empty namespace covers core types like `HRESULT`. This way we don't exclude methods diff --git a/crates/libs/bindgen/src/types/class.rs b/crates/libs/bindgen/src/types/class.rs index f5df2aa36c..03cbebbcc6 100644 --- a/crates/libs/bindgen/src/types/class.rs +++ b/crates/libs/bindgen/src/types/class.rs @@ -10,18 +10,24 @@ impl Class { self.def.type_name() } + fn write_cfg(&self, writer: &Writer) -> (Cfg, TokenStream) { + if !writer.config.package { + return (Cfg::default(), quote! {}); + } + + let mut dependencies = TypeMap::new(); + self.dependencies(&mut dependencies); + let cfg = Cfg::new(self.def, &dependencies); + let tokens = cfg.write(writer, false); + (cfg, tokens) + } + pub fn write(&self, writer: &Writer) -> TokenStream { let mut required_interfaces = self.required_interfaces(); required_interfaces.sort(); let type_name = self.def.type_name(); let name = to_ident(type_name.name()); - let mut dependencies = TypeMap::new(); - - if writer.config.package { - self.dependencies(&mut dependencies); - } - - let cfg = writer.write_cfg(self.def, type_name.namespace(), &dependencies, false); + let (class_cfg, cfg) = self.write_cfg(writer); let runtime_name = format!("{type_name}"); let runtime_name = quote! { @@ -45,13 +51,7 @@ impl Class { _ => None, }) { - let mut difference = TypeMap::new(); - - if writer.config.package { - difference = method.dependencies.difference(&dependencies); - } - - let cfg = writer.write_cfg(self.def, type_name.namespace(), &difference, false); + let cfg = method.write_cfg(writer, &class_cfg, false); let method = method.write( writer, @@ -90,7 +90,15 @@ impl Class { } else { let method_name = to_ident(interface.def.name()); let interface_type = interface.write_name(writer); - let cfg = quote! {}; + + let cfg = if writer.config.package { + let mut dependencies = TypeMap::new(); + interface.dependencies(&mut dependencies); + + class_cfg.difference(interface.def, &dependencies).write(writer, false) + } else { + quote! {} + }; Some(quote! { #cfg diff --git a/crates/libs/bindgen/src/types/cpp_const.rs b/crates/libs/bindgen/src/types/cpp_const.rs index 39782aa1f3..37d1a1241b 100644 --- a/crates/libs/bindgen/src/types/cpp_const.rs +++ b/crates/libs/bindgen/src/types/cpp_const.rs @@ -27,6 +27,16 @@ impl CppConst { self.type_name().write(writer, &[]) } + pub fn write_cfg(&self, writer: &Writer) -> TokenStream { + if !writer.config.package { + return quote! {}; + } + + let mut dependencies = TypeMap::new(); + self.dependencies(&mut dependencies); + Cfg::new(self.field, &dependencies).write(writer, false) + } + pub fn write(&self, writer: &Writer) -> TokenStream { let name = to_ident(self.field.name()); @@ -35,14 +45,7 @@ impl CppConst { } let field_ty = self.field.ty(None).to_const_type(); - - let mut dependencies = TypeMap::new(); - - if writer.config.package { - self.dependencies(&mut dependencies); - } - - let cfg = writer.write_cfg(self.field, self.namespace, &dependencies, false); + let cfg = self.write_cfg(writer); if let Some(constant) = self.field.constant() { let constant_ty = constant.ty(); diff --git a/crates/libs/bindgen/src/types/cpp_delegate.rs b/crates/libs/bindgen/src/types/cpp_delegate.rs index 280df9e9ef..dbb471b280 100644 --- a/crates/libs/bindgen/src/types/cpp_delegate.rs +++ b/crates/libs/bindgen/src/types/cpp_delegate.rs @@ -33,6 +33,16 @@ impl CppDelegate { .unwrap() } + pub fn write_cfg(&self, writer: &Writer) -> TokenStream { + if !writer.config.package { + return quote! {}; + } + + let mut dependencies = TypeMap::new(); + self.dependencies(&mut dependencies); + Cfg::new(self.def, &dependencies).write(writer, false) + } + pub fn write(&self, writer: &Writer) -> TokenStream { let type_name = self.def.type_name(); let name = to_ident(type_name.name()); @@ -46,15 +56,8 @@ impl CppDelegate { }); let return_sig = writer.write_return_sig(method, &signature, false); - - let mut dependencies = TypeMap::new(); - - if writer.config.package { - self.dependencies(&mut dependencies); - } - let arches = write_arches(self.def); - let cfg = writer.write_cfg(self.def, type_name.namespace(), &dependencies, false); + let cfg = self.write_cfg(writer); quote! { #arches diff --git a/crates/libs/bindgen/src/types/cpp_fn.rs b/crates/libs/bindgen/src/types/cpp_fn.rs index 6d5dbcc9bf..c5e575b659 100644 --- a/crates/libs/bindgen/src/types/cpp_fn.rs +++ b/crates/libs/bindgen/src/types/cpp_fn.rs @@ -74,6 +74,16 @@ impl CppFn { }) } + pub fn write_cfg(&self, writer: &Writer) -> TokenStream { + if !writer.config.package { + return quote! {}; + } + + let mut dependencies = TypeMap::new(); + self.dependencies(&mut dependencies); + Cfg::new(self.method, &dependencies).write(writer, false) + } + pub fn write(&self, writer: &Writer) -> TokenStream { let name = to_ident(self.method.name()); let signature = self.method.signature(self.namespace, &[]); @@ -85,7 +95,7 @@ impl CppFn { let link = self.write_link(writer, false); let arches = write_arches(self.method); - let cfg = writer.write_cfg(self.method, self.namespace, &dependencies, false); + let cfg = self.write_cfg(writer); let cfg = quote! { #arches #cfg }; let window_long = self.write_window_long(); diff --git a/crates/libs/bindgen/src/types/cpp_interface.rs b/crates/libs/bindgen/src/types/cpp_interface.rs index 8a4427df04..b00d250b0c 100644 --- a/crates/libs/bindgen/src/types/cpp_interface.rs +++ b/crates/libs/bindgen/src/types/cpp_interface.rs @@ -44,19 +44,24 @@ impl CppInterface { .collect() } + fn write_cfg(&self, writer: &Writer) -> (Cfg, TokenStream) { + if !writer.config.package { + return (Cfg::default(), quote! {}); + } + + let mut dependencies = TypeMap::new(); + self.dependencies(&mut dependencies); + let cfg = Cfg::new(self.def, &dependencies); + let tokens = cfg.write(writer, false); + (cfg, tokens) + } + pub fn write(&self, writer: &Writer) -> TokenStream { let methods = self.get_methods(writer); let base_interfaces = self.base_interfaces(); let has_unknown_base = matches!(base_interfaces.first(), Some(Type::IUnknown)); - - let mut dependencies = TypeMap::new(); - - if writer.config.package { - self.dependencies(&mut dependencies); - } - - let cfg = writer.write_cfg(self.def, self.def.namespace(), &dependencies, false); + let (class_cfg, cfg) = self.write_cfg(writer); let vtbl_name = self.write_vtbl_name(writer); let vtbl = { @@ -80,28 +85,23 @@ impl CppInterface { let methods = methods.iter().map(|method| match method { CppMethodOrName::Method(method) => { - let mut difference = TypeMap::new(); - - if writer.config.package { - difference = method.dependencies.difference(&dependencies); - } + let method_cfg = class_cfg.difference(method.def, &method.dependencies); + let yes = method_cfg.write(writer, false); let name = names.add(method.def); let abi = method.write_abi(writer, false); - let cfg = writer.write_cfg(self.def, self.def.namespace(), &difference, false); - if cfg.is_empty() { + if yes.is_empty() { quote! { pub #name: unsafe extern "system" fn #abi, } } else { - let cfg_not = - writer.write_cfg(self.def, self.def.namespace(), &difference, true); + let no = method_cfg.write(writer, true); quote! { - #cfg + #yes pub #name: unsafe extern "system" fn #abi, - #cfg_not + #no #name: usize, } } @@ -191,14 +191,7 @@ impl CppInterface { CppMethodOrName::Method(method) => Some(method), _ => None, }) { - let mut difference = TypeMap::new(); - - if writer.config.package { - difference = method.dependencies.difference(&dependencies); - } - - let cfg = writer.write_cfg(self.def, self.def.namespace(), &difference, false); - + let cfg = method.write_cfg(writer, &class_cfg, false); let method = method.write(writer, method_names, virtual_names); methods_tokens.combine(quote! { @@ -220,7 +213,7 @@ impl CppInterface { let impl_name: TokenStream = format!("{}_Impl", self.def.name()).into(); - if writer.config.package { + let cfg = if writer.config.package { fn collect(interface: &CppInterface, dependencies: &mut TypeMap, writer: &Writer) { for method in interface.get_methods(writer).iter() { if let CppMethodOrName::Method(method) = method { @@ -229,15 +222,20 @@ impl CppInterface { } } + let mut dependencies = TypeMap::new(); + self.dependencies(&mut dependencies); + collect(self, &mut dependencies, writer); base_interfaces.iter().for_each(|interface| { if let Type::CppInterface(ty) = interface { collect(ty, &mut dependencies, writer); } }); - } - let cfg = writer.write_cfg(self.def, self.def.namespace(), &dependencies, false); + Cfg::new(self.def, &dependencies).write(writer, false) + } else { + quote! {} + }; let mut names = MethodNames::new(); diff --git a/crates/libs/bindgen/src/types/cpp_method.rs b/crates/libs/bindgen/src/types/cpp_method.rs index 04b6eb9c05..3a047307cc 100644 --- a/crates/libs/bindgen/src/types/cpp_method.rs +++ b/crates/libs/bindgen/src/types/cpp_method.rs @@ -228,6 +228,16 @@ impl CppMethod { } } + pub fn write_cfg(&self, writer: &Writer, parent: &Cfg, not: bool) -> TokenStream { + if !writer.config.package { + return quote! {}; + } + + parent + .difference(self.def, &self.dependencies) + .write(writer, not) + } + pub fn write_generics(&self) -> TokenStream { let mut tokens = quote! {}; diff --git a/crates/libs/bindgen/src/types/cpp_struct.rs b/crates/libs/bindgen/src/types/cpp_struct.rs index 65d765bc8e..3fdfd56d40 100644 --- a/crates/libs/bindgen/src/types/cpp_struct.rs +++ b/crates/libs/bindgen/src/types/cpp_struct.rs @@ -46,6 +46,16 @@ impl CppStruct { self.def.has_attribute("NativeTypedefAttribute") } + pub fn write_cfg(&self, writer: &Writer) -> TokenStream { + if !writer.config.package { + return quote! {}; + } + + let mut dependencies = TypeMap::new(); + self.dependencies(&mut dependencies); + Cfg::new(self.def, &dependencies).write(writer, false) + } + pub fn write(&self, writer: &Writer) -> TokenStream { if self.is_handle() { return writer.write_cpp_handle(self.def); @@ -57,14 +67,8 @@ impl CppStruct { } } - let mut dependencies = TypeMap::new(); - - if writer.config.package { - self.dependencies(&mut dependencies); - } - let arches = write_arches(self.def); - let cfg = writer.write_cfg(self.def, self.def.namespace(), &dependencies, false); + let cfg = self.write_cfg(writer); self.write_with_cfg(writer, "e! { #arches #cfg }) } diff --git a/crates/libs/bindgen/src/types/delegate.rs b/crates/libs/bindgen/src/types/delegate.rs index ebf6c3929a..a98ed5feb7 100644 --- a/crates/libs/bindgen/src/types/delegate.rs +++ b/crates/libs/bindgen/src/types/delegate.rs @@ -11,6 +11,16 @@ impl Delegate { self.def.type_name() } + pub fn write_cfg(&self, writer: &Writer) -> TokenStream { + if !writer.config.package { + return quote! {}; + } + + let mut dependencies = TypeMap::new(); + self.dependencies(&mut dependencies); + Cfg::new(self.def, &dependencies).write(writer, false) + } + pub fn write(&self, writer: &Writer) -> TokenStream { let name = self.write_name(writer); //let vtbl_name = self.write_vtbl_name(writer); @@ -22,14 +32,7 @@ impl Delegate { let constraints = writer.write_generic_constraints(&self.generics); let named_phantoms = writer.write_generic_named_phantoms(&self.generics); let method = self.method(); - - let mut dependencies = TypeMap::new(); - - if writer.config.package { - self.dependencies(&mut dependencies); - } - - let cfg = writer.write_cfg(self.def, self.def.namespace(), &dependencies, false); + let cfg = self.write_cfg(writer); let invoke = method.write( writer, diff --git a/crates/libs/bindgen/src/types/interface.rs b/crates/libs/bindgen/src/types/interface.rs index c5243cdea5..71bd0e9e8f 100644 --- a/crates/libs/bindgen/src/types/interface.rs +++ b/crates/libs/bindgen/src/types/interface.rs @@ -67,6 +67,18 @@ impl Interface { .collect() } + fn write_cfg(&self, writer: &Writer) -> (Cfg, TokenStream) { + if !writer.config.package { + return (Cfg::default(), quote! {}); + } + + let mut dependencies = TypeMap::new(); + self.dependencies(&mut dependencies); + let cfg = Cfg::new(self.def, &dependencies); + let tokens = cfg.write(writer, false); + (cfg, tokens) + } + pub fn write(&self, writer: &Writer) -> TokenStream { let type_name = self.def.type_name(); let methods = self.get_methods(writer); @@ -81,14 +93,7 @@ impl Interface { let constraints = writer.write_generic_constraints(&self.generics); let phantoms = writer.write_generic_phantoms(&self.generics); let named_phantoms = writer.write_generic_named_phantoms(&self.generics); - - let mut dependencies = TypeMap::new(); - - if writer.config.package { - self.dependencies(&mut dependencies); - } - - let cfg = writer.write_cfg(self.def, self.def.namespace(), &dependencies, false); + let (class_cfg, cfg) = self.write_cfg(writer); let vtbl = { let virtual_names = &mut MethodNames::new(); @@ -96,28 +101,23 @@ impl Interface { let vtbl_methods = methods.iter().map(|method| match method { MethodOrName::Method(method) => { - let mut difference = TypeMap::new(); - - if writer.config.package { - difference = method.dependencies.difference(&dependencies); - } - let name = virtual_names.add(method.def); let vtbl = method.write_abi(writer, false); - let cfg = writer.write_cfg(self.def, self.def.namespace(), &difference, false); - if cfg.is_empty() { + let method_cfg = class_cfg.difference(method.def, &method.dependencies); + let yes = method_cfg.write(writer, false); + + if yes.is_empty() { quote! { pub #name: unsafe extern "system" fn(#vtbl) -> #core HRESULT, } } else { - let cfg_not = - writer.write_cfg(self.def, self.def.namespace(), &difference, true); + let no = method_cfg.write(writer, true); quote! { - #cfg + #yes pub #name: unsafe extern "system" fn(#vtbl) -> #core HRESULT, - #cfg_not + #no #name: usize, } } @@ -230,13 +230,7 @@ impl Interface { MethodOrName::Method(method) => Some(method), _ => None, }) { - let mut difference = TypeMap::new(); - - if writer.config.package { - difference = method.dependencies.difference(&dependencies); - } - - let cfg = writer.write_cfg(self.def, self.def.namespace(), &difference, false); + let cfg = method.write_cfg(writer, &class_cfg, false); let method = method.write( writer, @@ -264,14 +258,7 @@ impl Interface { _ => None, }) { - let mut difference = TypeMap::new(); - - if writer.config.package { - difference = method.dependencies.difference(&dependencies); - } - - let cfg = - writer.write_cfg(self.def, self.def.namespace(), &difference, false); + let cfg = method.write_cfg(writer, &class_cfg, false); let method = method.write( writer, @@ -351,7 +338,7 @@ impl Interface { let runtime_name = format!("{type_name}"); - if writer.config.package { + let cfg = if writer.config.package { fn collect(interface: &Interface, dependencies: &mut TypeMap, writer: &Writer) { for method in interface.get_methods(writer).iter() { if let MethodOrName::Method(method) = method { @@ -360,13 +347,17 @@ impl Interface { } } + let mut dependencies = TypeMap::new(); + self.dependencies(&mut dependencies); collect(self, &mut dependencies, writer); required_interfaces .iter() .for_each(|interface| collect(interface, &mut dependencies, writer)); - } - let cfg = writer.write_cfg(self.def, self.def.namespace(), &dependencies, false); + Cfg::new(self.def, &dependencies).write(writer, false) + } else { + quote! {} + }; result.combine(quote! { #cfg diff --git a/crates/libs/bindgen/src/types/method.rs b/crates/libs/bindgen/src/types/method.rs index 520d9aa12d..eefa01b2e1 100644 --- a/crates/libs/bindgen/src/types/method.rs +++ b/crates/libs/bindgen/src/types/method.rs @@ -22,6 +22,16 @@ impl Method { } } + pub fn write_cfg(&self, writer: &Writer, parent: &Cfg, not: bool) -> TokenStream { + if !writer.config.package { + return quote! {}; + } + + parent + .difference(self.def, &self.dependencies) + .write(writer, not) + } + pub fn write_upcall(&self, inner: TokenStream, this: bool) -> TokenStream { let noexcept = self.def.has_attribute("NoExceptionAttribute"); diff --git a/crates/libs/bindgen/src/writer/cfg.rs b/crates/libs/bindgen/src/writer/cfg.rs index 588f42d16a..e59969a88a 100644 --- a/crates/libs/bindgen/src/writer/cfg.rs +++ b/crates/libs/bindgen/src/writer/cfg.rs @@ -31,37 +31,65 @@ pub fn write_arches(row: R) -> TokenStream { tokens } -impl Writer { - pub fn write_cfg( - &self, - row: R, - namespace: &str, - dependencies: &TypeMap, - not: bool, - ) -> TokenStream { - let mut features = BTreeSet::new(); +#[derive(Default)] +pub struct Cfg { + features: BTreeSet<&'static str>, + deprecated: bool, +} - if row.has_attribute("DeprecatedAttribute") { - features.insert("deprecated".to_string()); +impl Cfg { + pub fn new(row: R, dependencies: &TypeMap) -> Self { + let features: BTreeSet<&'static str> = + dependencies.keys().map(|tn| tn.namespace()).collect(); + + Self { + features, + deprecated: row.has_attribute("DeprecatedAttribute"), + } + } + + pub fn difference(&self, row: R, dependencies: &TypeMap) -> Self { + let mut difference = Self::new(row, dependencies); + + for feature in &self.features { + difference.features.remove(feature); + } + + difference.deprecated = !self.deprecated && difference.deprecated; + difference + } + + pub fn write(&self, writer: &Writer, not: bool) -> TokenStream { + if !writer.config.package { + return quote! {}; } - let mut compact: Vec<&'static str> = dependencies.keys().map(|tn| tn.namespace()).collect(); - compact.sort(); - compact.dedup(); + let mut compact = BTreeSet::<&'static str>::new(); + + for feature in self.features.iter().rev() { + let mut keep = true; - for pos in 0..compact.len() { - match (compact.get(pos), compact.get(pos + 1)) { - (Some(first), Some(second)) if namespace_starts_with(second, first) => { - compact.remove(pos); + for compact in &compact { + if namespace_starts_with(compact, feature) { + keep = false; + break; } - (_, None) => break, - _ => continue, } + + if keep { + compact.insert(feature); + } + } + + let mut features = BTreeSet::new(); + + if self.deprecated { + features.insert("deprecated".to_string()); } for dependency in compact { if dependency.is_empty() - || namespace_starts_with(namespace, dependency) + || namespace_starts_with(writer.namespace, dependency) || dependency == "Windows.Foundation" || dependency == "Windows.Win32.Foundation" { diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs index c551f708cd..0886390c4c 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs @@ -1478,7 +1478,6 @@ impl LearningModelBinding { let this = self; unsafe { (windows_core::Interface::vtable(this).Bind)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), value.param().abi()).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn BindWithProperties(&self, name: &windows_core::HSTRING, value: P1, props: P2) -> windows_core::Result<()> where P1: windows_core::Param, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs index 36df1c3580..ff5d96b0ec 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs @@ -1533,7 +1533,6 @@ windows_core::imp::interface_hierarchy!(FileOpenPickerContinuationEventArgs, win windows_core::imp::required_hierarchy!(FileOpenPickerContinuationEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IContinuationActivatedEventArgs); #[cfg(feature = "deprecated")] impl FileOpenPickerContinuationEventArgs { - #[cfg(feature = "deprecated")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1541,7 +1540,6 @@ impl FileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1549,7 +1547,6 @@ impl FileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1557,7 +1554,7 @@ impl FileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "System", feature = "deprecated"))] + #[cfg(feature = "System")] pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1565,7 +1562,7 @@ impl FileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1573,7 +1570,7 @@ impl FileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn Files(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1679,7 +1676,6 @@ windows_core::imp::interface_hierarchy!(FileSavePickerContinuationEventArgs, win windows_core::imp::required_hierarchy!(FileSavePickerContinuationEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IContinuationActivatedEventArgs); #[cfg(feature = "deprecated")] impl FileSavePickerContinuationEventArgs { - #[cfg(feature = "deprecated")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1687,7 +1683,6 @@ impl FileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1695,7 +1690,6 @@ impl FileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1703,7 +1697,7 @@ impl FileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "System", feature = "deprecated"))] + #[cfg(feature = "System")] pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1711,7 +1705,7 @@ impl FileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1719,7 +1713,7 @@ impl FileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn File(&self) -> windows_core::Result { let this = self; unsafe { @@ -1755,7 +1749,6 @@ windows_core::imp::interface_hierarchy!(FolderPickerContinuationEventArgs, windo windows_core::imp::required_hierarchy!(FolderPickerContinuationEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IContinuationActivatedEventArgs); #[cfg(feature = "deprecated")] impl FolderPickerContinuationEventArgs { - #[cfg(feature = "deprecated")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1763,7 +1756,6 @@ impl FolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1771,7 +1763,6 @@ impl FolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1779,7 +1770,7 @@ impl FolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "System", feature = "deprecated"))] + #[cfg(feature = "System")] pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1787,7 +1778,7 @@ impl FolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1795,7 +1786,7 @@ impl FolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Search", feature = "deprecated"))] + #[cfg(feature = "Storage_Search")] pub fn Folder(&self) -> windows_core::Result { let this = self; unsafe { @@ -4654,7 +4645,7 @@ windows_core::imp::interface_hierarchy!(IFileOpenPickerContinuationEventArgs, wi windows_core::imp::required_hierarchy!(IFileOpenPickerContinuationEventArgs, IActivatedEventArgs, IContinuationActivatedEventArgs); #[cfg(feature = "deprecated")] impl IFileOpenPickerContinuationEventArgs { - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn Files(&self) -> windows_core::Result> { let this = self; unsafe { @@ -4662,7 +4653,6 @@ impl IFileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).Files)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4670,7 +4660,6 @@ impl IFileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4678,7 +4667,6 @@ impl IFileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4686,7 +4674,7 @@ impl IFileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4729,9 +4717,9 @@ impl IFileOpenPickerContinuationEventArgs_Vtbl { #[repr(C)] pub struct IFileOpenPickerContinuationEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub Files: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] Files: usize, } windows_core::imp::define_interface!(IFileSavePickerActivatedEventArgs, IFileSavePickerActivatedEventArgs_Vtbl, 0x81c19cf1_74e6_4387_82eb_bb8fd64b4346); @@ -4896,7 +4884,7 @@ windows_core::imp::interface_hierarchy!(IFileSavePickerContinuationEventArgs, wi windows_core::imp::required_hierarchy!(IFileSavePickerContinuationEventArgs, IActivatedEventArgs, IContinuationActivatedEventArgs); #[cfg(feature = "deprecated")] impl IFileSavePickerContinuationEventArgs { - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn File(&self) -> windows_core::Result { let this = self; unsafe { @@ -4904,7 +4892,6 @@ impl IFileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4912,7 +4899,6 @@ impl IFileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4920,7 +4906,6 @@ impl IFileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4928,7 +4913,7 @@ impl IFileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4971,9 +4956,9 @@ impl IFileSavePickerContinuationEventArgs_Vtbl { #[repr(C)] pub struct IFileSavePickerContinuationEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub File: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] File: usize, } #[cfg(feature = "deprecated")] @@ -4988,7 +4973,7 @@ windows_core::imp::interface_hierarchy!(IFolderPickerContinuationEventArgs, wind windows_core::imp::required_hierarchy!(IFolderPickerContinuationEventArgs, IActivatedEventArgs, IContinuationActivatedEventArgs); #[cfg(feature = "deprecated")] impl IFolderPickerContinuationEventArgs { - #[cfg(all(feature = "Storage_Search", feature = "deprecated"))] + #[cfg(feature = "Storage_Search")] pub fn Folder(&self) -> windows_core::Result { let this = self; unsafe { @@ -4996,7 +4981,6 @@ impl IFolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).Folder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5004,7 +4988,6 @@ impl IFolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5012,7 +4995,6 @@ impl IFolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5020,7 +5002,7 @@ impl IFolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5063,9 +5045,9 @@ impl IFolderPickerContinuationEventArgs_Vtbl { #[repr(C)] pub struct IFolderPickerContinuationEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Storage_Search", feature = "deprecated"))] + #[cfg(feature = "Storage_Search")] pub Folder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Search", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Search"))] Folder: usize, } windows_core::imp::define_interface!(ILaunchActivatedEventArgs, ILaunchActivatedEventArgs_Vtbl, 0xfbc93e26_a14a_4b4f_82b0_33bed920af52); @@ -6743,7 +6725,6 @@ windows_core::imp::interface_hierarchy!(IWalletActionActivatedEventArgs, windows windows_core::imp::required_hierarchy!(IWalletActionActivatedEventArgs, IActivatedEventArgs); #[cfg(feature = "deprecated")] impl IWalletActionActivatedEventArgs { - #[cfg(feature = "deprecated")] pub fn ItemId(&self) -> windows_core::Result { let this = self; unsafe { @@ -6751,7 +6732,7 @@ impl IWalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).ItemId)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "ApplicationModel_Wallet", feature = "deprecated"))] + #[cfg(feature = "ApplicationModel_Wallet")] pub fn ActionKind(&self) -> windows_core::Result { let this = self; unsafe { @@ -6759,7 +6740,6 @@ impl IWalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).ActionKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ActionId(&self) -> windows_core::Result { let this = self; unsafe { @@ -6767,7 +6747,6 @@ impl IWalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).ActionId)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -6775,7 +6754,6 @@ impl IWalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -6783,7 +6761,6 @@ impl IWalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -6858,18 +6835,12 @@ impl IWalletActionActivatedEventArgs_Vtbl { #[repr(C)] pub struct IWalletActionActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub ItemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ItemId: usize, - #[cfg(all(feature = "ApplicationModel_Wallet", feature = "deprecated"))] + #[cfg(feature = "ApplicationModel_Wallet")] pub ActionKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Wallet::WalletActionKind) -> windows_core::HRESULT, - #[cfg(not(all(feature = "ApplicationModel_Wallet", feature = "deprecated")))] + #[cfg(not(feature = "ApplicationModel_Wallet"))] ActionKind: usize, - #[cfg(feature = "deprecated")] pub ActionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ActionId: usize, } windows_core::imp::define_interface!(IWebAccountProviderActivatedEventArgs, IWebAccountProviderActivatedEventArgs_Vtbl, 0x72b71774_98ea_4ccf_9752_46d9051004f1); impl windows_core::RuntimeType for IWebAccountProviderActivatedEventArgs { @@ -8171,7 +8142,6 @@ windows_core::imp::interface_hierarchy!(WalletActionActivatedEventArgs, windows_ windows_core::imp::required_hierarchy!(WalletActionActivatedEventArgs, IActivatedEventArgs); #[cfg(feature = "deprecated")] impl WalletActionActivatedEventArgs { - #[cfg(feature = "deprecated")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -8179,7 +8149,6 @@ impl WalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -8187,7 +8156,6 @@ impl WalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -8195,7 +8163,6 @@ impl WalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ItemId(&self) -> windows_core::Result { let this = self; unsafe { @@ -8203,7 +8170,7 @@ impl WalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).ItemId)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "ApplicationModel_Wallet", feature = "deprecated"))] + #[cfg(feature = "ApplicationModel_Wallet")] pub fn ActionKind(&self) -> windows_core::Result { let this = self; unsafe { @@ -8211,7 +8178,6 @@ impl WalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).ActionKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ActionId(&self) -> windows_core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs index 000468b8a3..bae47300ca 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs @@ -1678,7 +1678,6 @@ windows_core::imp::interface_hierarchy!(DeviceManufacturerNotificationTrigger, w windows_core::imp::required_hierarchy!(DeviceManufacturerNotificationTrigger, IBackgroundTrigger); #[cfg(feature = "deprecated")] impl DeviceManufacturerNotificationTrigger { - #[cfg(feature = "deprecated")] pub fn TriggerQualifier(&self) -> windows_core::Result { let this = self; unsafe { @@ -1686,7 +1685,6 @@ impl DeviceManufacturerNotificationTrigger { (windows_core::Interface::vtable(this).TriggerQualifier)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn OneShot(&self) -> windows_core::Result { let this = self; unsafe { @@ -1694,7 +1692,6 @@ impl DeviceManufacturerNotificationTrigger { (windows_core::Interface::vtable(this).OneShot)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn Create(triggerqualifier: &windows_core::HSTRING, oneshot: bool) -> windows_core::Result { Self::IDeviceManufacturerNotificationTriggerFactory(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -3450,14 +3447,8 @@ impl windows_core::RuntimeType for IDeviceManufacturerNotificationTrigger { #[repr(C)] pub struct IDeviceManufacturerNotificationTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub TriggerQualifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TriggerQualifier: usize, - #[cfg(feature = "deprecated")] pub OneShot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - OneShot: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IDeviceManufacturerNotificationTriggerFactory, IDeviceManufacturerNotificationTriggerFactory_Vtbl, 0x7955de75_25bb_4153_a1a2_3029fcabb652); @@ -3469,10 +3460,7 @@ impl windows_core::RuntimeType for IDeviceManufacturerNotificationTriggerFactory #[repr(C)] pub struct IDeviceManufacturerNotificationTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Create: usize, } windows_core::imp::define_interface!(IDeviceServicingTrigger, IDeviceServicingTrigger_Vtbl, 0x1ab217ad_6e34_49d3_9e6f_17f1b6dfa881); impl windows_core::RuntimeType for IDeviceServicingTrigger { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs index 107386a244..26e1475f91 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs @@ -19,14 +19,8 @@ impl windows_core::RuntimeType for IPhoneCallOriginDataRequestTriggerDetails { #[repr(C)] pub struct IPhoneCallOriginDataRequestTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub RequestId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RequestId: usize, - #[cfg(feature = "deprecated")] pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PhoneNumber: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPhoneIncomingCallDismissedTriggerDetails, IPhoneIncomingCallDismissedTriggerDetails_Vtbl, 0xbad30276_83b6_5732_9c38_0c206546196a); @@ -38,30 +32,12 @@ impl windows_core::RuntimeType for IPhoneIncomingCallDismissedTriggerDetails { #[repr(C)] pub struct IPhoneIncomingCallDismissedTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub LineId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LineId: usize, - #[cfg(feature = "deprecated")] pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PhoneNumber: usize, - #[cfg(feature = "deprecated")] pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DisplayName: usize, - #[cfg(feature = "deprecated")] pub DismissalTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DismissalTime: usize, - #[cfg(feature = "deprecated")] pub TextReplyMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TextReplyMessage: usize, - #[cfg(feature = "deprecated")] pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneIncomingCallDismissedReason) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Reason: usize, } windows_core::imp::define_interface!(IPhoneIncomingCallNotificationTriggerDetails, IPhoneIncomingCallNotificationTriggerDetails_Vtbl, 0x2b0e6044_9b32_5d42_8222_d2812e39fb21); impl windows_core::RuntimeType for IPhoneIncomingCallNotificationTriggerDetails { @@ -156,7 +132,6 @@ pub struct PhoneCallOriginDataRequestTriggerDetails(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(PhoneCallOriginDataRequestTriggerDetails, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl PhoneCallOriginDataRequestTriggerDetails { - #[cfg(feature = "deprecated")] pub fn RequestId(&self) -> windows_core::Result { let this = self; unsafe { @@ -164,7 +139,6 @@ impl PhoneCallOriginDataRequestTriggerDetails { (windows_core::Interface::vtable(this).RequestId)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn PhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { @@ -213,7 +187,6 @@ pub struct PhoneIncomingCallDismissedTriggerDetails(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(PhoneIncomingCallDismissedTriggerDetails, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl PhoneIncomingCallDismissedTriggerDetails { - #[cfg(feature = "deprecated")] pub fn LineId(&self) -> windows_core::Result { let this = self; unsafe { @@ -221,7 +194,6 @@ impl PhoneIncomingCallDismissedTriggerDetails { (windows_core::Interface::vtable(this).LineId)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn PhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { @@ -229,7 +201,6 @@ impl PhoneIncomingCallDismissedTriggerDetails { (windows_core::Interface::vtable(this).PhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { @@ -237,7 +208,6 @@ impl PhoneIncomingCallDismissedTriggerDetails { (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn DismissalTime(&self) -> windows_core::Result { let this = self; unsafe { @@ -245,7 +215,6 @@ impl PhoneIncomingCallDismissedTriggerDetails { (windows_core::Interface::vtable(this).DismissalTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn TextReplyMessage(&self) -> windows_core::Result { let this = self; unsafe { @@ -253,7 +222,6 @@ impl PhoneIncomingCallDismissedTriggerDetails { (windows_core::Interface::vtable(this).TextReplyMessage)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs index 35a44a3e0d..0552ab42d4 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs @@ -8,30 +8,12 @@ impl windows_core::RuntimeType for IPhoneCallOrigin { #[repr(C)] pub struct IPhoneCallOrigin_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Category: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Category: usize, - #[cfg(feature = "deprecated")] pub SetCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetCategory: usize, - #[cfg(feature = "deprecated")] pub CategoryDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CategoryDescription: usize, - #[cfg(feature = "deprecated")] pub SetCategoryDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetCategoryDescription: usize, - #[cfg(feature = "deprecated")] pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Location: usize, - #[cfg(feature = "deprecated")] pub SetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetLocation: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPhoneCallOrigin2, IPhoneCallOrigin2_Vtbl, 0x04c7e980_9ac2_4768_b536_b68da4957d02); @@ -43,14 +25,8 @@ impl windows_core::RuntimeType for IPhoneCallOrigin2 { #[repr(C)] pub struct IPhoneCallOrigin2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DisplayName: usize, - #[cfg(feature = "deprecated")] pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetDisplayName: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPhoneCallOrigin3, IPhoneCallOrigin3_Vtbl, 0x49330fb4_d1a7_43a2_aeee_c07b6dbaf068); @@ -62,13 +38,13 @@ impl windows_core::RuntimeType for IPhoneCallOrigin3 { #[repr(C)] pub struct IPhoneCallOrigin3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub DisplayPicture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] DisplayPicture: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub SetDisplayPicture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] SetDisplayPicture: usize, } #[cfg(feature = "deprecated")] @@ -81,18 +57,9 @@ impl windows_core::RuntimeType for IPhoneCallOriginManagerStatics { #[repr(C)] pub struct IPhoneCallOriginManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub IsCurrentAppActiveCallOriginApp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IsCurrentAppActiveCallOriginApp: usize, - #[cfg(feature = "deprecated")] pub ShowPhoneCallOriginSettingsUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ShowPhoneCallOriginSettingsUI: usize, - #[cfg(feature = "deprecated")] pub SetCallOrigin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetCallOrigin: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPhoneCallOriginManagerStatics2, IPhoneCallOriginManagerStatics2_Vtbl, 0x8bf3ee3f_40f4_4380_8c7c_aea2c9b8dd7a); @@ -104,10 +71,7 @@ impl windows_core::RuntimeType for IPhoneCallOriginManagerStatics2 { #[repr(C)] pub struct IPhoneCallOriginManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub RequestSetAsActiveCallOriginAppAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RequestSetAsActiveCallOriginAppAsync: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPhoneCallOriginManagerStatics3, IPhoneCallOriginManagerStatics3_Vtbl, 0x2ed69764_a6e3_50f0_b76a_d67cb39bdfde); @@ -119,10 +83,7 @@ impl windows_core::RuntimeType for IPhoneCallOriginManagerStatics3 { #[repr(C)] pub struct IPhoneCallOriginManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IsSupported: usize, } #[cfg(feature = "deprecated")] #[repr(transparent)] @@ -139,7 +100,6 @@ impl PhoneCallOrigin { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(feature = "deprecated")] pub fn Category(&self) -> windows_core::Result { let this = self; unsafe { @@ -147,12 +107,10 @@ impl PhoneCallOrigin { (windows_core::Interface::vtable(this).Category)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetCategory(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetCategory)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn CategoryDescription(&self) -> windows_core::Result { let this = self; unsafe { @@ -160,12 +118,10 @@ impl PhoneCallOrigin { (windows_core::Interface::vtable(this).CategoryDescription)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetCategoryDescription(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetCategoryDescription)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn Location(&self) -> windows_core::Result { let this = self; unsafe { @@ -173,12 +129,10 @@ impl PhoneCallOrigin { (windows_core::Interface::vtable(this).Location)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetLocation(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetLocation)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -186,12 +140,11 @@ impl PhoneCallOrigin { (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetDisplayName(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetDisplayName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn DisplayPicture(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -199,7 +152,7 @@ impl PhoneCallOrigin { (windows_core::Interface::vtable(this).DisplayPicture)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn SetDisplayPicture(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -229,32 +182,27 @@ unsafe impl Sync for PhoneCallOrigin {} pub struct PhoneCallOriginManager; #[cfg(feature = "deprecated")] impl PhoneCallOriginManager { - #[cfg(feature = "deprecated")] pub fn IsCurrentAppActiveCallOriginApp() -> windows_core::Result { Self::IPhoneCallOriginManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCurrentAppActiveCallOriginApp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn ShowPhoneCallOriginSettingsUI() -> windows_core::Result<()> { Self::IPhoneCallOriginManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).ShowPhoneCallOriginSettingsUI)(windows_core::Interface::as_raw(this)).ok() }) } - #[cfg(feature = "deprecated")] pub fn SetCallOrigin(requestid: windows_core::GUID, callorigin: P1) -> windows_core::Result<()> where P1: windows_core::Param, { Self::IPhoneCallOriginManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).SetCallOrigin)(windows_core::Interface::as_raw(this), requestid, callorigin.param().abi()).ok() }) } - #[cfg(feature = "deprecated")] pub fn RequestSetAsActiveCallOriginAppAsync() -> windows_core::Result> { Self::IPhoneCallOriginManagerStatics2(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestSetAsActiveCallOriginAppAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn IsSupported() -> windows_core::Result { Self::IPhoneCallOriginManagerStatics3(|this| unsafe { let mut result__ = core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs index 3d9e08c002..0812797149 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs @@ -930,7 +930,10 @@ impl windows_core::RuntimeType for IPhoneLine2 { #[repr(C)] pub struct IPhoneLine2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, + #[cfg(feature = "deprecated")] pub EnableTextReply: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + EnableTextReply: usize, pub TransportDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneLine3, IPhoneLine3_Vtbl, 0xe2e33cf7_2406_57f3_826a_e5a5f40d6fb5); @@ -3127,6 +3130,7 @@ impl PhoneLine { let this = self; unsafe { (windows_core::Interface::vtable(this).DialWithOptions)(windows_core::Interface::as_raw(this), options.param().abi()).ok() } } + #[cfg(feature = "deprecated")] pub fn EnableTextReply(&self, value: bool) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).EnableTextReply)(windows_core::Interface::as_raw(this), value).ok() } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs index 939e974cf1..6723178e78 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs @@ -17,6 +17,7 @@ impl windows_core::RuntimeType for AddContactResult { pub struct ContactPickerUI(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(ContactPickerUI, windows_core::IUnknown, windows_core::IInspectable); impl ContactPickerUI { + #[cfg(feature = "deprecated")] pub fn AddContact(&self, id: &windows_core::HSTRING, contact: P1) -> windows_core::Result where P1: windows_core::Param, @@ -38,7 +39,7 @@ impl ContactPickerUI { (windows_core::Interface::vtable(this).ContainsContact)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn DesiredFields(&self) -> windows_core::Result> { let this = self; unsafe { @@ -126,12 +127,15 @@ impl windows_core::RuntimeType for IContactPickerUI { #[repr(C)] pub struct IContactPickerUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, + #[cfg(feature = "deprecated")] pub AddContact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut AddContactResult) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + AddContact: usize, pub RemoveContact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ContainsContact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub DesiredFields: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] DesiredFields: usize, pub SelectionMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::ContactSelectionMode) -> windows_core::HRESULT, pub ContactRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs index 9e743fe985..75de234b65 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs @@ -5778,30 +5778,12 @@ impl windows_core::RuntimeType for IKnownContactFieldStatics { #[repr(C)] pub struct IKnownContactFieldStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Email: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Email: usize, - #[cfg(feature = "deprecated")] pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PhoneNumber: usize, - #[cfg(feature = "deprecated")] pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Location: usize, - #[cfg(feature = "deprecated")] pub InstantMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - InstantMessage: usize, - #[cfg(feature = "deprecated")] pub ConvertNameToType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut ContactFieldType) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ConvertNameToType: usize, - #[cfg(feature = "deprecated")] pub ConvertTypeToName: unsafe extern "system" fn(*mut core::ffi::c_void, ContactFieldType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ConvertTypeToName: usize, } windows_core::imp::define_interface!(IPinnedContactIdsQueryResult, IPinnedContactIdsQueryResult_Vtbl, 0x7d9b2552_1579_4ddc_871f_a30a3aea9ba1); impl windows_core::RuntimeType for IPinnedContactIdsQueryResult { @@ -5855,42 +5837,36 @@ pub struct IPinnedContactManagerStatics_Vtbl { pub struct KnownContactField; #[cfg(feature = "deprecated")] impl KnownContactField { - #[cfg(feature = "deprecated")] pub fn Email() -> windows_core::Result { Self::IKnownContactFieldStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Email)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) }) } - #[cfg(feature = "deprecated")] pub fn PhoneNumber() -> windows_core::Result { Self::IKnownContactFieldStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) }) } - #[cfg(feature = "deprecated")] pub fn Location() -> windows_core::Result { Self::IKnownContactFieldStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Location)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) }) } - #[cfg(feature = "deprecated")] pub fn InstantMessage() -> windows_core::Result { Self::IKnownContactFieldStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstantMessage)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) }) } - #[cfg(feature = "deprecated")] pub fn ConvertNameToType(name: &windows_core::HSTRING) -> windows_core::Result { Self::IKnownContactFieldStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertNameToType)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn ConvertTypeToName(r#type: ContactFieldType) -> windows_core::Result { Self::IKnownContactFieldStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs index 0747fb9ff7..d68cdffb0d 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs @@ -384,6 +384,7 @@ impl DataPackage { let this = self; unsafe { (windows_core::Interface::vtable(this).SetText)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } + #[cfg(feature = "deprecated")] pub fn SetUri(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -582,7 +583,6 @@ impl DataPackagePropertySet { let this = self; unsafe { (windows_core::Interface::vtable(this).SetThumbnail)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn FileTypes(&self) -> windows_core::Result> { let this = self; unsafe { @@ -733,7 +733,6 @@ impl DataPackagePropertySet { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -825,7 +824,6 @@ impl DataPackagePropertySetView { (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn FileTypes(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1031,6 +1029,7 @@ impl DataPackageView { (windows_core::Interface::vtable(this).GetCustomTextAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(formatid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn GetUriAsync(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1585,7 +1584,10 @@ pub struct IDataPackage_Vtbl { pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDataProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub SetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetUri: usize, pub SetHtmlFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub ResourceMap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1657,10 +1659,7 @@ pub struct IDataPackagePropertySet_Vtbl { pub SetThumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetThumbnail: usize, - #[cfg(feature = "Foundation_Collections")] pub FileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] - FileTypes: usize, pub ApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ApplicationListingUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1803,7 +1802,10 @@ pub struct IDataPackageView_Vtbl { pub GetDataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCustomTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub GetUriAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + GetUriAsync: usize, pub GetHtmlFormatAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub GetResourceMapAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2100,7 +2102,10 @@ impl windows_core::RuntimeType for IStandardDataFormatsStatics { pub struct IStandardDataFormatsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + Uri: usize, pub Html: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Rtf: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Bitmap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2553,6 +2558,7 @@ impl StandardDataFormats { (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) }) } + #[cfg(feature = "deprecated")] pub fn Uri() -> windows_core::Result { Self::IStandardDataFormatsStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs index a09dadbba4..43a14aad83 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs @@ -32,7 +32,7 @@ pub struct HolographicKeyboardPlacementOverridePreview(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(HolographicKeyboardPlacementOverridePreview, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl HolographicKeyboardPlacementOverridePreview { - #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub fn SetPlacementOverride(&self, coordinatesystem: P0, topcenterposition: super::super::super::Foundation::Numerics::Vector3, normal: super::super::super::Foundation::Numerics::Vector3) -> windows_core::Result<()> where P0: windows_core::Param, @@ -40,7 +40,7 @@ impl HolographicKeyboardPlacementOverridePreview { let this = self; unsafe { (windows_core::Interface::vtable(this).SetPlacementOverride)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), topcenterposition, normal).ok() } } - #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub fn SetPlacementOverrideWithMaxSize(&self, coordinatesystem: P0, topcenterposition: super::super::super::Foundation::Numerics::Vector3, normal: super::super::super::Foundation::Numerics::Vector3, maxsize: super::super::super::Foundation::Numerics::Vector2) -> windows_core::Result<()> where P0: windows_core::Param, @@ -48,12 +48,10 @@ impl HolographicKeyboardPlacementOverridePreview { let this = self; unsafe { (windows_core::Interface::vtable(this).SetPlacementOverrideWithMaxSize)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), topcenterposition, normal, maxsize).ok() } } - #[cfg(feature = "deprecated")] pub fn ResetPlacementOverride(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).ResetPlacementOverride)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn GetForCurrentView() -> windows_core::Result { Self::IHolographicKeyboardPlacementOverridePreviewStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -105,18 +103,15 @@ impl windows_core::RuntimeType for IHolographicKeyboardPlacementOverridePreview #[repr(C)] pub struct IHolographicKeyboardPlacementOverridePreview_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub SetPlacementOverride: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::Foundation::Numerics::Vector3, super::super::super::Foundation::Numerics::Vector3) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Numerics", feature = "Perception_Spatial", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "Perception_Spatial")))] SetPlacementOverride: usize, - #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Numerics", feature = "Perception_Spatial"))] pub SetPlacementOverrideWithMaxSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::Foundation::Numerics::Vector3, super::super::super::Foundation::Numerics::Vector3, super::super::super::Foundation::Numerics::Vector2) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Numerics", feature = "Perception_Spatial", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "Perception_Spatial")))] SetPlacementOverrideWithMaxSize: usize, - #[cfg(feature = "deprecated")] pub ResetPlacementOverride: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ResetPlacementOverride: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IHolographicKeyboardPlacementOverridePreviewStatics, IHolographicKeyboardPlacementOverridePreviewStatics_Vtbl, 0x202e6039_1ff6_5a06_aac4_a5e24fa3ec4b); @@ -128,8 +123,5 @@ impl windows_core::RuntimeType for IHolographicKeyboardPlacementOverridePreviewS #[repr(C)] pub struct IHolographicKeyboardPlacementOverridePreviewStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub GetForCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetForCurrentView: usize, } 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 28ae59ed98..51a2de982c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs @@ -1251,7 +1251,6 @@ impl ResourceQualifierObservableMap { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -1274,7 +1273,6 @@ impl ResourceQualifierObservableMap { let this = &windows_core::Interface::cast::>(self)?; unsafe { (windows_core::Interface::vtable(this).Clear)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn MapChanged(&self, vhnd: P0) -> windows_core::Result where P0: windows_core::Param>, 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 33b732c266..90cbf25d9a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs @@ -38,13 +38,10 @@ impl windows_core::RuntimeType for IResourceIndexer { #[repr(C)] pub struct IResourceIndexer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub IndexFilePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IndexFilePath: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub IndexFileContentsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] IndexFileContentsAsync: usize, } #[cfg(feature = "deprecated")] @@ -57,10 +54,7 @@ impl windows_core::RuntimeType for IResourceIndexerFactory { #[repr(C)] pub struct IResourceIndexerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CreateResourceIndexer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CreateResourceIndexer: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IResourceIndexerFactory2, IResourceIndexerFactory2_Vtbl, 0x6040f18d_d5e5_4b60_9201_cd279cbcfed9); @@ -72,10 +66,7 @@ impl windows_core::RuntimeType for IResourceIndexerFactory2 { #[repr(C)] pub struct IResourceIndexerFactory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CreateResourceIndexerWithExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CreateResourceIndexerWithExtension: usize, } #[repr(transparent)] #[derive(Clone, Debug, Eq, PartialEq)] @@ -193,7 +184,6 @@ pub struct ResourceIndexer(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(ResourceIndexer, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl ResourceIndexer { - #[cfg(feature = "deprecated")] pub fn IndexFilePath(&self, filepath: P0) -> windows_core::Result where P0: windows_core::Param, @@ -204,7 +194,7 @@ impl ResourceIndexer { (windows_core::Interface::vtable(this).IndexFilePath)(windows_core::Interface::as_raw(this), filepath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn IndexFileContentsAsync(&self, file: P0) -> windows_core::Result>> where P0: windows_core::Param, @@ -215,7 +205,6 @@ impl ResourceIndexer { (windows_core::Interface::vtable(this).IndexFileContentsAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn CreateResourceIndexer(projectroot: P0) -> windows_core::Result where P0: windows_core::Param, @@ -225,7 +214,6 @@ impl ResourceIndexer { (windows_core::Interface::vtable(this).CreateResourceIndexer)(windows_core::Interface::as_raw(this), projectroot.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn CreateResourceIndexerWithExtension(projectroot: P0, extensiondllpath: P1) -> windows_core::Result where P0: windows_core::Param, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs index 0e72ce7b0a..7dd3884cf6 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs @@ -30,106 +30,31 @@ impl windows_core::RuntimeType for ISearchPane { #[repr(C)] pub struct ISearchPane_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub SetSearchHistoryEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetSearchHistoryEnabled: usize, - #[cfg(feature = "deprecated")] pub SearchHistoryEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SearchHistoryEnabled: usize, - #[cfg(feature = "deprecated")] pub SetSearchHistoryContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetSearchHistoryContext: usize, - #[cfg(feature = "deprecated")] pub SearchHistoryContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SearchHistoryContext: usize, - #[cfg(feature = "deprecated")] pub SetPlaceholderText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetPlaceholderText: usize, - #[cfg(feature = "deprecated")] pub PlaceholderText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PlaceholderText: usize, - #[cfg(feature = "deprecated")] pub QueryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - QueryText: usize, - #[cfg(feature = "deprecated")] pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Language: usize, - #[cfg(feature = "deprecated")] pub Visible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Visible: usize, - #[cfg(feature = "deprecated")] pub VisibilityChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - VisibilityChanged: usize, - #[cfg(feature = "deprecated")] pub RemoveVisibilityChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveVisibilityChanged: usize, - #[cfg(feature = "deprecated")] pub QueryChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - QueryChanged: usize, - #[cfg(feature = "deprecated")] pub RemoveQueryChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveQueryChanged: usize, - #[cfg(feature = "deprecated")] pub SuggestionsRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SuggestionsRequested: usize, - #[cfg(feature = "deprecated")] pub RemoveSuggestionsRequested: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveSuggestionsRequested: usize, - #[cfg(feature = "deprecated")] pub QuerySubmitted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - QuerySubmitted: usize, - #[cfg(feature = "deprecated")] pub RemoveQuerySubmitted: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveQuerySubmitted: usize, - #[cfg(feature = "deprecated")] pub ResultSuggestionChosen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ResultSuggestionChosen: usize, - #[cfg(feature = "deprecated")] pub RemoveResultSuggestionChosen: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveResultSuggestionChosen: usize, - #[cfg(feature = "deprecated")] pub SetLocalContentSuggestionSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetLocalContentSuggestionSettings: usize, - #[cfg(feature = "deprecated")] pub ShowOverloadDefault: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ShowOverloadDefault: usize, - #[cfg(feature = "deprecated")] pub ShowOverloadWithQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ShowOverloadWithQuery: usize, - #[cfg(feature = "deprecated")] pub SetShowOnKeyboardInput: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetShowOnKeyboardInput: usize, - #[cfg(feature = "deprecated")] pub ShowOnKeyboardInput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ShowOnKeyboardInput: usize, - #[cfg(feature = "deprecated")] pub TrySetQueryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TrySetQueryText: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISearchPaneQueryChangedEventArgs, ISearchPaneQueryChangedEventArgs_Vtbl, 0x3c064fe9_2351_4248_a529_7110f464a785); @@ -141,7 +66,6 @@ impl windows_core::RuntimeType for ISearchPaneQueryChangedEventArgs { windows_core::imp::interface_hierarchy!(ISearchPaneQueryChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl ISearchPaneQueryChangedEventArgs { - #[cfg(feature = "deprecated")] pub fn QueryText(&self) -> windows_core::Result { let this = self; unsafe { @@ -149,7 +73,6 @@ impl ISearchPaneQueryChangedEventArgs { (windows_core::Interface::vtable(this).QueryText)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { @@ -157,7 +80,6 @@ impl ISearchPaneQueryChangedEventArgs { (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn LinguisticDetails(&self) -> windows_core::Result { let this = self; unsafe { @@ -233,18 +155,9 @@ impl ISearchPaneQueryChangedEventArgs_Vtbl { #[repr(C)] pub struct ISearchPaneQueryChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub QueryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - QueryText: usize, - #[cfg(feature = "deprecated")] pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Language: usize, - #[cfg(feature = "deprecated")] pub LinguisticDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LinguisticDetails: usize, } windows_core::imp::define_interface!(ISearchPaneQueryLinguisticDetails, ISearchPaneQueryLinguisticDetails_Vtbl, 0x82fb460e_0940_4b6d_b8d0_642b30989e15); impl windows_core::RuntimeType for ISearchPaneQueryLinguisticDetails { @@ -270,14 +183,8 @@ impl windows_core::RuntimeType for ISearchPaneQuerySubmittedEventArgs { #[repr(C)] pub struct ISearchPaneQuerySubmittedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub QueryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - QueryText: usize, - #[cfg(feature = "deprecated")] pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Language: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails, ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails_Vtbl, 0x460c92e5_4c32_4538_a4d4_b6b4400d140f); @@ -289,10 +196,7 @@ impl windows_core::RuntimeType for ISearchPaneQuerySubmittedEventArgsWithLinguis #[repr(C)] pub struct ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub LinguisticDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LinguisticDetails: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISearchPaneResultSuggestionChosenEventArgs, ISearchPaneResultSuggestionChosenEventArgs_Vtbl, 0xc8316cc0_aed2_41e0_bce0_c26ca74f85ec); @@ -304,10 +208,7 @@ impl windows_core::RuntimeType for ISearchPaneResultSuggestionChosenEventArgs { #[repr(C)] pub struct ISearchPaneResultSuggestionChosenEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Tag: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISearchPaneStatics, ISearchPaneStatics_Vtbl, 0x9572adf1_8f1d_481f_a15b_c61655f16a0e); @@ -319,10 +220,7 @@ impl windows_core::RuntimeType for ISearchPaneStatics { #[repr(C)] pub struct ISearchPaneStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub GetForCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetForCurrentView: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISearchPaneStaticsWithHideThisApplication, ISearchPaneStaticsWithHideThisApplication_Vtbl, 0x00732830_50f1_4d03_99ac_c6644c8ed8b5); @@ -334,10 +232,7 @@ impl windows_core::RuntimeType for ISearchPaneStaticsWithHideThisApplication { #[repr(C)] pub struct ISearchPaneStaticsWithHideThisApplication_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub HideThisApplication: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - HideThisApplication: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISearchPaneSuggestionsRequest, ISearchPaneSuggestionsRequest_Vtbl, 0x81b10b1c_e561_4093_9b4d_2ad482794a53); @@ -349,18 +244,9 @@ impl windows_core::RuntimeType for ISearchPaneSuggestionsRequest { #[repr(C)] pub struct ISearchPaneSuggestionsRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub IsCanceled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IsCanceled: usize, - #[cfg(feature = "deprecated")] pub SearchSuggestionCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SearchSuggestionCollection: usize, - #[cfg(feature = "deprecated")] pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetDeferral: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISearchPaneSuggestionsRequestDeferral, ISearchPaneSuggestionsRequestDeferral_Vtbl, 0xa0d009f7_8748_4ee2_ad44_afa6be997c51); @@ -372,10 +258,7 @@ impl windows_core::RuntimeType for ISearchPaneSuggestionsRequestDeferral { #[repr(C)] pub struct ISearchPaneSuggestionsRequestDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Complete: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISearchPaneSuggestionsRequestedEventArgs, ISearchPaneSuggestionsRequestedEventArgs_Vtbl, 0xc89b8a2f_ac56_4460_8d2f_80023bec4fc5); @@ -387,10 +270,7 @@ impl windows_core::RuntimeType for ISearchPaneSuggestionsRequestedEventArgs { #[repr(C)] pub struct ISearchPaneSuggestionsRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Request: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISearchPaneVisibilityChangedEventArgs, ISearchPaneVisibilityChangedEventArgs_Vtbl, 0x3c4d3046_ac4b_49f2_97d6_020e6182cb9c); @@ -402,10 +282,7 @@ impl windows_core::RuntimeType for ISearchPaneVisibilityChangedEventArgs { #[repr(C)] pub struct ISearchPaneVisibilityChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Visible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Visible: usize, } windows_core::imp::define_interface!(ISearchQueryLinguisticDetails, ISearchQueryLinguisticDetails_Vtbl, 0x46a1205b_69c9_4745_b72f_a8a4fc8f24ae); impl windows_core::RuntimeType for ISearchQueryLinguisticDetails { @@ -541,12 +418,10 @@ pub struct SearchPane(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SearchPane, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl SearchPane { - #[cfg(feature = "deprecated")] pub fn SetSearchHistoryEnabled(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetSearchHistoryEnabled)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn SearchHistoryEnabled(&self) -> windows_core::Result { let this = self; unsafe { @@ -554,12 +429,10 @@ impl SearchPane { (windows_core::Interface::vtable(this).SearchHistoryEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetSearchHistoryContext(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetSearchHistoryContext)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn SearchHistoryContext(&self) -> windows_core::Result { let this = self; unsafe { @@ -567,12 +440,10 @@ impl SearchPane { (windows_core::Interface::vtable(this).SearchHistoryContext)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetPlaceholderText(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetPlaceholderText)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn PlaceholderText(&self) -> windows_core::Result { let this = self; unsafe { @@ -580,7 +451,6 @@ impl SearchPane { (windows_core::Interface::vtable(this).PlaceholderText)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn QueryText(&self) -> windows_core::Result { let this = self; unsafe { @@ -588,7 +458,6 @@ impl SearchPane { (windows_core::Interface::vtable(this).QueryText)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { @@ -596,7 +465,6 @@ impl SearchPane { (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn Visible(&self) -> windows_core::Result { let this = self; unsafe { @@ -604,7 +472,6 @@ impl SearchPane { (windows_core::Interface::vtable(this).Visible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn VisibilityChanged(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -615,12 +482,10 @@ impl SearchPane { (windows_core::Interface::vtable(this).VisibilityChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveVisibilityChanged(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveVisibilityChanged)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "deprecated")] pub fn QueryChanged(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -631,12 +496,10 @@ impl SearchPane { (windows_core::Interface::vtable(this).QueryChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveQueryChanged(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveQueryChanged)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "deprecated")] pub fn SuggestionsRequested(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -647,12 +510,10 @@ impl SearchPane { (windows_core::Interface::vtable(this).SuggestionsRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveSuggestionsRequested(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveSuggestionsRequested)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "deprecated")] pub fn QuerySubmitted(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -663,12 +524,10 @@ impl SearchPane { (windows_core::Interface::vtable(this).QuerySubmitted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveQuerySubmitted(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveQuerySubmitted)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "deprecated")] pub fn ResultSuggestionChosen(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -679,12 +538,10 @@ impl SearchPane { (windows_core::Interface::vtable(this).ResultSuggestionChosen)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveResultSuggestionChosen(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveResultSuggestionChosen)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "deprecated")] pub fn SetLocalContentSuggestionSettings(&self, settings: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -692,22 +549,18 @@ impl SearchPane { let this = self; unsafe { (windows_core::Interface::vtable(this).SetLocalContentSuggestionSettings)(windows_core::Interface::as_raw(this), settings.param().abi()).ok() } } - #[cfg(feature = "deprecated")] pub fn ShowOverloadDefault(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).ShowOverloadDefault)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn ShowOverloadWithQuery(&self, query: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).ShowOverloadWithQuery)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(query)).ok() } } - #[cfg(feature = "deprecated")] pub fn SetShowOnKeyboardInput(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetShowOnKeyboardInput)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn ShowOnKeyboardInput(&self) -> windows_core::Result { let this = self; unsafe { @@ -715,7 +568,6 @@ impl SearchPane { (windows_core::Interface::vtable(this).ShowOnKeyboardInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn TrySetQueryText(&self, query: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { @@ -723,14 +575,12 @@ impl SearchPane { (windows_core::Interface::vtable(this).TrySetQueryText)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(query), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn GetForCurrentView() -> windows_core::Result { Self::ISearchPaneStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn HideThisApplication() -> windows_core::Result<()> { Self::ISearchPaneStaticsWithHideThisApplication(|this| unsafe { (windows_core::Interface::vtable(this).HideThisApplication)(windows_core::Interface::as_raw(this)).ok() }) } @@ -764,7 +614,6 @@ pub struct SearchPaneQueryChangedEventArgs(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SearchPaneQueryChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable, ISearchPaneQueryChangedEventArgs); #[cfg(feature = "deprecated")] impl SearchPaneQueryChangedEventArgs { - #[cfg(feature = "deprecated")] pub fn QueryText(&self) -> windows_core::Result { let this = self; unsafe { @@ -772,7 +621,6 @@ impl SearchPaneQueryChangedEventArgs { (windows_core::Interface::vtable(this).QueryText)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { @@ -780,7 +628,6 @@ impl SearchPaneQueryChangedEventArgs { (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn LinguisticDetails(&self) -> windows_core::Result { let this = self; unsafe { @@ -854,7 +701,6 @@ pub struct SearchPaneQuerySubmittedEventArgs(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SearchPaneQuerySubmittedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl SearchPaneQuerySubmittedEventArgs { - #[cfg(feature = "deprecated")] pub fn QueryText(&self) -> windows_core::Result { let this = self; unsafe { @@ -862,7 +708,6 @@ impl SearchPaneQuerySubmittedEventArgs { (windows_core::Interface::vtable(this).QueryText)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { @@ -870,7 +715,6 @@ impl SearchPaneQuerySubmittedEventArgs { (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn LinguisticDetails(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -904,7 +748,6 @@ pub struct SearchPaneResultSuggestionChosenEventArgs(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SearchPaneResultSuggestionChosenEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl SearchPaneResultSuggestionChosenEventArgs { - #[cfg(feature = "deprecated")] pub fn Tag(&self) -> windows_core::Result { let this = self; unsafe { @@ -938,7 +781,6 @@ pub struct SearchPaneSuggestionsRequest(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SearchPaneSuggestionsRequest, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl SearchPaneSuggestionsRequest { - #[cfg(feature = "deprecated")] pub fn IsCanceled(&self) -> windows_core::Result { let this = self; unsafe { @@ -946,7 +788,6 @@ impl SearchPaneSuggestionsRequest { (windows_core::Interface::vtable(this).IsCanceled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SearchSuggestionCollection(&self) -> windows_core::Result { let this = self; unsafe { @@ -954,7 +795,6 @@ impl SearchPaneSuggestionsRequest { (windows_core::Interface::vtable(this).SearchSuggestionCollection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { @@ -988,7 +828,6 @@ pub struct SearchPaneSuggestionsRequestDeferral(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SearchPaneSuggestionsRequestDeferral, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl SearchPaneSuggestionsRequestDeferral { - #[cfg(feature = "deprecated")] pub fn Complete(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).Complete)(windows_core::Interface::as_raw(this)).ok() } @@ -1021,7 +860,6 @@ windows_core::imp::interface_hierarchy!(SearchPaneSuggestionsRequestedEventArgs, windows_core::imp::required_hierarchy!(SearchPaneSuggestionsRequestedEventArgs, ISearchPaneQueryChangedEventArgs); #[cfg(feature = "deprecated")] impl SearchPaneSuggestionsRequestedEventArgs { - #[cfg(feature = "deprecated")] pub fn QueryText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1029,7 +867,6 @@ impl SearchPaneSuggestionsRequestedEventArgs { (windows_core::Interface::vtable(this).QueryText)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1037,7 +874,6 @@ impl SearchPaneSuggestionsRequestedEventArgs { (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn LinguisticDetails(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1045,7 +881,6 @@ impl SearchPaneSuggestionsRequestedEventArgs { (windows_core::Interface::vtable(this).LinguisticDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { @@ -1079,7 +914,6 @@ pub struct SearchPaneVisibilityChangedEventArgs(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SearchPaneVisibilityChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl SearchPaneVisibilityChangedEventArgs { - #[cfg(feature = "deprecated")] pub fn Visible(&self) -> 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 15196003a6..44a594975e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs @@ -8,26 +8,17 @@ impl windows_core::RuntimeType for IWalletItemSystemStore { #[repr(C)] pub struct IWalletItemSystemStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub GetItemsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] GetItemsAsync: usize, - #[cfg(feature = "deprecated")] pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DeleteAsync: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub ImportItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] ImportItemAsync: usize, - #[cfg(feature = "deprecated")] pub GetAppStatusForItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut WalletItemAppAssociation) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetAppStatusForItem: usize, - #[cfg(feature = "deprecated")] pub LaunchAppForItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LaunchAppForItemAsync: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IWalletItemSystemStore2, IWalletItemSystemStore2_Vtbl, 0xf98d3a4e_be00_4fdd_9734_6c113c1ac1cb); @@ -39,14 +30,8 @@ impl windows_core::RuntimeType for IWalletItemSystemStore2 { #[repr(C)] pub struct IWalletItemSystemStore2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub ItemsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ItemsChanged: usize, - #[cfg(feature = "deprecated")] pub RemoveItemsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveItemsChanged: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IWalletManagerSystemStatics, IWalletManagerSystemStatics_Vtbl, 0xbee8eb89_2634_4b9a_8b23_ee8903c91fe0); @@ -58,10 +43,7 @@ impl windows_core::RuntimeType for IWalletManagerSystemStatics { #[repr(C)] pub struct IWalletManagerSystemStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub RequestStoreAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RequestStoreAsync: usize, } #[repr(transparent)] #[derive(Clone, Copy, Debug, Default, Eq, PartialEq)] @@ -85,7 +67,7 @@ pub struct WalletItemSystemStore(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(WalletItemSystemStore, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl WalletItemSystemStore { - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn GetItemsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { @@ -93,7 +75,6 @@ impl WalletItemSystemStore { (windows_core::Interface::vtable(this).GetItemsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn DeleteAsync(&self, item: P0) -> windows_core::Result where P0: windows_core::Param, @@ -104,7 +85,7 @@ impl WalletItemSystemStore { (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn ImportItemAsync(&self, stream: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -115,7 +96,6 @@ impl WalletItemSystemStore { (windows_core::Interface::vtable(this).ImportItemAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn GetAppStatusForItem(&self, item: P0) -> windows_core::Result where P0: windows_core::Param, @@ -126,7 +106,6 @@ impl WalletItemSystemStore { (windows_core::Interface::vtable(this).GetAppStatusForItem)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn LaunchAppForItemAsync(&self, item: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -137,7 +116,6 @@ impl WalletItemSystemStore { (windows_core::Interface::vtable(this).LaunchAppForItemAsync)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ItemsChanged(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -148,7 +126,6 @@ impl WalletItemSystemStore { (windows_core::Interface::vtable(this).ItemsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveItemsChanged(&self, cookie: i64) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveItemsChanged)(windows_core::Interface::as_raw(this), cookie).ok() } @@ -175,7 +152,6 @@ unsafe impl Sync for WalletItemSystemStore {} pub struct WalletManagerSystem; #[cfg(feature = "deprecated")] impl WalletManagerSystem { - #[cfg(feature = "deprecated")] pub fn RequestStoreAsync() -> windows_core::Result> { Self::IWalletManagerSystemStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs index ce686bfcde..c38ca5eb5e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs @@ -10,17 +10,11 @@ impl windows_core::RuntimeType for IWalletBarcode { #[repr(C)] pub struct IWalletBarcode_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Symbology: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WalletBarcodeSymbology) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Symbology: usize, - #[cfg(feature = "deprecated")] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Value: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub GetImageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] GetImageAsync: usize, } #[cfg(feature = "deprecated")] @@ -33,13 +27,10 @@ impl windows_core::RuntimeType for IWalletBarcodeFactory { #[repr(C)] pub struct IWalletBarcodeFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CreateWalletBarcode: unsafe extern "system" fn(*mut core::ffi::c_void, WalletBarcodeSymbology, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CreateWalletBarcode: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub CreateCustomWalletBarcode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] CreateCustomWalletBarcode: usize, } #[cfg(feature = "deprecated")] @@ -52,213 +43,135 @@ impl windows_core::RuntimeType for IWalletItem { #[repr(C)] pub struct IWalletItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DisplayName: usize, - #[cfg(feature = "deprecated")] pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetDisplayName: usize, - #[cfg(feature = "deprecated")] pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Id: usize, - #[cfg(feature = "deprecated")] pub IsAcknowledged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IsAcknowledged: usize, - #[cfg(feature = "deprecated")] pub SetIsAcknowledged: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetIsAcknowledged: usize, - #[cfg(feature = "deprecated")] pub IssuerDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IssuerDisplayName: usize, - #[cfg(feature = "deprecated")] pub SetIssuerDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetIssuerDisplayName: usize, - #[cfg(feature = "deprecated")] pub LastUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LastUpdated: usize, - #[cfg(feature = "deprecated")] pub SetLastUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetLastUpdated: usize, - #[cfg(feature = "deprecated")] pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WalletItemKind) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Kind: usize, - #[cfg(feature = "deprecated")] pub Barcode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Barcode: usize, - #[cfg(feature = "deprecated")] pub SetBarcode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetBarcode: usize, - #[cfg(feature = "deprecated")] pub ExpirationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ExpirationDate: usize, - #[cfg(feature = "deprecated")] pub SetExpirationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetExpirationDate: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub Logo159x159: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] Logo159x159: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub SetLogo159x159: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] SetLogo159x159: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub Logo336x336: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] Logo336x336: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub SetLogo336x336: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] SetLogo336x336: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub Logo99x99: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] Logo99x99: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub SetLogo99x99: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] SetLogo99x99: usize, - #[cfg(feature = "deprecated")] pub DisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DisplayMessage: usize, - #[cfg(feature = "deprecated")] pub SetDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetDisplayMessage: usize, - #[cfg(feature = "deprecated")] pub IsDisplayMessageLaunchable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IsDisplayMessageLaunchable: usize, - #[cfg(feature = "deprecated")] pub SetIsDisplayMessageLaunchable: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetIsDisplayMessageLaunchable: usize, - #[cfg(feature = "deprecated")] pub LogoText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LogoText: usize, - #[cfg(feature = "deprecated")] pub SetLogoText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetLogoText: usize, - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub HeaderColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::UI::Color) -> windows_core::HRESULT, - #[cfg(not(all(feature = "UI", feature = "deprecated")))] + #[cfg(not(feature = "UI"))] HeaderColor: usize, - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub SetHeaderColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::UI::Color) -> windows_core::HRESULT, - #[cfg(not(all(feature = "UI", feature = "deprecated")))] + #[cfg(not(feature = "UI"))] SetHeaderColor: usize, - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub BodyColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::UI::Color) -> windows_core::HRESULT, - #[cfg(not(all(feature = "UI", feature = "deprecated")))] + #[cfg(not(feature = "UI"))] BodyColor: usize, - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub SetBodyColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::UI::Color) -> windows_core::HRESULT, - #[cfg(not(all(feature = "UI", feature = "deprecated")))] + #[cfg(not(feature = "UI"))] SetBodyColor: usize, - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub HeaderFontColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::UI::Color) -> windows_core::HRESULT, - #[cfg(not(all(feature = "UI", feature = "deprecated")))] + #[cfg(not(feature = "UI"))] HeaderFontColor: usize, - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub SetHeaderFontColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::UI::Color) -> windows_core::HRESULT, - #[cfg(not(all(feature = "UI", feature = "deprecated")))] + #[cfg(not(feature = "UI"))] SetHeaderFontColor: usize, - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub BodyFontColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::UI::Color) -> windows_core::HRESULT, - #[cfg(not(all(feature = "UI", feature = "deprecated")))] + #[cfg(not(feature = "UI"))] BodyFontColor: usize, - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub SetBodyFontColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::UI::Color) -> windows_core::HRESULT, - #[cfg(not(all(feature = "UI", feature = "deprecated")))] + #[cfg(not(feature = "UI"))] SetBodyFontColor: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub HeaderBackgroundImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] HeaderBackgroundImage: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub SetHeaderBackgroundImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] SetHeaderBackgroundImage: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub BodyBackgroundImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] BodyBackgroundImage: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub SetBodyBackgroundImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] SetBodyBackgroundImage: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub LogoImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] LogoImage: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub SetLogoImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] SetLogoImage: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub PromotionalImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] PromotionalImage: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub SetPromotionalImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] SetPromotionalImage: usize, - #[cfg(feature = "deprecated")] pub RelevantDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RelevantDate: usize, - #[cfg(feature = "deprecated")] pub SetRelevantDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetRelevantDate: usize, - #[cfg(feature = "deprecated")] pub RelevantDateDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RelevantDateDisplayMessage: usize, - #[cfg(feature = "deprecated")] pub SetRelevantDateDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetRelevantDateDisplayMessage: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub TransactionHistory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] TransactionHistory: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub RelevantLocations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] RelevantLocations: usize, - #[cfg(feature = "deprecated")] pub IsMoreTransactionHistoryLaunchable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IsMoreTransactionHistoryLaunchable: usize, - #[cfg(feature = "deprecated")] pub SetIsMoreTransactionHistoryLaunchable: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetIsMoreTransactionHistoryLaunchable: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub DisplayProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] DisplayProperties: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub Verbs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] Verbs: usize, } #[cfg(feature = "deprecated")] @@ -271,46 +184,16 @@ impl windows_core::RuntimeType for IWalletItemCustomProperty { #[repr(C)] pub struct IWalletItemCustomProperty_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Name: usize, - #[cfg(feature = "deprecated")] pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetName: usize, - #[cfg(feature = "deprecated")] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Value: usize, - #[cfg(feature = "deprecated")] pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetValue: usize, - #[cfg(feature = "deprecated")] pub AutoDetectLinks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AutoDetectLinks: usize, - #[cfg(feature = "deprecated")] pub SetAutoDetectLinks: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetAutoDetectLinks: usize, - #[cfg(feature = "deprecated")] pub DetailViewPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WalletDetailViewPosition) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DetailViewPosition: usize, - #[cfg(feature = "deprecated")] pub SetDetailViewPosition: unsafe extern "system" fn(*mut core::ffi::c_void, WalletDetailViewPosition) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetDetailViewPosition: usize, - #[cfg(feature = "deprecated")] pub SummaryViewPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WalletSummaryViewPosition) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SummaryViewPosition: usize, - #[cfg(feature = "deprecated")] pub SetSummaryViewPosition: unsafe extern "system" fn(*mut core::ffi::c_void, WalletSummaryViewPosition) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetSummaryViewPosition: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IWalletItemCustomPropertyFactory, IWalletItemCustomPropertyFactory_Vtbl, 0xd0046a44_61a1_41aa_b259_a5610ab5d575); @@ -322,10 +205,7 @@ impl windows_core::RuntimeType for IWalletItemCustomPropertyFactory { #[repr(C)] pub struct IWalletItemCustomPropertyFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CreateWalletItemCustomProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CreateWalletItemCustomProperty: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IWalletItemFactory, IWalletItemFactory_Vtbl, 0x53e27470_4f0b_4a3e_99e5_0bbb1eab38d4); @@ -337,10 +217,7 @@ impl windows_core::RuntimeType for IWalletItemFactory { #[repr(C)] pub struct IWalletItemFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CreateWalletItem: unsafe extern "system" fn(*mut core::ffi::c_void, WalletItemKind, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CreateWalletItem: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IWalletItemStore, IWalletItemStore_Vtbl, 0x7160484b_6d49_48f8_91a9_40a1d0f13ef4); @@ -352,46 +229,25 @@ impl windows_core::RuntimeType for IWalletItemStore { #[repr(C)] pub struct IWalletItemStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub AddAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AddAsync: usize, - #[cfg(feature = "deprecated")] pub ClearAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ClearAsync: usize, - #[cfg(feature = "deprecated")] pub GetWalletItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetWalletItemAsync: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub GetItemsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] GetItemsAsync: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub GetItemsWithKindAsync: unsafe extern "system" fn(*mut core::ffi::c_void, WalletItemKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] GetItemsWithKindAsync: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub ImportItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] ImportItemAsync: usize, - #[cfg(feature = "deprecated")] pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DeleteAsync: usize, - #[cfg(feature = "deprecated")] pub ShowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ShowAsync: usize, - #[cfg(feature = "deprecated")] pub ShowItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ShowItemAsync: usize, - #[cfg(feature = "deprecated")] pub UpdateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - UpdateAsync: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IWalletItemStore2, IWalletItemStore2_Vtbl, 0x65e682f0_7009_4a15_bd54_4fff379bffe2); @@ -403,14 +259,8 @@ impl windows_core::RuntimeType for IWalletItemStore2 { #[repr(C)] pub struct IWalletItemStore2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub ItemsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ItemsChanged: usize, - #[cfg(feature = "deprecated")] pub RemoveItemsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveItemsChanged: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IWalletManagerStatics, IWalletManagerStatics_Vtbl, 0x5111d6b8_c9a4_4c64_b4dd_e1e548001c0d); @@ -422,10 +272,7 @@ impl windows_core::RuntimeType for IWalletManagerStatics { #[repr(C)] pub struct IWalletManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub RequestStoreAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RequestStoreAsync: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IWalletRelevantLocation, IWalletRelevantLocation_Vtbl, 0x9fd8782a_e3f9_4de1_bab3_bb192e46b3f3); @@ -437,22 +284,16 @@ impl windows_core::RuntimeType for IWalletRelevantLocation { #[repr(C)] pub struct IWalletRelevantLocation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Devices_Geolocation", feature = "deprecated"))] + #[cfg(feature = "Devices_Geolocation")] pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Devices::Geolocation::BasicGeoposition) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Devices_Geolocation", feature = "deprecated")))] + #[cfg(not(feature = "Devices_Geolocation"))] Position: usize, - #[cfg(all(feature = "Devices_Geolocation", feature = "deprecated"))] + #[cfg(feature = "Devices_Geolocation")] pub SetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Devices::Geolocation::BasicGeoposition) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Devices_Geolocation", feature = "deprecated")))] + #[cfg(not(feature = "Devices_Geolocation"))] SetPosition: usize, - #[cfg(feature = "deprecated")] pub DisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DisplayMessage: usize, - #[cfg(feature = "deprecated")] pub SetDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetDisplayMessage: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IWalletTransaction, IWalletTransaction_Vtbl, 0x40e1e940_2606_4519_81cb_bff1c60d1f79); @@ -464,54 +305,18 @@ impl windows_core::RuntimeType for IWalletTransaction { #[repr(C)] pub struct IWalletTransaction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Description: usize, - #[cfg(feature = "deprecated")] pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetDescription: usize, - #[cfg(feature = "deprecated")] pub DisplayAmount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DisplayAmount: usize, - #[cfg(feature = "deprecated")] pub SetDisplayAmount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetDisplayAmount: usize, - #[cfg(feature = "deprecated")] pub IgnoreTimeOfDay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IgnoreTimeOfDay: usize, - #[cfg(feature = "deprecated")] pub SetIgnoreTimeOfDay: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetIgnoreTimeOfDay: usize, - #[cfg(feature = "deprecated")] pub DisplayLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DisplayLocation: usize, - #[cfg(feature = "deprecated")] pub SetDisplayLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetDisplayLocation: usize, - #[cfg(feature = "deprecated")] pub TransactionDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TransactionDate: usize, - #[cfg(feature = "deprecated")] pub SetTransactionDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetTransactionDate: usize, - #[cfg(feature = "deprecated")] pub IsLaunchable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IsLaunchable: usize, - #[cfg(feature = "deprecated")] pub SetIsLaunchable: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetIsLaunchable: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IWalletVerb, IWalletVerb_Vtbl, 0x17b826d6_e3c1_4c74_8a94_217aadbc4884); @@ -523,14 +328,8 @@ impl windows_core::RuntimeType for IWalletVerb { #[repr(C)] pub struct IWalletVerb_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Name: usize, - #[cfg(feature = "deprecated")] pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetName: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IWalletVerbFactory, IWalletVerbFactory_Vtbl, 0x76012771_be58_4d5e_83ed_58b1669c7ad9); @@ -542,10 +341,7 @@ impl windows_core::RuntimeType for IWalletVerbFactory { #[repr(C)] pub struct IWalletVerbFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CreateWalletVerb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CreateWalletVerb: usize, } #[repr(transparent)] #[derive(Clone, Copy, Debug, Default, Eq, PartialEq)] @@ -571,7 +367,6 @@ pub struct WalletBarcode(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(WalletBarcode, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl WalletBarcode { - #[cfg(feature = "deprecated")] pub fn Symbology(&self) -> windows_core::Result { let this = self; unsafe { @@ -579,7 +374,6 @@ impl WalletBarcode { (windows_core::Interface::vtable(this).Symbology)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { @@ -587,7 +381,7 @@ impl WalletBarcode { (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn GetImageAsync(&self) -> windows_core::Result> { let this = self; unsafe { @@ -595,14 +389,13 @@ impl WalletBarcode { (windows_core::Interface::vtable(this).GetImageAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn CreateWalletBarcode(symbology: WalletBarcodeSymbology, value: &windows_core::HSTRING) -> windows_core::Result { Self::IWalletBarcodeFactory(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWalletBarcode)(windows_core::Interface::as_raw(this), symbology, core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn CreateCustomWalletBarcode(streamtobarcodeimage: P0) -> windows_core::Result where P0: windows_core::Param, @@ -691,7 +484,6 @@ pub struct WalletItem(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(WalletItem, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl WalletItem { - #[cfg(feature = "deprecated")] pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { @@ -699,12 +491,10 @@ impl WalletItem { (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetDisplayName(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetDisplayName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { @@ -712,7 +502,6 @@ impl WalletItem { (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn IsAcknowledged(&self) -> windows_core::Result { let this = self; unsafe { @@ -720,12 +509,10 @@ impl WalletItem { (windows_core::Interface::vtable(this).IsAcknowledged)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetIsAcknowledged(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetIsAcknowledged)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn IssuerDisplayName(&self) -> windows_core::Result { let this = self; unsafe { @@ -733,12 +520,10 @@ impl WalletItem { (windows_core::Interface::vtable(this).IssuerDisplayName)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetIssuerDisplayName(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetIssuerDisplayName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn LastUpdated(&self) -> windows_core::Result> { let this = self; unsafe { @@ -746,7 +531,6 @@ impl WalletItem { (windows_core::Interface::vtable(this).LastUpdated)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetLastUpdated(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param>, @@ -754,7 +538,6 @@ impl WalletItem { let this = self; unsafe { (windows_core::Interface::vtable(this).SetLastUpdated)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "deprecated")] pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { @@ -762,7 +545,6 @@ impl WalletItem { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn Barcode(&self) -> windows_core::Result { let this = self; unsafe { @@ -770,7 +552,6 @@ impl WalletItem { (windows_core::Interface::vtable(this).Barcode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetBarcode(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -778,7 +559,6 @@ impl WalletItem { let this = self; unsafe { (windows_core::Interface::vtable(this).SetBarcode)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "deprecated")] pub fn ExpirationDate(&self) -> windows_core::Result> { let this = self; unsafe { @@ -786,7 +566,6 @@ impl WalletItem { (windows_core::Interface::vtable(this).ExpirationDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetExpirationDate(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param>, @@ -794,7 +573,7 @@ impl WalletItem { let this = self; unsafe { (windows_core::Interface::vtable(this).SetExpirationDate)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn Logo159x159(&self) -> windows_core::Result { let this = self; unsafe { @@ -802,7 +581,7 @@ impl WalletItem { (windows_core::Interface::vtable(this).Logo159x159)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn SetLogo159x159(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -810,7 +589,7 @@ impl WalletItem { let this = self; unsafe { (windows_core::Interface::vtable(this).SetLogo159x159)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn Logo336x336(&self) -> windows_core::Result { let this = self; unsafe { @@ -818,7 +597,7 @@ impl WalletItem { (windows_core::Interface::vtable(this).Logo336x336)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn SetLogo336x336(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -826,7 +605,7 @@ impl WalletItem { let this = self; unsafe { (windows_core::Interface::vtable(this).SetLogo336x336)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn Logo99x99(&self) -> windows_core::Result { let this = self; unsafe { @@ -834,7 +613,7 @@ impl WalletItem { (windows_core::Interface::vtable(this).Logo99x99)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn SetLogo99x99(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -842,7 +621,6 @@ impl WalletItem { let this = self; unsafe { (windows_core::Interface::vtable(this).SetLogo99x99)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "deprecated")] pub fn DisplayMessage(&self) -> windows_core::Result { let this = self; unsafe { @@ -850,12 +628,10 @@ impl WalletItem { (windows_core::Interface::vtable(this).DisplayMessage)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetDisplayMessage(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetDisplayMessage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn IsDisplayMessageLaunchable(&self) -> windows_core::Result { let this = self; unsafe { @@ -863,12 +639,10 @@ impl WalletItem { (windows_core::Interface::vtable(this).IsDisplayMessageLaunchable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetIsDisplayMessageLaunchable(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetIsDisplayMessageLaunchable)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn LogoText(&self) -> windows_core::Result { let this = self; unsafe { @@ -876,12 +650,11 @@ impl WalletItem { (windows_core::Interface::vtable(this).LogoText)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetLogoText(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetLogoText)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub fn HeaderColor(&self) -> windows_core::Result { let this = self; unsafe { @@ -889,12 +662,12 @@ impl WalletItem { (windows_core::Interface::vtable(this).HeaderColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub fn SetHeaderColor(&self, value: super::super::UI::Color) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetHeaderColor)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub fn BodyColor(&self) -> windows_core::Result { let this = self; unsafe { @@ -902,12 +675,12 @@ impl WalletItem { (windows_core::Interface::vtable(this).BodyColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub fn SetBodyColor(&self, value: super::super::UI::Color) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetBodyColor)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub fn HeaderFontColor(&self) -> windows_core::Result { let this = self; unsafe { @@ -915,12 +688,12 @@ impl WalletItem { (windows_core::Interface::vtable(this).HeaderFontColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub fn SetHeaderFontColor(&self, value: super::super::UI::Color) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetHeaderFontColor)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub fn BodyFontColor(&self) -> windows_core::Result { let this = self; unsafe { @@ -928,12 +701,12 @@ impl WalletItem { (windows_core::Interface::vtable(this).BodyFontColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "UI", feature = "deprecated"))] + #[cfg(feature = "UI")] pub fn SetBodyFontColor(&self, value: super::super::UI::Color) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetBodyFontColor)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn HeaderBackgroundImage(&self) -> windows_core::Result { let this = self; unsafe { @@ -941,7 +714,7 @@ impl WalletItem { (windows_core::Interface::vtable(this).HeaderBackgroundImage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn SetHeaderBackgroundImage(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -949,7 +722,7 @@ impl WalletItem { let this = self; unsafe { (windows_core::Interface::vtable(this).SetHeaderBackgroundImage)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn BodyBackgroundImage(&self) -> windows_core::Result { let this = self; unsafe { @@ -957,7 +730,7 @@ impl WalletItem { (windows_core::Interface::vtable(this).BodyBackgroundImage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn SetBodyBackgroundImage(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -965,7 +738,7 @@ impl WalletItem { let this = self; unsafe { (windows_core::Interface::vtable(this).SetBodyBackgroundImage)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn LogoImage(&self) -> windows_core::Result { let this = self; unsafe { @@ -973,7 +746,7 @@ impl WalletItem { (windows_core::Interface::vtable(this).LogoImage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn SetLogoImage(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -981,7 +754,7 @@ impl WalletItem { let this = self; unsafe { (windows_core::Interface::vtable(this).SetLogoImage)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn PromotionalImage(&self) -> windows_core::Result { let this = self; unsafe { @@ -989,7 +762,7 @@ impl WalletItem { (windows_core::Interface::vtable(this).PromotionalImage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn SetPromotionalImage(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -997,7 +770,6 @@ impl WalletItem { let this = self; unsafe { (windows_core::Interface::vtable(this).SetPromotionalImage)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "deprecated")] pub fn RelevantDate(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1005,7 +777,6 @@ impl WalletItem { (windows_core::Interface::vtable(this).RelevantDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetRelevantDate(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param>, @@ -1013,7 +784,6 @@ impl WalletItem { let this = self; unsafe { (windows_core::Interface::vtable(this).SetRelevantDate)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "deprecated")] pub fn RelevantDateDisplayMessage(&self) -> windows_core::Result { let this = self; unsafe { @@ -1021,12 +791,11 @@ impl WalletItem { (windows_core::Interface::vtable(this).RelevantDateDisplayMessage)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetRelevantDateDisplayMessage(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetRelevantDateDisplayMessage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn TransactionHistory(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1034,7 +803,7 @@ impl WalletItem { (windows_core::Interface::vtable(this).TransactionHistory)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn RelevantLocations(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1042,7 +811,6 @@ impl WalletItem { (windows_core::Interface::vtable(this).RelevantLocations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn IsMoreTransactionHistoryLaunchable(&self) -> windows_core::Result { let this = self; unsafe { @@ -1050,12 +818,11 @@ impl WalletItem { (windows_core::Interface::vtable(this).IsMoreTransactionHistoryLaunchable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetIsMoreTransactionHistoryLaunchable(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetIsMoreTransactionHistoryLaunchable)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn DisplayProperties(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1063,7 +830,7 @@ impl WalletItem { (windows_core::Interface::vtable(this).DisplayProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn Verbs(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1071,7 +838,6 @@ impl WalletItem { (windows_core::Interface::vtable(this).Verbs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn CreateWalletItem(kind: WalletItemKind, displayname: &windows_core::HSTRING) -> windows_core::Result { Self::IWalletItemFactory(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -1108,7 +874,6 @@ pub struct WalletItemCustomProperty(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(WalletItemCustomProperty, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl WalletItemCustomProperty { - #[cfg(feature = "deprecated")] pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { @@ -1116,12 +881,10 @@ impl WalletItemCustomProperty { (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetName(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { @@ -1129,12 +892,10 @@ impl WalletItemCustomProperty { (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetValue(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetValue)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn AutoDetectLinks(&self) -> windows_core::Result { let this = self; unsafe { @@ -1142,12 +903,10 @@ impl WalletItemCustomProperty { (windows_core::Interface::vtable(this).AutoDetectLinks)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetAutoDetectLinks(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetAutoDetectLinks)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn DetailViewPosition(&self) -> windows_core::Result { let this = self; unsafe { @@ -1155,12 +914,10 @@ impl WalletItemCustomProperty { (windows_core::Interface::vtable(this).DetailViewPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetDetailViewPosition(&self, value: WalletDetailViewPosition) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetDetailViewPosition)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn SummaryViewPosition(&self) -> windows_core::Result { let this = self; unsafe { @@ -1168,12 +925,10 @@ impl WalletItemCustomProperty { (windows_core::Interface::vtable(this).SummaryViewPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetSummaryViewPosition(&self, value: WalletSummaryViewPosition) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetSummaryViewPosition)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn CreateWalletItemCustomProperty(name: &windows_core::HSTRING, value: &windows_core::HSTRING) -> windows_core::Result { Self::IWalletItemCustomPropertyFactory(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -1228,7 +983,6 @@ pub struct WalletItemStore(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(WalletItemStore, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl WalletItemStore { - #[cfg(feature = "deprecated")] pub fn AddAsync(&self, id: &windows_core::HSTRING, item: P1) -> windows_core::Result where P1: windows_core::Param, @@ -1239,7 +993,6 @@ impl WalletItemStore { (windows_core::Interface::vtable(this).AddAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ClearAsync(&self) -> windows_core::Result { let this = self; unsafe { @@ -1247,7 +1000,6 @@ impl WalletItemStore { (windows_core::Interface::vtable(this).ClearAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn GetWalletItemAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { @@ -1255,7 +1007,7 @@ impl WalletItemStore { (windows_core::Interface::vtable(this).GetWalletItemAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn GetItemsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { @@ -1263,7 +1015,7 @@ impl WalletItemStore { (windows_core::Interface::vtable(this).GetItemsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn GetItemsWithKindAsync(&self, kind: WalletItemKind) -> windows_core::Result>> { let this = self; unsafe { @@ -1271,7 +1023,7 @@ impl WalletItemStore { (windows_core::Interface::vtable(this).GetItemsWithKindAsync)(windows_core::Interface::as_raw(this), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn ImportItemAsync(&self, stream: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -1282,7 +1034,6 @@ impl WalletItemStore { (windows_core::Interface::vtable(this).ImportItemAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn DeleteAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { @@ -1290,7 +1041,6 @@ impl WalletItemStore { (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ShowAsync(&self) -> windows_core::Result { let this = self; unsafe { @@ -1298,7 +1048,6 @@ impl WalletItemStore { (windows_core::Interface::vtable(this).ShowAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ShowItemAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { @@ -1306,7 +1055,6 @@ impl WalletItemStore { (windows_core::Interface::vtable(this).ShowItemAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn UpdateAsync(&self, item: P0) -> windows_core::Result where P0: windows_core::Param, @@ -1339,7 +1087,6 @@ unsafe impl Sync for WalletItemStore {} pub struct WalletManager; #[cfg(feature = "deprecated")] impl WalletManager { - #[cfg(feature = "deprecated")] pub fn RequestStoreAsync() -> windows_core::Result> { Self::IWalletManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -1370,7 +1117,7 @@ impl WalletRelevantLocation { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(all(feature = "Devices_Geolocation", feature = "deprecated"))] + #[cfg(feature = "Devices_Geolocation")] pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { @@ -1378,12 +1125,11 @@ impl WalletRelevantLocation { (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Devices_Geolocation", feature = "deprecated"))] + #[cfg(feature = "Devices_Geolocation")] pub fn SetPosition(&self, value: super::super::Devices::Geolocation::BasicGeoposition) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetPosition)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn DisplayMessage(&self) -> windows_core::Result { let this = self; unsafe { @@ -1391,7 +1137,6 @@ impl WalletRelevantLocation { (windows_core::Interface::vtable(this).DisplayMessage)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetDisplayMessage(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetDisplayMessage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } @@ -1443,7 +1188,6 @@ impl WalletTransaction { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(feature = "deprecated")] pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { @@ -1451,12 +1195,10 @@ impl WalletTransaction { (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetDescription(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetDescription)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn DisplayAmount(&self) -> windows_core::Result { let this = self; unsafe { @@ -1464,12 +1206,10 @@ impl WalletTransaction { (windows_core::Interface::vtable(this).DisplayAmount)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetDisplayAmount(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetDisplayAmount)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn IgnoreTimeOfDay(&self) -> windows_core::Result { let this = self; unsafe { @@ -1477,12 +1217,10 @@ impl WalletTransaction { (windows_core::Interface::vtable(this).IgnoreTimeOfDay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetIgnoreTimeOfDay(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetIgnoreTimeOfDay)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn DisplayLocation(&self) -> windows_core::Result { let this = self; unsafe { @@ -1490,12 +1228,10 @@ impl WalletTransaction { (windows_core::Interface::vtable(this).DisplayLocation)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetDisplayLocation(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetDisplayLocation)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn TransactionDate(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1503,7 +1239,6 @@ impl WalletTransaction { (windows_core::Interface::vtable(this).TransactionDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetTransactionDate(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param>, @@ -1511,7 +1246,6 @@ impl WalletTransaction { let this = self; unsafe { (windows_core::Interface::vtable(this).SetTransactionDate)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "deprecated")] pub fn IsLaunchable(&self) -> windows_core::Result { let this = self; unsafe { @@ -1519,7 +1253,6 @@ impl WalletTransaction { (windows_core::Interface::vtable(this).IsLaunchable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetIsLaunchable(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetIsLaunchable)(windows_core::Interface::as_raw(this), value).ok() } @@ -1550,7 +1283,6 @@ pub struct WalletVerb(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(WalletVerb, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl WalletVerb { - #[cfg(feature = "deprecated")] pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { @@ -1558,12 +1290,10 @@ impl WalletVerb { (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetName(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn CreateWalletVerb(name: &windows_core::HSTRING) -> windows_core::Result { Self::IWalletVerbFactory(|this| unsafe { let mut result__ = core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs index 72480d3002..a01de30fc7 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs @@ -1541,7 +1541,10 @@ pub struct IPackageWithMetadata_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InstallDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Foundation::DateTime) -> windows_core::HRESULT, pub GetThumbnailToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub Launch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + Launch: usize, } windows_core::imp::define_interface!(IStartupTask, IStartupTask_Vtbl, 0xf75c23c8_b5f2_4f6c_88dd_36cb1d599d17); impl windows_core::RuntimeType for IStartupTask { @@ -2147,6 +2150,7 @@ impl Package { (windows_core::Interface::vtable(this).GetThumbnailToken)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn Launch(&self, parameters: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Launch)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(parameters)).ok() } diff --git a/crates/libs/windows/src/Windows/Data/Json/mod.rs b/crates/libs/windows/src/Windows/Data/Json/mod.rs index 7f83763c6c..105b1568ce 100644 --- a/crates/libs/windows/src/Windows/Data/Json/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Json/mod.rs @@ -340,7 +340,6 @@ impl JsonArray { (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetObjectAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { @@ -430,7 +429,6 @@ impl JsonArray { (windows_core::Interface::vtable(this).GetArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetObject(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -459,7 +457,6 @@ impl JsonArray { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -636,7 +633,6 @@ impl JsonObject { (windows_core::Interface::vtable(this).GetNamedObject)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetNamedArray(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { @@ -704,7 +700,6 @@ impl JsonObject { (windows_core::Interface::vtable(this).GetNamedStringOrDefault)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(defaultvalue), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetNamedArrayOrDefault(&self, name: &windows_core::HSTRING, defaultvalue: P1) -> windows_core::Result where P1: windows_core::Param, @@ -764,7 +759,6 @@ impl JsonObject { (windows_core::Interface::vtable(this).GetBoolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetArray(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -800,7 +794,6 @@ impl JsonObject { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { 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 f808e56456..5330c38936 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs @@ -3,7 +3,7 @@ pub struct GattCharacteristic(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(GattCharacteristic, windows_core::IUnknown, windows_core::IInspectable); impl GattCharacteristic { - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn GetDescriptors(&self, descriptoruuid: windows_core::GUID) -> windows_core::Result> { let this = self; unsafe { @@ -129,7 +129,7 @@ impl GattCharacteristic { (windows_core::Interface::vtable(this).Service)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn GetAllDescriptors(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -194,6 +194,7 @@ impl GattCharacteristic { (windows_core::Interface::vtable(this).WriteClientCharacteristicConfigurationDescriptorWithResultAsync)(windows_core::Interface::as_raw(this), clientcharacteristicconfigurationdescriptorvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn ConvertShortIdToUuid(shortid: u16) -> windows_core::Result { Self::IGattCharacteristicStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -953,6 +954,7 @@ impl GattDescriptor { (windows_core::Interface::vtable(this).WriteValueWithResultAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn ConvertShortIdToUuid(shortid: u16) -> windows_core::Result { Self::IGattDescriptorStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -1072,7 +1074,7 @@ impl GattDeviceService { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn GetCharacteristics(&self, characteristicuuid: windows_core::GUID) -> windows_core::Result> { let this = self; unsafe { @@ -1080,7 +1082,7 @@ impl GattDeviceService { (windows_core::Interface::vtable(this).GetCharacteristics)(windows_core::Interface::as_raw(this), characteristicuuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn GetIncludedServices(&self, serviceuuid: windows_core::GUID) -> windows_core::Result> { let this = self; unsafe { @@ -1109,6 +1111,7 @@ impl GattDeviceService { (windows_core::Interface::vtable(this).AttributeHandle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn Device(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1116,7 +1119,7 @@ impl GattDeviceService { (windows_core::Interface::vtable(this).Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn ParentServices(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1124,7 +1127,7 @@ impl GattDeviceService { (windows_core::Interface::vtable(this).ParentServices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn GetAllCharacteristics(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1132,7 +1135,7 @@ impl GattDeviceService { (windows_core::Interface::vtable(this).GetAllCharacteristics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn GetAllIncludedServices(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1245,12 +1248,14 @@ impl GattDeviceService { (windows_core::Interface::vtable(this).GetDeviceSelectorFromUuid)(windows_core::Interface::as_raw(this), serviceuuid, &mut result__).map(|| core::mem::transmute(result__)) }) } + #[cfg(feature = "deprecated")] pub fn GetDeviceSelectorFromShortId(serviceshortid: u16) -> windows_core::Result { Self::IGattDeviceServiceStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromShortId)(windows_core::Interface::as_raw(this), serviceshortid, &mut result__).map(|| core::mem::transmute(result__)) }) } + #[cfg(feature = "deprecated")] pub fn ConvertShortIdToUuid(shortid: u16) -> windows_core::Result { Self::IGattDeviceServiceStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -3286,9 +3291,9 @@ impl windows_core::RuntimeType for IGattCharacteristic { #[repr(C)] pub struct IGattCharacteristic_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub GetDescriptors: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetDescriptors: usize, pub CharacteristicProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GattCharacteristicProperties) -> windows_core::HRESULT, pub ProtectionLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GattProtectionLevel) -> windows_core::HRESULT, @@ -3323,9 +3328,9 @@ impl windows_core::RuntimeType for IGattCharacteristic2 { pub struct IGattCharacteristic2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Service: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub GetAllDescriptors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetAllDescriptors: usize, } windows_core::imp::define_interface!(IGattCharacteristic3, IGattCharacteristic3_Vtbl, 0x3f3c663e_93d4_406b_b817_db81f8ed53b3); @@ -3356,7 +3361,10 @@ impl windows_core::RuntimeType for IGattCharacteristicStatics { #[repr(C)] pub struct IGattCharacteristicStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, + #[cfg(feature = "deprecated")] pub ConvertShortIdToUuid: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut windows_core::GUID) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + ConvertShortIdToUuid: usize, } windows_core::imp::define_interface!(IGattCharacteristicUuidsStatics, IGattCharacteristicUuidsStatics_Vtbl, 0x58fa4586_b1de_470c_b7de_0d11ff44f4b7); impl windows_core::RuntimeType for IGattCharacteristicUuidsStatics { @@ -3526,7 +3534,10 @@ impl windows_core::RuntimeType for IGattDescriptorStatics { #[repr(C)] pub struct IGattDescriptorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, + #[cfg(feature = "deprecated")] pub ConvertShortIdToUuid: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut windows_core::GUID) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + ConvertShortIdToUuid: usize, } windows_core::imp::define_interface!(IGattDescriptorUuidsStatics, IGattDescriptorUuidsStatics_Vtbl, 0xa6f862ce_9cfc_42f1_9185_ff37b75181d3); impl windows_core::RuntimeType for IGattDescriptorUuidsStatics { @@ -3563,13 +3574,13 @@ impl windows_core::RuntimeType for IGattDeviceService { #[repr(C)] pub struct IGattDeviceService_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub GetCharacteristics: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetCharacteristics: usize, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub GetIncludedServices: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetIncludedServices: usize, pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Uuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, @@ -3582,18 +3593,21 @@ impl windows_core::RuntimeType for IGattDeviceService2 { #[repr(C)] pub struct IGattDeviceService2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, + #[cfg(feature = "deprecated")] pub Device: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Foundation_Collections")] + #[cfg(not(feature = "deprecated"))] + Device: usize, + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub ParentServices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] ParentServices: usize, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub GetAllCharacteristics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetAllCharacteristics: usize, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub GetAllIncludedServices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetAllIncludedServices: usize, } windows_core::imp::define_interface!(IGattDeviceService3, IGattDeviceService3_Vtbl, 0xb293a950_0c53_437c_a9b3_5c3210c6e569); @@ -3632,8 +3646,14 @@ pub struct IGattDeviceServiceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDeviceSelectorFromUuid: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub GetDeviceSelectorFromShortId: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + GetDeviceSelectorFromShortId: usize, + #[cfg(feature = "deprecated")] pub ConvertShortIdToUuid: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut windows_core::GUID) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + ConvertShortIdToUuid: usize, } windows_core::imp::define_interface!(IGattDeviceServiceStatics2, IGattDeviceServiceStatics2_Vtbl, 0x0604186e_24a6_4b0d_a2f2_30cc01545d25); impl windows_core::RuntimeType for IGattDeviceServiceStatics2 { diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs index ffed28731d..b9a033d2f7 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs @@ -276,7 +276,7 @@ impl BluetoothDevice { (windows_core::Interface::vtable(this).SdpRecords)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Devices_Bluetooth_Rfcomm", feature = "Foundation_Collections"))] + #[cfg(all(feature = "Devices_Bluetooth_Rfcomm", feature = "Foundation_Collections", feature = "deprecated"))] pub fn RfcommServices(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1077,7 +1077,7 @@ impl BluetoothLEDevice { (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Devices_Bluetooth_GenericAttributeProfile", feature = "Foundation_Collections"))] + #[cfg(all(feature = "Devices_Bluetooth_GenericAttributeProfile", feature = "Foundation_Collections", feature = "deprecated"))] pub fn GattServices(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1099,7 +1099,7 @@ impl BluetoothLEDevice { (windows_core::Interface::vtable(this).BluetoothAddress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Devices_Bluetooth_GenericAttributeProfile")] + #[cfg(all(feature = "Devices_Bluetooth_GenericAttributeProfile", feature = "deprecated"))] pub fn GetGattService(&self, serviceuuid: windows_core::GUID) -> windows_core::Result { let this = self; unsafe { @@ -1836,9 +1836,9 @@ pub struct IBluetoothDevice_Vtbl { pub SdpRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] SdpRecords: usize, - #[cfg(all(feature = "Devices_Bluetooth_Rfcomm", feature = "Foundation_Collections"))] + #[cfg(all(feature = "Devices_Bluetooth_Rfcomm", feature = "Foundation_Collections", feature = "deprecated"))] pub RfcommServices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Devices_Bluetooth_Rfcomm", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "Devices_Bluetooth_Rfcomm", feature = "Foundation_Collections", feature = "deprecated")))] RfcommServices: usize, pub ConnectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BluetoothConnectionStatus) -> windows_core::HRESULT, pub BluetoothAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, @@ -2087,15 +2087,15 @@ pub struct IBluetoothLEDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Devices_Bluetooth_GenericAttributeProfile", feature = "Foundation_Collections"))] + #[cfg(all(feature = "Devices_Bluetooth_GenericAttributeProfile", feature = "Foundation_Collections", feature = "deprecated"))] pub GattServices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Devices_Bluetooth_GenericAttributeProfile", feature = "Foundation_Collections")))] + #[cfg(not(all(feature = "Devices_Bluetooth_GenericAttributeProfile", feature = "Foundation_Collections", feature = "deprecated")))] GattServices: usize, pub ConnectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BluetoothConnectionStatus) -> windows_core::HRESULT, pub BluetoothAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - #[cfg(feature = "Devices_Bluetooth_GenericAttributeProfile")] + #[cfg(all(feature = "Devices_Bluetooth_GenericAttributeProfile", feature = "deprecated"))] pub GetGattService: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Devices_Bluetooth_GenericAttributeProfile"))] + #[cfg(not(all(feature = "Devices_Bluetooth_GenericAttributeProfile", feature = "deprecated")))] GetGattService: usize, pub NameChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, pub RemoveNameChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, 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 c691739553..3c36957461 100644 --- a/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs @@ -1985,6 +1985,7 @@ impl DisplayTaskPool { (windows_core::Interface::vtable(this).CreateTask)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn ExecuteTask(&self, task: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -2823,7 +2824,10 @@ impl windows_core::RuntimeType for IDisplayTaskPool { pub struct IDisplayTaskPool_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub ExecuteTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + ExecuteTask: usize, } windows_core::imp::define_interface!(IDisplayTaskPool2, IDisplayTaskPool2_Vtbl, 0x46b879b6_5d17_5955_a872_eb38003db586); impl windows_core::RuntimeType for IDisplayTaskPool2 { diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs index e43569936a..cf8eed42f1 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs @@ -1372,7 +1372,6 @@ impl DeviceThumbnail { (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn ReadAsync(&self, buffer: P0, count: u32, options: super::super::Storage::Streams::InputStreamOptions) -> windows_core::Result> where P0: windows_core::Param, @@ -1383,7 +1382,6 @@ impl DeviceThumbnail { (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn WriteAsync(&self, buffer: P0) -> windows_core::Result> where P0: windows_core::Param, diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs index b9c773a3a8..def604258b 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs @@ -296,6 +296,7 @@ unsafe impl Sync for Geocircle {} pub struct Geocoordinate(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(Geocoordinate, windows_core::IUnknown, windows_core::IInspectable); impl Geocoordinate { + #[cfg(feature = "deprecated")] pub fn Latitude(&self) -> windows_core::Result { let this = self; unsafe { @@ -303,6 +304,7 @@ impl Geocoordinate { (windows_core::Interface::vtable(this).Latitude)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn Longitude(&self) -> windows_core::Result { let this = self; unsafe { @@ -310,6 +312,7 @@ impl Geocoordinate { (windows_core::Interface::vtable(this).Longitude)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn Altitude(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1082,9 +1085,18 @@ impl windows_core::RuntimeType for IGeocoordinate { #[repr(C)] pub struct IGeocoordinate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, + #[cfg(feature = "deprecated")] pub Latitude: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + Latitude: usize, + #[cfg(feature = "deprecated")] pub Longitude: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + Longitude: usize, + #[cfg(feature = "deprecated")] pub Altitude: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + Altitude: usize, pub Accuracy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub AltitudeAccuracy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Heading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs index 94bb2774e0..19e2c699c2 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs @@ -1854,6 +1854,7 @@ impl HumanPresenceFeatures { (windows_core::Interface::vtable(this).IsLockOnLeaveSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn IsAttentionAwareDimmingSupported(&self) -> windows_core::Result { let this = self; unsafe { @@ -2280,6 +2281,7 @@ impl HumanPresenceSettings { let this = self; unsafe { (windows_core::Interface::vtable(this).SetLockOnLeaveTimeout)(windows_core::Interface::as_raw(this), value).ok() } } + #[cfg(feature = "deprecated")] pub fn IsAttentionAwareDimmingEnabled(&self) -> windows_core::Result { let this = self; unsafe { @@ -2287,6 +2289,7 @@ impl HumanPresenceSettings { (windows_core::Interface::vtable(this).IsAttentionAwareDimmingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn SetIsAttentionAwareDimmingEnabled(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetIsAttentionAwareDimmingEnabled)(windows_core::Interface::as_raw(this), value).ok() } @@ -3162,7 +3165,10 @@ pub struct IHumanPresenceFeatures_Vtbl { SupportedWakeOrLockDistancesInMillimeters: usize, pub IsWakeOnApproachSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsLockOnLeaveSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub IsAttentionAwareDimmingSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + IsAttentionAwareDimmingSupported: usize, } windows_core::imp::define_interface!(IHumanPresenceFeatures2, IHumanPresenceFeatures2_Vtbl, 0x08a9cdda_d929_5ec2_81e2_940bafa089cf); impl windows_core::RuntimeType for IHumanPresenceFeatures2 { @@ -3445,8 +3451,14 @@ pub struct IHumanPresenceSettings_Vtbl { pub SetLockOnLeaveDistanceInMillimeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub LockOnLeaveTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SetLockOnLeaveTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub IsAttentionAwareDimmingEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + IsAttentionAwareDimmingEnabled: usize, + #[cfg(feature = "deprecated")] pub SetIsAttentionAwareDimmingEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetIsAttentionAwareDimmingEnabled: usize, } windows_core::imp::define_interface!(IHumanPresenceSettings2, IHumanPresenceSettings2_Vtbl, 0xa26f705e_8696_5eb4_b9e1_26a508de1cd4); impl windows_core::RuntimeType for IHumanPresenceSettings2 { diff --git a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs index d1d864315c..f7be1d71c6 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs @@ -70,7 +70,6 @@ windows_core::imp::interface_hierarchy!(ISmsBinaryMessage, windows_core::IUnknow windows_core::imp::required_hierarchy!(ISmsBinaryMessage, ISmsMessage); #[cfg(feature = "deprecated")] impl ISmsBinaryMessage { - #[cfg(feature = "deprecated")] pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { @@ -78,12 +77,10 @@ impl ISmsBinaryMessage { (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetFormat(&self, value: SmsDataFormat) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetFormat)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn GetData(&self) -> windows_core::Result> { let this = self; unsafe { @@ -91,12 +88,10 @@ impl ISmsBinaryMessage { (windows_core::Interface::vtable(this).GetData)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } - #[cfg(feature = "deprecated")] pub fn SetData(&self, value: &[u8]) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetData)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr()).ok() } } - #[cfg(feature = "deprecated")] pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -104,7 +99,6 @@ impl ISmsBinaryMessage { (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -181,22 +175,10 @@ impl ISmsBinaryMessage_Vtbl { #[repr(C)] pub struct ISmsBinaryMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Format: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmsDataFormat) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Format: usize, - #[cfg(feature = "deprecated")] pub SetFormat: unsafe extern "system" fn(*mut core::ffi::c_void, SmsDataFormat) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetFormat: usize, - #[cfg(feature = "deprecated")] pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetData: usize, - #[cfg(feature = "deprecated")] pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetData: usize, } windows_core::imp::define_interface!(ISmsBroadcastMessage, ISmsBroadcastMessage_Vtbl, 0x75aebbf1_e4b7_4874_a09c_2956e592f957); impl windows_core::RuntimeType for ISmsBroadcastMessage { @@ -226,7 +208,6 @@ impl windows_core::RuntimeType for ISmsDevice { windows_core::imp::interface_hierarchy!(ISmsDevice, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl ISmsDevice { - #[cfg(feature = "deprecated")] pub fn SendMessageAsync(&self, message: P0) -> windows_core::Result where P0: windows_core::Param, @@ -237,7 +218,6 @@ impl ISmsDevice { (windows_core::Interface::vtable(this).SendMessageAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn CalculateLength(&self, message: P0) -> windows_core::Result where P0: windows_core::Param, @@ -248,7 +228,6 @@ impl ISmsDevice { (windows_core::Interface::vtable(this).CalculateLength)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn AccountPhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { @@ -256,7 +235,6 @@ impl ISmsDevice { (windows_core::Interface::vtable(this).AccountPhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn CellularClass(&self) -> windows_core::Result { let this = self; unsafe { @@ -264,7 +242,6 @@ impl ISmsDevice { (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn MessageStore(&self) -> windows_core::Result { let this = self; unsafe { @@ -272,7 +249,6 @@ impl ISmsDevice { (windows_core::Interface::vtable(this).MessageStore)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn DeviceStatus(&self) -> windows_core::Result { let this = self; unsafe { @@ -280,7 +256,6 @@ impl ISmsDevice { (windows_core::Interface::vtable(this).DeviceStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SmsMessageReceived(&self, eventhandler: P0) -> windows_core::Result where P0: windows_core::Param, @@ -291,12 +266,10 @@ impl ISmsDevice { (windows_core::Interface::vtable(this).SmsMessageReceived)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveSmsMessageReceived(&self, eventcookie: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveSmsMessageReceived)(windows_core::Interface::as_raw(this), eventcookie).ok() } } - #[cfg(feature = "deprecated")] pub fn SmsDeviceStatusChanged(&self, eventhandler: P0) -> windows_core::Result where P0: windows_core::Param, @@ -307,7 +280,6 @@ impl ISmsDevice { (windows_core::Interface::vtable(this).SmsDeviceStatusChanged)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveSmsDeviceStatusChanged(&self, eventcookie: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveSmsDeviceStatusChanged)(windows_core::Interface::as_raw(this), eventcookie).ok() } @@ -466,46 +438,16 @@ impl ISmsDevice_Vtbl { #[repr(C)] pub struct ISmsDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub SendMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SendMessageAsync: usize, - #[cfg(feature = "deprecated")] pub CalculateLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut SmsEncodedLength) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CalculateLength: usize, - #[cfg(feature = "deprecated")] pub AccountPhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AccountPhoneNumber: usize, - #[cfg(feature = "deprecated")] pub CellularClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CellularClass) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CellularClass: usize, - #[cfg(feature = "deprecated")] pub MessageStore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - MessageStore: usize, - #[cfg(feature = "deprecated")] pub DeviceStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmsDeviceStatus) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DeviceStatus: usize, - #[cfg(feature = "deprecated")] pub SmsMessageReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SmsMessageReceived: usize, - #[cfg(feature = "deprecated")] pub RemoveSmsMessageReceived: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveSmsMessageReceived: usize, - #[cfg(feature = "deprecated")] pub SmsDeviceStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SmsDeviceStatusChanged: usize, - #[cfg(feature = "deprecated")] pub RemoveSmsDeviceStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveSmsDeviceStatusChanged: usize, } windows_core::imp::define_interface!(ISmsDevice2, ISmsDevice2_Vtbl, 0xbd8a5c13_e522_46cb_b8d5_9ead30fb6c47); impl windows_core::RuntimeType for ISmsDevice2 { @@ -548,26 +490,14 @@ impl windows_core::RuntimeType for ISmsDeviceMessageStore { #[repr(C)] pub struct ISmsDeviceMessageStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub DeleteMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DeleteMessageAsync: usize, - #[cfg(feature = "deprecated")] pub DeleteMessagesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, SmsMessageFilter, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DeleteMessagesAsync: usize, - #[cfg(feature = "deprecated")] pub GetMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetMessageAsync: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub GetMessagesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, SmsMessageFilter, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] GetMessagesAsync: usize, - #[cfg(feature = "deprecated")] pub MaxMessages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - MaxMessages: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISmsDeviceStatics, ISmsDeviceStatics_Vtbl, 0xf88d07ea_d815_4dd1_a234_4520ce4604a4); @@ -579,18 +509,9 @@ impl windows_core::RuntimeType for ISmsDeviceStatics { #[repr(C)] pub struct ISmsDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetDeviceSelector: usize, - #[cfg(feature = "deprecated")] pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - FromIdAsync: usize, - #[cfg(feature = "deprecated")] pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetDefaultAsync: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISmsDeviceStatics2, ISmsDeviceStatics2_Vtbl, 0x2ca11c87_0873_4caf_8a7d_bd471e8586d1); @@ -602,10 +523,7 @@ impl windows_core::RuntimeType for ISmsDeviceStatics2 { #[repr(C)] pub struct ISmsDeviceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub FromNetworkAccountIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - FromNetworkAccountIdAsync: usize, } windows_core::imp::define_interface!(ISmsFilterRule, ISmsFilterRule_Vtbl, 0x40e32fae_b049_4fbc_afe9_e2a610eff55c); impl windows_core::RuntimeType for ISmsFilterRule { @@ -911,14 +829,8 @@ impl windows_core::RuntimeType for ISmsMessageReceivedEventArgs { #[repr(C)] pub struct ISmsMessageReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub TextMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TextMessage: usize, - #[cfg(feature = "deprecated")] pub BinaryMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - BinaryMessage: usize, } windows_core::imp::define_interface!(ISmsMessageReceivedTriggerDetails, ISmsMessageReceivedTriggerDetails_Vtbl, 0x2bcfcbd4_2657_4128_ad5f_e3877132bdb1); impl windows_core::RuntimeType for ISmsMessageReceivedTriggerDetails { @@ -972,14 +884,8 @@ impl windows_core::RuntimeType for ISmsReceivedEventDetails { #[repr(C)] pub struct ISmsReceivedEventDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DeviceId: usize, - #[cfg(feature = "deprecated")] pub MessageIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - MessageIndex: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISmsReceivedEventDetails2, ISmsReceivedEventDetails2_Vtbl, 0x40e05c86_a7b4_4771_9ae7_0b5ffb12c03a); @@ -991,14 +897,8 @@ impl windows_core::RuntimeType for ISmsReceivedEventDetails2 { #[repr(C)] pub struct ISmsReceivedEventDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub MessageClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmsMessageClass) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - MessageClass: usize, - #[cfg(feature = "deprecated")] pub BinaryMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - BinaryMessage: usize, } windows_core::imp::define_interface!(ISmsSendMessageResult, ISmsSendMessageResult_Vtbl, 0xdb139af2_78c9_4feb_9622_452328088d62); impl windows_core::RuntimeType for ISmsSendMessageResult { @@ -1045,7 +945,6 @@ windows_core::imp::interface_hierarchy!(ISmsTextMessage, windows_core::IUnknown, windows_core::imp::required_hierarchy!(ISmsTextMessage, ISmsMessage); #[cfg(feature = "deprecated")] impl ISmsTextMessage { - #[cfg(feature = "deprecated")] pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { @@ -1053,7 +952,6 @@ impl ISmsTextMessage { (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn PartReferenceId(&self) -> windows_core::Result { let this = self; unsafe { @@ -1061,7 +959,6 @@ impl ISmsTextMessage { (windows_core::Interface::vtable(this).PartReferenceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PartNumber(&self) -> windows_core::Result { let this = self; unsafe { @@ -1069,7 +966,6 @@ impl ISmsTextMessage { (windows_core::Interface::vtable(this).PartNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PartCount(&self) -> windows_core::Result { let this = self; unsafe { @@ -1077,7 +973,6 @@ impl ISmsTextMessage { (windows_core::Interface::vtable(this).PartCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn To(&self) -> windows_core::Result { let this = self; unsafe { @@ -1085,12 +980,10 @@ impl ISmsTextMessage { (windows_core::Interface::vtable(this).To)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetTo(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetTo)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn From(&self) -> windows_core::Result { let this = self; unsafe { @@ -1098,12 +991,10 @@ impl ISmsTextMessage { (windows_core::Interface::vtable(this).From)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetFrom(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetFrom)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn Body(&self) -> windows_core::Result { let this = self; unsafe { @@ -1111,12 +1002,10 @@ impl ISmsTextMessage { (windows_core::Interface::vtable(this).Body)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetBody(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetBody)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn Encoding(&self) -> windows_core::Result { let this = self; unsafe { @@ -1124,12 +1013,11 @@ impl ISmsTextMessage { (windows_core::Interface::vtable(this).Encoding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetEncoding(&self, value: SmsEncoding) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetEncoding)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ToBinaryMessages(&self, format: SmsDataFormat) -> windows_core::Result> { let this = self; unsafe { @@ -1137,7 +1025,6 @@ impl ISmsTextMessage { (windows_core::Interface::vtable(this).ToBinaryMessages)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1145,7 +1032,6 @@ impl ISmsTextMessage { (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1338,57 +1224,21 @@ impl ISmsTextMessage_Vtbl { #[repr(C)] pub struct ISmsTextMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Timestamp: usize, - #[cfg(feature = "deprecated")] pub PartReferenceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PartReferenceId: usize, - #[cfg(feature = "deprecated")] pub PartNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PartNumber: usize, - #[cfg(feature = "deprecated")] pub PartCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PartCount: usize, - #[cfg(feature = "deprecated")] pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - To: usize, - #[cfg(feature = "deprecated")] pub SetTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetTo: usize, - #[cfg(feature = "deprecated")] pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - From: usize, - #[cfg(feature = "deprecated")] pub SetFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetFrom: usize, - #[cfg(feature = "deprecated")] pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Body: usize, - #[cfg(feature = "deprecated")] pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetBody: usize, - #[cfg(feature = "deprecated")] pub Encoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmsEncoding) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Encoding: usize, - #[cfg(feature = "deprecated")] pub SetEncoding: unsafe extern "system" fn(*mut core::ffi::c_void, SmsEncoding) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetEncoding: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub ToBinaryMessages: unsafe extern "system" fn(*mut core::ffi::c_void, SmsDataFormat, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] ToBinaryMessages: usize, } windows_core::imp::define_interface!(ISmsTextMessage2, ISmsTextMessage2_Vtbl, 0x22a0d893_4555_4755_b5a1_e7fd84955f8d); @@ -1425,14 +1275,8 @@ impl windows_core::RuntimeType for ISmsTextMessageStatics { #[repr(C)] pub struct ISmsTextMessageStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub FromBinaryMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - FromBinaryMessage: usize, - #[cfg(feature = "deprecated")] pub FromBinaryData: unsafe extern "system" fn(*mut core::ffi::c_void, SmsDataFormat, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - FromBinaryData: usize, } windows_core::imp::define_interface!(ISmsVoicemailMessage, ISmsVoicemailMessage_Vtbl, 0x271aa0a6_95b1_44ff_bcb8_b8fdd7e08bc3); impl windows_core::RuntimeType for ISmsVoicemailMessage { @@ -1676,7 +1520,6 @@ impl SmsBinaryMessage { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(feature = "deprecated")] pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { @@ -1684,12 +1527,10 @@ impl SmsBinaryMessage { (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetFormat(&self, value: SmsDataFormat) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetFormat)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn GetData(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1697,12 +1538,10 @@ impl SmsBinaryMessage { (windows_core::Interface::vtable(this).GetData)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } - #[cfg(feature = "deprecated")] pub fn SetData(&self, value: &[u8]) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetData)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr()).ok() } } - #[cfg(feature = "deprecated")] pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1710,7 +1549,6 @@ impl SmsBinaryMessage { (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1910,7 +1748,6 @@ pub struct SmsDevice(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SmsDevice, windows_core::IUnknown, windows_core::IInspectable, ISmsDevice); #[cfg(feature = "deprecated")] impl SmsDevice { - #[cfg(feature = "deprecated")] pub fn SendMessageAsync(&self, message: P0) -> windows_core::Result where P0: windows_core::Param, @@ -1921,7 +1758,6 @@ impl SmsDevice { (windows_core::Interface::vtable(this).SendMessageAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn CalculateLength(&self, message: P0) -> windows_core::Result where P0: windows_core::Param, @@ -1932,7 +1768,6 @@ impl SmsDevice { (windows_core::Interface::vtable(this).CalculateLength)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn AccountPhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { @@ -1940,7 +1775,6 @@ impl SmsDevice { (windows_core::Interface::vtable(this).AccountPhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn CellularClass(&self) -> windows_core::Result { let this = self; unsafe { @@ -1948,7 +1782,6 @@ impl SmsDevice { (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn MessageStore(&self) -> windows_core::Result { let this = self; unsafe { @@ -1956,7 +1789,6 @@ impl SmsDevice { (windows_core::Interface::vtable(this).MessageStore)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn DeviceStatus(&self) -> windows_core::Result { let this = self; unsafe { @@ -1964,7 +1796,6 @@ impl SmsDevice { (windows_core::Interface::vtable(this).DeviceStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SmsMessageReceived(&self, eventhandler: P0) -> windows_core::Result where P0: windows_core::Param, @@ -1975,12 +1806,10 @@ impl SmsDevice { (windows_core::Interface::vtable(this).SmsMessageReceived)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveSmsMessageReceived(&self, eventcookie: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveSmsMessageReceived)(windows_core::Interface::as_raw(this), eventcookie).ok() } } - #[cfg(feature = "deprecated")] pub fn SmsDeviceStatusChanged(&self, eventhandler: P0) -> windows_core::Result where P0: windows_core::Param, @@ -1991,33 +1820,28 @@ impl SmsDevice { (windows_core::Interface::vtable(this).SmsDeviceStatusChanged)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveSmsDeviceStatusChanged(&self, eventcookie: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveSmsDeviceStatusChanged)(windows_core::Interface::as_raw(this), eventcookie).ok() } } - #[cfg(feature = "deprecated")] pub fn GetDeviceSelector() -> windows_core::Result { Self::ISmsDeviceStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) }) } - #[cfg(feature = "deprecated")] pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::ISmsDeviceStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn GetDefaultAsync() -> windows_core::Result> { Self::ISmsDeviceStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn FromNetworkAccountIdAsync(networkaccountid: &windows_core::HSTRING) -> windows_core::Result> { Self::ISmsDeviceStatics2(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -2178,7 +2002,6 @@ pub struct SmsDeviceMessageStore(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SmsDeviceMessageStore, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl SmsDeviceMessageStore { - #[cfg(feature = "deprecated")] pub fn DeleteMessageAsync(&self, messageid: u32) -> windows_core::Result { let this = self; unsafe { @@ -2186,7 +2009,6 @@ impl SmsDeviceMessageStore { (windows_core::Interface::vtable(this).DeleteMessageAsync)(windows_core::Interface::as_raw(this), messageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn DeleteMessagesAsync(&self, messagefilter: SmsMessageFilter) -> windows_core::Result { let this = self; unsafe { @@ -2194,7 +2016,6 @@ impl SmsDeviceMessageStore { (windows_core::Interface::vtable(this).DeleteMessagesAsync)(windows_core::Interface::as_raw(this), messagefilter, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn GetMessageAsync(&self, messageid: u32) -> windows_core::Result> { let this = self; unsafe { @@ -2202,7 +2023,7 @@ impl SmsDeviceMessageStore { (windows_core::Interface::vtable(this).GetMessageAsync)(windows_core::Interface::as_raw(this), messageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn GetMessagesAsync(&self, messagefilter: SmsMessageFilter) -> windows_core::Result, i32>> { let this = self; unsafe { @@ -2210,7 +2031,6 @@ impl SmsDeviceMessageStore { (windows_core::Interface::vtable(this).GetMessagesAsync)(windows_core::Interface::as_raw(this), messagefilter, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn MaxMessages(&self) -> windows_core::Result { let this = self; unsafe { @@ -2610,7 +2430,6 @@ pub struct SmsMessageReceivedEventArgs(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SmsMessageReceivedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl SmsMessageReceivedEventArgs { - #[cfg(feature = "deprecated")] pub fn TextMessage(&self) -> windows_core::Result { let this = self; unsafe { @@ -2618,7 +2437,6 @@ impl SmsMessageReceivedEventArgs { (windows_core::Interface::vtable(this).TextMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn BinaryMessage(&self) -> windows_core::Result { let this = self; unsafe { @@ -2900,7 +2718,6 @@ pub struct SmsReceivedEventDetails(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SmsReceivedEventDetails, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl SmsReceivedEventDetails { - #[cfg(feature = "deprecated")] pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { @@ -2908,7 +2725,6 @@ impl SmsReceivedEventDetails { (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn MessageIndex(&self) -> windows_core::Result { let this = self; unsafe { @@ -2916,7 +2732,6 @@ impl SmsReceivedEventDetails { (windows_core::Interface::vtable(this).MessageIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2924,7 +2739,6 @@ impl SmsReceivedEventDetails { (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn BinaryMessage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3138,7 +2952,6 @@ impl SmsTextMessage { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(feature = "deprecated")] pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3146,7 +2959,6 @@ impl SmsTextMessage { (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3154,7 +2966,6 @@ impl SmsTextMessage { (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { @@ -3162,7 +2973,6 @@ impl SmsTextMessage { (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn PartReferenceId(&self) -> windows_core::Result { let this = self; unsafe { @@ -3170,7 +2980,6 @@ impl SmsTextMessage { (windows_core::Interface::vtable(this).PartReferenceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PartNumber(&self) -> windows_core::Result { let this = self; unsafe { @@ -3178,7 +2987,6 @@ impl SmsTextMessage { (windows_core::Interface::vtable(this).PartNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PartCount(&self) -> windows_core::Result { let this = self; unsafe { @@ -3186,7 +2994,6 @@ impl SmsTextMessage { (windows_core::Interface::vtable(this).PartCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn To(&self) -> windows_core::Result { let this = self; unsafe { @@ -3194,12 +3001,10 @@ impl SmsTextMessage { (windows_core::Interface::vtable(this).To)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetTo(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetTo)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn From(&self) -> windows_core::Result { let this = self; unsafe { @@ -3207,12 +3012,10 @@ impl SmsTextMessage { (windows_core::Interface::vtable(this).From)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetFrom(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetFrom)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn Body(&self) -> windows_core::Result { let this = self; unsafe { @@ -3220,12 +3023,10 @@ impl SmsTextMessage { (windows_core::Interface::vtable(this).Body)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetBody(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetBody)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn Encoding(&self) -> windows_core::Result { let this = self; unsafe { @@ -3233,12 +3034,11 @@ impl SmsTextMessage { (windows_core::Interface::vtable(this).Encoding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetEncoding(&self, value: SmsEncoding) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetEncoding)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ToBinaryMessages(&self, format: SmsDataFormat) -> windows_core::Result> { let this = self; unsafe { @@ -3246,7 +3046,6 @@ impl SmsTextMessage { (windows_core::Interface::vtable(this).ToBinaryMessages)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn FromBinaryMessage(binarymessage: P0) -> windows_core::Result where P0: windows_core::Param, @@ -3256,7 +3055,6 @@ impl SmsTextMessage { (windows_core::Interface::vtable(this).FromBinaryMessage)(windows_core::Interface::as_raw(this), binarymessage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn FromBinaryData(format: SmsDataFormat, value: &[u8]) -> windows_core::Result { Self::ISmsTextMessageStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs index d4379c79c1..a630250224 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs @@ -518,7 +518,6 @@ impl WiFiDirectConnectionParameters { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetPreferredPairingProcedure)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "Devices_Enumeration")] pub fn GetDevicePairingKinds(configurationmethod: WiFiDirectConfigurationMethod) -> windows_core::Result { Self::IWiFiDirectConnectionParametersStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs index c86dd07be4..6a8bc43e51 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs @@ -797,7 +797,10 @@ impl windows_core::RuntimeType for ILoggingChannelFactory { #[repr(C)] pub struct ILoggingChannelFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, + #[cfg(feature = "deprecated")] pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + Create: usize, } windows_core::imp::define_interface!(ILoggingChannelFactory2, ILoggingChannelFactory2_Vtbl, 0x4c6ef5dd_3b27_4dc9_99f0_299c6e4603a1); impl windows_core::RuntimeType for ILoggingChannelFactory2 { @@ -1654,6 +1657,7 @@ impl LoggingChannel { (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn Create(name: &windows_core::HSTRING) -> windows_core::Result { Self::ILoggingChannelFactory(|this| unsafe { let mut result__ = core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs index 620867f98e..a7a2c6cf2a 100644 --- a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs @@ -225,7 +225,6 @@ windows_core::imp::interface_hierarchy!(GameUIProviderActivatedEventArgs, window windows_core::imp::required_hierarchy!(GameUIProviderActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl GameUIProviderActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -233,7 +232,6 @@ impl GameUIProviderActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -241,7 +239,6 @@ impl GameUIProviderActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs index 11427d345d..29e277399b 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs @@ -11,6 +11,7 @@ impl CurrencyFormatter { (windows_core::Interface::vtable(this).Currency)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn SetCurrency(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetCurrency)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } @@ -490,7 +491,10 @@ impl windows_core::RuntimeType for ICurrencyFormatter { pub struct ICurrencyFormatter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Currency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub SetCurrency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetCurrency: usize, } windows_core::imp::define_interface!(ICurrencyFormatter2, ICurrencyFormatter2_Vtbl, 0x072c2f1d_e7ba_4197_920e_247c92f7dea6); impl windows_core::RuntimeType for ICurrencyFormatter2 { diff --git a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs index 496a191818..254542ce15 100644 --- a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs @@ -68,7 +68,7 @@ impl Direct3D11CaptureFramePool { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11"))] + #[cfg(feature = "Graphics_DirectX_Direct3D11")] pub fn Recreate(&self, device: P0, pixelformat: super::DirectX::DirectXPixelFormat, numberofbuffers: i32, size: super::SizeInt32) -> windows_core::Result<()> where P0: windows_core::Param, @@ -434,9 +434,9 @@ impl windows_core::RuntimeType for IDirect3D11CaptureFramePool { #[repr(C)] pub struct IDirect3D11CaptureFramePool_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Graphics_DirectX", feature = "Graphics_DirectX_Direct3D11"))] + #[cfg(feature = "Graphics_DirectX_Direct3D11")] pub Recreate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::DirectX::DirectXPixelFormat, i32, 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(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FrameArrived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs index 284687a7f6..61354b71b9 100644 --- a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs @@ -870,32 +870,27 @@ impl core::ops::Not for DisplayOrientations { pub struct DisplayProperties; #[cfg(feature = "deprecated")] impl DisplayProperties { - #[cfg(feature = "deprecated")] pub fn CurrentOrientation() -> windows_core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentOrientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn NativeOrientation() -> windows_core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NativeOrientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn AutoRotationPreferences() -> windows_core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoRotationPreferences)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn SetAutoRotationPreferences(value: DisplayOrientations) -> windows_core::Result<()> { Self::IDisplayPropertiesStatics(|this| unsafe { (windows_core::Interface::vtable(this).SetAutoRotationPreferences)(windows_core::Interface::as_raw(this), value).ok() }) } - #[cfg(feature = "deprecated")] pub fn OrientationChanged(handler: P0) -> windows_core::Result where P0: windows_core::Param, @@ -905,25 +900,21 @@ impl DisplayProperties { (windows_core::Interface::vtable(this).OrientationChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveOrientationChanged(token: i64) -> windows_core::Result<()> { Self::IDisplayPropertiesStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveOrientationChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[cfg(feature = "deprecated")] pub fn ResolutionScale() -> windows_core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolutionScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn LogicalDpi() -> windows_core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LogicalDpi)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn LogicalDpiChanged(handler: P0) -> windows_core::Result where P0: windows_core::Param, @@ -933,18 +924,15 @@ impl DisplayProperties { (windows_core::Interface::vtable(this).LogicalDpiChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveLogicalDpiChanged(token: i64) -> windows_core::Result<()> { Self::IDisplayPropertiesStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveLogicalDpiChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[cfg(feature = "deprecated")] pub fn StereoEnabled() -> windows_core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StereoEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn StereoEnabledChanged(handler: P0) -> windows_core::Result where P0: windows_core::Param, @@ -954,18 +942,16 @@ impl DisplayProperties { (windows_core::Interface::vtable(this).StereoEnabledChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveStereoEnabledChanged(token: i64) -> windows_core::Result<()> { Self::IDisplayPropertiesStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveStereoEnabledChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn GetColorProfileAsync() -> windows_core::Result> { Self::IDisplayPropertiesStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetColorProfileAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn ColorProfileChanged(handler: P0) -> windows_core::Result where P0: windows_core::Param, @@ -975,11 +961,9 @@ impl DisplayProperties { (windows_core::Interface::vtable(this).ColorProfileChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveColorProfileChanged(token: i64) -> windows_core::Result<()> { Self::IDisplayPropertiesStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveColorProfileChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[cfg(feature = "deprecated")] pub fn DisplayContentsInvalidated(handler: P0) -> windows_core::Result where P0: windows_core::Param, @@ -989,7 +973,6 @@ impl DisplayProperties { (windows_core::Interface::vtable(this).DisplayContentsInvalidated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveDisplayContentsInvalidated(token: i64) -> windows_core::Result<()> { Self::IDisplayPropertiesStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveDisplayContentsInvalidated)(windows_core::Interface::as_raw(this), token).ok() }) } @@ -1352,78 +1335,27 @@ impl windows_core::RuntimeType for IDisplayPropertiesStatics { #[repr(C)] pub struct IDisplayPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CurrentOrientation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DisplayOrientations) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CurrentOrientation: usize, - #[cfg(feature = "deprecated")] pub NativeOrientation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DisplayOrientations) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - NativeOrientation: usize, - #[cfg(feature = "deprecated")] pub AutoRotationPreferences: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DisplayOrientations) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AutoRotationPreferences: usize, - #[cfg(feature = "deprecated")] pub SetAutoRotationPreferences: unsafe extern "system" fn(*mut core::ffi::c_void, DisplayOrientations) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetAutoRotationPreferences: usize, - #[cfg(feature = "deprecated")] pub OrientationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - OrientationChanged: usize, - #[cfg(feature = "deprecated")] pub RemoveOrientationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveOrientationChanged: usize, - #[cfg(feature = "deprecated")] pub ResolutionScale: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ResolutionScale) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ResolutionScale: usize, - #[cfg(feature = "deprecated")] pub LogicalDpi: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LogicalDpi: usize, - #[cfg(feature = "deprecated")] pub LogicalDpiChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LogicalDpiChanged: usize, - #[cfg(feature = "deprecated")] pub RemoveLogicalDpiChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveLogicalDpiChanged: usize, - #[cfg(feature = "deprecated")] pub StereoEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - StereoEnabled: usize, - #[cfg(feature = "deprecated")] pub StereoEnabledChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - StereoEnabledChanged: usize, - #[cfg(feature = "deprecated")] pub RemoveStereoEnabledChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveStereoEnabledChanged: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub GetColorProfileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] GetColorProfileAsync: usize, - #[cfg(feature = "deprecated")] pub ColorProfileChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ColorProfileChanged: usize, - #[cfg(feature = "deprecated")] pub RemoveColorProfileChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveColorProfileChanged: usize, - #[cfg(feature = "deprecated")] pub DisplayContentsInvalidated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DisplayContentsInvalidated: usize, - #[cfg(feature = "deprecated")] pub RemoveDisplayContentsInvalidated: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveDisplayContentsInvalidated: usize, } windows_core::imp::define_interface!(IDisplayServices, IDisplayServices_Vtbl, 0x1b54f32b_890d_5747_bd26_fdbdeb0c8a71); impl windows_core::RuntimeType for IDisplayServices { diff --git a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs index e18263c6a0..b379cb666a 100644 --- a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs @@ -660,12 +660,11 @@ windows_core::imp::interface_hierarchy!(HolographicFramePresentationMonitor, win windows_core::imp::required_hierarchy!(HolographicFramePresentationMonitor, super::super::Foundation::IClosable); #[cfg(feature = "deprecated")] impl HolographicFramePresentationMonitor { - #[cfg(feature = "deprecated")] pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ReadReports(&self) -> windows_core::Result> { let this = self; unsafe { @@ -699,7 +698,6 @@ pub struct HolographicFramePresentationReport(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(HolographicFramePresentationReport, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl HolographicFramePresentationReport { - #[cfg(feature = "deprecated")] pub fn CompositorGpuDuration(&self) -> windows_core::Result { let this = self; unsafe { @@ -707,7 +705,6 @@ impl HolographicFramePresentationReport { (windows_core::Interface::vtable(this).CompositorGpuDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn AppGpuDuration(&self) -> windows_core::Result { let this = self; unsafe { @@ -715,7 +712,6 @@ impl HolographicFramePresentationReport { (windows_core::Interface::vtable(this).AppGpuDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn AppGpuOverrun(&self) -> windows_core::Result { let this = self; unsafe { @@ -723,7 +719,6 @@ impl HolographicFramePresentationReport { (windows_core::Interface::vtable(this).AppGpuOverrun)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn MissedPresentationOpportunityCount(&self) -> windows_core::Result { let this = self; unsafe { @@ -731,7 +726,6 @@ impl HolographicFramePresentationReport { (windows_core::Interface::vtable(this).MissedPresentationOpportunityCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PresentationCount(&self) -> windows_core::Result { let this = self; unsafe { @@ -1114,6 +1108,7 @@ impl HolographicSpace { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).WaitForNextFrameReadyWithHeadStart)(windows_core::Interface::as_raw(this), requestedheadstartduration).ok() } } + #[cfg(feature = "deprecated")] pub fn CreateFramePresentationMonitor(&self, maxqueuedreports: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1700,9 +1695,9 @@ impl windows_core::RuntimeType for IHolographicFramePresentationMonitor { #[repr(C)] pub struct IHolographicFramePresentationMonitor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub ReadReports: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] ReadReports: usize, } #[cfg(feature = "deprecated")] @@ -1715,26 +1710,11 @@ impl windows_core::RuntimeType for IHolographicFramePresentationReport { #[repr(C)] pub struct IHolographicFramePresentationReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CompositorGpuDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CompositorGpuDuration: usize, - #[cfg(feature = "deprecated")] pub AppGpuDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AppGpuDuration: usize, - #[cfg(feature = "deprecated")] pub AppGpuOverrun: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AppGpuOverrun: usize, - #[cfg(feature = "deprecated")] pub MissedPresentationOpportunityCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - MissedPresentationOpportunityCount: usize, - #[cfg(feature = "deprecated")] pub PresentationCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PresentationCount: usize, } windows_core::imp::define_interface!(IHolographicFrameRenderingReport, IHolographicFrameRenderingReport_Vtbl, 0x05f32de4_e384_51b3_b934_f0d3a0f78606); impl windows_core::RuntimeType for IHolographicFrameRenderingReport { @@ -1869,7 +1849,10 @@ pub struct IHolographicSpace2_Vtbl { pub RemoveUserPresenceChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, pub WaitForNextFrameReady: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub WaitForNextFrameReadyWithHeadStart: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub CreateFramePresentationMonitor: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + CreateFramePresentationMonitor: usize, } windows_core::imp::define_interface!(IHolographicSpace3, IHolographicSpace3_Vtbl, 0xdf1733d1_f224_587e_8d71_1e8fc8f07b1f); impl windows_core::RuntimeType for IHolographicSpace3 { diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs index 4fd0345f92..877418975e 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs @@ -910,7 +910,6 @@ impl BitmapPropertySet { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { @@ -2013,7 +2012,6 @@ impl ImageStream { (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn ReadAsync(&self, buffer: P0, count: u32, options: super::super::Storage::Streams::InputStreamOptions) -> windows_core::Result> where P0: windows_core::Param, @@ -2024,7 +2022,6 @@ impl ImageStream { (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn WriteAsync(&self, buffer: P0) -> windows_core::Result> where P0: windows_core::Param, diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs index 17c413c669..fe7f0ef09e 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs @@ -1011,7 +1011,6 @@ windows_core::imp::interface_hierarchy!(PrintSupportSettingsActivatedEventArgs, windows_core::imp::required_hierarchy!(PrintSupportSettingsActivatedEventArgs, super::super::super::ApplicationModel::Activation::IActivatedEventArgs, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl PrintSupportSettingsActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1019,7 +1018,6 @@ impl PrintSupportSettingsActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1027,7 +1025,6 @@ impl PrintSupportSettingsActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs index 6bb601a851..611d785ac3 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs @@ -881,7 +881,6 @@ windows_core::imp::interface_hierarchy!(PrintWorkflowJobActivatedEventArgs, wind windows_core::imp::required_hierarchy!(PrintWorkflowJobActivatedEventArgs, super::super::super::ApplicationModel::Activation::IActivatedEventArgs, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl PrintWorkflowJobActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -889,7 +888,6 @@ impl PrintWorkflowJobActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -897,7 +895,6 @@ impl PrintWorkflowJobActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2027,7 +2024,6 @@ windows_core::imp::interface_hierarchy!(PrintWorkflowUIActivatedEventArgs, windo windows_core::imp::required_hierarchy!(PrintWorkflowUIActivatedEventArgs, super::super::super::ApplicationModel::Activation::IActivatedEventArgs, super::super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl PrintWorkflowUIActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2035,7 +2031,6 @@ impl PrintWorkflowUIActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2043,7 +2038,6 @@ impl PrintWorkflowUIActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Media/Capture/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/mod.rs index 65a74127e1..eea9b0845c 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/mod.rs @@ -3693,7 +3693,6 @@ impl CapturedFrame { (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn ReadAsync(&self, buffer: P0, count: u32, options: super::super::Storage::Streams::InputStreamOptions) -> windows_core::Result> where P0: windows_core::Param, @@ -3704,7 +3703,6 @@ impl CapturedFrame { (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn WriteAsync(&self, buffer: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -5521,9 +5519,9 @@ pub struct IMediaCapture_Vtbl { pub CapturePhotoToStreamAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Media_MediaProperties", feature = "Storage_Streams")))] CapturePhotoToStreamAsync: usize, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub AddEffectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, MediaStreamType, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] AddEffectAsync: usize, pub ClearEffectsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, MediaStreamType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetEncoderProperty: unsafe extern "system" fn(*mut core::ffi::c_void, MediaStreamType, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6008,8 +6006,14 @@ pub struct IMediaCaptureVideoProfileMediaDescription_Vtbl { pub Width: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Height: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub FrameRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub IsVariablePhotoSequenceSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + IsVariablePhotoSequenceSupported: usize, + #[cfg(feature = "deprecated")] pub IsHdrVideoSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + IsHdrVideoSupported: usize, } windows_core::imp::define_interface!(IMediaCaptureVideoProfileMediaDescription2, IMediaCaptureVideoProfileMediaDescription2_Vtbl, 0xc6a6ef13_322d_413a_b85a_68a88e02f4e9); impl windows_core::RuntimeType for IMediaCaptureVideoProfileMediaDescription2 { @@ -6405,7 +6409,7 @@ impl MediaCapture { (windows_core::Interface::vtable(this).CapturePhotoToStreamAsync)(windows_core::Interface::as_raw(this), r#type.param().abi(), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn AddEffectAsync(&self, mediastreamtype: MediaStreamType, effectactivationid: &windows_core::HSTRING, effectsettings: P2) -> windows_core::Result where P2: windows_core::Param, @@ -7756,6 +7760,7 @@ impl MediaCaptureVideoProfileMediaDescription { (windows_core::Interface::vtable(this).FrameRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn IsVariablePhotoSequenceSupported(&self) -> windows_core::Result { let this = self; unsafe { @@ -7763,6 +7768,7 @@ impl MediaCaptureVideoProfileMediaDescription { (windows_core::Interface::vtable(this).IsVariablePhotoSequenceSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn IsHdrVideoSupported(&self) -> windows_core::Result { let this = 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 1010b1dae7..17b31b1ae6 100644 --- a/crates/libs/windows/src/Windows/Media/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/mod.rs @@ -4414,7 +4414,6 @@ impl MediaStreamSamplePropertySet { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), key, &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/mod.rs index f6d3a9b2df..9575592b2c 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/mod.rs @@ -2352,12 +2352,18 @@ impl windows_core::RuntimeType for IIsoSpeedControl { pub struct IIsoSpeedControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Supported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub SupportedPresets: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] SupportedPresets: usize, + #[cfg(feature = "deprecated")] pub Preset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsoSpeedPreset) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + Preset: usize, + #[cfg(feature = "deprecated")] pub SetPresetAsync: unsafe extern "system" fn(*mut core::ffi::c_void, IsoSpeedPreset, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetPresetAsync: usize, } windows_core::imp::define_interface!(IIsoSpeedControl2, IIsoSpeedControl2_Vtbl, 0x6f1578f2_6d77_4f8a_8c2f_6130b6395053); impl windows_core::RuntimeType for IIsoSpeedControl2 { @@ -2967,7 +2973,7 @@ impl IsoSpeedControl { (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn SupportedPresets(&self) -> windows_core::Result> { let this = self; unsafe { @@ -2975,6 +2981,7 @@ impl IsoSpeedControl { (windows_core::Interface::vtable(this).SupportedPresets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn Preset(&self) -> windows_core::Result { let this = self; unsafe { @@ -2982,6 +2989,7 @@ impl IsoSpeedControl { (windows_core::Interface::vtable(this).Preset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn SetPresetAsync(&self, preset: IsoSpeedPreset) -> windows_core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Media/Effects/mod.rs b/crates/libs/windows/src/Windows/Media/Effects/mod.rs index d2a02e3564..e118c11045 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/mod.rs @@ -272,7 +272,7 @@ impl AudioRenderEffectsManager { (windows_core::Interface::vtable(this).GetAudioRenderEffects)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Streams")] + #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] pub fn EffectsProviderThumbnail(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -280,6 +280,7 @@ impl AudioRenderEffectsManager { (windows_core::Interface::vtable(this).EffectsProviderThumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn EffectsProviderSettingsLabel(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -287,6 +288,7 @@ impl AudioRenderEffectsManager { (windows_core::Interface::vtable(this).EffectsProviderSettingsLabel)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn ShowSettingsUI(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).ShowSettingsUI)(windows_core::Interface::as_raw(this)).ok() } @@ -539,18 +541,12 @@ impl windows_core::RuntimeType for IAudioRenderEffectsManager2 { #[repr(C)] pub struct IAudioRenderEffectsManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub EffectsProviderThumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] EffectsProviderThumbnail: usize, - #[cfg(feature = "deprecated")] pub EffectsProviderSettingsLabel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - EffectsProviderSettingsLabel: usize, - #[cfg(feature = "deprecated")] pub ShowSettingsUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ShowSettingsUI: usize, } windows_core::imp::define_interface!(IBasicAudioEffect, IBasicAudioEffect_Vtbl, 0x8c062c53_6bc0_48b8_a99a_4b41550f1359); impl windows_core::RuntimeType for IBasicAudioEffect { diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs index 623c0f0528..b7d7400646 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs @@ -2021,7 +2021,6 @@ impl MediaPropertySet { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), key, &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs index da43c15fa4..e8af78396f 100644 --- a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs +++ b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs @@ -49,34 +49,13 @@ impl windows_core::RuntimeType for IPlayToConnection { #[repr(C)] pub struct IPlayToConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PlayToConnectionState) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - State: usize, - #[cfg(feature = "deprecated")] pub StateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - StateChanged: usize, - #[cfg(feature = "deprecated")] pub RemoveStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveStateChanged: usize, - #[cfg(feature = "deprecated")] pub Transferred: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Transferred: usize, - #[cfg(feature = "deprecated")] pub RemoveTransferred: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveTransferred: usize, - #[cfg(feature = "deprecated")] pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Error: usize, - #[cfg(feature = "deprecated")] pub RemoveError: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveError: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPlayToConnectionErrorEventArgs, IPlayToConnectionErrorEventArgs_Vtbl, 0xbf5eada6_88e6_445f_9d40_d9b9f8939896); @@ -88,14 +67,8 @@ impl windows_core::RuntimeType for IPlayToConnectionErrorEventArgs { #[repr(C)] pub struct IPlayToConnectionErrorEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Code: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PlayToConnectionError) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Code: usize, - #[cfg(feature = "deprecated")] pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Message: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPlayToConnectionStateChangedEventArgs, IPlayToConnectionStateChangedEventArgs_Vtbl, 0x68c4b50f_0c20_4980_8602_58c62238d423); @@ -107,14 +80,8 @@ impl windows_core::RuntimeType for IPlayToConnectionStateChangedEventArgs { #[repr(C)] pub struct IPlayToConnectionStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub PreviousState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PlayToConnectionState) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PreviousState: usize, - #[cfg(feature = "deprecated")] pub CurrentState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PlayToConnectionState) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CurrentState: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPlayToConnectionTransferredEventArgs, IPlayToConnectionTransferredEventArgs_Vtbl, 0xfae3193a_0683_47d9_8df0_18cbb48984d8); @@ -126,14 +93,8 @@ impl windows_core::RuntimeType for IPlayToConnectionTransferredEventArgs { #[repr(C)] pub struct IPlayToConnectionTransferredEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub PreviousSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PreviousSource: usize, - #[cfg(feature = "deprecated")] pub CurrentSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CurrentSource: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPlayToManager, IPlayToManager_Vtbl, 0xf56a206e_1b77_42ef_8f0d_b949f8d9b260); @@ -145,30 +106,12 @@ impl windows_core::RuntimeType for IPlayToManager { #[repr(C)] pub struct IPlayToManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub SourceRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SourceRequested: usize, - #[cfg(feature = "deprecated")] pub RemoveSourceRequested: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveSourceRequested: usize, - #[cfg(feature = "deprecated")] pub SourceSelected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SourceSelected: usize, - #[cfg(feature = "deprecated")] pub RemoveSourceSelected: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveSourceSelected: usize, - #[cfg(feature = "deprecated")] pub SetDefaultSourceSelection: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetDefaultSourceSelection: usize, - #[cfg(feature = "deprecated")] pub DefaultSourceSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DefaultSourceSelection: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPlayToManagerStatics, IPlayToManagerStatics_Vtbl, 0x64e6a887_3982_4f3b_ba20_6155e435325b); @@ -180,14 +123,8 @@ impl windows_core::RuntimeType for IPlayToManagerStatics { #[repr(C)] pub struct IPlayToManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub GetForCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetForCurrentView: usize, - #[cfg(feature = "deprecated")] pub ShowPlayToUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ShowPlayToUI: usize, } windows_core::imp::define_interface!(IPlayToReceiver, IPlayToReceiver_Vtbl, 0xac15cf47_a162_4aa6_af1b_3aa35f3b9069); impl windows_core::RuntimeType for IPlayToReceiver { @@ -251,22 +188,10 @@ impl windows_core::RuntimeType for IPlayToSource { #[repr(C)] pub struct IPlayToSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Connection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Connection: usize, - #[cfg(feature = "deprecated")] pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Next: usize, - #[cfg(feature = "deprecated")] pub SetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetNext: usize, - #[cfg(feature = "deprecated")] pub PlayNext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PlayNext: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPlayToSourceDeferral, IPlayToSourceDeferral_Vtbl, 0x4100891d_278e_4f29_859b_a9e501053e7d); @@ -278,10 +203,7 @@ impl windows_core::RuntimeType for IPlayToSourceDeferral { #[repr(C)] pub struct IPlayToSourceDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Complete: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPlayToSourceRequest, IPlayToSourceRequest_Vtbl, 0xf8584665_64f4_44a0_ac0d_468d2b8fda83); @@ -293,22 +215,10 @@ impl windows_core::RuntimeType for IPlayToSourceRequest { #[repr(C)] pub struct IPlayToSourceRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Deadline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Deadline: usize, - #[cfg(feature = "deprecated")] pub DisplayErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - DisplayErrorString: usize, - #[cfg(feature = "deprecated")] pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetDeferral: usize, - #[cfg(feature = "deprecated")] pub SetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetSource: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPlayToSourceRequestedEventArgs, IPlayToSourceRequestedEventArgs_Vtbl, 0xc5cdc330_29df_4ec6_9da9_9fbdfcfc1b3e); @@ -320,10 +230,7 @@ impl windows_core::RuntimeType for IPlayToSourceRequestedEventArgs { #[repr(C)] pub struct IPlayToSourceRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub SourceRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SourceRequest: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPlayToSourceSelectedEventArgs, IPlayToSourceSelectedEventArgs_Vtbl, 0x0c9d8511_5202_4dcb_8c67_abda12bb3c12); @@ -335,26 +242,14 @@ impl windows_core::RuntimeType for IPlayToSourceSelectedEventArgs { #[repr(C)] pub struct IPlayToSourceSelectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - FriendlyName: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub Icon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] Icon: usize, - #[cfg(feature = "deprecated")] pub SupportsImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SupportsImage: usize, - #[cfg(feature = "deprecated")] pub SupportsAudio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SupportsAudio: usize, - #[cfg(feature = "deprecated")] pub SupportsVideo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SupportsVideo: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IPlayToSourceWithPreferredSourceUri, IPlayToSourceWithPreferredSourceUri_Vtbl, 0xaab253eb_3301_4dc4_afba_b2f2ed9635a0); @@ -366,14 +261,8 @@ impl windows_core::RuntimeType for IPlayToSourceWithPreferredSourceUri { #[repr(C)] pub struct IPlayToSourceWithPreferredSourceUri_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub PreferredSourceUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PreferredSourceUri: usize, - #[cfg(feature = "deprecated")] pub SetPreferredSourceUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetPreferredSourceUri: usize, } windows_core::imp::define_interface!(IPlaybackRateChangeRequestedEventArgs, IPlaybackRateChangeRequestedEventArgs_Vtbl, 0x0f5661ae_2c88_4cca_8540_d586095d13a5); impl windows_core::RuntimeType for IPlaybackRateChangeRequestedEventArgs { @@ -451,7 +340,6 @@ pub struct PlayToConnection(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(PlayToConnection, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl PlayToConnection { - #[cfg(feature = "deprecated")] pub fn State(&self) -> windows_core::Result { let this = self; unsafe { @@ -459,7 +347,6 @@ impl PlayToConnection { (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn StateChanged(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -470,12 +357,10 @@ impl PlayToConnection { (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveStateChanged(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveStateChanged)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "deprecated")] pub fn Transferred(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -486,12 +371,10 @@ impl PlayToConnection { (windows_core::Interface::vtable(this).Transferred)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveTransferred(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveTransferred)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "deprecated")] pub fn Error(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -502,7 +385,6 @@ impl PlayToConnection { (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveError(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveError)(windows_core::Interface::as_raw(this), token).ok() } @@ -549,7 +431,6 @@ pub struct PlayToConnectionErrorEventArgs(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(PlayToConnectionErrorEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl PlayToConnectionErrorEventArgs { - #[cfg(feature = "deprecated")] pub fn Code(&self) -> windows_core::Result { let this = self; unsafe { @@ -557,7 +438,6 @@ impl PlayToConnectionErrorEventArgs { (windows_core::Interface::vtable(this).Code)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { @@ -605,7 +485,6 @@ pub struct PlayToConnectionStateChangedEventArgs(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(PlayToConnectionStateChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl PlayToConnectionStateChangedEventArgs { - #[cfg(feature = "deprecated")] pub fn PreviousState(&self) -> windows_core::Result { let this = self; unsafe { @@ -613,7 +492,6 @@ impl PlayToConnectionStateChangedEventArgs { (windows_core::Interface::vtable(this).PreviousState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn CurrentState(&self) -> windows_core::Result { let this = self; unsafe { @@ -647,7 +525,6 @@ pub struct PlayToConnectionTransferredEventArgs(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(PlayToConnectionTransferredEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl PlayToConnectionTransferredEventArgs { - #[cfg(feature = "deprecated")] pub fn PreviousSource(&self) -> windows_core::Result { let this = self; unsafe { @@ -655,7 +532,6 @@ impl PlayToConnectionTransferredEventArgs { (windows_core::Interface::vtable(this).PreviousSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn CurrentSource(&self) -> windows_core::Result { let this = self; unsafe { @@ -689,7 +565,6 @@ pub struct PlayToManager(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(PlayToManager, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl PlayToManager { - #[cfg(feature = "deprecated")] pub fn SourceRequested(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -700,12 +575,10 @@ impl PlayToManager { (windows_core::Interface::vtable(this).SourceRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveSourceRequested(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveSourceRequested)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "deprecated")] pub fn SourceSelected(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -716,17 +589,14 @@ impl PlayToManager { (windows_core::Interface::vtable(this).SourceSelected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveSourceSelected(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveSourceSelected)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "deprecated")] pub fn SetDefaultSourceSelection(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetDefaultSourceSelection)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn DefaultSourceSelection(&self) -> windows_core::Result { let this = self; unsafe { @@ -734,14 +604,12 @@ impl PlayToManager { (windows_core::Interface::vtable(this).DefaultSourceSelection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn GetForCurrentView() -> windows_core::Result { Self::IPlayToManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn ShowPlayToUI() -> windows_core::Result<()> { Self::IPlayToManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).ShowPlayToUI)(windows_core::Interface::as_raw(this)).ok() }) } @@ -1038,7 +906,6 @@ pub struct PlayToSource(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(PlayToSource, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl PlayToSource { - #[cfg(feature = "deprecated")] pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { @@ -1046,7 +913,6 @@ impl PlayToSource { (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn Next(&self) -> windows_core::Result { let this = self; unsafe { @@ -1054,7 +920,6 @@ impl PlayToSource { (windows_core::Interface::vtable(this).Next)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetNext(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -1062,12 +927,10 @@ impl PlayToSource { let this = self; unsafe { (windows_core::Interface::vtable(this).SetNext)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "deprecated")] pub fn PlayNext(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).PlayNext)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn PreferredSourceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1075,7 +938,6 @@ impl PlayToSource { (windows_core::Interface::vtable(this).PreferredSourceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetPreferredSourceUri(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -1109,7 +971,6 @@ pub struct PlayToSourceDeferral(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(PlayToSourceDeferral, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl PlayToSourceDeferral { - #[cfg(feature = "deprecated")] pub fn Complete(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).Complete)(windows_core::Interface::as_raw(this)).ok() } @@ -1140,7 +1001,6 @@ pub struct PlayToSourceRequest(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(PlayToSourceRequest, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl PlayToSourceRequest { - #[cfg(feature = "deprecated")] pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { @@ -1148,12 +1008,10 @@ impl PlayToSourceRequest { (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn DisplayErrorString(&self, errorstring: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).DisplayErrorString)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(errorstring)).ok() } } - #[cfg(feature = "deprecated")] pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { @@ -1161,7 +1019,6 @@ impl PlayToSourceRequest { (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetSource(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -1195,7 +1052,6 @@ pub struct PlayToSourceRequestedEventArgs(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(PlayToSourceRequestedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl PlayToSourceRequestedEventArgs { - #[cfg(feature = "deprecated")] pub fn SourceRequest(&self) -> windows_core::Result { let this = self; unsafe { @@ -1229,7 +1085,6 @@ pub struct PlayToSourceSelectedEventArgs(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(PlayToSourceSelectedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl PlayToSourceSelectedEventArgs { - #[cfg(feature = "deprecated")] pub fn FriendlyName(&self) -> windows_core::Result { let this = self; unsafe { @@ -1237,7 +1092,7 @@ impl PlayToSourceSelectedEventArgs { (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn Icon(&self) -> windows_core::Result { let this = self; unsafe { @@ -1245,7 +1100,6 @@ impl PlayToSourceSelectedEventArgs { (windows_core::Interface::vtable(this).Icon)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SupportsImage(&self) -> windows_core::Result { let this = self; unsafe { @@ -1253,7 +1107,6 @@ impl PlayToSourceSelectedEventArgs { (windows_core::Interface::vtable(this).SupportsImage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SupportsAudio(&self) -> windows_core::Result { let this = self; unsafe { @@ -1261,7 +1114,6 @@ impl PlayToSourceSelectedEventArgs { (windows_core::Interface::vtable(this).SupportsAudio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SupportsVideo(&self) -> windows_core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Media/Playback/mod.rs b/crates/libs/windows/src/Windows/Media/Playback/mod.rs index fa43bc7d50..9bb7e1f914 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/mod.rs @@ -17,14 +17,12 @@ impl windows_core::RuntimeType for AutoLoadedDisplayPropertyKind { pub struct BackgroundMediaPlayer; #[cfg(feature = "deprecated")] impl BackgroundMediaPlayer { - #[cfg(feature = "deprecated")] pub fn Current() -> windows_core::Result { Self::IBackgroundMediaPlayerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn MessageReceivedFromBackground(value: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -34,11 +32,9 @@ impl BackgroundMediaPlayer { (windows_core::Interface::vtable(this).MessageReceivedFromBackground)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveMessageReceivedFromBackground(token: i64) -> windows_core::Result<()> { Self::IBackgroundMediaPlayerStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveMessageReceivedFromBackground)(windows_core::Interface::as_raw(this), token).ok() }) } - #[cfg(feature = "deprecated")] pub fn MessageReceivedFromForeground(value: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -48,32 +44,29 @@ impl BackgroundMediaPlayer { (windows_core::Interface::vtable(this).MessageReceivedFromForeground)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveMessageReceivedFromForeground(token: i64) -> windows_core::Result<()> { Self::IBackgroundMediaPlayerStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveMessageReceivedFromForeground)(windows_core::Interface::as_raw(this), token).ok() }) } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn SendMessageToBackground(value: P0) -> windows_core::Result<()> where P0: windows_core::Param, { Self::IBackgroundMediaPlayerStatics(|this| unsafe { (windows_core::Interface::vtable(this).SendMessageToBackground)(windows_core::Interface::as_raw(this), value.param().abi()).ok() }) } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn SendMessageToForeground(value: P0) -> windows_core::Result<()> where P0: windows_core::Param, { Self::IBackgroundMediaPlayerStatics(|this| unsafe { (windows_core::Interface::vtable(this).SendMessageToForeground)(windows_core::Interface::as_raw(this), value.param().abi()).ok() }) } - #[cfg(feature = "deprecated")] pub fn IsMediaPlaying() -> windows_core::Result { Self::IBackgroundMediaPlayerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMediaPlaying)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn Shutdown() -> windows_core::Result<()> { Self::IBackgroundMediaPlayerStatics(|this| unsafe { (windows_core::Interface::vtable(this).Shutdown)(windows_core::Interface::as_raw(this)).ok() }) } @@ -149,42 +142,21 @@ impl windows_core::RuntimeType for IBackgroundMediaPlayerStatics { #[repr(C)] pub struct IBackgroundMediaPlayerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Current: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Current: usize, - #[cfg(feature = "deprecated")] pub MessageReceivedFromBackground: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - MessageReceivedFromBackground: usize, - #[cfg(feature = "deprecated")] pub RemoveMessageReceivedFromBackground: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveMessageReceivedFromBackground: usize, - #[cfg(feature = "deprecated")] pub MessageReceivedFromForeground: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - MessageReceivedFromForeground: usize, - #[cfg(feature = "deprecated")] pub RemoveMessageReceivedFromForeground: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveMessageReceivedFromForeground: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub SendMessageToBackground: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] SendMessageToBackground: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub SendMessageToForeground: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] SendMessageToForeground: usize, - #[cfg(feature = "deprecated")] pub IsMediaPlaying: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IsMediaPlaying: usize, - #[cfg(feature = "deprecated")] pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Shutdown: usize, } windows_core::imp::define_interface!(ICurrentMediaPlaybackItemChangedEventArgs, ICurrentMediaPlaybackItemChangedEventArgs_Vtbl, 0x1743a892_5c43_4a15_967a_572d2d0f26c6); impl windows_core::RuntimeType for ICurrentMediaPlaybackItemChangedEventArgs { @@ -324,7 +296,6 @@ impl windows_core::RuntimeType for IMediaEnginePlaybackSource { windows_core::imp::interface_hierarchy!(IMediaEnginePlaybackSource, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl IMediaEnginePlaybackSource { - #[cfg(feature = "deprecated")] pub fn CurrentItem(&self) -> windows_core::Result { let this = self; unsafe { @@ -332,7 +303,6 @@ impl IMediaEnginePlaybackSource { (windows_core::Interface::vtable(this).CurrentItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetPlaybackSource(&self, source: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -386,14 +356,8 @@ impl IMediaEnginePlaybackSource_Vtbl { #[repr(C)] pub struct IMediaEnginePlaybackSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CurrentItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CurrentItem: usize, - #[cfg(feature = "deprecated")] pub SetPlaybackSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetPlaybackSource: usize, } windows_core::imp::define_interface!(IMediaItemDisplayProperties, IMediaItemDisplayProperties_Vtbl, 0x1e3c1b48_7097_4384_a217_c1291dfa8c16); impl windows_core::RuntimeType for IMediaItemDisplayProperties { @@ -972,25 +936,55 @@ pub struct IMediaPlayer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AutoPlay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAutoPlay: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub NaturalDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + NaturalDuration: usize, + #[cfg(feature = "deprecated")] pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + Position: usize, + #[cfg(feature = "deprecated")] pub SetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetPosition: usize, + #[cfg(feature = "deprecated")] pub BufferingProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + BufferingProgress: usize, + #[cfg(feature = "deprecated")] pub CurrentState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaPlayerState) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + CurrentState: usize, + #[cfg(feature = "deprecated")] pub CanSeek: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + CanSeek: usize, + #[cfg(feature = "deprecated")] pub CanPause: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + CanPause: usize, pub IsLoopingEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsLoopingEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub IsProtected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + IsProtected: usize, pub IsMuted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsMuted: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub PlaybackRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + PlaybackRate: usize, + #[cfg(feature = "deprecated")] pub SetPlaybackRate: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetPlaybackRate: usize, pub Volume: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetVolume: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub PlaybackMediaMarkers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] PlaybackMediaMarkers: usize, pub MediaOpened: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, pub RemoveMediaOpened: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, @@ -998,23 +992,62 @@ pub struct IMediaPlayer_Vtbl { pub RemoveMediaEnded: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, pub MediaFailed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, pub RemoveMediaFailed: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub CurrentStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + CurrentStateChanged: usize, + #[cfg(feature = "deprecated")] pub RemoveCurrentStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + RemoveCurrentStateChanged: usize, + #[cfg(feature = "deprecated")] pub PlaybackMediaMarkerReached: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + PlaybackMediaMarkerReached: usize, + #[cfg(feature = "deprecated")] pub RemovePlaybackMediaMarkerReached: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + RemovePlaybackMediaMarkerReached: usize, + #[cfg(feature = "deprecated")] pub MediaPlayerRateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + MediaPlayerRateChanged: usize, + #[cfg(feature = "deprecated")] pub RemoveMediaPlayerRateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + RemoveMediaPlayerRateChanged: usize, pub VolumeChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, pub RemoveVolumeChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub SeekCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SeekCompleted: usize, + #[cfg(feature = "deprecated")] pub RemoveSeekCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + RemoveSeekCompleted: usize, + #[cfg(feature = "deprecated")] pub BufferingStarted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + BufferingStarted: usize, + #[cfg(feature = "deprecated")] pub RemoveBufferingStarted: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + RemoveBufferingStarted: usize, + #[cfg(feature = "deprecated")] pub BufferingEnded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + BufferingEnded: usize, + #[cfg(feature = "deprecated")] pub RemoveBufferingEnded: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + RemoveBufferingEnded: usize, pub Play: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub SetUriSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetUriSource: usize, } windows_core::imp::define_interface!(IMediaPlayer2, IMediaPlayer2_Vtbl, 0x3c841218_2123_4fc5_9082_2f883f77bdf5); impl windows_core::RuntimeType for IMediaPlayer2 { @@ -1207,17 +1240,17 @@ pub struct IMediaPlayerSource_Vtbl { pub SetProtectionManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Media_Protection"))] SetProtectionManager: usize, - #[cfg(feature = "Storage_Streams")] + #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] pub SetFileSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Storage_Streams"))] + #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] SetFileSource: usize, - #[cfg(feature = "Storage_Streams")] + #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] pub SetStreamSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Storage_Streams"))] + #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] SetStreamSource: usize, - #[cfg(feature = "Media_Core")] + #[cfg(all(feature = "Media_Core", feature = "deprecated"))] pub SetMediaSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Media_Core"))] + #[cfg(not(all(feature = "Media_Core", feature = "deprecated")))] SetMediaSource: usize, } windows_core::imp::define_interface!(IMediaPlayerSource2, IMediaPlayerSource2_Vtbl, 0x82449b9f_7322_4c0b_b03b_3e69a48260c5); @@ -3907,6 +3940,7 @@ impl MediaPlayer { let this = self; unsafe { (windows_core::Interface::vtable(this).SetAutoPlay)(windows_core::Interface::as_raw(this), value).ok() } } + #[cfg(feature = "deprecated")] pub fn NaturalDuration(&self) -> windows_core::Result { let this = self; unsafe { @@ -3914,6 +3948,7 @@ impl MediaPlayer { (windows_core::Interface::vtable(this).NaturalDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { @@ -3921,10 +3956,12 @@ impl MediaPlayer { (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn SetPosition(&self, value: super::super::Foundation::TimeSpan) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetPosition)(windows_core::Interface::as_raw(this), value).ok() } } + #[cfg(feature = "deprecated")] pub fn BufferingProgress(&self) -> windows_core::Result { let this = self; unsafe { @@ -3932,6 +3969,7 @@ impl MediaPlayer { (windows_core::Interface::vtable(this).BufferingProgress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn CurrentState(&self) -> windows_core::Result { let this = self; unsafe { @@ -3939,6 +3977,7 @@ impl MediaPlayer { (windows_core::Interface::vtable(this).CurrentState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn CanSeek(&self) -> windows_core::Result { let this = self; unsafe { @@ -3946,6 +3985,7 @@ impl MediaPlayer { (windows_core::Interface::vtable(this).CanSeek)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn CanPause(&self) -> windows_core::Result { let this = self; unsafe { @@ -3964,6 +4004,7 @@ impl MediaPlayer { let this = self; unsafe { (windows_core::Interface::vtable(this).SetIsLoopingEnabled)(windows_core::Interface::as_raw(this), value).ok() } } + #[cfg(feature = "deprecated")] pub fn IsProtected(&self) -> windows_core::Result { let this = self; unsafe { @@ -3982,6 +4023,7 @@ impl MediaPlayer { let this = self; unsafe { (windows_core::Interface::vtable(this).SetIsMuted)(windows_core::Interface::as_raw(this), value).ok() } } + #[cfg(feature = "deprecated")] pub fn PlaybackRate(&self) -> windows_core::Result { let this = self; unsafe { @@ -3989,6 +4031,7 @@ impl MediaPlayer { (windows_core::Interface::vtable(this).PlaybackRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn SetPlaybackRate(&self, value: f64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetPlaybackRate)(windows_core::Interface::as_raw(this), value).ok() } @@ -4004,7 +4047,7 @@ impl MediaPlayer { let this = self; unsafe { (windows_core::Interface::vtable(this).SetVolume)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn PlaybackMediaMarkers(&self) -> windows_core::Result { let this = self; unsafe { @@ -4054,6 +4097,7 @@ impl MediaPlayer { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveMediaFailed)(windows_core::Interface::as_raw(this), token).ok() } } + #[cfg(feature = "deprecated")] pub fn CurrentStateChanged(&self, value: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -4064,10 +4108,12 @@ impl MediaPlayer { (windows_core::Interface::vtable(this).CurrentStateChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn RemoveCurrentStateChanged(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveCurrentStateChanged)(windows_core::Interface::as_raw(this), token).ok() } } + #[cfg(feature = "deprecated")] pub fn PlaybackMediaMarkerReached(&self, value: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -4078,10 +4124,12 @@ impl MediaPlayer { (windows_core::Interface::vtable(this).PlaybackMediaMarkerReached)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn RemovePlaybackMediaMarkerReached(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemovePlaybackMediaMarkerReached)(windows_core::Interface::as_raw(this), token).ok() } } + #[cfg(feature = "deprecated")] pub fn MediaPlayerRateChanged(&self, value: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -4092,6 +4140,7 @@ impl MediaPlayer { (windows_core::Interface::vtable(this).MediaPlayerRateChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn RemoveMediaPlayerRateChanged(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveMediaPlayerRateChanged)(windows_core::Interface::as_raw(this), token).ok() } @@ -4110,6 +4159,7 @@ impl MediaPlayer { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveVolumeChanged)(windows_core::Interface::as_raw(this), token).ok() } } + #[cfg(feature = "deprecated")] pub fn SeekCompleted(&self, value: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -4120,10 +4170,12 @@ impl MediaPlayer { (windows_core::Interface::vtable(this).SeekCompleted)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn RemoveSeekCompleted(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveSeekCompleted)(windows_core::Interface::as_raw(this), token).ok() } } + #[cfg(feature = "deprecated")] pub fn BufferingStarted(&self, value: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -4134,10 +4186,12 @@ impl MediaPlayer { (windows_core::Interface::vtable(this).BufferingStarted)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn RemoveBufferingStarted(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveBufferingStarted)(windows_core::Interface::as_raw(this), token).ok() } } + #[cfg(feature = "deprecated")] pub fn BufferingEnded(&self, value: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -4148,6 +4202,7 @@ impl MediaPlayer { (windows_core::Interface::vtable(this).BufferingEnded)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn RemoveBufferingEnded(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveBufferingEnded)(windows_core::Interface::as_raw(this), token).ok() } @@ -4160,6 +4215,7 @@ impl MediaPlayer { let this = self; unsafe { (windows_core::Interface::vtable(this).Pause)(windows_core::Interface::as_raw(this)).ok() } } + #[cfg(feature = "deprecated")] pub fn SetUriSource(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -4480,7 +4536,7 @@ impl MediaPlayer { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetProtectionManager)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "Storage_Streams")] + #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] pub fn SetFileSource(&self, file: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -4488,7 +4544,7 @@ impl MediaPlayer { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetFileSource)(windows_core::Interface::as_raw(this), file.param().abi()).ok() } } - #[cfg(feature = "Storage_Streams")] + #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] pub fn SetStreamSource(&self, stream: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -4496,7 +4552,7 @@ impl MediaPlayer { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetStreamSource)(windows_core::Interface::as_raw(this), stream.param().abi()).ok() } } - #[cfg(feature = "Media_Core")] + #[cfg(all(feature = "Media_Core", feature = "deprecated"))] pub fn SetMediaSource(&self, source: P0) -> windows_core::Result<()> where P0: windows_core::Param, diff --git a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs index 1352fb5908..f5840462cb 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs @@ -8,62 +8,20 @@ impl windows_core::RuntimeType for INDClient { #[repr(C)] pub struct INDClient_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub RegistrationCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RegistrationCompleted: usize, - #[cfg(feature = "deprecated")] pub RemoveRegistrationCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveRegistrationCompleted: usize, - #[cfg(feature = "deprecated")] pub ProximityDetectionCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ProximityDetectionCompleted: usize, - #[cfg(feature = "deprecated")] pub RemoveProximityDetectionCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveProximityDetectionCompleted: usize, - #[cfg(feature = "deprecated")] pub LicenseFetchCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LicenseFetchCompleted: usize, - #[cfg(feature = "deprecated")] pub RemoveLicenseFetchCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveLicenseFetchCompleted: usize, - #[cfg(feature = "deprecated")] pub ReRegistrationNeeded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ReRegistrationNeeded: usize, - #[cfg(feature = "deprecated")] pub RemoveReRegistrationNeeded: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveReRegistrationNeeded: usize, - #[cfg(feature = "deprecated")] pub ClosedCaptionDataReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ClosedCaptionDataReceived: usize, - #[cfg(feature = "deprecated")] pub RemoveClosedCaptionDataReceived: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveClosedCaptionDataReceived: usize, - #[cfg(feature = "deprecated")] pub StartAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - StartAsync: usize, - #[cfg(feature = "deprecated")] pub LicenseFetchAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LicenseFetchAsync: usize, - #[cfg(feature = "deprecated")] pub ReRegistrationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ReRegistrationAsync: usize, - #[cfg(feature = "deprecated")] pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Close: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDClientFactory, INDClientFactory_Vtbl, 0x3e53dd62_fee8_451f_b0d4_f706cca3e037); @@ -75,10 +33,7 @@ impl windows_core::RuntimeType for INDClientFactory { #[repr(C)] pub struct INDClientFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CreateInstance: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDClosedCaptionDataReceivedEventArgs, INDClosedCaptionDataReceivedEventArgs_Vtbl, 0x4738d29f_c345_4649_8468_b8c5fc357190); @@ -90,7 +45,6 @@ impl windows_core::RuntimeType for INDClosedCaptionDataReceivedEventArgs { windows_core::imp::interface_hierarchy!(INDClosedCaptionDataReceivedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDClosedCaptionDataReceivedEventArgs { - #[cfg(feature = "deprecated")] pub fn ClosedCaptionDataFormat(&self) -> windows_core::Result { let this = self; unsafe { @@ -98,7 +52,6 @@ impl INDClosedCaptionDataReceivedEventArgs { (windows_core::Interface::vtable(this).ClosedCaptionDataFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PresentationTimestamp(&self) -> windows_core::Result { let this = self; unsafe { @@ -106,7 +59,6 @@ impl INDClosedCaptionDataReceivedEventArgs { (windows_core::Interface::vtable(this).PresentationTimestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ClosedCaptionData(&self) -> windows_core::Result> { let this = self; unsafe { @@ -181,18 +133,9 @@ impl INDClosedCaptionDataReceivedEventArgs_Vtbl { #[repr(C)] pub struct INDClosedCaptionDataReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub ClosedCaptionDataFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NDClosedCaptionFormat) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ClosedCaptionDataFormat: usize, - #[cfg(feature = "deprecated")] pub PresentationTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PresentationTimestamp: usize, - #[cfg(feature = "deprecated")] pub ClosedCaptionData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ClosedCaptionData: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDCustomData, INDCustomData_Vtbl, 0xf5cb0fdc_2d09_4f19_b5e1_76a0b3ee9267); @@ -204,7 +147,6 @@ impl windows_core::RuntimeType for INDCustomData { windows_core::imp::interface_hierarchy!(INDCustomData, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDCustomData { - #[cfg(feature = "deprecated")] pub fn CustomDataTypeID(&self) -> windows_core::Result> { let this = self; unsafe { @@ -212,7 +154,6 @@ impl INDCustomData { (windows_core::Interface::vtable(this).CustomDataTypeID)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } - #[cfg(feature = "deprecated")] pub fn CustomData(&self) -> windows_core::Result> { let this = self; unsafe { @@ -275,14 +216,8 @@ impl INDCustomData_Vtbl { #[repr(C)] pub struct INDCustomData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CustomDataTypeID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CustomDataTypeID: usize, - #[cfg(feature = "deprecated")] pub CustomData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CustomData: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDCustomDataFactory, INDCustomDataFactory_Vtbl, 0xd65405ab_3424_4833_8c9a_af5fdeb22872); @@ -294,10 +229,7 @@ impl windows_core::RuntimeType for INDCustomDataFactory { #[repr(C)] pub struct INDCustomDataFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CreateInstance: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDDownloadEngine, INDDownloadEngine_Vtbl, 0x2d223d65_c4b6_4438_8d46_b96e6d0fb21f); @@ -309,7 +241,6 @@ impl windows_core::RuntimeType for INDDownloadEngine { windows_core::imp::interface_hierarchy!(INDDownloadEngine, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDDownloadEngine { - #[cfg(feature = "deprecated")] pub fn Open(&self, uri: P0, sessionidbytes: &[u8]) -> windows_core::Result<()> where P0: windows_core::Param, @@ -317,27 +248,22 @@ impl INDDownloadEngine { let this = self; unsafe { (windows_core::Interface::vtable(this).Open)(windows_core::Interface::as_raw(this), uri.param().abi(), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr()).ok() } } - #[cfg(feature = "deprecated")] pub fn Pause(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).Pause)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn Resume(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).Resume)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn Close(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn Seek(&self, startposition: super::super::super::Foundation::TimeSpan) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).Seek)(windows_core::Interface::as_raw(this), startposition).ok() } } - #[cfg(feature = "deprecated")] pub fn CanSeek(&self) -> windows_core::Result { let this = self; unsafe { @@ -345,7 +271,6 @@ impl INDDownloadEngine { (windows_core::Interface::vtable(this).CanSeek)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn BufferFullMinThresholdInSamples(&self) -> windows_core::Result { let this = self; unsafe { @@ -353,7 +278,6 @@ impl INDDownloadEngine { (windows_core::Interface::vtable(this).BufferFullMinThresholdInSamples)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn BufferFullMaxThresholdInSamples(&self) -> windows_core::Result { let this = self; unsafe { @@ -361,7 +285,6 @@ impl INDDownloadEngine { (windows_core::Interface::vtable(this).BufferFullMaxThresholdInSamples)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn Notifier(&self) -> windows_core::Result { let this = self; unsafe { @@ -489,42 +412,15 @@ impl INDDownloadEngine_Vtbl { #[repr(C)] pub struct INDDownloadEngine_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Open: usize, - #[cfg(feature = "deprecated")] pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Pause: usize, - #[cfg(feature = "deprecated")] pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Resume: usize, - #[cfg(feature = "deprecated")] pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Close: usize, - #[cfg(feature = "deprecated")] pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Seek: usize, - #[cfg(feature = "deprecated")] pub CanSeek: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CanSeek: usize, - #[cfg(feature = "deprecated")] pub BufferFullMinThresholdInSamples: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - BufferFullMinThresholdInSamples: usize, - #[cfg(feature = "deprecated")] pub BufferFullMaxThresholdInSamples: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - BufferFullMaxThresholdInSamples: usize, - #[cfg(feature = "deprecated")] pub Notifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Notifier: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDDownloadEngineNotifier, INDDownloadEngineNotifier_Vtbl, 0xd720b4d4_f4b8_4530_a809_9193a571e7fc); @@ -536,17 +432,14 @@ impl windows_core::RuntimeType for INDDownloadEngineNotifier { windows_core::imp::interface_hierarchy!(INDDownloadEngineNotifier, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDDownloadEngineNotifier { - #[cfg(feature = "deprecated")] pub fn OnStreamOpened(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).OnStreamOpened)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn OnPlayReadyObjectReceived(&self, databytes: &[u8]) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).OnPlayReadyObjectReceived)(windows_core::Interface::as_raw(this), databytes.len().try_into().unwrap(), databytes.as_ptr()).ok() } } - #[cfg(feature = "deprecated")] pub fn OnContentIDReceived(&self, licensefetchdescriptor: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -554,17 +447,14 @@ impl INDDownloadEngineNotifier { let this = self; unsafe { (windows_core::Interface::vtable(this).OnContentIDReceived)(windows_core::Interface::as_raw(this), licensefetchdescriptor.param().abi()).ok() } } - #[cfg(feature = "deprecated")] pub fn OnDataReceived(&self, databytes: &[u8], bytesreceived: u32) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).OnDataReceived)(windows_core::Interface::as_raw(this), databytes.len().try_into().unwrap(), databytes.as_ptr(), bytesreceived).ok() } } - #[cfg(feature = "deprecated")] pub fn OnEndOfStream(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).OnEndOfStream)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn OnNetworkError(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).OnNetworkError)(windows_core::Interface::as_raw(this)).ok() } @@ -640,30 +530,12 @@ impl INDDownloadEngineNotifier_Vtbl { #[repr(C)] pub struct INDDownloadEngineNotifier_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub OnStreamOpened: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - OnStreamOpened: usize, - #[cfg(feature = "deprecated")] pub OnPlayReadyObjectReceived: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - OnPlayReadyObjectReceived: usize, - #[cfg(feature = "deprecated")] pub OnContentIDReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - OnContentIDReceived: usize, - #[cfg(feature = "deprecated")] pub OnDataReceived: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - OnDataReceived: usize, - #[cfg(feature = "deprecated")] pub OnEndOfStream: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - OnEndOfStream: usize, - #[cfg(feature = "deprecated")] pub OnNetworkError: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - OnNetworkError: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDLicenseFetchCompletedEventArgs, INDLicenseFetchCompletedEventArgs_Vtbl, 0x1ee30a1a_11b2_4558_8865_e3a516922517); @@ -675,7 +547,6 @@ impl windows_core::RuntimeType for INDLicenseFetchCompletedEventArgs { windows_core::imp::interface_hierarchy!(INDLicenseFetchCompletedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDLicenseFetchCompletedEventArgs { - #[cfg(feature = "deprecated")] pub fn ResponseCustomData(&self) -> windows_core::Result { let this = self; unsafe { @@ -721,10 +592,7 @@ impl INDLicenseFetchCompletedEventArgs_Vtbl { #[repr(C)] pub struct INDLicenseFetchCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub ResponseCustomData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ResponseCustomData: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDLicenseFetchDescriptor, INDLicenseFetchDescriptor_Vtbl, 0x5498d33a_e686_4935_a567_7ca77ad20fa4); @@ -736,7 +604,6 @@ impl windows_core::RuntimeType for INDLicenseFetchDescriptor { windows_core::imp::interface_hierarchy!(INDLicenseFetchDescriptor, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDLicenseFetchDescriptor { - #[cfg(feature = "deprecated")] pub fn ContentIDType(&self) -> windows_core::Result { let this = self; unsafe { @@ -744,7 +611,6 @@ impl INDLicenseFetchDescriptor { (windows_core::Interface::vtable(this).ContentIDType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ContentID(&self) -> windows_core::Result> { let this = self; unsafe { @@ -752,7 +618,6 @@ impl INDLicenseFetchDescriptor { (windows_core::Interface::vtable(this).ContentID)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } - #[cfg(feature = "deprecated")] pub fn LicenseFetchChallengeCustomData(&self) -> windows_core::Result { let this = self; unsafe { @@ -760,7 +625,6 @@ impl INDLicenseFetchDescriptor { (windows_core::Interface::vtable(this).LicenseFetchChallengeCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetLicenseFetchChallengeCustomData(&self, licensefetchchallengecustomdata: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -844,22 +708,10 @@ impl INDLicenseFetchDescriptor_Vtbl { #[repr(C)] pub struct INDLicenseFetchDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub ContentIDType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NDContentIDType) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ContentIDType: usize, - #[cfg(feature = "deprecated")] pub ContentID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ContentID: usize, - #[cfg(feature = "deprecated")] pub LicenseFetchChallengeCustomData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LicenseFetchChallengeCustomData: usize, - #[cfg(feature = "deprecated")] pub SetLicenseFetchChallengeCustomData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetLicenseFetchChallengeCustomData: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDLicenseFetchDescriptorFactory, INDLicenseFetchDescriptorFactory_Vtbl, 0xd0031202_cfac_4f00_ae6a_97af80b848f2); @@ -871,10 +723,7 @@ impl windows_core::RuntimeType for INDLicenseFetchDescriptorFactory { #[repr(C)] pub struct INDLicenseFetchDescriptorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, NDContentIDType, u32, *const u8, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CreateInstance: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDLicenseFetchResult, INDLicenseFetchResult_Vtbl, 0x21d39698_aa62_45ff_a5ff_8037e5433825); @@ -886,7 +735,6 @@ impl windows_core::RuntimeType for INDLicenseFetchResult { windows_core::imp::interface_hierarchy!(INDLicenseFetchResult, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDLicenseFetchResult { - #[cfg(feature = "deprecated")] pub fn ResponseCustomData(&self) -> windows_core::Result { let this = self; unsafe { @@ -932,10 +780,7 @@ impl INDLicenseFetchResult_Vtbl { #[repr(C)] pub struct INDLicenseFetchResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub ResponseCustomData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ResponseCustomData: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDMessenger, INDMessenger_Vtbl, 0xd42df95d_a75b_47bf_8249_bc83820da38a); @@ -947,7 +792,6 @@ impl windows_core::RuntimeType for INDMessenger { windows_core::imp::interface_hierarchy!(INDMessenger, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDMessenger { - #[cfg(feature = "deprecated")] pub fn SendRegistrationRequestAsync(&self, sessionidbytes: &[u8], challengedatabytes: &[u8]) -> windows_core::Result> { let this = self; unsafe { @@ -955,7 +799,6 @@ impl INDMessenger { (windows_core::Interface::vtable(this).SendRegistrationRequestAsync)(windows_core::Interface::as_raw(this), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), challengedatabytes.len().try_into().unwrap(), challengedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SendProximityDetectionStartAsync(&self, pdtype: NDProximityDetectionType, transmitterchannelbytes: &[u8], sessionidbytes: &[u8], challengedatabytes: &[u8]) -> windows_core::Result> { let this = self; unsafe { @@ -963,7 +806,6 @@ impl INDMessenger { (windows_core::Interface::vtable(this).SendProximityDetectionStartAsync)(windows_core::Interface::as_raw(this), pdtype, transmitterchannelbytes.len().try_into().unwrap(), transmitterchannelbytes.as_ptr(), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), challengedatabytes.len().try_into().unwrap(), challengedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SendProximityDetectionResponseAsync(&self, pdtype: NDProximityDetectionType, transmitterchannelbytes: &[u8], sessionidbytes: &[u8], responsedatabytes: &[u8]) -> windows_core::Result> { let this = self; unsafe { @@ -971,7 +813,6 @@ impl INDMessenger { (windows_core::Interface::vtable(this).SendProximityDetectionResponseAsync)(windows_core::Interface::as_raw(this), pdtype, transmitterchannelbytes.len().try_into().unwrap(), transmitterchannelbytes.as_ptr(), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), responsedatabytes.len().try_into().unwrap(), responsedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SendLicenseFetchRequestAsync(&self, sessionidbytes: &[u8], challengedatabytes: &[u8]) -> windows_core::Result> { let this = self; unsafe { @@ -1062,22 +903,10 @@ impl INDMessenger_Vtbl { #[repr(C)] pub struct INDMessenger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub SendRegistrationRequestAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SendRegistrationRequestAsync: usize, - #[cfg(feature = "deprecated")] pub SendProximityDetectionStartAsync: unsafe extern "system" fn(*mut core::ffi::c_void, NDProximityDetectionType, u32, *const u8, u32, *const u8, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SendProximityDetectionStartAsync: usize, - #[cfg(feature = "deprecated")] pub SendProximityDetectionResponseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, NDProximityDetectionType, u32, *const u8, u32, *const u8, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SendProximityDetectionResponseAsync: usize, - #[cfg(feature = "deprecated")] pub SendLicenseFetchRequestAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SendLicenseFetchRequestAsync: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDProximityDetectionCompletedEventArgs, INDProximityDetectionCompletedEventArgs_Vtbl, 0x2a706328_da25_4f8c_9eb7_5d0fc3658bca); @@ -1089,7 +918,6 @@ impl windows_core::RuntimeType for INDProximityDetectionCompletedEventArgs { windows_core::imp::interface_hierarchy!(INDProximityDetectionCompletedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDProximityDetectionCompletedEventArgs { - #[cfg(feature = "deprecated")] pub fn ProximityDetectionRetryCount(&self) -> windows_core::Result { let this = self; unsafe { @@ -1134,10 +962,7 @@ impl INDProximityDetectionCompletedEventArgs_Vtbl { #[repr(C)] pub struct INDProximityDetectionCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub ProximityDetectionRetryCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ProximityDetectionRetryCount: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDRegistrationCompletedEventArgs, INDRegistrationCompletedEventArgs_Vtbl, 0x9e39b64d_ab5b_4905_acdc_787a77c6374d); @@ -1149,7 +974,6 @@ impl windows_core::RuntimeType for INDRegistrationCompletedEventArgs { windows_core::imp::interface_hierarchy!(INDRegistrationCompletedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDRegistrationCompletedEventArgs { - #[cfg(feature = "deprecated")] pub fn ResponseCustomData(&self) -> windows_core::Result { let this = self; unsafe { @@ -1157,7 +981,6 @@ impl INDRegistrationCompletedEventArgs { (windows_core::Interface::vtable(this).ResponseCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn TransmitterProperties(&self) -> windows_core::Result { let this = self; unsafe { @@ -1165,7 +988,6 @@ impl INDRegistrationCompletedEventArgs { (windows_core::Interface::vtable(this).TransmitterProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn TransmitterCertificateAccepted(&self) -> windows_core::Result { let this = self; unsafe { @@ -1173,7 +995,6 @@ impl INDRegistrationCompletedEventArgs { (windows_core::Interface::vtable(this).TransmitterCertificateAccepted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetTransmitterCertificateAccepted(&self, accept: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetTransmitterCertificateAccepted)(windows_core::Interface::as_raw(this), accept).ok() } @@ -1253,22 +1074,10 @@ impl INDRegistrationCompletedEventArgs_Vtbl { #[repr(C)] pub struct INDRegistrationCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub ResponseCustomData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ResponseCustomData: usize, - #[cfg(feature = "deprecated")] pub TransmitterProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TransmitterProperties: usize, - #[cfg(feature = "deprecated")] pub TransmitterCertificateAccepted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TransmitterCertificateAccepted: usize, - #[cfg(feature = "deprecated")] pub SetTransmitterCertificateAccepted: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetTransmitterCertificateAccepted: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDSendResult, INDSendResult_Vtbl, 0xe3685517_a584_479d_90b7_d689c7bf7c80); @@ -1280,7 +1089,6 @@ impl windows_core::RuntimeType for INDSendResult { windows_core::imp::interface_hierarchy!(INDSendResult, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDSendResult { - #[cfg(feature = "deprecated")] pub fn Response(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1324,10 +1132,7 @@ impl INDSendResult_Vtbl { #[repr(C)] pub struct INDSendResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Response: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Response: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDStartResult, INDStartResult_Vtbl, 0x79f6e96e_f50f_4015_8ba4_c2bc344ebd4e); @@ -1339,7 +1144,7 @@ impl windows_core::RuntimeType for INDStartResult { windows_core::imp::interface_hierarchy!(INDStartResult, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDStartResult { - #[cfg(all(feature = "Media_Core", feature = "deprecated"))] + #[cfg(feature = "Media_Core")] pub fn MediaStreamSource(&self) -> windows_core::Result { let this = self; unsafe { @@ -1382,9 +1187,9 @@ impl INDStartResult_Vtbl { #[repr(C)] pub struct INDStartResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Media_Core", feature = "deprecated"))] + #[cfg(feature = "Media_Core")] pub MediaStreamSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Media_Core", feature = "deprecated")))] + #[cfg(not(feature = "Media_Core"))] MediaStreamSource: usize, } #[cfg(feature = "deprecated")] @@ -1397,7 +1202,7 @@ impl windows_core::RuntimeType for INDStorageFileHelper { windows_core::imp::interface_hierarchy!(INDStorageFileHelper, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDStorageFileHelper { - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn GetFileURLs(&self, file: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -1443,9 +1248,9 @@ impl INDStorageFileHelper_Vtbl { #[repr(C)] pub struct INDStorageFileHelper_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub GetFileURLs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] GetFileURLs: usize, } #[cfg(feature = "deprecated")] @@ -1458,12 +1263,11 @@ impl windows_core::RuntimeType for INDStreamParser { windows_core::imp::interface_hierarchy!(INDStreamParser, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDStreamParser { - #[cfg(feature = "deprecated")] pub fn ParseData(&self, databytes: &[u8]) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).ParseData)(windows_core::Interface::as_raw(this), databytes.len().try_into().unwrap(), databytes.as_ptr()).ok() } } - #[cfg(all(feature = "Media_Core", feature = "deprecated"))] + #[cfg(feature = "Media_Core")] pub fn GetStreamInformation(&self, descriptor: P0, streamtype: &mut NDMediaStreamType) -> windows_core::Result where P0: windows_core::Param, @@ -1474,17 +1278,14 @@ impl INDStreamParser { (windows_core::Interface::vtable(this).GetStreamInformation)(windows_core::Interface::as_raw(this), descriptor.param().abi(), streamtype, &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn BeginOfStream(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).BeginOfStream)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn EndOfStream(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).EndOfStream)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn Notifier(&self) -> windows_core::Result { let this = self; unsafe { @@ -1568,26 +1369,14 @@ impl INDStreamParser_Vtbl { #[repr(C)] pub struct INDStreamParser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub ParseData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ParseData: usize, - #[cfg(all(feature = "Media_Core", feature = "deprecated"))] + #[cfg(feature = "Media_Core")] pub GetStreamInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut NDMediaStreamType, *mut u32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Media_Core", feature = "deprecated")))] + #[cfg(not(feature = "Media_Core"))] GetStreamInformation: usize, - #[cfg(feature = "deprecated")] pub BeginOfStream: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - BeginOfStream: usize, - #[cfg(feature = "deprecated")] pub EndOfStream: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - EndOfStream: usize, - #[cfg(feature = "deprecated")] pub Notifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Notifier: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDStreamParserNotifier, INDStreamParserNotifier_Vtbl, 0xc167acd0_2ce6_426c_ace5_5e9275fea715); @@ -1599,7 +1388,6 @@ impl windows_core::RuntimeType for INDStreamParserNotifier { windows_core::imp::interface_hierarchy!(INDStreamParserNotifier, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDStreamParserNotifier { - #[cfg(feature = "deprecated")] pub fn OnContentIDReceived(&self, licensefetchdescriptor: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -1607,7 +1395,7 @@ impl INDStreamParserNotifier { let this = self; unsafe { (windows_core::Interface::vtable(this).OnContentIDReceived)(windows_core::Interface::as_raw(this), licensefetchdescriptor.param().abi()).ok() } } - #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] pub fn OnMediaStreamDescriptorCreated(&self, audiostreamdescriptors: P0, videostreamdescriptors: P1) -> windows_core::Result<()> where P0: windows_core::Param>, @@ -1616,7 +1404,7 @@ impl INDStreamParserNotifier { let this = self; unsafe { (windows_core::Interface::vtable(this).OnMediaStreamDescriptorCreated)(windows_core::Interface::as_raw(this), audiostreamdescriptors.param().abi(), videostreamdescriptors.param().abi()).ok() } } - #[cfg(all(feature = "Media_Core", feature = "deprecated"))] + #[cfg(feature = "Media_Core")] pub fn OnSampleParsed(&self, streamid: u32, streamtype: NDMediaStreamType, streamsample: P2, pts: i64, ccformat: NDClosedCaptionFormat, ccdatabytes: &[u8]) -> windows_core::Result<()> where P2: windows_core::Param, @@ -1624,7 +1412,7 @@ impl INDStreamParserNotifier { let this = self; unsafe { (windows_core::Interface::vtable(this).OnSampleParsed)(windows_core::Interface::as_raw(this), streamid, streamtype, streamsample.param().abi(), pts, ccformat, ccdatabytes.len().try_into().unwrap(), ccdatabytes.as_ptr()).ok() } } - #[cfg(all(feature = "Media_Core", feature = "deprecated"))] + #[cfg(feature = "Media_Core")] pub fn OnBeginSetupDecryptor(&self, descriptor: P0, keyid: windows_core::GUID, probytes: &[u8]) -> windows_core::Result<()> where P0: windows_core::Param, @@ -1687,21 +1475,18 @@ impl INDStreamParserNotifier_Vtbl { #[repr(C)] pub struct INDStreamParserNotifier_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub OnContentIDReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - OnContentIDReceived: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] pub OnMediaStreamDescriptorCreated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_Core", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_Core")))] OnMediaStreamDescriptorCreated: usize, - #[cfg(all(feature = "Media_Core", feature = "deprecated"))] + #[cfg(feature = "Media_Core")] pub OnSampleParsed: unsafe extern "system" fn(*mut core::ffi::c_void, u32, NDMediaStreamType, *mut core::ffi::c_void, i64, NDClosedCaptionFormat, u32, *const u8) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Media_Core", feature = "deprecated")))] + #[cfg(not(feature = "Media_Core"))] OnSampleParsed: usize, - #[cfg(all(feature = "Media_Core", feature = "deprecated"))] + #[cfg(feature = "Media_Core")] pub OnBeginSetupDecryptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::GUID, u32, *const u8) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Media_Core", feature = "deprecated")))] + #[cfg(not(feature = "Media_Core"))] OnBeginSetupDecryptor: usize, } #[cfg(feature = "deprecated")] @@ -1714,10 +1499,7 @@ impl windows_core::RuntimeType for INDTCPMessengerFactory { #[repr(C)] pub struct INDTCPMessengerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CreateInstance: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDTransmitterProperties, INDTransmitterProperties_Vtbl, 0xe536af23_ac4f_4adc_8c66_4ff7c2702dd6); @@ -1729,7 +1511,6 @@ impl windows_core::RuntimeType for INDTransmitterProperties { windows_core::imp::interface_hierarchy!(INDTransmitterProperties, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl INDTransmitterProperties { - #[cfg(feature = "deprecated")] pub fn CertificateType(&self) -> windows_core::Result { let this = self; unsafe { @@ -1737,7 +1518,6 @@ impl INDTransmitterProperties { (windows_core::Interface::vtable(this).CertificateType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn PlatformIdentifier(&self) -> windows_core::Result { let this = self; unsafe { @@ -1745,7 +1525,6 @@ impl INDTransmitterProperties { (windows_core::Interface::vtable(this).PlatformIdentifier)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SupportedFeatures(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1753,7 +1532,6 @@ impl INDTransmitterProperties { (windows_core::Interface::vtable(this).SupportedFeatures)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } - #[cfg(feature = "deprecated")] pub fn SecurityLevel(&self) -> windows_core::Result { let this = self; unsafe { @@ -1761,7 +1539,6 @@ impl INDTransmitterProperties { (windows_core::Interface::vtable(this).SecurityLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SecurityVersion(&self) -> windows_core::Result { let this = self; unsafe { @@ -1769,7 +1546,6 @@ impl INDTransmitterProperties { (windows_core::Interface::vtable(this).SecurityVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ExpirationDate(&self) -> windows_core::Result { let this = self; unsafe { @@ -1777,7 +1553,6 @@ impl INDTransmitterProperties { (windows_core::Interface::vtable(this).ExpirationDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn ClientID(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1785,7 +1560,6 @@ impl INDTransmitterProperties { (windows_core::Interface::vtable(this).ClientID)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } - #[cfg(feature = "deprecated")] pub fn ModelDigest(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1793,7 +1567,6 @@ impl INDTransmitterProperties { (windows_core::Interface::vtable(this).ModelDigest)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } - #[cfg(feature = "deprecated")] pub fn ModelManufacturerName(&self) -> windows_core::Result { let this = self; unsafe { @@ -1801,7 +1574,6 @@ impl INDTransmitterProperties { (windows_core::Interface::vtable(this).ModelManufacturerName)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn ModelName(&self) -> windows_core::Result { let this = self; unsafe { @@ -1809,7 +1581,6 @@ impl INDTransmitterProperties { (windows_core::Interface::vtable(this).ModelName)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn ModelNumber(&self) -> windows_core::Result { let this = self; unsafe { @@ -2003,50 +1774,17 @@ impl INDTransmitterProperties_Vtbl { #[repr(C)] pub struct INDTransmitterProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CertificateType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NDCertificateType) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CertificateType: usize, - #[cfg(feature = "deprecated")] pub PlatformIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NDCertificatePlatformID) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PlatformIdentifier: usize, - #[cfg(feature = "deprecated")] pub SupportedFeatures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut NDCertificateFeature) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SupportedFeatures: usize, - #[cfg(feature = "deprecated")] pub SecurityLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SecurityLevel: usize, - #[cfg(feature = "deprecated")] pub SecurityVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SecurityVersion: usize, - #[cfg(feature = "deprecated")] pub ExpirationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ExpirationDate: usize, - #[cfg(feature = "deprecated")] pub ClientID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ClientID: usize, - #[cfg(feature = "deprecated")] pub ModelDigest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ModelDigest: usize, - #[cfg(feature = "deprecated")] pub ModelManufacturerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ModelManufacturerName: usize, - #[cfg(feature = "deprecated")] pub ModelName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ModelName: usize, - #[cfg(feature = "deprecated")] pub ModelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ModelNumber: usize, } windows_core::imp::define_interface!(IPlayReadyContentHeader, IPlayReadyContentHeader_Vtbl, 0x9a438a6a_7f4c_452e_88bd_0148c6387a2c); impl windows_core::RuntimeType for IPlayReadyContentHeader { @@ -3488,7 +3226,6 @@ pub struct NDClient(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(NDClient, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl NDClient { - #[cfg(feature = "deprecated")] pub fn RegistrationCompleted(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -3499,12 +3236,10 @@ impl NDClient { (windows_core::Interface::vtable(this).RegistrationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveRegistrationCompleted(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveRegistrationCompleted)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "deprecated")] pub fn ProximityDetectionCompleted(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -3515,12 +3250,10 @@ impl NDClient { (windows_core::Interface::vtable(this).ProximityDetectionCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveProximityDetectionCompleted(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveProximityDetectionCompleted)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "deprecated")] pub fn LicenseFetchCompleted(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -3531,12 +3264,10 @@ impl NDClient { (windows_core::Interface::vtable(this).LicenseFetchCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveLicenseFetchCompleted(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveLicenseFetchCompleted)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "deprecated")] pub fn ReRegistrationNeeded(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -3547,12 +3278,10 @@ impl NDClient { (windows_core::Interface::vtable(this).ReRegistrationNeeded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveReRegistrationNeeded(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveReRegistrationNeeded)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "deprecated")] pub fn ClosedCaptionDataReceived(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -3563,12 +3292,10 @@ impl NDClient { (windows_core::Interface::vtable(this).ClosedCaptionDataReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveClosedCaptionDataReceived(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveClosedCaptionDataReceived)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "deprecated")] pub fn StartAsync(&self, contenturl: P0, startasyncoptions: u32, registrationcustomdata: P2, licensefetchdescriptor: P3) -> windows_core::Result> where P0: windows_core::Param, @@ -3581,7 +3308,6 @@ impl NDClient { (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), contenturl.param().abi(), startasyncoptions, registrationcustomdata.param().abi(), licensefetchdescriptor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn LicenseFetchAsync(&self, licensefetchdescriptor: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -3592,7 +3318,6 @@ impl NDClient { (windows_core::Interface::vtable(this).LicenseFetchAsync)(windows_core::Interface::as_raw(this), licensefetchdescriptor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ReRegistrationAsync(&self, registrationcustomdata: P0) -> windows_core::Result where P0: windows_core::Param, @@ -3603,12 +3328,10 @@ impl NDClient { (windows_core::Interface::vtable(this).ReRegistrationAsync)(windows_core::Interface::as_raw(this), registrationcustomdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn Close(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn CreateInstance(downloadengine: P0, streamparser: P1, pmessenger: P2) -> windows_core::Result where P0: windows_core::Param, @@ -3674,7 +3397,6 @@ pub struct NDCustomData(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(NDCustomData, windows_core::IUnknown, windows_core::IInspectable, INDCustomData); #[cfg(feature = "deprecated")] impl NDCustomData { - #[cfg(feature = "deprecated")] pub fn CustomDataTypeID(&self) -> windows_core::Result> { let this = self; unsafe { @@ -3682,7 +3404,6 @@ impl NDCustomData { (windows_core::Interface::vtable(this).CustomDataTypeID)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } - #[cfg(feature = "deprecated")] pub fn CustomData(&self) -> windows_core::Result> { let this = self; unsafe { @@ -3690,7 +3411,6 @@ impl NDCustomData { (windows_core::Interface::vtable(this).CustomData)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } - #[cfg(feature = "deprecated")] pub fn CreateInstance(customdatatypeidbytes: &[u8], customdatabytes: &[u8]) -> windows_core::Result { Self::INDCustomDataFactory(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -3730,17 +3450,14 @@ impl NDDownloadEngineNotifier { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(feature = "deprecated")] pub fn OnStreamOpened(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).OnStreamOpened)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn OnPlayReadyObjectReceived(&self, databytes: &[u8]) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).OnPlayReadyObjectReceived)(windows_core::Interface::as_raw(this), databytes.len().try_into().unwrap(), databytes.as_ptr()).ok() } } - #[cfg(feature = "deprecated")] pub fn OnContentIDReceived(&self, licensefetchdescriptor: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -3748,17 +3465,14 @@ impl NDDownloadEngineNotifier { let this = self; unsafe { (windows_core::Interface::vtable(this).OnContentIDReceived)(windows_core::Interface::as_raw(this), licensefetchdescriptor.param().abi()).ok() } } - #[cfg(feature = "deprecated")] pub fn OnDataReceived(&self, databytes: &[u8], bytesreceived: u32) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).OnDataReceived)(windows_core::Interface::as_raw(this), databytes.len().try_into().unwrap(), databytes.as_ptr(), bytesreceived).ok() } } - #[cfg(feature = "deprecated")] pub fn OnEndOfStream(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).OnEndOfStream)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn OnNetworkError(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).OnNetworkError)(windows_core::Interface::as_raw(this)).ok() } @@ -3785,7 +3499,6 @@ pub struct NDLicenseFetchDescriptor(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(NDLicenseFetchDescriptor, windows_core::IUnknown, windows_core::IInspectable, INDLicenseFetchDescriptor); #[cfg(feature = "deprecated")] impl NDLicenseFetchDescriptor { - #[cfg(feature = "deprecated")] pub fn ContentIDType(&self) -> windows_core::Result { let this = self; unsafe { @@ -3793,7 +3506,6 @@ impl NDLicenseFetchDescriptor { (windows_core::Interface::vtable(this).ContentIDType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ContentID(&self) -> windows_core::Result> { let this = self; unsafe { @@ -3801,7 +3513,6 @@ impl NDLicenseFetchDescriptor { (windows_core::Interface::vtable(this).ContentID)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } - #[cfg(feature = "deprecated")] pub fn LicenseFetchChallengeCustomData(&self) -> windows_core::Result { let this = self; unsafe { @@ -3809,7 +3520,6 @@ impl NDLicenseFetchDescriptor { (windows_core::Interface::vtable(this).LicenseFetchChallengeCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetLicenseFetchChallengeCustomData(&self, licensefetchchallengecustomdata: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -3817,7 +3527,6 @@ impl NDLicenseFetchDescriptor { let this = self; unsafe { (windows_core::Interface::vtable(this).SetLicenseFetchChallengeCustomData)(windows_core::Interface::as_raw(this), licensefetchchallengecustomdata.param().abi()).ok() } } - #[cfg(feature = "deprecated")] pub fn CreateInstance(contentidtype: NDContentIDType, contentidbytes: &[u8], licensefetchchallengecustomdata: P2) -> windows_core::Result where P2: windows_core::Param, @@ -3900,7 +3609,7 @@ impl NDStorageFileHelper { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn GetFileURLs(&self, file: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -3940,7 +3649,6 @@ impl NDStreamParserNotifier { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(feature = "deprecated")] pub fn OnContentIDReceived(&self, licensefetchdescriptor: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -3948,7 +3656,7 @@ impl NDStreamParserNotifier { let this = self; unsafe { (windows_core::Interface::vtable(this).OnContentIDReceived)(windows_core::Interface::as_raw(this), licensefetchdescriptor.param().abi()).ok() } } - #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] pub fn OnMediaStreamDescriptorCreated(&self, audiostreamdescriptors: P0, videostreamdescriptors: P1) -> windows_core::Result<()> where P0: windows_core::Param>, @@ -3957,7 +3665,7 @@ impl NDStreamParserNotifier { let this = self; unsafe { (windows_core::Interface::vtable(this).OnMediaStreamDescriptorCreated)(windows_core::Interface::as_raw(this), audiostreamdescriptors.param().abi(), videostreamdescriptors.param().abi()).ok() } } - #[cfg(all(feature = "Media_Core", feature = "deprecated"))] + #[cfg(feature = "Media_Core")] pub fn OnSampleParsed(&self, streamid: u32, streamtype: NDMediaStreamType, streamsample: P2, pts: i64, ccformat: NDClosedCaptionFormat, ccdatabytes: &[u8]) -> windows_core::Result<()> where P2: windows_core::Param, @@ -3965,7 +3673,7 @@ impl NDStreamParserNotifier { let this = self; unsafe { (windows_core::Interface::vtable(this).OnSampleParsed)(windows_core::Interface::as_raw(this), streamid, streamtype, streamsample.param().abi(), pts, ccformat, ccdatabytes.len().try_into().unwrap(), ccdatabytes.as_ptr()).ok() } } - #[cfg(all(feature = "Media_Core", feature = "deprecated"))] + #[cfg(feature = "Media_Core")] pub fn OnBeginSetupDecryptor(&self, descriptor: P0, keyid: windows_core::GUID, probytes: &[u8]) -> windows_core::Result<()> where P0: windows_core::Param, @@ -3995,7 +3703,6 @@ pub struct NDTCPMessenger(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(NDTCPMessenger, windows_core::IUnknown, windows_core::IInspectable, INDMessenger); #[cfg(feature = "deprecated")] impl NDTCPMessenger { - #[cfg(feature = "deprecated")] pub fn SendRegistrationRequestAsync(&self, sessionidbytes: &[u8], challengedatabytes: &[u8]) -> windows_core::Result> { let this = self; unsafe { @@ -4003,7 +3710,6 @@ impl NDTCPMessenger { (windows_core::Interface::vtable(this).SendRegistrationRequestAsync)(windows_core::Interface::as_raw(this), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), challengedatabytes.len().try_into().unwrap(), challengedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SendProximityDetectionStartAsync(&self, pdtype: NDProximityDetectionType, transmitterchannelbytes: &[u8], sessionidbytes: &[u8], challengedatabytes: &[u8]) -> windows_core::Result> { let this = self; unsafe { @@ -4011,7 +3717,6 @@ impl NDTCPMessenger { (windows_core::Interface::vtable(this).SendProximityDetectionStartAsync)(windows_core::Interface::as_raw(this), pdtype, transmitterchannelbytes.len().try_into().unwrap(), transmitterchannelbytes.as_ptr(), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), challengedatabytes.len().try_into().unwrap(), challengedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SendProximityDetectionResponseAsync(&self, pdtype: NDProximityDetectionType, transmitterchannelbytes: &[u8], sessionidbytes: &[u8], responsedatabytes: &[u8]) -> windows_core::Result> { let this = self; unsafe { @@ -4019,7 +3724,6 @@ impl NDTCPMessenger { (windows_core::Interface::vtable(this).SendProximityDetectionResponseAsync)(windows_core::Interface::as_raw(this), pdtype, transmitterchannelbytes.len().try_into().unwrap(), transmitterchannelbytes.as_ptr(), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), responsedatabytes.len().try_into().unwrap(), responsedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn SendLicenseFetchRequestAsync(&self, sessionidbytes: &[u8], challengedatabytes: &[u8]) -> windows_core::Result> { let this = self; unsafe { @@ -4027,7 +3731,6 @@ impl NDTCPMessenger { (windows_core::Interface::vtable(this).SendLicenseFetchRequestAsync)(windows_core::Interface::as_raw(this), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), challengedatabytes.len().try_into().unwrap(), challengedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn CreateInstance(remotehostname: &windows_core::HSTRING, remotehostport: u32) -> windows_core::Result { Self::INDTCPMessengerFactory(|this| unsafe { let mut result__ = core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs index cd6b453088..392989eb2a 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs @@ -160,7 +160,6 @@ impl SpeechSynthesisStream { (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn ReadAsync(&self, buffer: P0, count: u32, options: super::super::Storage::Streams::InputStreamOptions) -> windows_core::Result> where P0: windows_core::Param, @@ -171,7 +170,6 @@ impl SpeechSynthesisStream { (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn WriteAsync(&self, buffer: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -254,7 +252,7 @@ impl SpeechSynthesisStream { (windows_core::Interface::vtable(this).Markers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] + #[cfg(feature = "Foundation_Collections")] pub fn TimedMetadataTracks(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Media/mod.rs b/crates/libs/windows/src/Windows/Media/mod.rs index a9ee3585cc..178de496ac 100644 --- a/crates/libs/windows/src/Windows/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Media/mod.rs @@ -327,138 +327,39 @@ impl windows_core::RuntimeType for IMediaControl { #[repr(C)] pub struct IMediaControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub SoundLevelChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SoundLevelChanged: usize, - #[cfg(feature = "deprecated")] pub RemoveSoundLevelChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveSoundLevelChanged: usize, - #[cfg(feature = "deprecated")] pub PlayPressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PlayPressed: usize, - #[cfg(feature = "deprecated")] pub RemovePlayPressed: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemovePlayPressed: usize, - #[cfg(feature = "deprecated")] pub PausePressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PausePressed: usize, - #[cfg(feature = "deprecated")] pub RemovePausePressed: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemovePausePressed: usize, - #[cfg(feature = "deprecated")] pub StopPressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - StopPressed: usize, - #[cfg(feature = "deprecated")] pub RemoveStopPressed: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveStopPressed: usize, - #[cfg(feature = "deprecated")] pub PlayPauseTogglePressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PlayPauseTogglePressed: usize, - #[cfg(feature = "deprecated")] pub RemovePlayPauseTogglePressed: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemovePlayPauseTogglePressed: usize, - #[cfg(feature = "deprecated")] pub RecordPressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RecordPressed: usize, - #[cfg(feature = "deprecated")] pub RemoveRecordPressed: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveRecordPressed: usize, - #[cfg(feature = "deprecated")] pub NextTrackPressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - NextTrackPressed: usize, - #[cfg(feature = "deprecated")] pub RemoveNextTrackPressed: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveNextTrackPressed: usize, - #[cfg(feature = "deprecated")] pub PreviousTrackPressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PreviousTrackPressed: usize, - #[cfg(feature = "deprecated")] pub RemovePreviousTrackPressed: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemovePreviousTrackPressed: usize, - #[cfg(feature = "deprecated")] pub FastForwardPressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - FastForwardPressed: usize, - #[cfg(feature = "deprecated")] pub RemoveFastForwardPressed: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveFastForwardPressed: usize, - #[cfg(feature = "deprecated")] pub RewindPressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RewindPressed: usize, - #[cfg(feature = "deprecated")] pub RemoveRewindPressed: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveRewindPressed: usize, - #[cfg(feature = "deprecated")] pub ChannelUpPressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ChannelUpPressed: usize, - #[cfg(feature = "deprecated")] pub RemoveChannelUpPressed: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveChannelUpPressed: usize, - #[cfg(feature = "deprecated")] pub ChannelDownPressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ChannelDownPressed: usize, - #[cfg(feature = "deprecated")] pub RemoveChannelDownPressed: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveChannelDownPressed: usize, - #[cfg(feature = "deprecated")] pub SoundLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SoundLevel) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SoundLevel: usize, - #[cfg(feature = "deprecated")] pub SetTrackName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetTrackName: usize, - #[cfg(feature = "deprecated")] pub TrackName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TrackName: usize, - #[cfg(feature = "deprecated")] pub SetArtistName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetArtistName: usize, - #[cfg(feature = "deprecated")] pub ArtistName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ArtistName: usize, - #[cfg(feature = "deprecated")] pub SetIsPlaying: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetIsPlaying: usize, - #[cfg(feature = "deprecated")] pub IsPlaying: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IsPlaying: usize, - #[cfg(feature = "deprecated")] pub SetAlbumArt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetAlbumArt: usize, - #[cfg(feature = "deprecated")] pub AlbumArt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AlbumArt: usize, } windows_core::imp::define_interface!(IMediaExtension, IMediaExtension_Vtbl, 0x07915118_45df_442b_8a3f_f7826a6370ab); impl windows_core::RuntimeType for IMediaExtension { @@ -1375,7 +1276,6 @@ unsafe impl Sync for ImageDisplayProperties {} pub struct MediaControl; #[cfg(feature = "deprecated")] impl MediaControl { - #[cfg(feature = "deprecated")] pub fn SoundLevelChanged(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -1385,11 +1285,9 @@ impl MediaControl { (windows_core::Interface::vtable(this).SoundLevelChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveSoundLevelChanged(cookie: i64) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).RemoveSoundLevelChanged)(windows_core::Interface::as_raw(this), cookie).ok() }) } - #[cfg(feature = "deprecated")] pub fn PlayPressed(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -1399,11 +1297,9 @@ impl MediaControl { (windows_core::Interface::vtable(this).PlayPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemovePlayPressed(cookie: i64) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).RemovePlayPressed)(windows_core::Interface::as_raw(this), cookie).ok() }) } - #[cfg(feature = "deprecated")] pub fn PausePressed(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -1413,11 +1309,9 @@ impl MediaControl { (windows_core::Interface::vtable(this).PausePressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemovePausePressed(cookie: i64) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).RemovePausePressed)(windows_core::Interface::as_raw(this), cookie).ok() }) } - #[cfg(feature = "deprecated")] pub fn StopPressed(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -1427,11 +1321,9 @@ impl MediaControl { (windows_core::Interface::vtable(this).StopPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveStopPressed(cookie: i64) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).RemoveStopPressed)(windows_core::Interface::as_raw(this), cookie).ok() }) } - #[cfg(feature = "deprecated")] pub fn PlayPauseTogglePressed(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -1441,11 +1333,9 @@ impl MediaControl { (windows_core::Interface::vtable(this).PlayPauseTogglePressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemovePlayPauseTogglePressed(cookie: i64) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).RemovePlayPauseTogglePressed)(windows_core::Interface::as_raw(this), cookie).ok() }) } - #[cfg(feature = "deprecated")] pub fn RecordPressed(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -1455,11 +1345,9 @@ impl MediaControl { (windows_core::Interface::vtable(this).RecordPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveRecordPressed(cookie: i64) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).RemoveRecordPressed)(windows_core::Interface::as_raw(this), cookie).ok() }) } - #[cfg(feature = "deprecated")] pub fn NextTrackPressed(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -1469,11 +1357,9 @@ impl MediaControl { (windows_core::Interface::vtable(this).NextTrackPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveNextTrackPressed(cookie: i64) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).RemoveNextTrackPressed)(windows_core::Interface::as_raw(this), cookie).ok() }) } - #[cfg(feature = "deprecated")] pub fn PreviousTrackPressed(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -1483,11 +1369,9 @@ impl MediaControl { (windows_core::Interface::vtable(this).PreviousTrackPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemovePreviousTrackPressed(cookie: i64) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).RemovePreviousTrackPressed)(windows_core::Interface::as_raw(this), cookie).ok() }) } - #[cfg(feature = "deprecated")] pub fn FastForwardPressed(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -1497,11 +1381,9 @@ impl MediaControl { (windows_core::Interface::vtable(this).FastForwardPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveFastForwardPressed(cookie: i64) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).RemoveFastForwardPressed)(windows_core::Interface::as_raw(this), cookie).ok() }) } - #[cfg(feature = "deprecated")] pub fn RewindPressed(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -1511,11 +1393,9 @@ impl MediaControl { (windows_core::Interface::vtable(this).RewindPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveRewindPressed(cookie: i64) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).RemoveRewindPressed)(windows_core::Interface::as_raw(this), cookie).ok() }) } - #[cfg(feature = "deprecated")] pub fn ChannelUpPressed(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -1525,11 +1405,9 @@ impl MediaControl { (windows_core::Interface::vtable(this).ChannelUpPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveChannelUpPressed(cookie: i64) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).RemoveChannelUpPressed)(windows_core::Interface::as_raw(this), cookie).ok() }) } - #[cfg(feature = "deprecated")] pub fn ChannelDownPressed(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -1539,58 +1417,48 @@ impl MediaControl { (windows_core::Interface::vtable(this).ChannelDownPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveChannelDownPressed(cookie: i64) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).RemoveChannelDownPressed)(windows_core::Interface::as_raw(this), cookie).ok() }) } - #[cfg(feature = "deprecated")] pub fn SoundLevel() -> windows_core::Result { Self::IMediaControl(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoundLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn SetTrackName(value: &windows_core::HSTRING) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).SetTrackName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() }) } - #[cfg(feature = "deprecated")] pub fn TrackName() -> windows_core::Result { Self::IMediaControl(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackName)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) }) } - #[cfg(feature = "deprecated")] pub fn SetArtistName(value: &windows_core::HSTRING) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).SetArtistName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() }) } - #[cfg(feature = "deprecated")] pub fn ArtistName() -> windows_core::Result { Self::IMediaControl(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ArtistName)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) }) } - #[cfg(feature = "deprecated")] pub fn SetIsPlaying(value: bool) -> windows_core::Result<()> { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).SetIsPlaying)(windows_core::Interface::as_raw(this), value).ok() }) } - #[cfg(feature = "deprecated")] pub fn IsPlaying() -> windows_core::Result { Self::IMediaControl(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPlaying)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn SetAlbumArt(value: P0) -> windows_core::Result<()> where P0: windows_core::Param, { Self::IMediaControl(|this| unsafe { (windows_core::Interface::vtable(this).SetAlbumArt)(windows_core::Interface::as_raw(this), value.param().abi()).ok() }) } - #[cfg(feature = "deprecated")] pub fn AlbumArt() -> windows_core::Result { Self::IMediaControl(|this| unsafe { let mut result__ = 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 1656c2cf8b..99ef8f214b 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs @@ -165,7 +165,7 @@ impl BackgroundDownloader { (windows_core::Interface::vtable(this).GetCurrentDownloadsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn GetCurrentDownloadsForGroupAsync(group: &windows_core::HSTRING) -> windows_core::Result>> { Self::IBackgroundDownloaderStaticMethods(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -182,7 +182,7 @@ impl BackgroundDownloader { (windows_core::Interface::vtable(this).GetCurrentDownloadsForTransferGroupAsync)(windows_core::Interface::as_raw(this), group.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn RequestUnconstrainedDownloadsAsync(operations: P0) -> windows_core::Result> where P0: windows_core::Param>, @@ -239,6 +239,7 @@ impl BackgroundDownloader { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetMethod)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } + #[cfg(feature = "deprecated")] pub fn Group(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -246,6 +247,7 @@ impl BackgroundDownloader { (windows_core::Interface::vtable(this).Group)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn SetGroup(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetGroup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } @@ -273,6 +275,7 @@ impl BackgroundDownloader { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } + #[cfg(feature = "deprecated")] fn IBackgroundDownloaderUserConsent windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) @@ -680,6 +683,7 @@ impl BackgroundUploader { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetMethod)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } + #[cfg(feature = "deprecated")] pub fn Group(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -687,6 +691,7 @@ impl BackgroundUploader { (windows_core::Interface::vtable(this).Group)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn SetGroup(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetGroup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } @@ -863,7 +868,7 @@ impl BackgroundUploader { (windows_core::Interface::vtable(this).GetCurrentUploadsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn GetCurrentUploadsForGroupAsync(group: &windows_core::HSTRING) -> windows_core::Result>> { Self::IBackgroundUploaderStaticMethods(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -880,7 +885,7 @@ impl BackgroundUploader { (windows_core::Interface::vtable(this).GetCurrentUploadsForTransferGroupAsync)(windows_core::Interface::as_raw(this), group.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn RequestUnconstrainedUploadsAsync(operations: P0) -> windows_core::Result> where P0: windows_core::Param>, @@ -902,6 +907,7 @@ impl BackgroundUploader { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } + #[cfg(feature = "deprecated")] fn IBackgroundUploaderUserConsent windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) @@ -985,6 +991,7 @@ impl DownloadOperation { (windows_core::Interface::vtable(this).Method)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn Group(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1253,9 +1260,9 @@ pub struct IBackgroundDownloaderStaticMethods_Vtbl { pub GetCurrentDownloadsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetCurrentDownloadsAsync: usize, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub GetCurrentDownloadsForGroupAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetCurrentDownloadsForGroupAsync: usize, } windows_core::imp::define_interface!(IBackgroundDownloaderStaticMethods2, IBackgroundDownloaderStaticMethods2_Vtbl, 0x2faa1327_1ad4_4ca5_b2cd_08dbf0746afe); @@ -1280,9 +1287,9 @@ impl windows_core::RuntimeType for IBackgroundDownloaderUserConsent { #[repr(C)] pub struct IBackgroundDownloaderUserConsent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub RequestUnconstrainedDownloadsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestUnconstrainedDownloadsAsync: usize, } windows_core::imp::define_interface!(IBackgroundTransferBase, IBackgroundTransferBase_Vtbl, 0x2a9da250_c769_458c_afe8_feb8d4d3b2ef); @@ -1338,6 +1345,7 @@ impl IBackgroundTransferBase { let this = self; unsafe { (windows_core::Interface::vtable(this).SetMethod)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } + #[cfg(feature = "deprecated")] pub fn Group(&self) -> windows_core::Result { let this = self; unsafe { @@ -1345,6 +1353,7 @@ impl IBackgroundTransferBase { (windows_core::Interface::vtable(this).Group)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn SetGroup(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetGroup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } @@ -1523,8 +1532,14 @@ pub struct IBackgroundTransferBase_Vtbl { SetProxyCredential: usize, pub Method: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetMethod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub Group: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + Group: usize, + #[cfg(feature = "deprecated")] pub SetGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetGroup: usize, pub CostPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BackgroundTransferCostPolicy) -> windows_core::HRESULT, pub SetCostPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, BackgroundTransferCostPolicy) -> windows_core::HRESULT, } @@ -1703,6 +1718,7 @@ impl IBackgroundTransferOperation { (windows_core::Interface::vtable(this).Method)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn Group(&self) -> windows_core::Result { let this = self; unsafe { @@ -1872,7 +1888,10 @@ pub struct IBackgroundTransferOperation_Vtbl { pub Guid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub RequestedUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Method: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub Group: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + Group: usize, pub CostPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BackgroundTransferCostPolicy) -> windows_core::HRESULT, pub SetCostPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, BackgroundTransferCostPolicy) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] @@ -2055,9 +2074,9 @@ pub struct IBackgroundUploaderStaticMethods_Vtbl { pub GetCurrentUploadsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetCurrentUploadsAsync: usize, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub GetCurrentUploadsForGroupAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetCurrentUploadsForGroupAsync: usize, } windows_core::imp::define_interface!(IBackgroundUploaderStaticMethods2, IBackgroundUploaderStaticMethods2_Vtbl, 0xe919ac62_ea08_42f0_a2ac_07e467549080); @@ -2082,9 +2101,9 @@ impl windows_core::RuntimeType for IBackgroundUploaderUserConsent { #[repr(C)] pub struct IBackgroundUploaderUserConsent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub RequestUnconstrainedUploadsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] RequestUnconstrainedUploadsAsync: usize, } windows_core::imp::define_interface!(IContentPrefetcher, IContentPrefetcher_Vtbl, 0xa8d6f754_7dc1_4cd9_8810_2a6aa9417e11); @@ -2209,10 +2228,7 @@ impl windows_core::RuntimeType for IUnconstrainedTransferRequestResult { #[repr(C)] pub struct IUnconstrainedTransferRequestResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub IsUnconstrained: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IsUnconstrained: usize, } windows_core::imp::define_interface!(IUploadOperation, IUploadOperation_Vtbl, 0x3e5624e0_7389_434c_8b35_427fd36bbdae); impl windows_core::RuntimeType for IUploadOperation { @@ -2312,7 +2328,6 @@ pub struct UnconstrainedTransferRequestResult(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(UnconstrainedTransferRequestResult, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl UnconstrainedTransferRequestResult { - #[cfg(feature = "deprecated")] pub fn IsUnconstrained(&self) -> windows_core::Result { let this = self; unsafe { @@ -2365,6 +2380,7 @@ impl UploadOperation { (windows_core::Interface::vtable(this).Method)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn Group(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs index eab8dace12..a7366ee72f 100644 --- a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs @@ -270,6 +270,7 @@ impl ConnectionProfile { (windows_core::Interface::vtable(this).NetworkAdapter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn GetLocalUsage(&self, starttime: super::super::Foundation::DateTime, endtime: super::super::Foundation::DateTime) -> windows_core::Result { let this = self; unsafe { @@ -277,6 +278,7 @@ impl ConnectionProfile { (windows_core::Interface::vtable(this).GetLocalUsage)(windows_core::Interface::as_raw(this), starttime, endtime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn GetLocalUsagePerRoamingStates(&self, starttime: super::super::Foundation::DateTime, endtime: super::super::Foundation::DateTime, states: RoamingStates) -> windows_core::Result { let this = self; unsafe { @@ -761,7 +763,6 @@ pub struct DataUsage(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(DataUsage, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl DataUsage { - #[cfg(feature = "deprecated")] pub fn BytesSent(&self) -> windows_core::Result { let this = self; unsafe { @@ -769,7 +770,6 @@ impl DataUsage { (windows_core::Interface::vtable(this).BytesSent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn BytesReceived(&self) -> windows_core::Result { let this = self; unsafe { @@ -921,8 +921,14 @@ pub struct IConnectionProfile_Vtbl { pub GetConnectionCost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDataPlanStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub NetworkAdapter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub GetLocalUsage: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + GetLocalUsage: usize, + #[cfg(feature = "deprecated")] pub GetLocalUsagePerRoamingStates: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, super::super::Foundation::DateTime, RoamingStates, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + GetLocalUsagePerRoamingStates: usize, pub NetworkSecuritySettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConnectionProfile2, IConnectionProfile2_Vtbl, 0xe2045145_4c9f_400c_9150_7ec7d6e2888a); @@ -1101,14 +1107,8 @@ impl windows_core::RuntimeType for IDataUsage { #[repr(C)] pub struct IDataUsage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub BytesSent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - BytesSent: usize, - #[cfg(feature = "deprecated")] pub BytesReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - BytesReceived: usize, } windows_core::imp::define_interface!(IIPInformation, IIPInformation_Vtbl, 0xd85145e0_138f_47d7_9b3a_36bb488cef33); impl windows_core::RuntimeType for IIPInformation { diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs index d7c3b20c66..198cbcc1e6 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs @@ -4159,7 +4159,6 @@ impl WebSocketKeepAlive { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(feature = "ApplicationModel_Background")] pub fn Run(&self, taskinstance: P0) -> windows_core::Result<()> where P0: windows_core::Param, diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs index 6c0269d5d1..fcc77d0b99 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs @@ -3311,7 +3311,6 @@ windows_core::imp::interface_hierarchy!(VpnForegroundActivatedEventArgs, windows windows_core::imp::required_hierarchy!(VpnForegroundActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl VpnForegroundActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3319,7 +3318,6 @@ impl VpnForegroundActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3327,7 +3325,6 @@ impl VpnForegroundActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(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 b7710eb343..68fec4f7a5 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs @@ -120,18 +120,15 @@ impl windows_core::RuntimeType for ISpatialAnchorTransferManagerStatics { #[repr(C)] pub struct ISpatialAnchorTransferManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub TryImportAnchorsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] TryImportAnchorsAsync: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub TryExportAnchorsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] TryExportAnchorsAsync: usize, - #[cfg(feature = "deprecated")] pub RequestAccessAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RequestAccessAsync: usize, } windows_core::imp::define_interface!(ISpatialBoundingVolume, ISpatialBoundingVolume_Vtbl, 0xfb2065da_68c3_33df_b7af_4c787207999c); impl windows_core::RuntimeType for ISpatialBoundingVolume { @@ -297,13 +294,13 @@ pub struct ISpatialLocation_Vtbl { pub AbsoluteLinearAcceleration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Numerics::Vector3) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] AbsoluteLinearAcceleration: usize, - #[cfg(feature = "Foundation_Numerics")] + #[cfg(all(feature = "Foundation_Numerics", feature = "deprecated"))] pub AbsoluteAngularVelocity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Numerics::Quaternion) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Numerics"))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "deprecated")))] AbsoluteAngularVelocity: usize, - #[cfg(feature = "Foundation_Numerics")] + #[cfg(all(feature = "Foundation_Numerics", feature = "deprecated"))] pub AbsoluteAngularAcceleration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Numerics::Quaternion) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Numerics"))] + #[cfg(not(all(feature = "Foundation_Numerics", feature = "deprecated")))] AbsoluteAngularAcceleration: usize, } windows_core::imp::define_interface!(ISpatialLocation2, ISpatialLocation2_Vtbl, 0x117f2416_38a7_4a18_b404_ab8fabe1d78b); @@ -729,7 +726,7 @@ unsafe impl Sync for SpatialAnchorStore {} pub struct SpatialAnchorTransferManager; #[cfg(feature = "deprecated")] impl SpatialAnchorTransferManager { - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn TryImportAnchorsAsync(stream: P0) -> windows_core::Result>> where P0: windows_core::Param, @@ -739,7 +736,7 @@ impl SpatialAnchorTransferManager { (windows_core::Interface::vtable(this).TryImportAnchorsAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn TryExportAnchorsAsync(anchors: P0, stream: P1) -> windows_core::Result> where P0: windows_core::Param>>, @@ -750,7 +747,6 @@ impl SpatialAnchorTransferManager { (windows_core::Interface::vtable(this).TryExportAnchorsAsync)(windows_core::Interface::as_raw(this), anchors.param().abi(), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn RequestAccessAsync() -> windows_core::Result> { Self::ISpatialAnchorTransferManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -1273,7 +1269,7 @@ impl SpatialLocation { (windows_core::Interface::vtable(this).AbsoluteLinearAcceleration)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Foundation_Numerics")] + #[cfg(all(feature = "Foundation_Numerics", feature = "deprecated"))] pub fn AbsoluteAngularVelocity(&self) -> windows_core::Result { let this = self; unsafe { @@ -1281,7 +1277,7 @@ impl SpatialLocation { (windows_core::Interface::vtable(this).AbsoluteAngularVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Foundation_Numerics")] + #[cfg(all(feature = "Foundation_Numerics", feature = "deprecated"))] pub fn AbsoluteAngularAcceleration(&self) -> windows_core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs b/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs index e704be6791..cf3f7661e0 100644 --- a/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs @@ -8,16 +8,12 @@ impl windows_core::RuntimeType for IRetailModeStatics { #[repr(C)] pub struct IRetailModeStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub RetailModeEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RetailModeEnabled: usize, } #[cfg(feature = "deprecated")] pub struct RetailMode; #[cfg(feature = "deprecated")] impl RetailMode { - #[cfg(feature = "deprecated")] pub fn RetailModeEnabled() -> windows_core::Result { Self::IRetailModeStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs index b4d5d883b3..aa97f45824 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs @@ -257,7 +257,10 @@ pub struct IWebAccountProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub IconUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + IconUri: usize, } windows_core::imp::define_interface!(IWebAccountProvider2, IWebAccountProvider2_Vtbl, 0x4a01eb05_4e42_41d4_b518_e008a5163614); impl windows_core::RuntimeType for IWebAccountProvider2 { @@ -675,7 +678,6 @@ impl PasswordCredentialPropertyStore { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -701,7 +703,6 @@ impl PasswordCredentialPropertyStore { let this = &windows_core::Interface::cast::>(self)?; unsafe { (windows_core::Interface::vtable(this).Clear)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn MapChanged(&self, vhnd: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -943,6 +944,7 @@ impl WebAccountProvider { (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn IconUri(&self) -> windows_core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs index 424216ef16..18f12a63e6 100644 --- a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs @@ -383,7 +383,7 @@ impl windows_core::RuntimeType for FileProtectionStatus { pub struct FileRevocationManager; #[cfg(feature = "deprecated")] impl FileRevocationManager { - #[cfg(all(feature = "Storage", feature = "deprecated"))] + #[cfg(feature = "Storage")] pub fn ProtectAsync(storageitem: P0, enterpriseidentity: &windows_core::HSTRING) -> windows_core::Result> where P0: windows_core::Param, @@ -393,7 +393,7 @@ impl FileRevocationManager { (windows_core::Interface::vtable(this).ProtectAsync)(windows_core::Interface::as_raw(this), storageitem.param().abi(), core::mem::transmute_copy(enterpriseidentity), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(all(feature = "Storage", feature = "deprecated"))] + #[cfg(feature = "Storage")] pub fn CopyProtectionAsync(sourcestorageitem: P0, targetstorageitem: P1) -> windows_core::Result> where P0: windows_core::Param, @@ -404,11 +404,10 @@ impl FileRevocationManager { (windows_core::Interface::vtable(this).CopyProtectionAsync)(windows_core::Interface::as_raw(this), sourcestorageitem.param().abi(), targetstorageitem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn Revoke(enterpriseidentity: &windows_core::HSTRING) -> windows_core::Result<()> { Self::IFileRevocationManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).Revoke)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(enterpriseidentity)).ok() }) } - #[cfg(all(feature = "Storage", feature = "deprecated"))] + #[cfg(feature = "Storage")] pub fn GetStatusAsync(storageitem: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -623,21 +622,18 @@ impl windows_core::RuntimeType for IFileRevocationManagerStatics { #[repr(C)] pub struct IFileRevocationManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Storage", feature = "deprecated"))] + #[cfg(feature = "Storage")] pub ProtectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage", feature = "deprecated")))] + #[cfg(not(feature = "Storage"))] ProtectAsync: usize, - #[cfg(all(feature = "Storage", feature = "deprecated"))] + #[cfg(feature = "Storage")] pub CopyProtectionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage", feature = "deprecated")))] + #[cfg(not(feature = "Storage"))] CopyProtectionAsync: usize, - #[cfg(feature = "deprecated")] pub Revoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Revoke: usize, - #[cfg(all(feature = "Storage", feature = "deprecated"))] + #[cfg(feature = "Storage")] pub GetStatusAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage", feature = "deprecated")))] + #[cfg(not(feature = "Storage"))] GetStatusAsync: usize, } windows_core::imp::define_interface!(IFileUnprotectOptions, IFileUnprotectOptions_Vtbl, 0x7d1312f1_3b0d_4dd8_a1f8_1ec53822e2f3); diff --git a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs index aa45265410..62efb92c85 100644 --- a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs @@ -82,50 +82,20 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironment { #[repr(C)] pub struct IIsolatedWindowsEnvironment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Id: usize, - #[cfg(feature = "deprecated")] pub StartProcessSilentlyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, IsolatedWindowsEnvironmentActivator, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - StartProcessSilentlyAsync: usize, - #[cfg(feature = "deprecated")] pub StartProcessSilentlyWithTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, IsolatedWindowsEnvironmentActivator, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - StartProcessSilentlyWithTelemetryAsync: usize, - #[cfg(feature = "deprecated")] pub ShareFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ShareFolderAsync: usize, - #[cfg(feature = "deprecated")] pub ShareFolderWithTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ShareFolderWithTelemetryAsync: usize, - #[cfg(feature = "deprecated")] pub LaunchFileWithUIAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LaunchFileWithUIAsync: usize, - #[cfg(feature = "deprecated")] pub LaunchFileWithUIAndTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LaunchFileWithUIAndTelemetryAsync: usize, - #[cfg(feature = "deprecated")] pub TerminateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TerminateAsync: usize, - #[cfg(feature = "deprecated")] pub TerminateWithTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TerminateWithTelemetryAsync: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub RegisterMessageReceiver: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] RegisterMessageReceiver: usize, - #[cfg(feature = "deprecated")] pub UnregisterMessageReceiver: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - UnregisterMessageReceiver: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironment2, IIsolatedWindowsEnvironment2_Vtbl, 0x2d365f39_88bd_4ab4_93cf_7e2bcef337c0); @@ -137,13 +107,13 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironment2 { #[repr(C)] pub struct IIsolatedWindowsEnvironment2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub PostMessageToReceiverAsync: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] PostMessageToReceiverAsync: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub PostMessageToReceiverWithTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] PostMessageToReceiverWithTelemetryAsync: usize, } #[cfg(feature = "deprecated")] @@ -156,18 +126,9 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironment3 { #[repr(C)] pub struct IIsolatedWindowsEnvironment3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub GetUserInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetUserInfo: usize, - #[cfg(feature = "deprecated")] pub ShareFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ShareFileAsync: usize, - #[cfg(feature = "deprecated")] pub ShareFileWithTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ShareFileWithTelemetryAsync: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironment4, IIsolatedWindowsEnvironment4_Vtbl, 0x11e3701a_dd9e_4f1b_812c_4020f307f93c); @@ -179,10 +140,7 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironment4 { #[repr(C)] pub struct IIsolatedWindowsEnvironment4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub ChangePriority: unsafe extern "system" fn(*mut core::ffi::c_void, IsolatedWindowsEnvironmentCreationPriority) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ChangePriority: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentCreateResult, IIsolatedWindowsEnvironmentCreateResult_Vtbl, 0xef9a5e58_dcd7_45c2_9c85_ab642a715e8e); @@ -194,18 +152,9 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentCreateResult { #[repr(C)] pub struct IIsolatedWindowsEnvironmentCreateResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentCreateStatus) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Status: usize, - #[cfg(feature = "deprecated")] pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ExtendedError: usize, - #[cfg(feature = "deprecated")] pub Environment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Environment: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentCreateResult2, IIsolatedWindowsEnvironmentCreateResult2_Vtbl, 0xa547dbc7_61d4_4fb8_ab5c_edefa3d388ad); @@ -217,10 +166,7 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentCreateResult2 { #[repr(C)] pub struct IIsolatedWindowsEnvironmentCreateResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub ChangeCreationPriority: unsafe extern "system" fn(*mut core::ffi::c_void, IsolatedWindowsEnvironmentCreationPriority) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ChangeCreationPriority: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentFactory, IIsolatedWindowsEnvironmentFactory_Vtbl, 0x1aca93e7_e804_454d_8466_f9897c20b0f6); @@ -232,21 +178,12 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentFactory { #[repr(C)] pub struct IIsolatedWindowsEnvironmentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CreateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CreateAsync: usize, - #[cfg(feature = "deprecated")] pub CreateWithTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CreateWithTelemetryAsync: usize, - #[cfg(feature = "deprecated")] pub GetById: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetById: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub FindByOwnerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] FindByOwnerId: usize, } #[cfg(feature = "deprecated")] @@ -259,18 +196,9 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentFile { #[repr(C)] pub struct IIsolatedWindowsEnvironmentFile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Id: usize, - #[cfg(feature = "deprecated")] pub HostPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - HostPath: usize, - #[cfg(feature = "deprecated")] pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Close: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentFile2, IIsolatedWindowsEnvironmentFile2_Vtbl, 0x4eeb8dec_ad5d_4b0a_b754_f36c3d46d684); @@ -282,14 +210,8 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentFile2 { #[repr(C)] pub struct IIsolatedWindowsEnvironmentFile2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub GuestPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GuestPath: usize, - #[cfg(feature = "deprecated")] pub IsReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IsReadOnly: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentHostStatics, IIsolatedWindowsEnvironmentHostStatics_Vtbl, 0x2c0e22c7_05a0_517a_b81c_6ee8790c381f); @@ -301,13 +223,10 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentHostStatics { #[repr(C)] pub struct IIsolatedWindowsEnvironmentHostStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub IsReady: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - IsReady: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub HostErrors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] HostErrors: usize, } #[cfg(feature = "deprecated")] @@ -320,18 +239,9 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentLaunchFileResult { #[repr(C)] pub struct IIsolatedWindowsEnvironmentLaunchFileResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentLaunchFileStatus) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Status: usize, - #[cfg(feature = "deprecated")] pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ExtendedError: usize, - #[cfg(feature = "deprecated")] pub File: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - File: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentOptions, IIsolatedWindowsEnvironmentOptions_Vtbl, 0xb71d98f7_61f0_4008_b207_0bf9eb2d76f2); @@ -343,74 +253,23 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentOptions { #[repr(C)] pub struct IIsolatedWindowsEnvironmentOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub EnvironmentOwnerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - EnvironmentOwnerId: usize, - #[cfg(feature = "deprecated")] pub SetEnvironmentOwnerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetEnvironmentOwnerId: usize, - #[cfg(feature = "deprecated")] pub AllowedClipboardFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentAllowedClipboardFormats) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AllowedClipboardFormats: usize, - #[cfg(feature = "deprecated")] pub SetAllowedClipboardFormats: unsafe extern "system" fn(*mut core::ffi::c_void, IsolatedWindowsEnvironmentAllowedClipboardFormats) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetAllowedClipboardFormats: usize, - #[cfg(feature = "deprecated")] pub ClipboardCopyPasteDirections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentClipboardCopyPasteDirections) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ClipboardCopyPasteDirections: usize, - #[cfg(feature = "deprecated")] pub SetClipboardCopyPasteDirections: unsafe extern "system" fn(*mut core::ffi::c_void, IsolatedWindowsEnvironmentClipboardCopyPasteDirections) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetClipboardCopyPasteDirections: usize, - #[cfg(feature = "deprecated")] pub AvailablePrinters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentAvailablePrinters) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AvailablePrinters: usize, - #[cfg(feature = "deprecated")] pub SetAvailablePrinters: unsafe extern "system" fn(*mut core::ffi::c_void, IsolatedWindowsEnvironmentAvailablePrinters) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetAvailablePrinters: usize, - #[cfg(feature = "deprecated")] pub SharedHostFolderPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SharedHostFolderPath: usize, - #[cfg(feature = "deprecated")] pub SharedFolderNameInEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SharedFolderNameInEnvironment: usize, - #[cfg(feature = "deprecated")] pub ShareHostFolderForUntrustedItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ShareHostFolderForUntrustedItems: usize, - #[cfg(feature = "deprecated")] pub PersistUserProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - PersistUserProfile: usize, - #[cfg(feature = "deprecated")] pub SetPersistUserProfile: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetPersistUserProfile: usize, - #[cfg(feature = "deprecated")] pub AllowGraphicsHardwareAcceleration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AllowGraphicsHardwareAcceleration: usize, - #[cfg(feature = "deprecated")] pub SetAllowGraphicsHardwareAcceleration: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetAllowGraphicsHardwareAcceleration: usize, - #[cfg(feature = "deprecated")] pub AllowCameraAndMicrophoneAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AllowCameraAndMicrophoneAccess: usize, - #[cfg(feature = "deprecated")] pub SetAllowCameraAndMicrophoneAccess: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetAllowCameraAndMicrophoneAccess: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentOptions2, IIsolatedWindowsEnvironmentOptions2_Vtbl, 0x10d7cc31_8b8f_4b9d_b22c_617103b55b08); @@ -422,14 +281,8 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentOptions2 { #[repr(C)] pub struct IIsolatedWindowsEnvironmentOptions2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub WindowAnnotationOverride: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - WindowAnnotationOverride: usize, - #[cfg(feature = "deprecated")] pub SetWindowAnnotationOverride: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetWindowAnnotationOverride: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentOptions3, IIsolatedWindowsEnvironmentOptions3_Vtbl, 0x98d5aa23_161f_4cd9_8a9c_269b30122b0d); @@ -441,30 +294,12 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentOptions3 { #[repr(C)] pub struct IIsolatedWindowsEnvironmentOptions3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub AllowedClipboardFormatsToEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentAllowedClipboardFormats) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AllowedClipboardFormatsToEnvironment: usize, - #[cfg(feature = "deprecated")] pub SetAllowedClipboardFormatsToEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, IsolatedWindowsEnvironmentAllowedClipboardFormats) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetAllowedClipboardFormatsToEnvironment: usize, - #[cfg(feature = "deprecated")] pub AllowedClipboardFormatsToHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentAllowedClipboardFormats) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AllowedClipboardFormatsToHost: usize, - #[cfg(feature = "deprecated")] pub SetAllowedClipboardFormatsToHost: unsafe extern "system" fn(*mut core::ffi::c_void, IsolatedWindowsEnvironmentAllowedClipboardFormats) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetAllowedClipboardFormatsToHost: usize, - #[cfg(feature = "deprecated")] pub CreationPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentCreationPriority) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CreationPriority: usize, - #[cfg(feature = "deprecated")] pub SetCreationPriority: unsafe extern "system" fn(*mut core::ffi::c_void, IsolatedWindowsEnvironmentCreationPriority) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetCreationPriority: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentOwnerRegistrationData, IIsolatedWindowsEnvironmentOwnerRegistrationData_Vtbl, 0xf888ec22_e8cf_56c0_b1df_90af4ad80e84); @@ -476,21 +311,21 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentOwnerRegistrationD #[repr(C)] pub struct IIsolatedWindowsEnvironmentOwnerRegistrationData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub ShareableFolders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] ShareableFolders: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub ProcessesRunnableAsSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] ProcessesRunnableAsSystem: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub ProcessesRunnableAsUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] ProcessesRunnableAsUser: usize, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub ActivationFileExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] ActivationFileExtensions: usize, } #[cfg(feature = "deprecated")] @@ -503,14 +338,8 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentOwnerRegistrationR #[repr(C)] pub struct IIsolatedWindowsEnvironmentOwnerRegistrationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentOwnerRegistrationStatus) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Status: usize, - #[cfg(feature = "deprecated")] pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ExtendedError: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentOwnerRegistrationStatics, IIsolatedWindowsEnvironmentOwnerRegistrationStatics_Vtbl, 0x10951754_204b_5ec9_9de3_df792d074a61); @@ -522,14 +351,8 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentOwnerRegistrationS #[repr(C)] pub struct IIsolatedWindowsEnvironmentOwnerRegistrationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Register: usize, - #[cfg(feature = "deprecated")] pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Unregister: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentPostMessageResult, IIsolatedWindowsEnvironmentPostMessageResult_Vtbl, 0x0dfa28fa_2ef0_4d8f_b341_3171b2df93b1); @@ -541,14 +364,8 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentPostMessageResult #[repr(C)] pub struct IIsolatedWindowsEnvironmentPostMessageResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentPostMessageStatus) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Status: usize, - #[cfg(feature = "deprecated")] pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ExtendedError: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentProcess, IIsolatedWindowsEnvironmentProcess_Vtbl, 0xa858c3ef_8172_4f10_af93_cbe60af88d09); @@ -560,26 +377,11 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentProcess { #[repr(C)] pub struct IIsolatedWindowsEnvironmentProcess_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentProcessState) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - State: usize, - #[cfg(feature = "deprecated")] pub ExitCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ExitCode: usize, - #[cfg(feature = "deprecated")] pub WaitForExit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - WaitForExit: usize, - #[cfg(feature = "deprecated")] pub WaitForExitWithTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - WaitForExitWithTimeout: usize, - #[cfg(feature = "deprecated")] pub WaitForExitAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - WaitForExitAsync: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentShareFileRequestOptions, IIsolatedWindowsEnvironmentShareFileRequestOptions_Vtbl, 0xc9190ed8_0fd0_4946_bb88_117a60737b61); @@ -591,14 +393,8 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentShareFileRequestOp #[repr(C)] pub struct IIsolatedWindowsEnvironmentShareFileRequestOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub AllowWrite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AllowWrite: usize, - #[cfg(feature = "deprecated")] pub SetAllowWrite: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetAllowWrite: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentShareFileResult, IIsolatedWindowsEnvironmentShareFileResult_Vtbl, 0xaec7caa7_9ac6_4bf5_8b91_5c1adf0d7d00); @@ -610,18 +406,9 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentShareFileResult { #[repr(C)] pub struct IIsolatedWindowsEnvironmentShareFileResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentShareFileStatus) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Status: usize, - #[cfg(feature = "deprecated")] pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ExtendedError: usize, - #[cfg(feature = "deprecated")] pub File: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - File: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentShareFolderRequestOptions, IIsolatedWindowsEnvironmentShareFolderRequestOptions_Vtbl, 0xc405eb7d_7053_4f6a_9b87_746846ed19b2); @@ -633,14 +420,8 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentShareFolderRequest #[repr(C)] pub struct IIsolatedWindowsEnvironmentShareFolderRequestOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub AllowWrite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AllowWrite: usize, - #[cfg(feature = "deprecated")] pub SetAllowWrite: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetAllowWrite: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentShareFolderResult, IIsolatedWindowsEnvironmentShareFolderResult_Vtbl, 0x556ba72e_ca9d_4211_b143_1cedc86eb2fe); @@ -652,14 +433,8 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentShareFolderResult #[repr(C)] pub struct IIsolatedWindowsEnvironmentShareFolderResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentShareFolderStatus) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Status: usize, - #[cfg(feature = "deprecated")] pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ExtendedError: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentStartProcessResult, IIsolatedWindowsEnvironmentStartProcessResult_Vtbl, 0x8fa1dc2f_57da_4bb5_9c06_fa072d2032e2); @@ -671,18 +446,9 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentStartProcessResult #[repr(C)] pub struct IIsolatedWindowsEnvironmentStartProcessResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentStartProcessStatus) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Status: usize, - #[cfg(feature = "deprecated")] pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ExtendedError: usize, - #[cfg(feature = "deprecated")] pub Process: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Process: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentTelemetryParameters, IIsolatedWindowsEnvironmentTelemetryParameters_Vtbl, 0xebdb3cab_7a3a_4524_a0f4_f96e284d33cd); @@ -694,14 +460,8 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentTelemetryParameter #[repr(C)] pub struct IIsolatedWindowsEnvironmentTelemetryParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CorrelationId: usize, - #[cfg(feature = "deprecated")] pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - SetCorrelationId: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentUserInfo, IIsolatedWindowsEnvironmentUserInfo_Vtbl, 0x8a9c75ae_69ba_4001_96fc_19a02703b340); @@ -713,18 +473,9 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentUserInfo { #[repr(C)] pub struct IIsolatedWindowsEnvironmentUserInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub EnvironmentUserSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - EnvironmentUserSid: usize, - #[cfg(feature = "deprecated")] pub EnvironmentUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - EnvironmentUserName: usize, - #[cfg(feature = "deprecated")] pub TryWaitForSignInAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TryWaitForSignInAsync: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentUserInfo2, IIsolatedWindowsEnvironmentUserInfo2_Vtbl, 0xb0bdd5dd_91d7_481e_94f2_2a5a6bdf9383); @@ -736,10 +487,7 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentUserInfo2 { #[repr(C)] pub struct IIsolatedWindowsEnvironmentUserInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub TryWaitForSignInWithProgressAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TryWaitForSignInWithProgressAsync: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsHostMessengerStatics, IIsolatedWindowsHostMessengerStatics_Vtbl, 0x06e444bb_53c0_4889_8fa3_53592e37cf21); @@ -751,14 +499,11 @@ impl windows_core::RuntimeType for IIsolatedWindowsHostMessengerStatics { #[repr(C)] pub struct IIsolatedWindowsHostMessengerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub PostMessageToReceiver: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] PostMessageToReceiver: usize, - #[cfg(feature = "deprecated")] pub GetFileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetFileId: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IIsolatedWindowsHostMessengerStatics2, IIsolatedWindowsHostMessengerStatics2_Vtbl, 0x55ef9ebc_0444_42ad_832d_1b89c089d1ca); @@ -770,14 +515,11 @@ impl windows_core::RuntimeType for IIsolatedWindowsHostMessengerStatics2 { #[repr(C)] pub struct IIsolatedWindowsHostMessengerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub RegisterHostMessageReceiver: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] + #[cfg(not(feature = "Foundation_Collections"))] RegisterHostMessageReceiver: usize, - #[cfg(feature = "deprecated")] pub UnregisterHostMessageReceiver: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - UnregisterHostMessageReceiver: usize, } #[cfg(feature = "deprecated")] #[repr(transparent)] @@ -787,7 +529,6 @@ pub struct IsolatedWindowsEnvironment(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(IsolatedWindowsEnvironment, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl IsolatedWindowsEnvironment { - #[cfg(feature = "deprecated")] pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { @@ -795,7 +536,6 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn StartProcessSilentlyAsync(&self, hostexepath: &windows_core::HSTRING, arguments: &windows_core::HSTRING, activator: IsolatedWindowsEnvironmentActivator) -> windows_core::Result> { let this = self; unsafe { @@ -803,7 +543,6 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).StartProcessSilentlyAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(hostexepath), core::mem::transmute_copy(arguments), activator, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn StartProcessSilentlyWithTelemetryAsync(&self, hostexepath: &windows_core::HSTRING, arguments: &windows_core::HSTRING, activator: IsolatedWindowsEnvironmentActivator, telemetryparameters: P3) -> windows_core::Result> where P3: windows_core::Param, @@ -814,7 +553,6 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).StartProcessSilentlyWithTelemetryAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(hostexepath), core::mem::transmute_copy(arguments), activator, telemetryparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ShareFolderAsync(&self, hostfolder: &windows_core::HSTRING, requestoptions: P1) -> windows_core::Result> where P1: windows_core::Param, @@ -825,7 +563,6 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).ShareFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(hostfolder), requestoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ShareFolderWithTelemetryAsync(&self, hostfolder: &windows_core::HSTRING, requestoptions: P1, telemetryparameters: P2) -> windows_core::Result> where P1: windows_core::Param, @@ -837,7 +574,6 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).ShareFolderWithTelemetryAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(hostfolder), requestoptions.param().abi(), telemetryparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn LaunchFileWithUIAsync(&self, appexepath: &windows_core::HSTRING, argumentstemplate: &windows_core::HSTRING, filepath: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { @@ -845,7 +581,6 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).LaunchFileWithUIAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appexepath), core::mem::transmute_copy(argumentstemplate), core::mem::transmute_copy(filepath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn LaunchFileWithUIAndTelemetryAsync(&self, appexepath: &windows_core::HSTRING, argumentstemplate: &windows_core::HSTRING, filepath: &windows_core::HSTRING, telemetryparameters: P3) -> windows_core::Result> where P3: windows_core::Param, @@ -856,7 +591,6 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).LaunchFileWithUIAndTelemetryAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appexepath), core::mem::transmute_copy(argumentstemplate), core::mem::transmute_copy(filepath), telemetryparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn TerminateAsync(&self) -> windows_core::Result { let this = self; unsafe { @@ -864,7 +598,6 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).TerminateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn TerminateWithTelemetryAsync(&self, telemetryparameters: P0) -> windows_core::Result where P0: windows_core::Param, @@ -875,7 +608,7 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).TerminateWithTelemetryAsync)(windows_core::Interface::as_raw(this), telemetryparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn RegisterMessageReceiver(&self, receiverid: windows_core::GUID, messagereceivedcallback: P1) -> windows_core::Result<()> where P1: windows_core::Param, @@ -883,12 +616,11 @@ impl IsolatedWindowsEnvironment { let this = self; unsafe { (windows_core::Interface::vtable(this).RegisterMessageReceiver)(windows_core::Interface::as_raw(this), receiverid, messagereceivedcallback.param().abi()).ok() } } - #[cfg(feature = "deprecated")] pub fn UnregisterMessageReceiver(&self, receiverid: windows_core::GUID) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).UnregisterMessageReceiver)(windows_core::Interface::as_raw(this), receiverid).ok() } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn PostMessageToReceiverAsync(&self, receiverid: windows_core::GUID, message: P1) -> windows_core::Result> where P1: windows_core::Param>, @@ -899,7 +631,7 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).PostMessageToReceiverAsync)(windows_core::Interface::as_raw(this), receiverid, message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn PostMessageToReceiverWithTelemetryAsync(&self, receiverid: windows_core::GUID, message: P1, telemetryparameters: P2) -> windows_core::Result> where P1: windows_core::Param>, @@ -911,7 +643,6 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).PostMessageToReceiverWithTelemetryAsync)(windows_core::Interface::as_raw(this), receiverid, message.param().abi(), telemetryparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn GetUserInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -919,7 +650,6 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).GetUserInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ShareFileAsync(&self, filepath: &windows_core::HSTRING, options: P1) -> windows_core::Result> where P1: windows_core::Param, @@ -930,7 +660,6 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).ShareFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filepath), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ShareFileWithTelemetryAsync(&self, filepath: &windows_core::HSTRING, options: P1, telemetryparameters: P2) -> windows_core::Result> where P1: windows_core::Param, @@ -942,12 +671,10 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).ShareFileWithTelemetryAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filepath), options.param().abi(), telemetryparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ChangePriority(&self, priority: IsolatedWindowsEnvironmentCreationPriority) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).ChangePriority)(windows_core::Interface::as_raw(this), priority).ok() } } - #[cfg(feature = "deprecated")] pub fn CreateAsync(options: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -957,7 +684,6 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn CreateWithTelemetryAsync(options: P0, telemetryparameters: P1) -> windows_core::Result> where P0: windows_core::Param, @@ -968,14 +694,13 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).CreateWithTelemetryAsync)(windows_core::Interface::as_raw(this), options.param().abi(), telemetryparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn GetById(environmentid: &windows_core::HSTRING) -> windows_core::Result { Self::IIsolatedWindowsEnvironmentFactory(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetById)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(environmentid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn FindByOwnerId(environmentownerid: &windows_core::HSTRING) -> windows_core::Result> { Self::IIsolatedWindowsEnvironmentFactory(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -1181,7 +906,6 @@ pub struct IsolatedWindowsEnvironmentCreateResult(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(IsolatedWindowsEnvironmentCreateResult, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl IsolatedWindowsEnvironmentCreateResult { - #[cfg(feature = "deprecated")] pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { @@ -1189,7 +913,6 @@ impl IsolatedWindowsEnvironmentCreateResult { (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { @@ -1197,7 +920,6 @@ impl IsolatedWindowsEnvironmentCreateResult { (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn Environment(&self) -> windows_core::Result { let this = self; unsafe { @@ -1205,7 +927,6 @@ impl IsolatedWindowsEnvironmentCreateResult { (windows_core::Interface::vtable(this).Environment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ChangeCreationPriority(&self, priority: IsolatedWindowsEnvironmentCreationPriority) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).ChangeCreationPriority)(windows_core::Interface::as_raw(this), priority).ok() } @@ -1263,7 +984,6 @@ pub struct IsolatedWindowsEnvironmentFile(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(IsolatedWindowsEnvironmentFile, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl IsolatedWindowsEnvironmentFile { - #[cfg(feature = "deprecated")] pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { @@ -1271,7 +991,6 @@ impl IsolatedWindowsEnvironmentFile { (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn HostPath(&self) -> windows_core::Result { let this = self; unsafe { @@ -1279,12 +998,10 @@ impl IsolatedWindowsEnvironmentFile { (windows_core::Interface::vtable(this).HostPath)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn Close(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn GuestPath(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1292,7 +1009,6 @@ impl IsolatedWindowsEnvironmentFile { (windows_core::Interface::vtable(this).GuestPath)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn IsReadOnly(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1322,14 +1038,13 @@ unsafe impl Sync for IsolatedWindowsEnvironmentFile {} pub struct IsolatedWindowsEnvironmentHost; #[cfg(feature = "deprecated")] impl IsolatedWindowsEnvironmentHost { - #[cfg(feature = "deprecated")] pub fn IsReady() -> windows_core::Result { Self::IIsolatedWindowsEnvironmentHostStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReady)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn HostErrors() -> windows_core::Result> { Self::IIsolatedWindowsEnvironmentHostStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -1369,7 +1084,6 @@ pub struct IsolatedWindowsEnvironmentLaunchFileResult(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(IsolatedWindowsEnvironmentLaunchFileResult, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl IsolatedWindowsEnvironmentLaunchFileResult { - #[cfg(feature = "deprecated")] pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { @@ -1377,7 +1091,6 @@ impl IsolatedWindowsEnvironmentLaunchFileResult { (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { @@ -1385,7 +1098,6 @@ impl IsolatedWindowsEnvironmentLaunchFileResult { (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn File(&self) -> windows_core::Result { let this = self; unsafe { @@ -1443,7 +1155,6 @@ impl IsolatedWindowsEnvironmentOptions { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(feature = "deprecated")] pub fn EnvironmentOwnerId(&self) -> windows_core::Result { let this = self; unsafe { @@ -1451,12 +1162,10 @@ impl IsolatedWindowsEnvironmentOptions { (windows_core::Interface::vtable(this).EnvironmentOwnerId)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetEnvironmentOwnerId(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetEnvironmentOwnerId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn AllowedClipboardFormats(&self) -> windows_core::Result { let this = self; unsafe { @@ -1464,12 +1173,10 @@ impl IsolatedWindowsEnvironmentOptions { (windows_core::Interface::vtable(this).AllowedClipboardFormats)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetAllowedClipboardFormats(&self, value: IsolatedWindowsEnvironmentAllowedClipboardFormats) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetAllowedClipboardFormats)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn ClipboardCopyPasteDirections(&self) -> windows_core::Result { let this = self; unsafe { @@ -1477,12 +1184,10 @@ impl IsolatedWindowsEnvironmentOptions { (windows_core::Interface::vtable(this).ClipboardCopyPasteDirections)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetClipboardCopyPasteDirections(&self, value: IsolatedWindowsEnvironmentClipboardCopyPasteDirections) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetClipboardCopyPasteDirections)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn AvailablePrinters(&self) -> windows_core::Result { let this = self; unsafe { @@ -1490,12 +1195,10 @@ impl IsolatedWindowsEnvironmentOptions { (windows_core::Interface::vtable(this).AvailablePrinters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetAvailablePrinters(&self, value: IsolatedWindowsEnvironmentAvailablePrinters) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetAvailablePrinters)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn SharedHostFolderPath(&self) -> windows_core::Result { let this = self; unsafe { @@ -1503,7 +1206,6 @@ impl IsolatedWindowsEnvironmentOptions { (windows_core::Interface::vtable(this).SharedHostFolderPath)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SharedFolderNameInEnvironment(&self) -> windows_core::Result { let this = self; unsafe { @@ -1511,12 +1213,10 @@ impl IsolatedWindowsEnvironmentOptions { (windows_core::Interface::vtable(this).SharedFolderNameInEnvironment)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn ShareHostFolderForUntrustedItems(&self, sharedhostfolderpath: &windows_core::HSTRING, sharefoldernameinenvironment: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).ShareHostFolderForUntrustedItems)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sharedhostfolderpath), core::mem::transmute_copy(sharefoldernameinenvironment)).ok() } } - #[cfg(feature = "deprecated")] pub fn PersistUserProfile(&self) -> windows_core::Result { let this = self; unsafe { @@ -1524,12 +1224,10 @@ impl IsolatedWindowsEnvironmentOptions { (windows_core::Interface::vtable(this).PersistUserProfile)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetPersistUserProfile(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetPersistUserProfile)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn AllowGraphicsHardwareAcceleration(&self) -> windows_core::Result { let this = self; unsafe { @@ -1537,12 +1235,10 @@ impl IsolatedWindowsEnvironmentOptions { (windows_core::Interface::vtable(this).AllowGraphicsHardwareAcceleration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetAllowGraphicsHardwareAcceleration(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetAllowGraphicsHardwareAcceleration)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn AllowCameraAndMicrophoneAccess(&self) -> windows_core::Result { let this = self; unsafe { @@ -1550,12 +1246,10 @@ impl IsolatedWindowsEnvironmentOptions { (windows_core::Interface::vtable(this).AllowCameraAndMicrophoneAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetAllowCameraAndMicrophoneAccess(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetAllowCameraAndMicrophoneAccess)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn WindowAnnotationOverride(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1563,12 +1257,10 @@ impl IsolatedWindowsEnvironmentOptions { (windows_core::Interface::vtable(this).WindowAnnotationOverride)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetWindowAnnotationOverride(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetWindowAnnotationOverride)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "deprecated")] pub fn AllowedClipboardFormatsToEnvironment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1576,12 +1268,10 @@ impl IsolatedWindowsEnvironmentOptions { (windows_core::Interface::vtable(this).AllowedClipboardFormatsToEnvironment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetAllowedClipboardFormatsToEnvironment(&self, value: IsolatedWindowsEnvironmentAllowedClipboardFormats) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetAllowedClipboardFormatsToEnvironment)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn AllowedClipboardFormatsToHost(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1589,12 +1279,10 @@ impl IsolatedWindowsEnvironmentOptions { (windows_core::Interface::vtable(this).AllowedClipboardFormatsToHost)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetAllowedClipboardFormatsToHost(&self, value: IsolatedWindowsEnvironmentAllowedClipboardFormats) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetAllowedClipboardFormatsToHost)(windows_core::Interface::as_raw(this), value).ok() } } - #[cfg(feature = "deprecated")] pub fn CreationPriority(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1602,7 +1290,6 @@ impl IsolatedWindowsEnvironmentOptions { (windows_core::Interface::vtable(this).CreationPriority)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetCreationPriority(&self, value: IsolatedWindowsEnvironmentCreationPriority) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetCreationPriority)(windows_core::Interface::as_raw(this), value).ok() } @@ -1629,7 +1316,6 @@ unsafe impl Sync for IsolatedWindowsEnvironmentOptions {} pub struct IsolatedWindowsEnvironmentOwnerRegistration; #[cfg(feature = "deprecated")] impl IsolatedWindowsEnvironmentOwnerRegistration { - #[cfg(feature = "deprecated")] pub fn Register(ownername: &windows_core::HSTRING, ownerregistrationdata: P1) -> windows_core::Result where P1: windows_core::Param, @@ -1639,7 +1325,6 @@ impl IsolatedWindowsEnvironmentOwnerRegistration { (windows_core::Interface::vtable(this).Register)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(ownername), ownerregistrationdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn Unregister(ownername: &windows_core::HSTRING) -> windows_core::Result<()> { Self::IIsolatedWindowsEnvironmentOwnerRegistrationStatics(|this| unsafe { (windows_core::Interface::vtable(this).Unregister)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(ownername)).ok() }) } @@ -1667,7 +1352,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationData { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ShareableFolders(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1675,7 +1360,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationData { (windows_core::Interface::vtable(this).ShareableFolders)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ProcessesRunnableAsSystem(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1683,7 +1368,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationData { (windows_core::Interface::vtable(this).ProcessesRunnableAsSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ProcessesRunnableAsUser(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1691,7 +1376,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationData { (windows_core::Interface::vtable(this).ProcessesRunnableAsUser)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ActivationFileExtensions(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1725,7 +1410,6 @@ pub struct IsolatedWindowsEnvironmentOwnerRegistrationResult(windows_core::IUnkn windows_core::imp::interface_hierarchy!(IsolatedWindowsEnvironmentOwnerRegistrationResult, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl IsolatedWindowsEnvironmentOwnerRegistrationResult { - #[cfg(feature = "deprecated")] pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { @@ -1733,7 +1417,6 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationResult { (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { @@ -1783,7 +1466,6 @@ pub struct IsolatedWindowsEnvironmentPostMessageResult(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(IsolatedWindowsEnvironmentPostMessageResult, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl IsolatedWindowsEnvironmentPostMessageResult { - #[cfg(feature = "deprecated")] pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { @@ -1791,7 +1473,6 @@ impl IsolatedWindowsEnvironmentPostMessageResult { (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { @@ -1839,7 +1520,6 @@ pub struct IsolatedWindowsEnvironmentProcess(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(IsolatedWindowsEnvironmentProcess, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl IsolatedWindowsEnvironmentProcess { - #[cfg(feature = "deprecated")] pub fn State(&self) -> windows_core::Result { let this = self; unsafe { @@ -1847,7 +1527,6 @@ impl IsolatedWindowsEnvironmentProcess { (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ExitCode(&self) -> windows_core::Result { let this = self; unsafe { @@ -1855,17 +1534,14 @@ impl IsolatedWindowsEnvironmentProcess { (windows_core::Interface::vtable(this).ExitCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn WaitForExit(&self) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).WaitForExit)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "deprecated")] pub fn WaitForExitWithTimeout(&self, timeoutmilliseconds: u32) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).WaitForExitWithTimeout)(windows_core::Interface::as_raw(this), timeoutmilliseconds).ok() } } - #[cfg(feature = "deprecated")] pub fn WaitForExitAsync(&self) -> windows_core::Result { let this = self; unsafe { @@ -1938,7 +1614,6 @@ impl IsolatedWindowsEnvironmentShareFileRequestOptions { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(feature = "deprecated")] pub fn AllowWrite(&self) -> windows_core::Result { let this = self; unsafe { @@ -1946,7 +1621,6 @@ impl IsolatedWindowsEnvironmentShareFileRequestOptions { (windows_core::Interface::vtable(this).AllowWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetAllowWrite(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetAllowWrite)(windows_core::Interface::as_raw(this), value).ok() } @@ -1977,7 +1651,6 @@ pub struct IsolatedWindowsEnvironmentShareFileResult(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(IsolatedWindowsEnvironmentShareFileResult, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl IsolatedWindowsEnvironmentShareFileResult { - #[cfg(feature = "deprecated")] pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { @@ -1985,7 +1658,6 @@ impl IsolatedWindowsEnvironmentShareFileResult { (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { @@ -1993,7 +1665,6 @@ impl IsolatedWindowsEnvironmentShareFileResult { (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn File(&self) -> windows_core::Result { let this = self; unsafe { @@ -2051,7 +1722,6 @@ impl IsolatedWindowsEnvironmentShareFolderRequestOptions { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(feature = "deprecated")] pub fn AllowWrite(&self) -> windows_core::Result { let this = self; unsafe { @@ -2059,7 +1729,6 @@ impl IsolatedWindowsEnvironmentShareFolderRequestOptions { (windows_core::Interface::vtable(this).AllowWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn SetAllowWrite(&self, value: bool) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetAllowWrite)(windows_core::Interface::as_raw(this), value).ok() } @@ -2090,7 +1759,6 @@ pub struct IsolatedWindowsEnvironmentShareFolderResult(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(IsolatedWindowsEnvironmentShareFolderResult, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl IsolatedWindowsEnvironmentShareFolderResult { - #[cfg(feature = "deprecated")] pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { @@ -2098,7 +1766,6 @@ impl IsolatedWindowsEnvironmentShareFolderResult { (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { @@ -2165,7 +1832,6 @@ pub struct IsolatedWindowsEnvironmentStartProcessResult(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(IsolatedWindowsEnvironmentStartProcessResult, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl IsolatedWindowsEnvironmentStartProcessResult { - #[cfg(feature = "deprecated")] pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { @@ -2173,7 +1839,6 @@ impl IsolatedWindowsEnvironmentStartProcessResult { (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { @@ -2181,7 +1846,6 @@ impl IsolatedWindowsEnvironmentStartProcessResult { (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn Process(&self) -> windows_core::Result { let this = self; unsafe { @@ -2238,7 +1902,6 @@ impl IsolatedWindowsEnvironmentTelemetryParameters { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(feature = "deprecated")] pub fn CorrelationId(&self) -> windows_core::Result { let this = self; unsafe { @@ -2246,7 +1909,6 @@ impl IsolatedWindowsEnvironmentTelemetryParameters { (windows_core::Interface::vtable(this).CorrelationId)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn SetCorrelationId(&self, value: windows_core::GUID) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetCorrelationId)(windows_core::Interface::as_raw(this), value).ok() } @@ -2277,7 +1939,6 @@ pub struct IsolatedWindowsEnvironmentUserInfo(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(IsolatedWindowsEnvironmentUserInfo, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl IsolatedWindowsEnvironmentUserInfo { - #[cfg(feature = "deprecated")] pub fn EnvironmentUserSid(&self) -> windows_core::Result { let this = self; unsafe { @@ -2285,7 +1946,6 @@ impl IsolatedWindowsEnvironmentUserInfo { (windows_core::Interface::vtable(this).EnvironmentUserSid)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn EnvironmentUserName(&self) -> windows_core::Result { let this = self; unsafe { @@ -2293,7 +1953,6 @@ impl IsolatedWindowsEnvironmentUserInfo { (windows_core::Interface::vtable(this).EnvironmentUserName)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "deprecated")] pub fn TryWaitForSignInAsync(&self) -> windows_core::Result> { let this = self; unsafe { @@ -2301,7 +1960,6 @@ impl IsolatedWindowsEnvironmentUserInfo { (windows_core::Interface::vtable(this).TryWaitForSignInAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn TryWaitForSignInWithProgressAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2331,28 +1989,26 @@ unsafe impl Sync for IsolatedWindowsEnvironmentUserInfo {} pub struct IsolatedWindowsHostMessenger; #[cfg(feature = "deprecated")] impl IsolatedWindowsHostMessenger { - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn PostMessageToReceiver(receiverid: windows_core::GUID, message: P1) -> windows_core::Result<()> where P1: windows_core::Param>, { Self::IIsolatedWindowsHostMessengerStatics(|this| unsafe { (windows_core::Interface::vtable(this).PostMessageToReceiver)(windows_core::Interface::as_raw(this), receiverid, message.param().abi()).ok() }) } - #[cfg(feature = "deprecated")] pub fn GetFileId(filepath: &windows_core::HSTRING) -> windows_core::Result { Self::IIsolatedWindowsHostMessengerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filepath), &mut result__).map(|| core::mem::transmute(result__)) }) } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn RegisterHostMessageReceiver(receiverid: windows_core::GUID, hostmessagereceivedcallback: P1) -> windows_core::Result<()> where P1: windows_core::Param, { Self::IIsolatedWindowsHostMessengerStatics2(|this| unsafe { (windows_core::Interface::vtable(this).RegisterHostMessageReceiver)(windows_core::Interface::as_raw(this), receiverid, hostmessagereceivedcallback.param().abi()).ok() }) } - #[cfg(feature = "deprecated")] pub fn UnregisterHostMessageReceiver(receiverid: windows_core::GUID) -> windows_core::Result<()> { Self::IIsolatedWindowsHostMessengerStatics2(|this| unsafe { (windows_core::Interface::vtable(this).UnregisterHostMessageReceiver)(windows_core::Interface::as_raw(this), receiverid).ok() }) } diff --git a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs index 08885795a4..5a4e14cb01 100644 --- a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs +++ b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs @@ -478,7 +478,6 @@ pub struct TargetedContentFile(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(TargetedContentFile, windows_core::IUnknown, windows_core::IInspectable, super::super::Storage::Streams::IRandomAccessStreamReference); #[cfg(feature = "Storage_Streams")] impl TargetedContentFile { - #[cfg(feature = "Storage_Streams")] pub fn OpenReadAsync(&self) -> windows_core::Result> { let this = self; unsafe { @@ -514,7 +513,6 @@ windows_core::imp::interface_hierarchy!(TargetedContentImage, windows_core::IUnk windows_core::imp::required_hierarchy!(TargetedContentImage, super::super::Storage::Streams::IRandomAccessStreamReference); #[cfg(feature = "Storage_Streams")] impl TargetedContentImage { - #[cfg(feature = "Storage_Streams")] pub fn OpenReadAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs index cce5d84264..bf61d99b98 100644 --- a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs @@ -8,7 +8,6 @@ windows_core::imp::interface_hierarchy!(FileInformation, windows_core::IUnknown, windows_core::imp::required_hierarchy!(FileInformation, super::Streams::IInputStreamReference, super::Streams::IRandomAccessStreamReference, super::IStorageFile, super::IStorageFile2, super::IStorageFilePropertiesWithAvailability, super::IStorageItem, super::IStorageItem2, super::IStorageItemProperties, super::IStorageItemPropertiesWithProvider); #[cfg(feature = "Storage_Streams")] impl FileInformation { - #[cfg(feature = "Storage_Streams")] pub fn OpenSequentialReadAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -16,7 +15,6 @@ impl FileInformation { (windows_core::Interface::vtable(this).OpenSequentialReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn OpenReadAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -38,7 +36,6 @@ impl FileInformation { (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn OpenAsync(&self, accessmode: super::FileAccessMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -133,7 +130,6 @@ impl FileInformation { (windows_core::Interface::vtable(this).MoveAndReplaceAsync)(windows_core::Interface::as_raw(this), filetoreplace.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn OpenWithOptionsAsync(&self, accessmode: super::FileAccessMode, options: super::StorageOpenOptions) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -284,7 +280,7 @@ impl FileInformation { (windows_core::Interface::vtable(this).BasicProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_FileProperties", feature = "Storage_Streams"))] + #[cfg(feature = "Storage_FileProperties")] pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { @@ -320,7 +316,7 @@ impl FileInformation { let this = self; unsafe { (windows_core::Interface::vtable(this).RemovePropertiesUpdated)(windows_core::Interface::as_raw(this), eventcookie).ok() } } - #[cfg(all(feature = "Storage_FileProperties", feature = "Storage_Streams"))] + #[cfg(feature = "Storage_FileProperties")] pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: super::FileProperties::ThumbnailMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -328,7 +324,7 @@ impl FileInformation { (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_FileProperties", feature = "Storage_Streams"))] + #[cfg(feature = "Storage_FileProperties")] pub fn GetThumbnailAsyncOverloadDefaultOptions(&self, mode: super::FileProperties::ThumbnailMode, requestedsize: u32) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -336,7 +332,7 @@ impl FileInformation { (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), mode, requestedsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_FileProperties", feature = "Storage_Streams"))] + #[cfg(feature = "Storage_FileProperties")] pub fn GetThumbnailAsync(&self, mode: super::FileProperties::ThumbnailMode, requestedsize: u32, options: super::FileProperties::ThumbnailOptions) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -618,7 +614,6 @@ impl FolderInformation { (windows_core::Interface::vtable(this).TryGetItemAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn GetIndexedStateAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -626,7 +621,6 @@ impl FolderInformation { (windows_core::Interface::vtable(this).GetIndexedStateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateFileQueryOverloadDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -634,7 +628,6 @@ impl FolderInformation { (windows_core::Interface::vtable(this).CreateFileQueryOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateFileQuery(&self, query: super::Search::CommonFileQuery) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -642,7 +635,6 @@ impl FolderInformation { (windows_core::Interface::vtable(this).CreateFileQuery)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateFileQueryWithOptions(&self, queryoptions: P0) -> windows_core::Result where P0: windows_core::Param, @@ -653,7 +645,6 @@ impl FolderInformation { (windows_core::Interface::vtable(this).CreateFileQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateFolderQueryOverloadDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -661,7 +652,6 @@ impl FolderInformation { (windows_core::Interface::vtable(this).CreateFolderQueryOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateFolderQuery(&self, query: super::Search::CommonFolderQuery) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -669,7 +659,6 @@ impl FolderInformation { (windows_core::Interface::vtable(this).CreateFolderQuery)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateFolderQueryWithOptions(&self, queryoptions: P0) -> windows_core::Result where P0: windows_core::Param, @@ -680,7 +669,6 @@ impl FolderInformation { (windows_core::Interface::vtable(this).CreateFolderQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateItemQuery(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -688,7 +676,6 @@ impl FolderInformation { (windows_core::Interface::vtable(this).CreateItemQuery)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateItemQueryWithOptions(&self, queryoptions: P0) -> windows_core::Result where P0: windows_core::Param, @@ -699,7 +686,7 @@ impl FolderInformation { (windows_core::Interface::vtable(this).CreateItemQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn GetFilesAsync(&self, query: super::Search::CommonFileQuery, startindex: u32, maxitemstoretrieve: u32) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -707,7 +694,7 @@ impl FolderInformation { (windows_core::Interface::vtable(this).GetFilesAsync)(windows_core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn GetFilesAsyncOverloadDefaultStartAndCount(&self, query: super::Search::CommonFileQuery) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -715,7 +702,7 @@ impl FolderInformation { (windows_core::Interface::vtable(this).GetFilesAsyncOverloadDefaultStartAndCount)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] + #[cfg(feature = "Foundation_Collections")] pub fn GetFoldersAsync(&self, query: super::Search::CommonFolderQuery, startindex: u32, maxitemstoretrieve: u32) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -723,7 +710,7 @@ impl FolderInformation { (windows_core::Interface::vtable(this).GetFoldersAsync)(windows_core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] + #[cfg(feature = "Foundation_Collections")] pub fn GetFoldersAsyncOverloadDefaultStartAndCount(&self, query: super::Search::CommonFolderQuery) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -739,7 +726,6 @@ impl FolderInformation { (windows_core::Interface::vtable(this).GetItemsAsync)(windows_core::Interface::as_raw(this), startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn AreQueryOptionsSupported(&self, queryoptions: P0) -> windows_core::Result where P0: windows_core::Param, @@ -750,7 +736,6 @@ impl FolderInformation { (windows_core::Interface::vtable(this).AreQueryOptionsSupported)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "Storage_Search")] pub fn IsCommonFolderQuerySupported(&self, query: super::Search::CommonFolderQuery) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -758,7 +743,6 @@ impl FolderInformation { (windows_core::Interface::vtable(this).IsCommonFolderQuerySupported)(windows_core::Interface::as_raw(this), query, &mut result__).map(|| result__) } } - #[cfg(feature = "Storage_Search")] pub fn IsCommonFileQuerySupported(&self, query: super::Search::CommonFileQuery) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Storage/Compression/mod.rs b/crates/libs/windows/src/Windows/Storage/Compression/mod.rs index 86a35ad854..52cc086bc7 100644 --- a/crates/libs/windows/src/Windows/Storage/Compression/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Compression/mod.rs @@ -61,7 +61,6 @@ impl Compressor { (windows_core::Interface::vtable(this).CreateCompressorEx)(windows_core::Interface::as_raw(this), underlyingstream.param().abi(), algorithm, blocksize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "Storage_Streams")] pub fn WriteAsync(&self, buffer: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -131,7 +130,6 @@ impl Decompressor { (windows_core::Interface::vtable(this).CreateDecompressor)(windows_core::Interface::as_raw(this), underlyingstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "Storage_Streams")] pub fn ReadAsync(&self, buffer: P0, count: u32, options: super::Streams::InputStreamOptions) -> windows_core::Result> where P0: windows_core::Param, diff --git a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs index b756c004b9..dc6d21d8ec 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs @@ -1014,7 +1014,6 @@ impl StorageItemThumbnail { (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn ReadAsync(&self, buffer: P0, count: u32, options: super::Streams::InputStreamOptions) -> windows_core::Result> where P0: windows_core::Param, @@ -1025,7 +1024,6 @@ impl StorageItemThumbnail { (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn WriteAsync(&self, buffer: P0) -> windows_core::Result> where P0: windows_core::Param, diff --git a/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs b/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs index dce46e5af4..ce1dc26346 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs @@ -84,6 +84,7 @@ impl FileOpenPickerUI { let this = self; unsafe { (windows_core::Interface::vtable(this).SetTitle)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } + #[cfg(feature = "deprecated")] pub fn FileRemoved(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -94,6 +95,7 @@ impl FileOpenPickerUI { (windows_core::Interface::vtable(this).FileRemoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn RemoveFileRemoved(&self, token: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveFileRemoved)(windows_core::Interface::as_raw(this), token).ok() } @@ -131,7 +133,6 @@ pub struct FileRemovedEventArgs(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(FileRemovedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl FileRemovedEventArgs { - #[cfg(feature = "deprecated")] pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { @@ -275,8 +276,14 @@ pub struct IFileOpenPickerUI_Vtbl { pub SettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub FileRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + FileRemoved: usize, + #[cfg(feature = "deprecated")] pub RemoveFileRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + RemoveFileRemoved: usize, pub Closing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, pub RemoveClosing: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, } @@ -290,10 +297,7 @@ impl windows_core::RuntimeType for IFileRemovedEventArgs { #[repr(C)] pub struct IFileRemovedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Id: usize, } windows_core::imp::define_interface!(IFileSavePickerUI, IFileSavePickerUI_Vtbl, 0x9656c1e7_3e56_43cc_8a39_33c73d9d542b); impl windows_core::RuntimeType for IFileSavePickerUI { diff --git a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs index d1cb244442..4abec4a99e 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs @@ -31,7 +31,6 @@ impl FileExtensionVector { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { @@ -195,7 +194,7 @@ impl FileOpenPicker { (windows_core::Interface::vtable(this).PickMultipleFilesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -203,10 +202,12 @@ impl FileOpenPicker { (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn PickSingleFileAndContinue(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).PickSingleFileAndContinue)(windows_core::Interface::as_raw(this)).ok() } } + #[cfg(feature = "deprecated")] pub fn PickMultipleFilesAndContinue(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).PickMultipleFilesAndContinue)(windows_core::Interface::as_raw(this)).ok() } @@ -219,7 +220,7 @@ impl FileOpenPicker { (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Streams")] + #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] pub fn ResumePickSingleFileAsync() -> windows_core::Result> { Self::IFileOpenPickerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -303,7 +304,6 @@ impl FilePickerFileTypesOrderedMap { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result>> { let this = self; unsafe { @@ -552,6 +552,7 @@ impl FileSavePicker { (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn PickSaveFileAndContinue(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).PickSaveFileAndContinue)(windows_core::Interface::as_raw(this)).ok() } @@ -682,6 +683,7 @@ impl FolderPicker { (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn PickFolderAndContinue(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).PickFolderAndContinue)(windows_core::Interface::as_raw(this)).ok() } @@ -756,12 +758,18 @@ impl windows_core::RuntimeType for IFileOpenPicker2 { #[repr(C)] pub struct IFileOpenPicker2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub ContinuationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] ContinuationData: usize, + #[cfg(feature = "deprecated")] pub PickSingleFileAndContinue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + PickSingleFileAndContinue: usize, + #[cfg(feature = "deprecated")] pub PickMultipleFilesAndContinue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + PickMultipleFilesAndContinue: usize, } windows_core::imp::define_interface!(IFileOpenPicker3, IFileOpenPicker3_Vtbl, 0xd9a5c5b3_c5dc_5b98_bd80_a8d0ca0584d8); impl windows_core::RuntimeType for IFileOpenPicker3 { @@ -782,9 +790,9 @@ impl windows_core::RuntimeType for IFileOpenPickerStatics { #[repr(C)] pub struct IFileOpenPickerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "Storage_Streams")] + #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] pub ResumePickSingleFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Storage_Streams"))] + #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] ResumePickSingleFileAsync: usize, } windows_core::imp::define_interface!(IFileOpenPickerStatics2, IFileOpenPickerStatics2_Vtbl, 0xe8917415_eddd_5c98_b6f3_366fdfcad392); @@ -856,7 +864,10 @@ pub struct IFileSavePicker2_Vtbl { pub ContinuationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] ContinuationData: usize, + #[cfg(feature = "deprecated")] pub PickSaveFileAndContinue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + PickSaveFileAndContinue: usize, } windows_core::imp::define_interface!(IFileSavePicker3, IFileSavePicker3_Vtbl, 0x698aec69_ba3c_4e51_bd90_4abcbbf4cfaf); impl windows_core::RuntimeType for IFileSavePicker3 { @@ -927,7 +938,10 @@ pub struct IFolderPicker2_Vtbl { pub ContinuationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] ContinuationData: usize, + #[cfg(feature = "deprecated")] pub PickFolderAndContinue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + PickFolderAndContinue: usize, } windows_core::imp::define_interface!(IFolderPicker3, IFolderPicker3_Vtbl, 0x673b1e29_d326_53c0_bd24_a25c714cee36); impl windows_core::RuntimeType for IFolderPicker3 { diff --git a/crates/libs/windows/src/Windows/Storage/Search/mod.rs b/crates/libs/windows/src/Windows/Storage/Search/mod.rs index a9f5f242a0..bee0dc926c 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/mod.rs @@ -1637,7 +1637,6 @@ impl SortEntryVector { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Storage/mod.rs b/crates/libs/windows/src/Windows/Storage/mod.rs index 844afcf9d1..db4677e414 100644 --- a/crates/libs/windows/src/Windows/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/mod.rs @@ -332,7 +332,6 @@ impl ApplicationDataCompositeValue { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -358,7 +357,6 @@ impl ApplicationDataCompositeValue { let this = &windows_core::Interface::cast::>(self)?; unsafe { (windows_core::Interface::vtable(this).Clear)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn MapChanged(&self, vhnd: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -509,7 +507,6 @@ impl ApplicationDataContainerSettings { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -535,7 +532,6 @@ impl ApplicationDataContainerSettings { let this = &windows_core::Interface::cast::>(self)?; unsafe { (windows_core::Interface::vtable(this).Clear)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn MapChanged(&self, vhnd: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -1518,7 +1514,6 @@ impl IStorageFile { (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn OpenAsync(&self, accessmode: FileAccessMode) -> windows_core::Result> { let this = self; unsafe { @@ -1613,7 +1608,6 @@ impl IStorageFile { (windows_core::Interface::vtable(this).MoveAndReplaceAsync)(windows_core::Interface::as_raw(this), filetoreplace.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn OpenSequentialReadAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1621,7 +1615,6 @@ impl IStorageFile { (windows_core::Interface::vtable(this).OpenSequentialReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn OpenReadAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1905,10 +1898,7 @@ pub struct IStorageFile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FileType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Storage_Streams")] pub OpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, FileAccessMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Storage_Streams"))] - OpenAsync: usize, pub OpenTransactedWriteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CopyOverloadDefaultNameAndOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CopyOverloadDefaultOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4259,7 +4249,6 @@ windows_core::imp::interface_hierarchy!(StorageFile, windows_core::IUnknown, win windows_core::imp::required_hierarchy!(StorageFile, Streams::IInputStreamReference, Streams::IRandomAccessStreamReference, IStorageFile2, IStorageFilePropertiesWithAvailability, IStorageItem, IStorageItem2, IStorageItemProperties, IStorageItemProperties2, IStorageItemPropertiesWithProvider); #[cfg(feature = "Storage_Streams")] impl StorageFile { - #[cfg(feature = "Storage_Streams")] pub fn OpenSequentialReadAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4267,7 +4256,6 @@ impl StorageFile { (windows_core::Interface::vtable(this).OpenSequentialReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn OpenReadAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4289,7 +4277,6 @@ impl StorageFile { (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn OpenAsync(&self, accessmode: FileAccessMode) -> windows_core::Result> { let this = self; unsafe { @@ -4384,7 +4371,6 @@ impl StorageFile { (windows_core::Interface::vtable(this).MoveAndReplaceAsync)(windows_core::Interface::as_raw(this), filetoreplace.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Streams")] pub fn OpenWithOptionsAsync(&self, accessmode: FileAccessMode, options: StorageOpenOptions) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4421,7 +4407,6 @@ impl StorageFile { (windows_core::Interface::vtable(this).GetFileFromApplicationUriAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "Storage_Streams")] pub fn CreateStreamedFileAsync(displaynamewithextension: &windows_core::HSTRING, datarequested: P1, thumbnail: P2) -> windows_core::Result> where P1: windows_core::Param, @@ -4432,7 +4417,6 @@ impl StorageFile { (windows_core::Interface::vtable(this).CreateStreamedFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displaynamewithextension), datarequested.param().abi(), thumbnail.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "Storage_Streams")] pub fn ReplaceWithStreamedFileAsync(filetoreplace: P0, datarequested: P1, thumbnail: P2) -> windows_core::Result> where P0: windows_core::Param, @@ -4564,7 +4548,7 @@ impl StorageFile { (windows_core::Interface::vtable(this).IsEqual)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Storage_FileProperties", feature = "Storage_Streams"))] + #[cfg(feature = "Storage_FileProperties")] pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4572,7 +4556,7 @@ impl StorageFile { (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_FileProperties", feature = "Storage_Streams"))] + #[cfg(feature = "Storage_FileProperties")] pub fn GetThumbnailAsyncOverloadDefaultOptions(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4580,7 +4564,7 @@ impl StorageFile { (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), mode, requestedsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_FileProperties", feature = "Storage_Streams"))] + #[cfg(feature = "Storage_FileProperties")] pub fn GetThumbnailAsync(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32, options: FileProperties::ThumbnailOptions) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4617,7 +4601,7 @@ impl StorageFile { (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_FileProperties", feature = "Storage_Streams"))] + #[cfg(feature = "Storage_FileProperties")] pub fn GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4625,7 +4609,7 @@ impl StorageFile { (windows_core::Interface::vtable(this).GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_FileProperties", feature = "Storage_Streams"))] + #[cfg(feature = "Storage_FileProperties")] pub fn GetScaledImageAsThumbnailAsyncOverloadDefaultOptions(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4633,7 +4617,7 @@ impl StorageFile { (windows_core::Interface::vtable(this).GetScaledImageAsThumbnailAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), mode, requestedsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_FileProperties", feature = "Storage_Streams"))] + #[cfg(feature = "Storage_FileProperties")] pub fn GetScaledImageAsThumbnailAsync(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32, options: FileProperties::ThumbnailOptions) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4770,7 +4754,6 @@ impl StorageFolder { (windows_core::Interface::vtable(this).TryGetChangeTracker)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn GetIndexedStateAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4778,7 +4761,6 @@ impl StorageFolder { (windows_core::Interface::vtable(this).GetIndexedStateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateFileQueryOverloadDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4786,7 +4768,6 @@ impl StorageFolder { (windows_core::Interface::vtable(this).CreateFileQueryOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateFileQuery(&self, query: Search::CommonFileQuery) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4794,7 +4775,6 @@ impl StorageFolder { (windows_core::Interface::vtable(this).CreateFileQuery)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateFileQueryWithOptions(&self, queryoptions: P0) -> windows_core::Result where P0: windows_core::Param, @@ -4805,7 +4785,6 @@ impl StorageFolder { (windows_core::Interface::vtable(this).CreateFileQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateFolderQueryOverloadDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4813,7 +4792,6 @@ impl StorageFolder { (windows_core::Interface::vtable(this).CreateFolderQueryOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateFolderQuery(&self, query: Search::CommonFolderQuery) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4821,7 +4799,6 @@ impl StorageFolder { (windows_core::Interface::vtable(this).CreateFolderQuery)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateFolderQueryWithOptions(&self, queryoptions: P0) -> windows_core::Result where P0: windows_core::Param, @@ -4832,7 +4809,6 @@ impl StorageFolder { (windows_core::Interface::vtable(this).CreateFolderQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateItemQuery(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4840,7 +4816,6 @@ impl StorageFolder { (windows_core::Interface::vtable(this).CreateItemQuery)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn CreateItemQueryWithOptions(&self, queryoptions: P0) -> windows_core::Result where P0: windows_core::Param, @@ -4851,7 +4826,7 @@ impl StorageFolder { (windows_core::Interface::vtable(this).CreateItemQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn GetFilesAsync(&self, query: Search::CommonFileQuery, startindex: u32, maxitemstoretrieve: u32) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4859,7 +4834,7 @@ impl StorageFolder { (windows_core::Interface::vtable(this).GetFilesAsync)(windows_core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search", feature = "Storage_Streams"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn GetFilesAsyncOverloadDefaultStartAndCount(&self, query: Search::CommonFileQuery) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4867,7 +4842,7 @@ impl StorageFolder { (windows_core::Interface::vtable(this).GetFilesAsyncOverloadDefaultStartAndCount)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] + #[cfg(feature = "Foundation_Collections")] pub fn GetFoldersAsync(&self, query: Search::CommonFolderQuery, startindex: u32, maxitemstoretrieve: u32) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4875,7 +4850,7 @@ impl StorageFolder { (windows_core::Interface::vtable(this).GetFoldersAsync)(windows_core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Search"))] + #[cfg(feature = "Foundation_Collections")] pub fn GetFoldersAsyncOverloadDefaultStartAndCount(&self, query: Search::CommonFolderQuery) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4891,7 +4866,6 @@ impl StorageFolder { (windows_core::Interface::vtable(this).GetItemsAsync)(windows_core::Interface::as_raw(this), startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Storage_Search")] pub fn AreQueryOptionsSupported(&self, queryoptions: P0) -> windows_core::Result where P0: windows_core::Param, @@ -4902,7 +4876,6 @@ impl StorageFolder { (windows_core::Interface::vtable(this).AreQueryOptionsSupported)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "Storage_Search")] pub fn IsCommonFolderQuerySupported(&self, query: Search::CommonFolderQuery) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4910,7 +4883,6 @@ impl StorageFolder { (windows_core::Interface::vtable(this).IsCommonFolderQuerySupported)(windows_core::Interface::as_raw(this), query, &mut result__).map(|| result__) } } - #[cfg(feature = "Storage_Search")] pub fn IsCommonFileQuerySupported(&self, query: Search::CommonFileQuery) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5634,7 +5606,6 @@ impl StreamedFileDataRequest { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(feature = "Storage_Streams")] pub fn WriteAsync(&self, buffer: P0) -> windows_core::Result> where P0: windows_core::Param, diff --git a/crates/libs/windows/src/Windows/System/Power/mod.rs b/crates/libs/windows/src/Windows/System/Power/mod.rs index fdb76f791c..9b12519858 100644 --- a/crates/libs/windows/src/Windows/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/System/Power/mod.rs @@ -2,63 +2,54 @@ pub struct BackgroundEnergyManager; #[cfg(feature = "deprecated")] impl BackgroundEnergyManager { - #[cfg(feature = "deprecated")] pub fn LowUsageLevel() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LowUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn NearMaxAcceptableUsageLevel() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NearMaxAcceptableUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn MaxAcceptableUsageLevel() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAcceptableUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn ExcessiveUsageLevel() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExcessiveUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn NearTerminationUsageLevel() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NearTerminationUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn TerminationUsageLevel() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TerminationUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RecentEnergyUsage() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecentEnergyUsage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RecentEnergyUsageLevel() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecentEnergyUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RecentEnergyUsageIncreased(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -68,11 +59,9 @@ impl BackgroundEnergyManager { (windows_core::Interface::vtable(this).RecentEnergyUsageIncreased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveRecentEnergyUsageIncreased(token: i64) -> windows_core::Result<()> { Self::IBackgroundEnergyManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveRecentEnergyUsageIncreased)(windows_core::Interface::as_raw(this), token).ok() }) } - #[cfg(feature = "deprecated")] pub fn RecentEnergyUsageReturnedToLow(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -82,7 +71,6 @@ impl BackgroundEnergyManager { (windows_core::Interface::vtable(this).RecentEnergyUsageReturnedToLow)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveRecentEnergyUsageReturnedToLow(token: i64) -> windows_core::Result<()> { Self::IBackgroundEnergyManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveRecentEnergyUsageReturnedToLow)(windows_core::Interface::as_raw(this), token).ok() }) } @@ -128,49 +116,42 @@ impl windows_core::RuntimeType for EnergySaverStatus { pub struct ForegroundEnergyManager; #[cfg(feature = "deprecated")] impl ForegroundEnergyManager { - #[cfg(feature = "deprecated")] pub fn LowUsageLevel() -> windows_core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LowUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn NearMaxAcceptableUsageLevel() -> windows_core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NearMaxAcceptableUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn MaxAcceptableUsageLevel() -> windows_core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAcceptableUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn ExcessiveUsageLevel() -> windows_core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExcessiveUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RecentEnergyUsage() -> windows_core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecentEnergyUsage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RecentEnergyUsageLevel() -> windows_core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecentEnergyUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RecentEnergyUsageIncreased(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -180,11 +161,9 @@ impl ForegroundEnergyManager { (windows_core::Interface::vtable(this).RecentEnergyUsageIncreased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveRecentEnergyUsageIncreased(token: i64) -> windows_core::Result<()> { Self::IForegroundEnergyManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveRecentEnergyUsageIncreased)(windows_core::Interface::as_raw(this), token).ok() }) } - #[cfg(feature = "deprecated")] pub fn RecentEnergyUsageReturnedToLow(handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -194,7 +173,6 @@ impl ForegroundEnergyManager { (windows_core::Interface::vtable(this).RecentEnergyUsageReturnedToLow)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveRecentEnergyUsageReturnedToLow(token: i64) -> windows_core::Result<()> { Self::IForegroundEnergyManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveRecentEnergyUsageReturnedToLow)(windows_core::Interface::as_raw(this), token).ok() }) } @@ -217,54 +195,18 @@ impl windows_core::RuntimeType for IBackgroundEnergyManagerStatics { #[repr(C)] pub struct IBackgroundEnergyManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub LowUsageLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LowUsageLevel: usize, - #[cfg(feature = "deprecated")] pub NearMaxAcceptableUsageLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - NearMaxAcceptableUsageLevel: usize, - #[cfg(feature = "deprecated")] pub MaxAcceptableUsageLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - MaxAcceptableUsageLevel: usize, - #[cfg(feature = "deprecated")] pub ExcessiveUsageLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ExcessiveUsageLevel: usize, - #[cfg(feature = "deprecated")] pub NearTerminationUsageLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - NearTerminationUsageLevel: usize, - #[cfg(feature = "deprecated")] pub TerminationUsageLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TerminationUsageLevel: usize, - #[cfg(feature = "deprecated")] pub RecentEnergyUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RecentEnergyUsage: usize, - #[cfg(feature = "deprecated")] pub RecentEnergyUsageLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RecentEnergyUsageLevel: usize, - #[cfg(feature = "deprecated")] pub RecentEnergyUsageIncreased: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RecentEnergyUsageIncreased: usize, - #[cfg(feature = "deprecated")] pub RemoveRecentEnergyUsageIncreased: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveRecentEnergyUsageIncreased: usize, - #[cfg(feature = "deprecated")] pub RecentEnergyUsageReturnedToLow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RecentEnergyUsageReturnedToLow: usize, - #[cfg(feature = "deprecated")] pub RemoveRecentEnergyUsageReturnedToLow: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveRecentEnergyUsageReturnedToLow: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IForegroundEnergyManagerStatics, IForegroundEnergyManagerStatics_Vtbl, 0x9ff86872_e677_4814_9a20_5337ca732b98); @@ -276,46 +218,16 @@ impl windows_core::RuntimeType for IForegroundEnergyManagerStatics { #[repr(C)] pub struct IForegroundEnergyManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub LowUsageLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - LowUsageLevel: usize, - #[cfg(feature = "deprecated")] pub NearMaxAcceptableUsageLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - NearMaxAcceptableUsageLevel: usize, - #[cfg(feature = "deprecated")] pub MaxAcceptableUsageLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - MaxAcceptableUsageLevel: usize, - #[cfg(feature = "deprecated")] pub ExcessiveUsageLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - ExcessiveUsageLevel: usize, - #[cfg(feature = "deprecated")] pub RecentEnergyUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RecentEnergyUsage: usize, - #[cfg(feature = "deprecated")] pub RecentEnergyUsageLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RecentEnergyUsageLevel: usize, - #[cfg(feature = "deprecated")] pub RecentEnergyUsageIncreased: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RecentEnergyUsageIncreased: usize, - #[cfg(feature = "deprecated")] pub RemoveRecentEnergyUsageIncreased: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveRecentEnergyUsageIncreased: usize, - #[cfg(feature = "deprecated")] pub RecentEnergyUsageReturnedToLow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RecentEnergyUsageReturnedToLow: usize, - #[cfg(feature = "deprecated")] pub RemoveRecentEnergyUsageReturnedToLow: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveRecentEnergyUsageReturnedToLow: usize, } windows_core::imp::define_interface!(IPowerManagerStatics, IPowerManagerStatics_Vtbl, 0x1394825d_62ce_4364_98d5_aa28c7fbd15b); impl windows_core::RuntimeType for IPowerManagerStatics { diff --git a/crates/libs/windows/src/Windows/System/UserProfile/mod.rs b/crates/libs/windows/src/Windows/System/UserProfile/mod.rs index 196cd88be8..ea52a7373a 100644 --- a/crates/libs/windows/src/Windows/System/UserProfile/mod.rs +++ b/crates/libs/windows/src/Windows/System/UserProfile/mod.rs @@ -638,66 +638,36 @@ impl windows_core::RuntimeType for IUserInformationStatics { #[repr(C)] pub struct IUserInformationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub AccountPictureChangeEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AccountPictureChangeEnabled: usize, - #[cfg(feature = "deprecated")] pub NameAccessAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - NameAccessAllowed: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub GetAccountPicture: unsafe extern "system" fn(*mut core::ffi::c_void, AccountPictureKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] GetAccountPicture: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub SetAccountPictureAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] SetAccountPictureAsync: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub SetAccountPicturesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] SetAccountPicturesAsync: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub SetAccountPictureFromStreamAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] SetAccountPictureFromStreamAsync: usize, - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub SetAccountPicturesFromStreamsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] + #[cfg(not(feature = "Storage_Streams"))] SetAccountPicturesFromStreamsAsync: usize, - #[cfg(feature = "deprecated")] pub AccountPictureChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - AccountPictureChanged: usize, - #[cfg(feature = "deprecated")] pub RemoveAccountPictureChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveAccountPictureChanged: usize, - #[cfg(feature = "deprecated")] pub GetDisplayNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetDisplayNameAsync: usize, - #[cfg(feature = "deprecated")] pub GetFirstNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetFirstNameAsync: usize, - #[cfg(feature = "deprecated")] pub GetLastNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetLastNameAsync: usize, - #[cfg(feature = "deprecated")] pub GetPrincipalNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetPrincipalNameAsync: usize, - #[cfg(feature = "deprecated")] pub GetSessionInitiationProtocolUriAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetSessionInitiationProtocolUriAsync: usize, - #[cfg(feature = "deprecated")] pub GetDomainNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetDomainNameAsync: usize, } windows_core::imp::define_interface!(IUserProfilePersonalizationSettings, IUserProfilePersonalizationSettings_Vtbl, 0x8ceddab4_7998_46d5_8dd3_184f1c5f9ab9); impl windows_core::RuntimeType for IUserProfilePersonalizationSettings { @@ -822,28 +792,26 @@ impl windows_core::RuntimeType for SetImageFeedResult { pub struct UserInformation; #[cfg(feature = "deprecated")] impl UserInformation { - #[cfg(feature = "deprecated")] pub fn AccountPictureChangeEnabled() -> windows_core::Result { Self::IUserInformationStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountPictureChangeEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn NameAccessAllowed() -> windows_core::Result { Self::IUserInformationStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NameAccessAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn GetAccountPicture(kind: AccountPictureKind) -> windows_core::Result { Self::IUserInformationStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAccountPicture)(windows_core::Interface::as_raw(this), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn SetAccountPictureAsync(image: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -853,7 +821,7 @@ impl UserInformation { (windows_core::Interface::vtable(this).SetAccountPictureAsync)(windows_core::Interface::as_raw(this), image.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn SetAccountPicturesAsync(smallimage: P0, largeimage: P1, video: P2) -> windows_core::Result> where P0: windows_core::Param, @@ -865,7 +833,7 @@ impl UserInformation { (windows_core::Interface::vtable(this).SetAccountPicturesAsync)(windows_core::Interface::as_raw(this), smallimage.param().abi(), largeimage.param().abi(), video.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn SetAccountPictureFromStreamAsync(image: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -875,7 +843,7 @@ impl UserInformation { (windows_core::Interface::vtable(this).SetAccountPictureFromStreamAsync)(windows_core::Interface::as_raw(this), image.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn SetAccountPicturesFromStreamsAsync(smallimage: P0, largeimage: P1, video: P2) -> windows_core::Result> where P0: windows_core::Param, @@ -887,7 +855,6 @@ impl UserInformation { (windows_core::Interface::vtable(this).SetAccountPicturesFromStreamsAsync)(windows_core::Interface::as_raw(this), smallimage.param().abi(), largeimage.param().abi(), video.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn AccountPictureChanged(changehandler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -897,46 +864,39 @@ impl UserInformation { (windows_core::Interface::vtable(this).AccountPictureChanged)(windows_core::Interface::as_raw(this), changehandler.param().abi(), &mut result__).map(|| result__) }) } - #[cfg(feature = "deprecated")] pub fn RemoveAccountPictureChanged(token: i64) -> windows_core::Result<()> { Self::IUserInformationStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveAccountPictureChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[cfg(feature = "deprecated")] pub fn GetDisplayNameAsync() -> windows_core::Result> { Self::IUserInformationStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDisplayNameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn GetFirstNameAsync() -> windows_core::Result> { Self::IUserInformationStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFirstNameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn GetLastNameAsync() -> windows_core::Result> { Self::IUserInformationStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLastNameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn GetPrincipalNameAsync() -> windows_core::Result> { Self::IUserInformationStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPrincipalNameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn GetSessionInitiationProtocolUriAsync() -> windows_core::Result> { Self::IUserInformationStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSessionInitiationProtocolUriAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn GetDomainNameAsync() -> windows_core::Result> { Self::IUserInformationStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/System/mod.rs b/crates/libs/windows/src/Windows/System/mod.rs index 0d32a1d558..7647aa04e6 100644 --- a/crates/libs/windows/src/Windows/System/mod.rs +++ b/crates/libs/windows/src/Windows/System/mod.rs @@ -2515,13 +2515,13 @@ pub struct IUserStatics_Vtbl { pub FindAllAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub FindAllAsyncByType: unsafe extern "system" fn(*mut core::ffi::c_void, UserType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] FindAllAsyncByType: usize, - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub FindAllAsyncByTypeAndStatus: unsafe extern "system" fn(*mut core::ffi::c_void, UserType, UserAuthenticationStatus, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Foundation_Collections"))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] FindAllAsyncByTypeAndStatus: usize, pub GetFromId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -3843,14 +3843,14 @@ impl User { (windows_core::Interface::vtable(this).FindAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "Foundation_Collections")] + #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn FindAllAsyncByType(r#type: UserType) -> windows_core::Result>> { Self::IUserStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsyncByType)(windows_core::Interface::as_raw(this), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "Foundation_Collections")] + #[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__ = core::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs index fdabf41bc3..2ea62558e1 100644 --- a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs @@ -456,14 +456,8 @@ impl windows_core::RuntimeType for ISettingsPane { #[repr(C)] pub struct ISettingsPane_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub CommandsRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - CommandsRequested: usize, - #[cfg(feature = "deprecated")] pub RemoveCommandsRequested: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - RemoveCommandsRequested: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISettingsPaneCommandsRequest, ISettingsPaneCommandsRequest_Vtbl, 0x44df23ae_5d6e_4068_a168_f47643182114); @@ -475,9 +469,9 @@ impl windows_core::RuntimeType for ISettingsPaneCommandsRequest { #[repr(C)] pub struct ISettingsPaneCommandsRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(all(feature = "Foundation_Collections", feature = "UI_Popups", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "UI_Popups"))] pub ApplicationCommands: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "UI_Popups", feature = "deprecated")))] + #[cfg(not(all(feature = "Foundation_Collections", feature = "UI_Popups")))] ApplicationCommands: usize, } #[cfg(feature = "deprecated")] @@ -490,10 +484,7 @@ impl windows_core::RuntimeType for ISettingsPaneCommandsRequestedEventArgs { #[repr(C)] pub struct ISettingsPaneCommandsRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Request: usize, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISettingsPaneStatics, ISettingsPaneStatics_Vtbl, 0x1c6a52c5_ff19_471b_ba6b_f8f35694ad9a); @@ -505,18 +496,9 @@ impl windows_core::RuntimeType for ISettingsPaneStatics { #[repr(C)] pub struct ISettingsPaneStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub GetForCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - GetForCurrentView: usize, - #[cfg(feature = "deprecated")] pub Show: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Show: usize, - #[cfg(feature = "deprecated")] pub Edge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SettingsEdgeLocation) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Edge: usize, } windows_core::imp::define_interface!(IWebAccountCommand, IWebAccountCommand_Vtbl, 0xcaa39398_9cfa_4246_b0c4_a913a3896541); impl windows_core::RuntimeType for IWebAccountCommand { @@ -586,7 +568,6 @@ pub struct SettingsCommand(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SettingsCommand, windows_core::IUnknown, windows_core::IInspectable, super::Popups::IUICommand); #[cfg(feature = "UI_Popups")] impl SettingsCommand { - #[cfg(feature = "UI_Popups")] pub fn CreateSettingsCommand(settingscommandid: P0, label: &windows_core::HSTRING, handler: P2) -> windows_core::Result where P0: windows_core::Param, @@ -614,7 +595,6 @@ impl SettingsCommand { let this = self; unsafe { (windows_core::Interface::vtable(this).SetLabel)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "UI_Popups")] pub fn Invoked(&self) -> windows_core::Result { let this = self; unsafe { @@ -622,7 +602,6 @@ impl SettingsCommand { (windows_core::Interface::vtable(this).Invoked)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "UI_Popups")] pub fn SetInvoked(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -687,7 +666,6 @@ pub struct SettingsPane(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SettingsPane, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl SettingsPane { - #[cfg(feature = "deprecated")] pub fn CommandsRequested(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -698,23 +676,19 @@ impl SettingsPane { (windows_core::Interface::vtable(this).CommandsRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn RemoveCommandsRequested(&self, cookie: i64) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveCommandsRequested)(windows_core::Interface::as_raw(this), cookie).ok() } } - #[cfg(feature = "deprecated")] pub fn GetForCurrentView() -> windows_core::Result { Self::ISettingsPaneStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[cfg(feature = "deprecated")] pub fn Show() -> windows_core::Result<()> { Self::ISettingsPaneStatics(|this| unsafe { (windows_core::Interface::vtable(this).Show)(windows_core::Interface::as_raw(this)).ok() }) } - #[cfg(feature = "deprecated")] pub fn Edge() -> windows_core::Result { Self::ISettingsPaneStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -747,7 +721,7 @@ pub struct SettingsPaneCommandsRequest(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SettingsPaneCommandsRequest, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl SettingsPaneCommandsRequest { - #[cfg(all(feature = "Foundation_Collections", feature = "UI_Popups", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "UI_Popups"))] pub fn ApplicationCommands(&self) -> windows_core::Result> { let this = self; unsafe { @@ -777,7 +751,6 @@ pub struct SettingsPaneCommandsRequestedEventArgs(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SettingsPaneCommandsRequestedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] impl SettingsPaneCommandsRequestedEventArgs { - #[cfg(feature = "deprecated")] pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { 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 d4296e8646..405dfb8d3e 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs @@ -256,7 +256,6 @@ impl CompositionInteractionSourceCollection { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetComment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -264,7 +263,6 @@ impl CompositionInteractionSourceCollection { (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn SetImplicitAnimations(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, 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 25b7cd43bf..35b34d8159 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs @@ -773,7 +773,6 @@ impl SceneComponentCollection { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetComment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -781,7 +780,6 @@ impl SceneComponentCollection { (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn SetImplicitAnimations(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -847,7 +845,6 @@ impl SceneComponentCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { @@ -1521,7 +1518,6 @@ impl SceneMeshMaterialAttributeMap { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -2517,7 +2513,6 @@ impl SceneNodeCollection { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetComment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2525,7 +2520,6 @@ impl SceneNodeCollection { (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn SetImplicitAnimations(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -2591,7 +2585,6 @@ impl SceneNodeCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/UI/Composition/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/mod.rs index 2ab9fc40a7..ac4826b324 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/mod.rs @@ -2888,7 +2888,6 @@ impl CompositionAnimationGroup { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetComment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2896,7 +2895,6 @@ impl CompositionAnimationGroup { (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn SetImplicitAnimations(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -4049,7 +4047,6 @@ impl CompositionColorGradientStopCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -8371,7 +8368,6 @@ impl CompositionProjectedShadowCasterCollection { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetComment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -8379,7 +8375,6 @@ impl CompositionProjectedShadowCasterCollection { (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn SetImplicitAnimations(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -8729,7 +8724,6 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetComment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -8737,7 +8731,6 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn SetImplicitAnimations(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -10325,7 +10318,6 @@ impl CompositionShapeCollection { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetComment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -10333,7 +10325,6 @@ impl CompositionShapeCollection { (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn SetImplicitAnimations(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -10399,7 +10390,6 @@ impl CompositionShapeCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { @@ -10929,7 +10919,6 @@ impl CompositionStrokeDashArray { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetComment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -10937,7 +10926,6 @@ impl CompositionStrokeDashArray { (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn SetImplicitAnimations(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -11003,7 +10991,6 @@ impl CompositionStrokeDashArray { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { @@ -18042,7 +18029,6 @@ impl ImplicitAnimationCollection { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -18246,7 +18232,6 @@ impl InitialValueExpressionCollection { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { @@ -26580,7 +26565,6 @@ impl VisualCollection { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetComment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -26588,7 +26572,6 @@ impl VisualCollection { (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn SetImplicitAnimations(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -26787,7 +26770,6 @@ impl VisualUnorderedCollection { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetComment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -26795,7 +26777,6 @@ impl VisualUnorderedCollection { (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn SetImplicitAnimations(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, diff --git a/crates/libs/windows/src/Windows/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/UI/Shell/mod.rs index 4bfe2c6993..7b0b68b0cb 100644 --- a/crates/libs/windows/src/Windows/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Shell/mod.rs @@ -953,7 +953,6 @@ impl WindowTabCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(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 447b35362e..7e2dad9ef3 100644 --- a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs @@ -76,26 +76,68 @@ pub struct ISecondaryTile_Vtbl { pub TileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetArguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub SetShortName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetShortName: usize, + #[cfg(feature = "deprecated")] pub ShortName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + ShortName: usize, pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub SetLogo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetLogo: usize, + #[cfg(feature = "deprecated")] pub Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + Logo: usize, + #[cfg(feature = "deprecated")] pub SetSmallLogo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetSmallLogo: usize, + #[cfg(feature = "deprecated")] pub SmallLogo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SmallLogo: usize, + #[cfg(feature = "deprecated")] pub SetWideLogo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetWideLogo: usize, + #[cfg(feature = "deprecated")] pub WideLogo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + WideLogo: usize, pub SetLockScreenBadgeLogo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub LockScreenBadgeLogo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetLockScreenDisplayBadgeAndTileText: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub LockScreenDisplayBadgeAndTileText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub SetTileOptions: unsafe extern "system" fn(*mut core::ffi::c_void, TileOptions) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetTileOptions: usize, + #[cfg(feature = "deprecated")] pub TileOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TileOptions) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + TileOptions: usize, + #[cfg(feature = "deprecated")] pub SetForegroundText: unsafe extern "system" fn(*mut core::ffi::c_void, ForegroundText) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetForegroundText: usize, + #[cfg(feature = "deprecated")] pub ForegroundText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ForegroundText) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + ForegroundText: usize, + #[cfg(feature = "deprecated")] pub SetBackgroundColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::Color) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetBackgroundColor: usize, + #[cfg(feature = "deprecated")] pub BackgroundColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Color) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + BackgroundColor: usize, pub RequestCreateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestCreateAsyncWithPoint: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Point, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestCreateAsyncWithRect: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -134,8 +176,14 @@ impl windows_core::RuntimeType for ISecondaryTileFactory { #[repr(C)] pub struct ISecondaryTileFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, + #[cfg(feature = "deprecated")] pub CreateTile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, TileOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + CreateTile: usize, + #[cfg(feature = "deprecated")] pub CreateWideTile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, TileOptions, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + CreateWideTile: usize, pub CreateWithId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISecondaryTileFactory2, ISecondaryTileFactory2_Vtbl, 0x274b8a3b_522d_448e_9eb2_d0672ab345c8); @@ -175,10 +223,22 @@ impl windows_core::RuntimeType for ISecondaryTileVisualElements { #[repr(C)] pub struct ISecondaryTileVisualElements_Vtbl { pub base__: windows_core::IInspectable_Vtbl, + #[cfg(feature = "deprecated")] pub SetSquare30x30Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetSquare30x30Logo: usize, + #[cfg(feature = "deprecated")] pub Square30x30Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + Square30x30Logo: usize, + #[cfg(feature = "deprecated")] pub SetSquare70x70Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetSquare70x70Logo: usize, + #[cfg(feature = "deprecated")] pub Square70x70Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + Square70x70Logo: usize, pub SetSquare150x150Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Square150x150Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetWide310x150Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -556,10 +616,12 @@ impl SecondaryTile { (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn SetShortName(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetShortName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } + #[cfg(feature = "deprecated")] pub fn ShortName(&self) -> windows_core::Result { let this = self; unsafe { @@ -578,6 +640,7 @@ impl SecondaryTile { (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } + #[cfg(feature = "deprecated")] pub fn SetLogo(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -585,6 +648,7 @@ impl SecondaryTile { let this = self; unsafe { (windows_core::Interface::vtable(this).SetLogo)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } + #[cfg(feature = "deprecated")] pub fn Logo(&self) -> windows_core::Result { let this = self; unsafe { @@ -592,6 +656,7 @@ impl SecondaryTile { (windows_core::Interface::vtable(this).Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn SetSmallLogo(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -599,6 +664,7 @@ impl SecondaryTile { let this = self; unsafe { (windows_core::Interface::vtable(this).SetSmallLogo)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } + #[cfg(feature = "deprecated")] pub fn SmallLogo(&self) -> windows_core::Result { let this = self; unsafe { @@ -606,6 +672,7 @@ impl SecondaryTile { (windows_core::Interface::vtable(this).SmallLogo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn SetWideLogo(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -613,6 +680,7 @@ impl SecondaryTile { let this = self; unsafe { (windows_core::Interface::vtable(this).SetWideLogo)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } + #[cfg(feature = "deprecated")] pub fn WideLogo(&self) -> windows_core::Result { let this = self; unsafe { @@ -645,10 +713,12 @@ impl SecondaryTile { (windows_core::Interface::vtable(this).LockScreenDisplayBadgeAndTileText)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn SetTileOptions(&self, value: TileOptions) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetTileOptions)(windows_core::Interface::as_raw(this), value).ok() } } + #[cfg(feature = "deprecated")] pub fn TileOptions(&self) -> windows_core::Result { let this = self; unsafe { @@ -656,10 +726,12 @@ impl SecondaryTile { (windows_core::Interface::vtable(this).TileOptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn SetForegroundText(&self, value: ForegroundText) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetForegroundText)(windows_core::Interface::as_raw(this), value).ok() } } + #[cfg(feature = "deprecated")] pub fn ForegroundText(&self) -> windows_core::Result { let this = self; unsafe { @@ -667,10 +739,12 @@ impl SecondaryTile { (windows_core::Interface::vtable(this).ForegroundText)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn SetBackgroundColor(&self, value: super::Color) -> windows_core::Result<()> { let this = self; unsafe { (windows_core::Interface::vtable(this).SetBackgroundColor)(windows_core::Interface::as_raw(this), value).ok() } } + #[cfg(feature = "deprecated")] pub fn BackgroundColor(&self) -> windows_core::Result { let this = self; unsafe { @@ -786,6 +860,7 @@ impl SecondaryTile { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveVisualElementsRequested)(windows_core::Interface::as_raw(this), token).ok() } } + #[cfg(feature = "deprecated")] pub fn CreateTile(tileid: &windows_core::HSTRING, shortname: &windows_core::HSTRING, displayname: &windows_core::HSTRING, arguments: &windows_core::HSTRING, tileoptions: TileOptions, logoreference: P5) -> windows_core::Result where P5: windows_core::Param, @@ -795,6 +870,7 @@ impl SecondaryTile { (windows_core::Interface::vtable(this).CreateTile)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), core::mem::transmute_copy(shortname), core::mem::transmute_copy(displayname), core::mem::transmute_copy(arguments), tileoptions, logoreference.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } + #[cfg(feature = "deprecated")] pub fn CreateWideTile(tileid: &windows_core::HSTRING, shortname: &windows_core::HSTRING, displayname: &windows_core::HSTRING, arguments: &windows_core::HSTRING, tileoptions: TileOptions, logoreference: P5, widelogoreference: P6) -> windows_core::Result where P5: windows_core::Param, @@ -877,6 +953,7 @@ unsafe impl Sync for SecondaryTile {} pub struct SecondaryTileVisualElements(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SecondaryTileVisualElements, windows_core::IUnknown, windows_core::IInspectable); impl SecondaryTileVisualElements { + #[cfg(feature = "deprecated")] pub fn SetSquare30x30Logo(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -884,6 +961,7 @@ impl SecondaryTileVisualElements { let this = self; unsafe { (windows_core::Interface::vtable(this).SetSquare30x30Logo)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } + #[cfg(feature = "deprecated")] pub fn Square30x30Logo(&self) -> windows_core::Result { let this = self; unsafe { @@ -891,6 +969,7 @@ impl SecondaryTileVisualElements { (windows_core::Interface::vtable(this).Square30x30Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn SetSquare70x70Logo(&self, value: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -898,6 +977,7 @@ impl SecondaryTileVisualElements { let this = self; unsafe { (windows_core::Interface::vtable(this).SetSquare70x70Logo)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } + #[cfg(feature = "deprecated")] pub fn Square70x70Logo(&self) -> windows_core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs index b9b84d11ae..3a8d6a6fb3 100644 --- a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs @@ -118,6 +118,7 @@ impl ApplicationView { (windows_core::Interface::vtable(this).AdjacentToRightDisplayEdge)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn IsFullScreen(&self) -> windows_core::Result { let this = self; unsafe { @@ -175,6 +176,7 @@ impl ApplicationView { let this = self; unsafe { (windows_core::Interface::vtable(this).RemoveConsolidated)(windows_core::Interface::as_raw(this), token).ok() } } + #[cfg(feature = "deprecated")] pub fn SuppressSystemOverlays(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -182,6 +184,7 @@ impl ApplicationView { (windows_core::Interface::vtable(this).SuppressSystemOverlays)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } + #[cfg(feature = "deprecated")] pub fn SetSuppressSystemOverlays(&self, value: bool) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetSuppressSystemOverlays)(windows_core::Interface::as_raw(this), value).ok() } @@ -337,6 +340,7 @@ impl ApplicationView { (windows_core::Interface::vtable(this).GetDisplayRegions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] pub fn TryUnsnapToFullscreen() -> windows_core::Result { Self::IApplicationViewFullscreenStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -353,12 +357,14 @@ impl ApplicationView { (windows_core::Interface::vtable(this).GetApplicationViewIdForWindow)(windows_core::Interface::as_raw(this), window.param().abi(), &mut result__).map(|| result__) }) } + #[cfg(feature = "deprecated")] pub fn Value() -> windows_core::Result { Self::IApplicationViewStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } + #[cfg(feature = "deprecated")] pub fn TryUnsnap() -> windows_core::Result { Self::IApplicationViewStatics(|this| unsafe { let mut result__ = core::mem::zeroed(); @@ -411,6 +417,7 @@ impl ApplicationView { (windows_core::Interface::vtable(this).UIContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } + #[cfg(feature = "deprecated")] fn IApplicationViewFullscreenStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) @@ -419,6 +426,7 @@ impl ApplicationView { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } + #[cfg(feature = "deprecated")] fn IApplicationViewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) @@ -999,7 +1007,10 @@ pub struct IApplicationView_Vtbl { pub Orientation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ApplicationViewOrientation) -> windows_core::HRESULT, pub AdjacentToLeftDisplayEdge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub AdjacentToRightDisplayEdge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + #[cfg(feature = "deprecated")] pub IsFullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + IsFullScreen: usize, pub IsOnLockScreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsScreenCaptureEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsScreenCaptureEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, @@ -1016,8 +1027,14 @@ impl windows_core::RuntimeType for IApplicationView2 { #[repr(C)] pub struct IApplicationView2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, + #[cfg(feature = "deprecated")] pub SuppressSystemOverlays: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SuppressSystemOverlays: usize, + #[cfg(feature = "deprecated")] pub SetSuppressSystemOverlays: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, + #[cfg(not(feature = "deprecated"))] + SetSuppressSystemOverlays: usize, pub VisibleBounds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Rect) -> windows_core::HRESULT, pub VisibleBoundsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, pub RemoveVisibleBoundsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, @@ -1108,10 +1125,7 @@ impl windows_core::RuntimeType for IApplicationViewFullscreenStatics { #[repr(C)] pub struct IApplicationViewFullscreenStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub TryUnsnapToFullscreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TryUnsnapToFullscreen: usize, } windows_core::imp::define_interface!(IApplicationViewInteropStatics, IApplicationViewInteropStatics_Vtbl, 0xc446fb5d_4793_4896_a8e2_be57a8bb0f50); impl windows_core::RuntimeType for IApplicationViewInteropStatics { @@ -1153,14 +1167,8 @@ impl windows_core::RuntimeType for IApplicationViewStatics { #[repr(C)] pub struct IApplicationViewStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "deprecated")] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ApplicationViewState) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - Value: usize, - #[cfg(feature = "deprecated")] pub TryUnsnap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - #[cfg(not(feature = "deprecated"))] - TryUnsnap: usize, } windows_core::imp::define_interface!(IApplicationViewStatics2, IApplicationViewStatics2_Vtbl, 0xaf338ae5_cf64_423c_85e5_f3e72448fb23); impl windows_core::RuntimeType for IApplicationViewStatics2 { diff --git a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs index 3e03f15771..2760585f49 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs @@ -1169,7 +1169,6 @@ pub struct SuspendingEventArgs(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SuspendingEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::ISuspendingEventArgs); #[cfg(feature = "ApplicationModel")] impl SuspendingEventArgs { - #[cfg(feature = "ApplicationModel")] pub fn SuspendingOperation(&self) -> windows_core::Result { let this = self; unsafe { @@ -1274,7 +1273,6 @@ pub struct SuspendingOperation(windows_core::IUnknown); windows_core::imp::interface_hierarchy!(SuspendingOperation, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::ISuspendingOperation); #[cfg(feature = "ApplicationModel")] impl SuspendingOperation { - #[cfg(feature = "ApplicationModel")] pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { @@ -1456,7 +1454,6 @@ windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderAddAppointmentA windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderAddAppointmentActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1464,7 +1461,6 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1472,7 +1468,6 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1534,7 +1529,6 @@ windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderRemoveAppointme windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1542,7 +1536,6 @@ impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1550,7 +1543,6 @@ impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1612,7 +1604,6 @@ windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderReplaceAppointm windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1620,7 +1611,6 @@ impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1628,7 +1618,6 @@ impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1690,7 +1679,6 @@ windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderShowAppointment windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1698,7 +1686,6 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1706,7 +1693,6 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1781,7 +1767,6 @@ windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderShowTimeFrameAc windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1789,7 +1774,6 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1797,7 +1781,6 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1888,7 +1871,6 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { (windows_core::Interface::vtable(this).InstanceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "ApplicationModel_Background")] pub fn Task(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1914,7 +1896,6 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { (windows_core::Interface::vtable(this).TriggerDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "ApplicationModel_Background")] pub fn Canceled(&self, cancelhandler: P0) -> windows_core::Result where P0: windows_core::Param, @@ -1936,7 +1917,6 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { (windows_core::Interface::vtable(this).SuspendedCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Background")] pub fn GetDeferral(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1979,7 +1959,6 @@ windows_core::imp::interface_hierarchy!(WebUIBarcodeScannerPreviewActivatedEvent windows_core::imp::required_hierarchy!(WebUIBarcodeScannerPreviewActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIBarcodeScannerPreviewActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1987,7 +1966,6 @@ impl WebUIBarcodeScannerPreviewActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -1995,7 +1973,6 @@ impl WebUIBarcodeScannerPreviewActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2053,7 +2030,6 @@ windows_core::imp::interface_hierarchy!(WebUICachedFileUpdaterActivatedEventArgs windows_core::imp::required_hierarchy!(WebUICachedFileUpdaterActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUICachedFileUpdaterActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2061,7 +2037,6 @@ impl WebUICachedFileUpdaterActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2069,7 +2044,6 @@ impl WebUICachedFileUpdaterActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2124,7 +2098,6 @@ windows_core::imp::interface_hierarchy!(WebUICameraSettingsActivatedEventArgs, w windows_core::imp::required_hierarchy!(WebUICameraSettingsActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(feature = "ApplicationModel_Activation")] impl WebUICameraSettingsActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2132,7 +2105,6 @@ impl WebUICameraSettingsActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2140,7 +2112,6 @@ impl WebUICameraSettingsActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2193,7 +2164,6 @@ windows_core::imp::interface_hierarchy!(WebUICommandLineActivatedEventArgs, wind windows_core::imp::required_hierarchy!(WebUICommandLineActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUICommandLineActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2201,7 +2171,6 @@ impl WebUICommandLineActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2209,7 +2178,6 @@ impl WebUICommandLineActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2232,7 +2200,6 @@ impl WebUICommandLineActivatedEventArgs { (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { @@ -2268,7 +2235,6 @@ windows_core::imp::interface_hierarchy!(WebUIContactCallActivatedEventArgs, wind windows_core::imp::required_hierarchy!(WebUIContactCallActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactCallActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2276,7 +2242,6 @@ impl WebUIContactCallActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2284,7 +2249,6 @@ impl WebUIContactCallActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2352,7 +2316,6 @@ windows_core::imp::interface_hierarchy!(WebUIContactMapActivatedEventArgs, windo windows_core::imp::required_hierarchy!(WebUIContactMapActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactMapActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2360,7 +2323,6 @@ impl WebUIContactMapActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2368,7 +2330,6 @@ impl WebUIContactMapActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2430,7 +2391,6 @@ windows_core::imp::interface_hierarchy!(WebUIContactMessageActivatedEventArgs, w windows_core::imp::required_hierarchy!(WebUIContactMessageActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactMessageActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2438,7 +2398,6 @@ impl WebUIContactMessageActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2446,7 +2405,6 @@ impl WebUIContactMessageActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2514,7 +2472,6 @@ windows_core::imp::interface_hierarchy!(WebUIContactPanelActivatedEventArgs, win windows_core::imp::required_hierarchy!(WebUIContactPanelActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactPanelActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2522,7 +2479,6 @@ impl WebUIContactPanelActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2530,7 +2486,6 @@ impl WebUIContactPanelActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2597,7 +2552,6 @@ windows_core::imp::interface_hierarchy!(WebUIContactPickerActivatedEventArgs, wi windows_core::imp::required_hierarchy!(WebUIContactPickerActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactPickerActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2605,7 +2559,6 @@ impl WebUIContactPickerActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2613,7 +2566,6 @@ impl WebUIContactPickerActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2660,7 +2612,6 @@ windows_core::imp::interface_hierarchy!(WebUIContactPostActivatedEventArgs, wind windows_core::imp::required_hierarchy!(WebUIContactPostActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactPostActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2668,7 +2619,6 @@ impl WebUIContactPostActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2676,7 +2626,6 @@ impl WebUIContactPostActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2744,7 +2693,6 @@ windows_core::imp::interface_hierarchy!(WebUIContactVideoCallActivatedEventArgs, windows_core::imp::required_hierarchy!(WebUIContactVideoCallActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactVideoCallActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2752,7 +2700,6 @@ impl WebUIContactVideoCallActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2760,7 +2707,6 @@ impl WebUIContactVideoCallActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2828,7 +2774,6 @@ windows_core::imp::interface_hierarchy!(WebUIDeviceActivatedEventArgs, windows_c windows_core::imp::required_hierarchy!(WebUIDeviceActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIDeviceActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2836,7 +2781,6 @@ impl WebUIDeviceActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2844,7 +2788,6 @@ impl WebUIDeviceActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2912,7 +2855,6 @@ windows_core::imp::interface_hierarchy!(WebUIDevicePairingActivatedEventArgs, wi windows_core::imp::required_hierarchy!(WebUIDevicePairingActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIDevicePairingActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2920,7 +2862,6 @@ impl WebUIDevicePairingActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2928,7 +2869,6 @@ impl WebUIDevicePairingActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2983,7 +2923,6 @@ windows_core::imp::interface_hierarchy!(WebUIDialReceiverActivatedEventArgs, win windows_core::imp::required_hierarchy!(WebUIDialReceiverActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIDialReceiverActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2991,7 +2930,6 @@ impl WebUIDialReceiverActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -2999,7 +2937,6 @@ impl WebUIDialReceiverActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3074,7 +3011,6 @@ windows_core::imp::interface_hierarchy!(WebUIFileActivatedEventArgs, windows_cor windows_core::imp::required_hierarchy!(WebUIFileActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::IFileActivatedEventArgsWithNeighboringFiles); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIFileActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3082,7 +3018,6 @@ impl WebUIFileActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3090,7 +3025,6 @@ impl WebUIFileActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3167,7 +3101,6 @@ windows_core::imp::interface_hierarchy!(WebUIFileOpenPickerActivatedEventArgs, w windows_core::imp::required_hierarchy!(WebUIFileOpenPickerActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs2); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIFileOpenPickerActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3175,7 +3108,6 @@ impl WebUIFileOpenPickerActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3183,7 +3115,6 @@ impl WebUIFileOpenPickerActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3245,7 +3176,6 @@ windows_core::imp::interface_hierarchy!(WebUIFileOpenPickerContinuationEventArgs windows_core::imp::required_hierarchy!(WebUIFileOpenPickerContinuationEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl WebUIFileOpenPickerContinuationEventArgs { - #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3253,7 +3183,6 @@ impl WebUIFileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3261,7 +3190,6 @@ impl WebUIFileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3269,7 +3197,6 @@ impl WebUIFileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3277,7 +3204,7 @@ impl WebUIFileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "System", feature = "deprecated"))] + #[cfg(feature = "System")] pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3285,7 +3212,7 @@ impl WebUIFileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3293,7 +3220,7 @@ impl WebUIFileOpenPickerContinuationEventArgs { (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn Files(&self) -> windows_core::Result> { let this = self; unsafe { @@ -3325,7 +3252,6 @@ windows_core::imp::interface_hierarchy!(WebUIFileSavePickerActivatedEventArgs, w windows_core::imp::required_hierarchy!(WebUIFileSavePickerActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIFileSavePickerActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3333,7 +3259,6 @@ impl WebUIFileSavePickerActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3341,7 +3266,6 @@ impl WebUIFileSavePickerActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3410,7 +3334,6 @@ windows_core::imp::interface_hierarchy!(WebUIFileSavePickerContinuationEventArgs windows_core::imp::required_hierarchy!(WebUIFileSavePickerContinuationEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl WebUIFileSavePickerContinuationEventArgs { - #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3418,7 +3341,6 @@ impl WebUIFileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3426,7 +3348,6 @@ impl WebUIFileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3434,7 +3355,6 @@ impl WebUIFileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3442,7 +3362,7 @@ impl WebUIFileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "System", feature = "deprecated"))] + #[cfg(feature = "System")] pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3450,7 +3370,7 @@ impl WebUIFileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3458,7 +3378,7 @@ impl WebUIFileSavePickerContinuationEventArgs { (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] + #[cfg(feature = "Storage_Streams")] pub fn File(&self) -> windows_core::Result { let this = self; unsafe { @@ -3490,7 +3410,6 @@ windows_core::imp::interface_hierarchy!(WebUIFolderPickerContinuationEventArgs, windows_core::imp::required_hierarchy!(WebUIFolderPickerContinuationEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl WebUIFolderPickerContinuationEventArgs { - #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3498,7 +3417,6 @@ impl WebUIFolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3506,7 +3424,6 @@ impl WebUIFolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3514,7 +3431,6 @@ impl WebUIFolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3522,7 +3438,7 @@ impl WebUIFolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "System", feature = "deprecated"))] + #[cfg(feature = "System")] pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3530,7 +3446,7 @@ impl WebUIFolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] + #[cfg(feature = "Foundation_Collections")] pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3538,7 +3454,7 @@ impl WebUIFolderPickerContinuationEventArgs { (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Search", feature = "deprecated"))] + #[cfg(feature = "Storage_Search")] pub fn Folder(&self) -> windows_core::Result { let this = self; unsafe { @@ -3570,7 +3486,6 @@ windows_core::imp::interface_hierarchy!(WebUILaunchActivatedEventArgs, windows_c windows_core::imp::required_hierarchy!(WebUILaunchActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs2, super::super::ApplicationModel::Activation::IPrelaunchActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUILaunchActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3578,7 +3493,6 @@ impl WebUILaunchActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3586,7 +3500,6 @@ impl WebUILaunchActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3630,7 +3543,6 @@ impl WebUILaunchActivatedEventArgs { (windows_core::Interface::vtable(this).TileId)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn TileActivatedInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3669,7 +3581,6 @@ windows_core::imp::interface_hierarchy!(WebUILockScreenActivatedEventArgs, windo windows_core::imp::required_hierarchy!(WebUILockScreenActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUILockScreenActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3677,7 +3588,6 @@ impl WebUILockScreenActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3685,7 +3595,6 @@ impl WebUILockScreenActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3746,7 +3655,6 @@ windows_core::imp::interface_hierarchy!(WebUILockScreenCallActivatedEventArgs, w windows_core::imp::required_hierarchy!(WebUILockScreenCallActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUILockScreenCallActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3754,7 +3662,6 @@ impl WebUILockScreenCallActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3762,7 +3669,6 @@ impl WebUILockScreenCallActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3830,7 +3736,6 @@ windows_core::imp::interface_hierarchy!(WebUILockScreenComponentActivatedEventAr windows_core::imp::required_hierarchy!(WebUILockScreenComponentActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(feature = "ApplicationModel_Activation")] impl WebUILockScreenComponentActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { @@ -3838,7 +3743,6 @@ impl WebUILockScreenComponentActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = self; unsafe { @@ -3846,7 +3750,6 @@ impl WebUILockScreenComponentActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = self; unsafe { @@ -3951,7 +3854,6 @@ windows_core::imp::interface_hierarchy!(WebUIPhoneCallActivatedEventArgs, window windows_core::imp::required_hierarchy!(WebUIPhoneCallActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIPhoneCallActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3959,7 +3861,6 @@ impl WebUIPhoneCallActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -3967,7 +3868,6 @@ impl WebUIPhoneCallActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4025,7 +3925,6 @@ windows_core::imp::interface_hierarchy!(WebUIPrint3DWorkflowActivatedEventArgs, windows_core::imp::required_hierarchy!(WebUIPrint3DWorkflowActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIPrint3DWorkflowActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4033,7 +3932,6 @@ impl WebUIPrint3DWorkflowActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4041,7 +3939,6 @@ impl WebUIPrint3DWorkflowActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4088,7 +3985,6 @@ windows_core::imp::interface_hierarchy!(WebUIPrintTaskSettingsActivatedEventArgs windows_core::imp::required_hierarchy!(WebUIPrintTaskSettingsActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIPrintTaskSettingsActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4096,7 +3992,6 @@ impl WebUIPrintTaskSettingsActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4104,7 +3999,6 @@ impl WebUIPrintTaskSettingsActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4151,7 +4045,6 @@ windows_core::imp::interface_hierarchy!(WebUIPrintWorkflowForegroundTaskActivate windows_core::imp::required_hierarchy!(WebUIPrintWorkflowForegroundTaskActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIPrintWorkflowForegroundTaskActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { @@ -4159,7 +4052,6 @@ impl WebUIPrintWorkflowForegroundTaskActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = self; unsafe { @@ -4167,7 +4059,6 @@ impl WebUIPrintWorkflowForegroundTaskActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = self; unsafe { @@ -4206,7 +4097,6 @@ windows_core::imp::interface_hierarchy!(WebUIProtocolActivatedEventArgs, windows windows_core::imp::required_hierarchy!(WebUIProtocolActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIProtocolActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4214,7 +4104,6 @@ impl WebUIProtocolActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4222,7 +4111,6 @@ impl WebUIProtocolActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4298,7 +4186,6 @@ windows_core::imp::interface_hierarchy!(WebUIProtocolForResultsActivatedEventArg windows_core::imp::required_hierarchy!(WebUIProtocolForResultsActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::IProtocolActivatedEventArgs, super::super::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIProtocolForResultsActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4306,7 +4193,6 @@ impl WebUIProtocolForResultsActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4314,7 +4200,6 @@ impl WebUIProtocolForResultsActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4398,7 +4283,6 @@ windows_core::imp::interface_hierarchy!(WebUIRestrictedLaunchActivatedEventArgs, windows_core::imp::required_hierarchy!(WebUIRestrictedLaunchActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIRestrictedLaunchActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4406,7 +4290,6 @@ impl WebUIRestrictedLaunchActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4414,7 +4297,6 @@ impl WebUIRestrictedLaunchActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4468,7 +4350,6 @@ windows_core::imp::interface_hierarchy!(WebUISearchActivatedEventArgs, windows_c windows_core::imp::required_hierarchy!(WebUISearchActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::ISearchActivatedEventArgsWithLinguisticDetails); #[cfg(feature = "ApplicationModel_Activation")] impl WebUISearchActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4476,7 +4357,6 @@ impl WebUISearchActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4484,7 +4364,6 @@ impl WebUISearchActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4552,7 +4431,6 @@ windows_core::imp::interface_hierarchy!(WebUIShareTargetActivatedEventArgs, wind windows_core::imp::required_hierarchy!(WebUIShareTargetActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIShareTargetActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4560,7 +4438,6 @@ impl WebUIShareTargetActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4568,7 +4445,6 @@ impl WebUIShareTargetActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4623,7 +4499,6 @@ windows_core::imp::interface_hierarchy!(WebUIStartupTaskActivatedEventArgs, wind windows_core::imp::required_hierarchy!(WebUIStartupTaskActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIStartupTaskActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4631,7 +4506,6 @@ impl WebUIStartupTaskActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4639,7 +4513,6 @@ impl WebUIStartupTaskActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4697,7 +4570,6 @@ windows_core::imp::interface_hierarchy!(WebUIToastNotificationActivatedEventArgs windows_core::imp::required_hierarchy!(WebUIToastNotificationActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIToastNotificationActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4705,7 +4577,6 @@ impl WebUIToastNotificationActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4713,7 +4584,6 @@ impl WebUIToastNotificationActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4775,7 +4645,6 @@ windows_core::imp::interface_hierarchy!(WebUIUserDataAccountProviderActivatedEve windows_core::imp::required_hierarchy!(WebUIUserDataAccountProviderActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIUserDataAccountProviderActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4783,7 +4652,6 @@ impl WebUIUserDataAccountProviderActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4791,7 +4659,6 @@ impl WebUIUserDataAccountProviderActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4953,7 +4820,6 @@ impl WebUIView { (windows_core::Interface::vtable(this).ContainsFullScreenElement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Web_UI")] pub fn Settings(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -4961,7 +4827,7 @@ impl WebUIView { (windows_core::Interface::vtable(this).Settings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "Web_UI"))] + #[cfg(feature = "Foundation_Collections")] pub fn DeferredPermissionRequests(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5050,12 +4916,10 @@ impl WebUIView { (windows_core::Interface::vtable(this).BuildLocalStreamUri)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contentidentifier), core::mem::transmute_copy(relativepath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Web_UI")] pub fn GetDeferredPermissionRequestById(&self, id: u32, result: &mut Option) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).GetDeferredPermissionRequestById)(windows_core::Interface::as_raw(this), id, result as *mut _ as _).ok() } } - #[cfg(feature = "Web_UI")] pub fn NavigationStarting(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5070,7 +4934,6 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveNavigationStarting)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "Web_UI")] pub fn ContentLoading(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5085,7 +4948,6 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveContentLoading)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "Web_UI")] pub fn DOMContentLoaded(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5100,7 +4962,6 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveDOMContentLoaded)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "Web_UI")] pub fn NavigationCompleted(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5115,7 +4976,6 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveNavigationCompleted)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "Web_UI")] pub fn FrameNavigationStarting(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5130,7 +4990,6 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveFrameNavigationStarting)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "Web_UI")] pub fn FrameContentLoading(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5145,7 +5004,6 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveFrameContentLoading)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "Web_UI")] pub fn FrameDOMContentLoaded(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5160,7 +5018,6 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveFrameDOMContentLoaded)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "Web_UI")] pub fn FrameNavigationCompleted(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5175,7 +5032,6 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveFrameNavigationCompleted)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "Web_UI")] pub fn ScriptNotify(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5190,7 +5046,6 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveScriptNotify)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "Web_UI")] pub fn LongRunningScriptDetected(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5219,7 +5074,6 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveUnsafeContentWarningDisplaying)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "Web_UI")] pub fn UnviewableContentIdentified(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5234,7 +5088,6 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveUnviewableContentIdentified)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "Web_UI")] pub fn PermissionRequested(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5249,7 +5102,6 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemovePermissionRequested)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "Web_UI")] pub fn UnsupportedUriSchemeIdentified(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5264,7 +5116,6 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveUnsupportedUriSchemeIdentified)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "Web_UI")] pub fn NewWindowRequested(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5293,7 +5144,6 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).RemoveContainsFullScreenElementChanged)(windows_core::Interface::as_raw(this), token).ok() } } - #[cfg(feature = "Web_UI")] pub fn WebResourceRequested(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param>, @@ -5340,7 +5190,6 @@ windows_core::imp::interface_hierarchy!(WebUIVoiceCommandActivatedEventArgs, win windows_core::imp::required_hierarchy!(WebUIVoiceCommandActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIVoiceCommandActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5348,7 +5197,6 @@ impl WebUIVoiceCommandActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5356,7 +5204,6 @@ impl WebUIVoiceCommandActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5411,7 +5258,6 @@ windows_core::imp::interface_hierarchy!(WebUIWalletActionActivatedEventArgs, win windows_core::imp::required_hierarchy!(WebUIWalletActionActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl WebUIWalletActionActivatedEventArgs { - #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5419,7 +5265,6 @@ impl WebUIWalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5427,7 +5272,6 @@ impl WebUIWalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5435,7 +5279,6 @@ impl WebUIWalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5443,7 +5286,6 @@ impl WebUIWalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "deprecated")] pub fn ItemId(&self) -> windows_core::Result { let this = self; unsafe { @@ -5451,7 +5293,7 @@ impl WebUIWalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).ItemId)(windows_core::Interface::as_raw(this), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "ApplicationModel_Wallet", feature = "deprecated"))] + #[cfg(feature = "ApplicationModel_Wallet")] pub fn ActionKind(&self) -> windows_core::Result { let this = self; unsafe { @@ -5459,7 +5301,6 @@ impl WebUIWalletActionActivatedEventArgs { (windows_core::Interface::vtable(this).ActionKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "deprecated")] pub fn ActionId(&self) -> windows_core::Result { let this = self; unsafe { @@ -5491,7 +5332,6 @@ windows_core::imp::interface_hierarchy!(WebUIWebAccountProviderActivatedEventArg windows_core::imp::required_hierarchy!(WebUIWebAccountProviderActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIWebAccountProviderActivatedEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5499,7 +5339,6 @@ impl WebUIWebAccountProviderActivatedEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5507,7 +5346,6 @@ impl WebUIWebAccountProviderActivatedEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5562,7 +5400,6 @@ windows_core::imp::interface_hierarchy!(WebUIWebAuthenticationBrokerContinuation windows_core::imp::required_hierarchy!(WebUIWebAuthenticationBrokerContinuationEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIWebAuthenticationBrokerContinuationEventArgs { - #[cfg(feature = "ApplicationModel_Activation")] pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5570,7 +5407,6 @@ impl WebUIWebAuthenticationBrokerContinuationEventArgs { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -5578,7 +5414,6 @@ impl WebUIWebAuthenticationBrokerContinuationEventArgs { (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "ApplicationModel_Activation")] pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs index dc09da5fa4..1946f4fdea 100644 --- a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs +++ b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs @@ -15,7 +15,6 @@ impl AtomPubClient { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[cfg(feature = "Web_Syndication")] pub fn RetrieveServiceDocumentAsync(&self, uri: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -26,7 +25,7 @@ impl AtomPubClient { (windows_core::Interface::vtable(this).RetrieveServiceDocumentAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "Web_Syndication"))] + #[cfg(feature = "Storage_Streams")] pub fn RetrieveMediaResourceAsync(&self, uri: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -37,7 +36,6 @@ impl AtomPubClient { (windows_core::Interface::vtable(this).RetrieveMediaResourceAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Web_Syndication")] pub fn RetrieveResourceAsync(&self, uri: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -48,7 +46,6 @@ impl AtomPubClient { (windows_core::Interface::vtable(this).RetrieveResourceAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Web_Syndication")] pub fn CreateResourceAsync(&self, uri: P0, description: &windows_core::HSTRING, item: P2) -> windows_core::Result> where P0: windows_core::Param, @@ -60,7 +57,7 @@ impl AtomPubClient { (windows_core::Interface::vtable(this).CreateResourceAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), core::mem::transmute_copy(description), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "Web_Syndication"))] + #[cfg(feature = "Storage_Streams")] pub fn CreateMediaResourceAsync(&self, uri: P0, mediatype: &windows_core::HSTRING, description: &windows_core::HSTRING, mediastream: P3) -> windows_core::Result> where P0: windows_core::Param, @@ -72,7 +69,7 @@ impl AtomPubClient { (windows_core::Interface::vtable(this).CreateMediaResourceAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), core::mem::transmute_copy(mediatype), core::mem::transmute_copy(description), mediastream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Storage_Streams", feature = "Web_Syndication"))] + #[cfg(feature = "Storage_Streams")] pub fn UpdateMediaResourceAsync(&self, uri: P0, mediatype: &windows_core::HSTRING, mediastream: P2) -> windows_core::Result> where P0: windows_core::Param, @@ -84,7 +81,6 @@ impl AtomPubClient { (windows_core::Interface::vtable(this).UpdateMediaResourceAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), core::mem::transmute_copy(mediatype), mediastream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Web_Syndication")] pub fn UpdateResourceAsync(&self, uri: P0, item: P1) -> windows_core::Result> where P0: windows_core::Param, @@ -96,7 +92,6 @@ impl AtomPubClient { (windows_core::Interface::vtable(this).UpdateResourceAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Web_Syndication")] pub fn UpdateResourceItemAsync(&self, item: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -107,7 +102,6 @@ impl AtomPubClient { (windows_core::Interface::vtable(this).UpdateResourceItemAsync)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Web_Syndication")] pub fn DeleteResourceAsync(&self, uri: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -118,7 +112,6 @@ impl AtomPubClient { (windows_core::Interface::vtable(this).DeleteResourceAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Web_Syndication")] pub fn DeleteResourceItemAsync(&self, item: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -212,7 +205,6 @@ impl AtomPubClient { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetRequestHeader)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(value)).ok() } } - #[cfg(feature = "Web_Syndication")] pub fn RetrieveFeedAsync(&self, uri: P0) -> windows_core::Result> where P0: windows_core::Param, @@ -255,46 +247,25 @@ impl windows_core::RuntimeType for IAtomPubClient { #[repr(C)] pub struct IAtomPubClient_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "Web_Syndication")] pub RetrieveServiceDocumentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Web_Syndication"))] - RetrieveServiceDocumentAsync: usize, - #[cfg(all(feature = "Storage_Streams", feature = "Web_Syndication"))] + #[cfg(feature = "Storage_Streams")] pub RetrieveMediaResourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "Web_Syndication")))] + #[cfg(not(feature = "Storage_Streams"))] RetrieveMediaResourceAsync: usize, - #[cfg(feature = "Web_Syndication")] pub RetrieveResourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Web_Syndication"))] - RetrieveResourceAsync: usize, - #[cfg(feature = "Web_Syndication")] pub CreateResourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Web_Syndication"))] - CreateResourceAsync: usize, - #[cfg(all(feature = "Storage_Streams", feature = "Web_Syndication"))] + #[cfg(feature = "Storage_Streams")] pub CreateMediaResourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "Web_Syndication")))] + #[cfg(not(feature = "Storage_Streams"))] CreateMediaResourceAsync: usize, - #[cfg(all(feature = "Storage_Streams", feature = "Web_Syndication"))] + #[cfg(feature = "Storage_Streams")] pub UpdateMediaResourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Storage_Streams", feature = "Web_Syndication")))] + #[cfg(not(feature = "Storage_Streams"))] UpdateMediaResourceAsync: usize, - #[cfg(feature = "Web_Syndication")] pub UpdateResourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Web_Syndication"))] - UpdateResourceAsync: usize, - #[cfg(feature = "Web_Syndication")] pub UpdateResourceItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Web_Syndication"))] - UpdateResourceItemAsync: usize, - #[cfg(feature = "Web_Syndication")] pub DeleteResourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Web_Syndication"))] - DeleteResourceAsync: usize, - #[cfg(feature = "Web_Syndication")] pub DeleteResourceItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Web_Syndication"))] - DeleteResourceItemAsync: usize, pub CancelAsyncOperations: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAtomPubClientFactory, IAtomPubClientFactory_Vtbl, 0x49d55012_57cb_4bde_ab9f_2610b172777b); @@ -319,14 +290,11 @@ impl windows_core::RuntimeType for IResourceCollection { #[repr(C)] pub struct IResourceCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "Web_Syndication")] pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Web_Syndication"))] - Title: usize, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Foundation_Collections", feature = "Web_Syndication"))] + #[cfg(feature = "Foundation_Collections")] pub Categories: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Foundation_Collections", feature = "Web_Syndication")))] + #[cfg(not(feature = "Foundation_Collections"))] Categories: usize, #[cfg(feature = "Foundation_Collections")] pub Accepts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -358,10 +326,7 @@ impl windows_core::RuntimeType for IWorkspace { #[repr(C)] pub struct IWorkspace_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - #[cfg(feature = "Web_Syndication")] pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Web_Syndication"))] - Title: usize, #[cfg(feature = "Foundation_Collections")] pub Collections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -377,7 +342,6 @@ windows_core::imp::interface_hierarchy!(ResourceCollection, windows_core::IUnkno windows_core::imp::required_hierarchy!(ResourceCollection, super::Syndication::ISyndicationNode); #[cfg(feature = "Web_Syndication")] impl ResourceCollection { - #[cfg(feature = "Web_Syndication")] pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { @@ -392,7 +356,7 @@ impl ResourceCollection { (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "Web_Syndication"))] + #[cfg(feature = "Foundation_Collections")] pub fn Categories(&self) -> windows_core::Result> { let this = self; unsafe { @@ -466,7 +430,7 @@ impl ResourceCollection { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetBaseUri)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(all(feature = "Foundation_Collections", feature = "Web_Syndication"))] + #[cfg(feature = "Foundation_Collections")] pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -482,7 +446,7 @@ impl ResourceCollection { (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Data_Xml_Dom", feature = "Web_Syndication"))] + #[cfg(feature = "Data_Xml_Dom")] pub fn GetXmlDocument(&self, format: super::Syndication::SyndicationFormat) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -584,7 +548,7 @@ impl ServiceDocument { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetBaseUri)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(all(feature = "Foundation_Collections", feature = "Web_Syndication"))] + #[cfg(feature = "Foundation_Collections")] pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -600,7 +564,7 @@ impl ServiceDocument { (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Data_Xml_Dom", feature = "Web_Syndication"))] + #[cfg(feature = "Data_Xml_Dom")] pub fn GetXmlDocument(&self, format: super::Syndication::SyndicationFormat) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -694,7 +658,7 @@ impl Workspace { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetBaseUri)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(all(feature = "Foundation_Collections", feature = "Web_Syndication"))] + #[cfg(feature = "Foundation_Collections")] pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -710,7 +674,7 @@ impl Workspace { (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Data_Xml_Dom", feature = "Web_Syndication"))] + #[cfg(feature = "Data_Xml_Dom")] pub fn GetXmlDocument(&self, format: super::Syndication::SyndicationFormat) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { @@ -718,7 +682,6 @@ impl Workspace { (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Web_Syndication")] pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs index bea47fa077..d182b79d83 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs @@ -103,7 +103,6 @@ impl HttpCacheDirectiveHeaderValueCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -328,7 +327,6 @@ impl HttpChallengeHeaderValueCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -532,7 +530,6 @@ impl HttpConnectionOptionHeaderValueCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -736,7 +733,6 @@ impl HttpContentCodingHeaderValueCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -953,7 +949,6 @@ impl HttpContentCodingWithQualityHeaderValueCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -1198,7 +1193,6 @@ impl HttpContentHeaderCollection { let this = self; unsafe { (windows_core::Interface::vtable(this).SetContentDisposition)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn ContentEncoding(&self) -> windows_core::Result { let this = self; unsafe { @@ -1206,7 +1200,7 @@ impl HttpContentHeaderCollection { (windows_core::Interface::vtable(this).ContentEncoding)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Foundation_Collections", feature = "Globalization"))] + #[cfg(feature = "Globalization")] pub fn ContentLanguage(&self) -> windows_core::Result { let this = self; unsafe { @@ -1353,7 +1347,6 @@ impl HttpContentHeaderCollection { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -1638,7 +1631,6 @@ impl HttpCookiePairHeaderValueCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -2003,7 +1995,6 @@ impl HttpExpectationHeaderValueCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -2148,7 +2139,6 @@ impl HttpLanguageHeaderValueCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -2365,7 +2355,6 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -2694,7 +2683,6 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -2839,7 +2827,6 @@ impl HttpMethodHeaderValueCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -3204,7 +3191,6 @@ impl HttpProductInfoHeaderValueCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -3310,7 +3296,6 @@ windows_core::imp::interface_hierarchy!(HttpRequestHeaderCollection, windows_cor windows_core::imp::required_hierarchy ! ( HttpRequestHeaderCollection , super::super::super::Foundation::Collections:: IIterable < super::super::super::Foundation::Collections:: IKeyValuePair < windows_core::HSTRING , windows_core::HSTRING > > , super::super::super::Foundation::Collections:: IMap < windows_core::HSTRING , windows_core::HSTRING > , super::super::super::Foundation:: IStringable ); #[cfg(feature = "Foundation_Collections")] impl HttpRequestHeaderCollection { - #[cfg(feature = "Foundation_Collections")] pub fn Accept(&self) -> windows_core::Result { let this = self; unsafe { @@ -3318,7 +3303,6 @@ impl HttpRequestHeaderCollection { (windows_core::Interface::vtable(this).Accept)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn AcceptEncoding(&self) -> windows_core::Result { let this = self; unsafe { @@ -3326,7 +3310,6 @@ impl HttpRequestHeaderCollection { (windows_core::Interface::vtable(this).AcceptEncoding)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn AcceptLanguage(&self) -> windows_core::Result { let this = self; unsafe { @@ -3348,7 +3331,6 @@ impl HttpRequestHeaderCollection { let this = self; unsafe { (windows_core::Interface::vtable(this).SetAuthorization)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn CacheControl(&self) -> windows_core::Result { let this = self; unsafe { @@ -3356,7 +3338,6 @@ impl HttpRequestHeaderCollection { (windows_core::Interface::vtable(this).CacheControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { @@ -3364,7 +3345,6 @@ impl HttpRequestHeaderCollection { (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn Cookie(&self) -> windows_core::Result { let this = self; unsafe { @@ -3386,7 +3366,6 @@ impl HttpRequestHeaderCollection { let this = self; unsafe { (windows_core::Interface::vtable(this).SetDate)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn Expect(&self) -> windows_core::Result { let this = self; unsafe { @@ -3491,7 +3470,6 @@ impl HttpRequestHeaderCollection { let this = self; unsafe { (windows_core::Interface::vtable(this).SetReferer)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn TransferEncoding(&self) -> windows_core::Result { let this = self; unsafe { @@ -3499,7 +3477,6 @@ impl HttpRequestHeaderCollection { (windows_core::Interface::vtable(this).TransferEncoding)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn UserAgent(&self) -> windows_core::Result { let this = self; unsafe { @@ -3546,7 +3523,6 @@ impl HttpRequestHeaderCollection { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -3634,7 +3610,6 @@ impl HttpResponseHeaderCollection { let this = self; unsafe { (windows_core::Interface::vtable(this).SetAge)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn Allow(&self) -> windows_core::Result { let this = self; unsafe { @@ -3642,7 +3617,6 @@ impl HttpResponseHeaderCollection { (windows_core::Interface::vtable(this).Allow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn CacheControl(&self) -> windows_core::Result { let this = self; unsafe { @@ -3650,7 +3624,6 @@ impl HttpResponseHeaderCollection { (windows_core::Interface::vtable(this).CacheControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { @@ -3686,7 +3659,6 @@ impl HttpResponseHeaderCollection { let this = self; unsafe { (windows_core::Interface::vtable(this).SetLocation)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn ProxyAuthenticate(&self) -> windows_core::Result { let this = self; unsafe { @@ -3708,7 +3680,6 @@ impl HttpResponseHeaderCollection { let this = self; unsafe { (windows_core::Interface::vtable(this).SetRetryAfter)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[cfg(feature = "Foundation_Collections")] pub fn TransferEncoding(&self) -> windows_core::Result { let this = self; unsafe { @@ -3716,7 +3687,6 @@ impl HttpResponseHeaderCollection { (windows_core::Interface::vtable(this).TransferEncoding)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Foundation_Collections")] pub fn WwwAuthenticate(&self) -> windows_core::Result { let this = self; unsafe { @@ -3763,7 +3733,6 @@ impl HttpResponseHeaderCollection { (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { @@ -3943,7 +3912,6 @@ impl HttpTransferCodingHeaderValueCollection { (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[cfg(feature = "Foundation_Collections")] pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { diff --git a/crates/libs/windows/src/Windows/Web/Http/mod.rs b/crates/libs/windows/src/Windows/Web/Http/mod.rs index 23a3001760..e932e98c9d 100644 --- a/crates/libs/windows/src/Windows/Web/Http/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/mod.rs @@ -1052,7 +1052,7 @@ impl HttpMultipartContent { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(all(feature = "Foundation_Collections", feature = "Web_Http_Headers"))] + #[cfg(feature = "Web_Http_Headers")] pub fn Headers(&self) -> windows_core::Result { let this = self; unsafe { @@ -1200,7 +1200,7 @@ impl HttpMultipartFormDataContent { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[cfg(all(feature = "Foundation_Collections", feature = "Web_Http_Headers"))] + #[cfg(feature = "Web_Http_Headers")] pub fn Headers(&self) -> windows_core::Result { let this = self; unsafe { diff --git a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs index 80c33e5168..948273e363 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs @@ -639,7 +639,6 @@ impl IITPropList { pub unsafe fn GetDataSize(&self, lpvheader: *mut core::ffi::c_void, dwhdrsize: u32, dwdatasize: *mut u32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetDataSize)(windows_core::Interface::as_raw(self), lpvheader as _, dwhdrsize, dwdatasize as _).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SaveDataToStream(&self, lpvheader: *mut core::ffi::c_void, dwhdrsize: u32, pstream: P2) -> windows_core::Result<()> where P2: windows_core::Param, @@ -672,10 +671,7 @@ pub struct IITPropList_Vtbl { pub SaveData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetHeaderSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetDataSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub SaveDataToStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SaveDataToStream: usize, pub LoadFromMem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SaveToMem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs index 3a005dab13..7a3975727e 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs @@ -572,7 +572,7 @@ impl IMXAttributes { pub unsafe fn addAttribute(&self, struri: &windows_core::BSTR, strlocalname: &windows_core::BSTR, strqname: &windows_core::BSTR, strtype: &windows_core::BSTR, strvalue: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).addAttribute)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(struri), core::mem::transmute_copy(strlocalname), core::mem::transmute_copy(strqname), core::mem::transmute_copy(strtype), core::mem::transmute_copy(strvalue)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn addAttributeFromIndex(&self, varatts: &super::super::super::System::Variant::VARIANT, nindex: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).addAttributeFromIndex)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varatts), nindex).ok() } } @@ -585,7 +585,7 @@ impl IMXAttributes { pub unsafe fn setAttribute(&self, nindex: i32, struri: &windows_core::BSTR, strlocalname: &windows_core::BSTR, strqname: &windows_core::BSTR, strtype: &windows_core::BSTR, strvalue: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).setAttribute)(windows_core::Interface::as_raw(self), nindex, core::mem::transmute_copy(struri), core::mem::transmute_copy(strlocalname), core::mem::transmute_copy(strqname), core::mem::transmute_copy(strtype), core::mem::transmute_copy(strvalue)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn setAttributes(&self, varatts: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).setAttributes)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varatts)).ok() } } @@ -610,16 +610,16 @@ impl IMXAttributes { pub struct IMXAttributes_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub addAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub addAttributeFromIndex: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] addAttributeFromIndex: usize, pub clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub setAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] setAttributes: usize, pub setLocalName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub setQName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1135,11 +1135,11 @@ impl core::ops::Deref for IMXWriter { windows_core::imp::interface_hierarchy!(IMXWriter, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IMXWriter { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Setoutput(&self, vardestination: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Setoutput)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vardestination)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn output(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1217,13 +1217,13 @@ impl IMXWriter { #[repr(C)] pub struct IMXWriter_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Setoutput: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Setoutput: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub output: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] output: usize, pub Setencoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub encoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1463,14 +1463,14 @@ impl IMXXMLFilter { pub unsafe fn putFeature(&self, strname: &windows_core::BSTR, fvalue: super::super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).putFeature)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strname), fvalue).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn getProperty(&self, strname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strname), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn putProperty(&self, strname: &windows_core::BSTR, varvalue: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).putProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strname), core::mem::transmute_copy(varvalue)).ok() } } @@ -1529,13 +1529,13 @@ pub struct IMXXMLFilter_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub getFeature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub putFeature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] getProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub putProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] putProperty: usize, pub entityResolver: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putref_entityResolver: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4541,14 +4541,14 @@ impl core::ops::Deref for ISchemaParticle { windows_core::imp::interface_hierarchy!(ISchemaParticle, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] impl ISchemaParticle { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn minOccurs(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).minOccurs)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn maxOccurs(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4560,13 +4560,13 @@ impl ISchemaParticle { #[repr(C)] pub struct ISchemaParticle_Vtbl { pub base__: ISchemaItem_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub minOccurs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] minOccurs: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub maxOccurs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] maxOccurs: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -4774,35 +4774,35 @@ impl ISchemaType { (windows_core::Interface::vtable(self).maxInclusive)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn totalDigits(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).totalDigits)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn fractionDigits(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).fractionDigits)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn length(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).length)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn minLength(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).minLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn maxLength(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4841,25 +4841,25 @@ pub struct ISchemaType_Vtbl { pub minInclusive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub maxExclusive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub maxInclusive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub totalDigits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] totalDigits: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub fractionDigits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] fractionDigits: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] length: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub minLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] minLength: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub maxLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] maxLength: usize, pub enumeration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub whitespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SCHEMAWHITESPACE) -> windows_core::HRESULT, @@ -5135,21 +5135,21 @@ impl IServerXMLHTTPRequest { pub unsafe fn setTimeouts(&self, resolvetimeout: i32, connecttimeout: i32, sendtimeout: i32, receivetimeout: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).setTimeouts)(windows_core::Interface::as_raw(self), resolvetimeout, connecttimeout, sendtimeout, receivetimeout).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn waitForResponse(&self, timeoutinseconds: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).waitForResponse)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(timeoutinseconds), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn getOption(&self, option: SERVERXMLHTTP_OPTION) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getOption)(windows_core::Interface::as_raw(self), option, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn setOption(&self, option: SERVERXMLHTTP_OPTION, value: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).setOption)(windows_core::Interface::as_raw(self), option, core::mem::transmute_copy(value)).ok() } } @@ -5159,17 +5159,17 @@ impl IServerXMLHTTPRequest { pub struct IServerXMLHTTPRequest_Vtbl { pub base__: IXMLHTTPRequest_Vtbl, pub setTimeouts: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub waitForResponse: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] waitForResponse: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub getOption: unsafe extern "system" fn(*mut core::ffi::c_void, SERVERXMLHTTP_OPTION, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] getOption: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub setOption: unsafe extern "system" fn(*mut core::ffi::c_void, SERVERXMLHTTP_OPTION, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] setOption: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -5245,7 +5245,7 @@ impl core::ops::Deref for IServerXMLHTTPRequest2 { windows_core::imp::interface_hierarchy!(IServerXMLHTTPRequest2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLHTTPRequest, IServerXMLHTTPRequest); #[cfg(feature = "Win32_System_Com")] impl IServerXMLHTTPRequest2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn setProxy(&self, proxysetting: SXH_PROXY_SETTING, varproxyserver: &super::super::super::System::Variant::VARIANT, varbypasslist: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).setProxy)(windows_core::Interface::as_raw(self), proxysetting, core::mem::transmute_copy(varproxyserver), core::mem::transmute_copy(varbypasslist)).ok() } } @@ -5257,9 +5257,9 @@ impl IServerXMLHTTPRequest2 { #[repr(C)] pub struct IServerXMLHTTPRequest2_Vtbl { pub base__: IServerXMLHTTPRequest_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub setProxy: unsafe extern "system" fn(*mut core::ffi::c_void, SXH_PROXY_SETTING, super::super::super::System::Variant::VARIANT, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] setProxy: usize, pub setProxyCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -5347,14 +5347,14 @@ impl IVBMXNamespaceManager { (windows_core::Interface::vtable(self).getPrefixes)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(namespaceuri), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn getURI(&self, prefix: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getURI)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(prefix), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn getURIFromNode(&self, strprefix: &windows_core::BSTR, contextnode: P1) -> windows_core::Result where P1: windows_core::Param, @@ -5378,13 +5378,13 @@ pub struct IVBMXNamespaceManager_Vtbl { pub declarePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub getDeclaredPrefixes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub getPrefixes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub getURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] getURI: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub getURIFromNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] getURIFromNode: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -6136,7 +6136,7 @@ impl core::ops::Deref for IVBSAXEntityResolver { windows_core::imp::interface_hierarchy!(IVBSAXEntityResolver, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IVBSAXEntityResolver { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn resolveEntity(&self, strpublicid: *mut windows_core::BSTR, strsystemid: *mut windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6148,9 +6148,9 @@ impl IVBSAXEntityResolver { #[repr(C)] pub struct IVBSAXEntityResolver_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub resolveEntity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] resolveEntity: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -6591,14 +6591,14 @@ impl IVBSAXXMLReader { pub unsafe fn putFeature(&self, strname: &windows_core::BSTR, fvalue: super::super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).putFeature)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strname), fvalue).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn getProperty(&self, strname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strname), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn putProperty(&self, strname: &windows_core::BSTR, varvalue: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).putProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strname), core::mem::transmute_copy(varvalue)).ok() } } @@ -6668,7 +6668,7 @@ impl IVBSAXXMLReader { pub unsafe fn SetsecureBaseURL(&self, strsecurebaseurl: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetsecureBaseURL)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strsecurebaseurl)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn parse(&self, varinput: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).parse)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varinput)).ok() } } @@ -6682,13 +6682,13 @@ pub struct IVBSAXXMLReader_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub getFeature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub putFeature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] getProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub putProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] putProperty: usize, pub entityResolver: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putref_entityResolver: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6702,9 +6702,9 @@ pub struct IVBSAXXMLReader_Vtbl { pub SetbaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub secureBaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetsecureBaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub parse: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] parse: usize, pub parseURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -7012,14 +7012,14 @@ impl IXMLDOMAttribute { (windows_core::Interface::vtable(self).name)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).value)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Setvalue(&self, attributevalue: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Setvalue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(attributevalue)).ok() } } @@ -7029,13 +7029,13 @@ impl IXMLDOMAttribute { pub struct IXMLDOMAttribute_Vtbl { pub base__: IXMLDOMNode_Vtbl, pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Setvalue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Setvalue: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7397,7 +7397,7 @@ impl IXMLDOMDocument { (windows_core::Interface::vtable(self).getElementsByTagName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(tagname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn createNode(&self, r#type: &super::super::super::System::Variant::VARIANT, name: &windows_core::BSTR, namespaceuri: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7410,7 +7410,7 @@ impl IXMLDOMDocument { (windows_core::Interface::vtable(self).nodeFromID)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(idstring), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn load(&self, xmlsource: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7453,7 +7453,7 @@ impl IXMLDOMDocument { (windows_core::Interface::vtable(self).loadXML)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrxml), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn save(&self, destination: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).save)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(destination)).ok() } } @@ -7484,15 +7484,15 @@ impl IXMLDOMDocument { pub unsafe fn SetpreserveWhiteSpace(&self, ispreserving: super::super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetpreserveWhiteSpace)(windows_core::Interface::as_raw(self), ispreserving).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Setonreadystatechange(&self, readystatechangesink: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Setonreadystatechange)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(readystatechangesink)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Setondataavailable(&self, ondataavailablesink: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Setondataavailable)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(ondataavailablesink)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Setontransformnode(&self, ontransformnodesink: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Setontransformnode)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(ontransformnodesink)).ok() } } @@ -7514,14 +7514,14 @@ pub struct IXMLDOMDocument_Vtbl { pub createAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub createEntityReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub getElementsByTagName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub createNode: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] createNode: usize, pub nodeFromID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub load: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] load: usize, pub readyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub parseError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -7530,9 +7530,9 @@ pub struct IXMLDOMDocument_Vtbl { pub Setasync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub loadXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub save: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] save: usize, pub validateOnParse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetvalidateOnParse: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -7540,17 +7540,17 @@ pub struct IXMLDOMDocument_Vtbl { pub SetresolveExternals: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub preserveWhiteSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetpreserveWhiteSpace: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Setonreadystatechange: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Setonreadystatechange: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Setondataavailable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Setondataavailable: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Setontransformnode: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Setontransformnode: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7990,14 +7990,14 @@ impl IXMLDOMDocument2 { (windows_core::Interface::vtable(self).namespaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn schemas(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).schemas)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn putref_schemas(&self, othercollection: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).putref_schemas)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(othercollection)).ok() } } @@ -8007,11 +8007,11 @@ impl IXMLDOMDocument2 { (windows_core::Interface::vtable(self).validate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn setProperty(&self, name: &windows_core::BSTR, value: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).setProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name), core::mem::transmute_copy(value)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn getProperty(&self, name: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8024,22 +8024,22 @@ impl IXMLDOMDocument2 { pub struct IXMLDOMDocument2_Vtbl { pub base__: IXMLDOMDocument_Vtbl, pub namespaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub schemas: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] schemas: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub putref_schemas: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] putref_schemas: usize, pub validate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub setProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] setProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] getProperty: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8359,14 +8359,14 @@ impl IXMLDOMElement { (windows_core::Interface::vtable(self).tagName)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn getAttribute(&self, name: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAttribute)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn setAttribute(&self, name: &windows_core::BSTR, value: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).setAttribute)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name), core::mem::transmute_copy(value)).ok() } } @@ -8412,13 +8412,13 @@ impl IXMLDOMElement { pub struct IXMLDOMElement_Vtbl { pub base__: IXMLDOMNode_Vtbl, pub tagName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] getAttribute: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] setAttribute: usize, pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub getAttributeNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8564,14 +8564,14 @@ impl core::ops::Deref for IXMLDOMEntity { windows_core::imp::interface_hierarchy!(IXMLDOMEntity, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMEntity { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn publicId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).publicId)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn systemId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8589,13 +8589,13 @@ impl IXMLDOMEntity { #[repr(C)] pub struct IXMLDOMEntity_Vtbl { pub base__: IXMLDOMNode_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub publicId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] publicId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub systemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] systemId: usize, pub notationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -8997,14 +8997,14 @@ impl IXMLDOMNode { (windows_core::Interface::vtable(self).nodeName)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn nodeValue(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).nodeValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetnodeValue(&self, value: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetnodeValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(value)).ok() } } @@ -9056,7 +9056,7 @@ impl IXMLDOMNode { (windows_core::Interface::vtable(self).attributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn insertBefore(&self, newchild: P0, refchild: &super::super::super::System::Variant::VARIANT) -> windows_core::Result where P0: windows_core::Param, @@ -9139,18 +9139,18 @@ impl IXMLDOMNode { (windows_core::Interface::vtable(self).definition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn nodeTypedValue(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).nodeTypedValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetnodeTypedValue(&self, typedvalue: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetnodeTypedValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(typedvalue)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn dataType(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9211,7 +9211,7 @@ impl IXMLDOMNode { (windows_core::Interface::vtable(self).baseName)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn transformNodeToObject(&self, stylesheet: P0, outputobject: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> where P0: windows_core::Param, @@ -9224,13 +9224,13 @@ impl IXMLDOMNode { pub struct IXMLDOMNode_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub nodeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub nodeValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] nodeValue: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetnodeValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetnodeValue: usize, pub nodeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DOMNodeType) -> windows_core::HRESULT, pub parentNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -9240,9 +9240,9 @@ pub struct IXMLDOMNode_Vtbl { pub previousSibling: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub nextSibling: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub attributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub insertBefore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] insertBefore: usize, pub replaceChild: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub removeChild: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -9255,17 +9255,17 @@ pub struct IXMLDOMNode_Vtbl { pub Settext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub specified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub definition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub nodeTypedValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] nodeTypedValue: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetnodeTypedValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetnodeTypedValue: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub dataType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] dataType: usize, pub SetdataType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub xml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -9276,9 +9276,9 @@ pub struct IXMLDOMNode_Vtbl { pub namespaceURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub prefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub baseName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub transformNodeToObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] transformNodeToObject: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9915,14 +9915,14 @@ impl core::ops::Deref for IXMLDOMNotation { windows_core::imp::interface_hierarchy!(IXMLDOMNotation, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMNotation { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn publicId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).publicId)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn systemId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9934,13 +9934,13 @@ impl IXMLDOMNotation { #[repr(C)] pub struct IXMLDOMNotation_Vtbl { pub base__: IXMLDOMNode_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub publicId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] publicId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub systemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] systemId: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -10517,7 +10517,7 @@ impl core::ops::Deref for IXMLDOMSchemaCollection { windows_core::imp::interface_hierarchy!(IXMLDOMSchemaCollection, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMSchemaCollection { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn add(&self, namespaceuri: &windows_core::BSTR, var: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).add)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(namespaceuri), core::mem::transmute_copy(var)).ok() } } @@ -10559,9 +10559,9 @@ impl IXMLDOMSchemaCollection { #[repr(C)] pub struct IXMLDOMSchemaCollection_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] add: usize, pub get: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -10855,14 +10855,14 @@ impl IXMLDOMSelection { (windows_core::Interface::vtable(self).clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn getProperty(&self, name: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn setProperty(&self, name: &windows_core::BSTR, value: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).setProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name), core::mem::transmute_copy(value)).ok() } } @@ -10880,13 +10880,13 @@ pub struct IXMLDOMSelection_Vtbl { pub removeNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub removeAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] getProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub setProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] setProperty: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -11298,7 +11298,7 @@ impl IXMLDocument { (windows_core::Interface::vtable(self).dtdURL)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn createElement(&self, vtype: &super::super::super::System::Variant::VARIANT, var1: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11323,9 +11323,9 @@ pub struct IXMLDocument_Vtbl { pub version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub doctype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub dtdURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub createElement: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] createElement: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -11613,7 +11613,7 @@ impl IXMLDocument2 { (windows_core::Interface::vtable(self).dtdURL)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn createElement(&self, vtype: &super::super::super::System::Variant::VARIANT, var1: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11647,9 +11647,9 @@ pub struct IXMLDocument2_Vtbl { pub version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub doctype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub dtdURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub createElement: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] createElement: usize, pub r#async: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Setasync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -11904,11 +11904,11 @@ impl IXMLElement { (windows_core::Interface::vtable(self).parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn setAttribute(&self, strpropertyname: &windows_core::BSTR, propertyvalue: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).setAttribute)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strpropertyname), core::mem::transmute_copy(propertyvalue)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn getAttribute(&self, strpropertyname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11959,13 +11959,13 @@ pub struct IXMLElement_Vtbl { pub tagName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SettagName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] setAttribute: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] getAttribute: usize, pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub children: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -12151,11 +12151,11 @@ impl IXMLElement2 { (windows_core::Interface::vtable(self).parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn setAttribute(&self, strpropertyname: &windows_core::BSTR, propertyvalue: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).setAttribute)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strpropertyname), core::mem::transmute_copy(propertyvalue)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn getAttribute(&self, strpropertyname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -12212,13 +12212,13 @@ pub struct IXMLElement2_Vtbl { pub tagName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SettagName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] setAttribute: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] getAttribute: usize, pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub children: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -12419,7 +12419,7 @@ impl IXMLElementCollection { (windows_core::Interface::vtable(self)._newEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn item(&self, var1: &super::super::super::System::Variant::VARIANT, var2: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -12434,9 +12434,9 @@ pub struct IXMLElementCollection_Vtbl { pub Setlength: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _newEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] item: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -12548,7 +12548,7 @@ impl core::ops::Deref for IXMLHTTPRequest { windows_core::imp::interface_hierarchy!(IXMLHTTPRequest, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IXMLHTTPRequest { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn open(&self, bstrmethod: &windows_core::BSTR, bstrurl: &windows_core::BSTR, varasync: &super::super::super::System::Variant::VARIANT, bstruser: &super::super::super::System::Variant::VARIANT, bstrpassword: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).open)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrmethod), core::mem::transmute_copy(bstrurl), core::mem::transmute_copy(varasync), core::mem::transmute_copy(bstruser), core::mem::transmute_copy(bstrpassword)).ok() } } @@ -12567,7 +12567,7 @@ impl IXMLHTTPRequest { (windows_core::Interface::vtable(self).getAllResponseHeaders)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn send(&self, varbody: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).send)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varbody)).ok() } } @@ -12598,14 +12598,14 @@ impl IXMLHTTPRequest { (windows_core::Interface::vtable(self).responseText)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn responseBody(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).responseBody)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn responseStream(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -12629,29 +12629,29 @@ impl IXMLHTTPRequest { #[repr(C)] pub struct IXMLHTTPRequest_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub open: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, super::super::super::System::Variant::VARIANT, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] open: usize, pub setRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub getResponseHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub getAllResponseHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub send: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] send: usize, pub abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub statusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub responseXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub responseText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub responseBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] responseBody: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub responseStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] responseStream: usize, pub readyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Setonreadystatechange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -13269,11 +13269,11 @@ impl core::ops::Deref for IXSLProcessor { windows_core::imp::interface_hierarchy!(IXSLProcessor, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IXSLProcessor { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Setinput(&self, var: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Setinput)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(var)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn input(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13301,11 +13301,11 @@ impl IXSLProcessor { (windows_core::Interface::vtable(self).startModeURI)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Setoutput(&self, output: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Setoutput)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(output)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn output(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13327,7 +13327,7 @@ impl IXSLProcessor { (windows_core::Interface::vtable(self).readyState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn addParameter(&self, basename: &windows_core::BSTR, parameter: &super::super::super::System::Variant::VARIANT, namespaceuri: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).addParameter)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(basename), core::mem::transmute_copy(parameter), core::mem::transmute_copy(namespaceuri)).ok() } } @@ -13348,32 +13348,32 @@ impl IXSLProcessor { #[repr(C)] pub struct IXSLProcessor_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Setinput: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Setinput: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub input: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] input: usize, pub ownerTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub setStartMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub startMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub startModeURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Setoutput: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Setoutput: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub output: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] output: usize, pub transform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub readyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub addParameter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] addParameter: usize, pub addObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub stylesheet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -13716,14 +13716,14 @@ impl IXTLRuntime { (windows_core::Interface::vtable(self).formatNumber)(windows_core::Interface::as_raw(self), dblnumber, core::mem::transmute_copy(bstrformat), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn formatDate(&self, vardate: &super::super::super::System::Variant::VARIANT, bstrformat: &windows_core::BSTR, vardestlocale: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).formatDate)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vardate), core::mem::transmute_copy(bstrformat), core::mem::transmute_copy(vardestlocale), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn formatTime(&self, vartime: &super::super::super::System::Variant::VARIANT, bstrformat: &windows_core::BSTR, vardestlocale: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13742,13 +13742,13 @@ pub struct IXTLRuntime_Vtbl { pub absoluteChildNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub formatIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub formatNumber: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub formatDate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] formatDate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub formatTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] formatTime: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs index 899e7918a6..97e7274e22 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs @@ -1753,14 +1753,14 @@ impl core::ops::Deref for IUPnPService { windows_core::imp::interface_hierarchy!(IUPnPService, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IUPnPService { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn QueryStateVariable(&self, bstrvariablename: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryStateVariable)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrvariablename), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn InvokeAction(&self, bstractionname: &windows_core::BSTR, vinactionargs: &super::super::super::System::Variant::VARIANT, pvoutactionargs: *mut super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1796,13 +1796,13 @@ impl IUPnPService { #[repr(C)] pub struct IUPnPService_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub QueryStateVariable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] QueryStateVariable: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub InvokeAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut super::super::super::System::Variant::VARIANT, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] InvokeAction: usize, pub ServiceTypeIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs index e45205c81d..5a0cb911b7 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs @@ -2216,7 +2216,7 @@ impl IFaxAccounts { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, vindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2235,9 +2235,9 @@ impl IFaxAccounts { pub struct IFaxAccounts_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -3365,7 +3365,7 @@ impl IFaxDevice { (windows_core::Interface::vtable(self).SendingNow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn UsedRoutingMethods(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -3432,14 +3432,14 @@ impl IFaxDevice { pub unsafe fn Save(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetExtensionProperty(&self, bstrguid: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrguid), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetExtensionProperty(&self, bstrguid: &windows_core::BSTR, vproperty: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetExtensionProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrguid), core::mem::transmute_copy(vproperty)).ok() } } @@ -3466,9 +3466,9 @@ pub struct IFaxDevice_Vtbl { pub PoweredOff: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ReceivingNow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SendingNow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub UsedRoutingMethods: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] UsedRoutingMethods: usize, pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3484,13 +3484,13 @@ pub struct IFaxDevice_Vtbl { pub SetTSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetExtensionProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetExtensionProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetExtensionProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetExtensionProperty: usize, pub UseRoutingMethod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub RingingNow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -4023,7 +4023,7 @@ impl IFaxDeviceProvider { (windows_core::Interface::vtable(self).InitErrorCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeviceIds(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4046,9 +4046,9 @@ pub struct IFaxDeviceProvider_Vtbl { pub Debug: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_PROVIDER_STATUS_ENUM) -> windows_core::HRESULT, pub InitErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeviceIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeviceIds: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -4254,7 +4254,7 @@ impl IFaxDeviceProviders { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, vindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4273,9 +4273,9 @@ impl IFaxDeviceProviders { pub struct IFaxDeviceProviders_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -4356,7 +4356,7 @@ impl IFaxDevices { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, vindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4381,9 +4381,9 @@ impl IFaxDevices { pub struct IFaxDevices_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub get_ItemById: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4614,14 +4614,14 @@ impl IFaxDocument { { unsafe { (windows_core::Interface::vtable(self).putref_TapiConnection)(windows_core::Interface::as_raw(self), ptapiconnection.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Submit(&self, bstrfaxservername: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Submit)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrfaxservername), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ConnectedSubmit(&self, pfaxserver: P0) -> windows_core::Result where P0: windows_core::Param, @@ -4675,13 +4675,13 @@ pub struct IFaxDocument_Vtbl { pub SetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, FAX_PRIORITY_TYPE_ENUM) -> windows_core::HRESULT, pub TapiConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putref_TapiConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Submit: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ConnectedSubmit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ConnectedSubmit: usize, pub AttachFaxToReceipt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetAttachFaxToReceipt: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -5107,22 +5107,22 @@ impl IFaxDocument2 { (windows_core::Interface::vtable(self).SubmissionId)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Bodies(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Bodies)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetBodies(&self, vbodies: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBodies)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vbodies)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Submit2(&self, bstrfaxservername: &windows_core::BSTR, pvfaxoutgoingjobids: *mut super::super::System::Variant::VARIANT, plerrorbodyfile: *mut i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Submit2)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrfaxservername), core::mem::transmute(pvfaxoutgoingjobids), plerrorbodyfile as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ConnectedSubmit2(&self, pfaxserver: P0, pvfaxoutgoingjobids: *mut super::super::System::Variant::VARIANT, plerrorbodyfile: *mut i32) -> windows_core::Result<()> where P0: windows_core::Param, @@ -5135,21 +5135,21 @@ impl IFaxDocument2 { pub struct IFaxDocument2_Vtbl { pub base__: IFaxDocument_Vtbl, pub SubmissionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Bodies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Bodies: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetBodies: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetBodies: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Submit2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Submit2: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ConnectedSubmit2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ConnectedSubmit2: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -5680,7 +5680,7 @@ impl IFaxInboundRoutingExtension { (windows_core::Interface::vtable(self).InitErrorCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Methods(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5702,9 +5702,9 @@ pub struct IFaxInboundRoutingExtension_Vtbl { pub Debug: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_PROVIDER_STATUS_ENUM) -> windows_core::HRESULT, pub InitErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Methods: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Methods: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -5896,7 +5896,7 @@ impl IFaxInboundRoutingExtensions { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, vindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5915,9 +5915,9 @@ impl IFaxInboundRoutingExtensions { pub struct IFaxInboundRoutingExtensions_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -6195,7 +6195,7 @@ impl IFaxInboundRoutingMethods { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, vindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6214,9 +6214,9 @@ impl IFaxInboundRoutingMethods { pub struct IFaxInboundRoutingMethods_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -7045,7 +7045,7 @@ impl IFaxIncomingJobs { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, vindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7064,9 +7064,9 @@ impl IFaxIncomingJobs { pub struct IFaxIncomingJobs_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -8639,7 +8639,7 @@ impl IFaxOutboundRoutingGroups { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, vindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8658,7 +8658,7 @@ impl IFaxOutboundRoutingGroups { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, vindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vindex)).ok() } } @@ -8668,15 +8668,15 @@ impl IFaxOutboundRoutingGroups { pub struct IFaxOutboundRoutingGroups_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -10234,7 +10234,7 @@ impl IFaxOutgoingJobs { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, vindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10253,9 +10253,9 @@ impl IFaxOutgoingJobs { pub struct IFaxOutgoingJobs_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -12021,14 +12021,14 @@ impl core::ops::Deref for IFaxSecurity { windows_core::imp::interface_hierarchy!(IFaxSecurity, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IFaxSecurity { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Descriptor(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Descriptor)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetDescriptor(&self, vdescriptor: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDescriptor)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vdescriptor)).ok() } } @@ -12058,13 +12058,13 @@ impl IFaxSecurity { #[repr(C)] pub struct IFaxSecurity_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Descriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Descriptor: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetDescriptor: usize, pub GrantedRights: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_ACCESS_RIGHTS_ENUM) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -12175,14 +12175,14 @@ impl core::ops::Deref for IFaxSecurity2 { windows_core::imp::interface_hierarchy!(IFaxSecurity2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IFaxSecurity2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Descriptor(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Descriptor)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetDescriptor(&self, vdescriptor: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDescriptor)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vdescriptor)).ok() } } @@ -12212,13 +12212,13 @@ impl IFaxSecurity2 { #[repr(C)] pub struct IFaxSecurity2_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Descriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Descriptor: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetDescriptor: usize, pub GrantedRights: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_ACCESS_RIGHTS_ENUM_2) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -13012,14 +13012,14 @@ impl IFaxServer { pub unsafe fn Disconnect(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Disconnect)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetExtensionProperty(&self, bstrguid: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrguid), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetExtensionProperty(&self, bstrguid: &windows_core::BSTR, vproperty: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetExtensionProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrguid), core::mem::transmute_copy(vproperty)).ok() } } @@ -13032,7 +13032,7 @@ impl IFaxServer { pub unsafe fn UnregisterDeviceProvider(&self, bstruniquename: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).UnregisterDeviceProvider)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstruniquename)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RegisterInboundRoutingExtension(&self, bstrextensionname: &windows_core::BSTR, bstrfriendlyname: &windows_core::BSTR, bstrimagename: &windows_core::BSTR, vmethods: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RegisterInboundRoutingExtension)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrextensionname), core::mem::transmute_copy(bstrfriendlyname), core::mem::transmute_copy(bstrimagename), core::mem::transmute_copy(vmethods)).ok() } } @@ -13073,20 +13073,20 @@ pub struct IFaxServer_Vtbl { pub ReceiptOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Security: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetExtensionProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetExtensionProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetExtensionProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetExtensionProperty: usize, pub ListenToServerEvents: unsafe extern "system" fn(*mut core::ffi::c_void, FAX_SERVER_EVENTS_TYPE_ENUM) -> windows_core::HRESULT, pub RegisterDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub UnregisterDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RegisterInboundRoutingExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RegisterInboundRoutingExtension: usize, pub UnregisterInboundRoutingExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RegisteredEvents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_SERVER_EVENTS_TYPE_ENUM) -> 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 de541ba038..a1eeaf7e50 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs @@ -778,7 +778,7 @@ impl IFunctionInstance { (windows_core::Interface::vtable(self).GetProviderInstanceID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn OpenPropertyStore(&self, dwstgaccess: super::super::System::Com::STGM) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -795,9 +795,9 @@ pub struct IFunctionInstance_Vtbl { pub base__: super::super::System::Com::IServiceProvider_Vtbl, pub GetID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u16) -> windows_core::HRESULT, pub GetProviderInstanceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u16) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] + #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub OpenPropertyStore: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Com::STGM, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem")))] + #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] OpenPropertyStore: usize, pub GetCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u16, *mut *mut u16) -> windows_core::HRESULT, } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs index ec4be9c621..a36073bee7 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs @@ -3977,7 +3977,7 @@ impl core::ops::Deref for IMcastAddressAllocation { windows_core::imp::interface_hierarchy!(IMcastAddressAllocation, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IMcastAddressAllocation { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Scopes(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4024,7 +4024,7 @@ impl IMcastAddressAllocation { (windows_core::Interface::vtable(self).CreateLeaseInfo)(windows_core::Interface::as_raw(self), leasestarttime, leasestoptime, dwnumaddresses, ppaddresses, prequestid.param().abi(), pserveraddress.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateLeaseInfoFromVariant(&self, leasestarttime: f64, leasestoptime: f64, vaddresses: &super::super::System::Variant::VARIANT, prequestid: &windows_core::BSTR, pserveraddress: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4036,18 +4036,18 @@ impl IMcastAddressAllocation { #[repr(C)] pub struct IMcastAddressAllocation_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Scopes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Scopes: usize, pub EnumerateScopes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, f64, f64, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RenewAddress: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReleaseAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateLeaseInfo: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64, u32, *const windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateLeaseInfoFromVariant: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64, super::super::System::Variant::VARIANT, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateLeaseInfoFromVariant: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -4213,7 +4213,7 @@ impl IMcastLeaseInfo { (windows_core::Interface::vtable(self).TTL)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Addresses(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4239,9 +4239,9 @@ pub struct IMcastLeaseInfo_Vtbl { pub AddressCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ServerAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TTL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Addresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Addresses: usize, pub EnumerateAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -4556,7 +4556,7 @@ impl ITACDGroup { (windows_core::Interface::vtable(self).EnumerateQueues)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Queues(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4570,9 +4570,9 @@ pub struct ITACDGroup_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateQueues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Queues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Queues: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -4912,7 +4912,7 @@ impl ITAddress { (windows_core::Interface::vtable(self).CreateCall)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pdestaddress), laddresstype, lmediatypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Calls(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4978,9 +4978,9 @@ pub struct ITAddress_Vtbl { pub ServiceProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TAPIObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateCall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Calls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Calls: usize, pub EnumerateCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DialableAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5213,7 +5213,7 @@ impl core::ops::Deref for ITAddress2 { windows_core::imp::interface_hierarchy!(ITAddress2, windows_core::IUnknown, super::super::System::Com::IDispatch, ITAddress); #[cfg(feature = "Win32_System_Com")] impl ITAddress2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Phones(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5235,7 +5235,7 @@ impl ITAddress2 { (windows_core::Interface::vtable(self).GetPhoneFromTerminal)(windows_core::Interface::as_raw(self), pterminal.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PreferredPhones(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5263,7 +5263,7 @@ impl ITAddress2 { { unsafe { (windows_core::Interface::vtable(self).DeviceSpecific)(windows_core::Interface::as_raw(self), pcall.param().abi(), pparams, dwsize).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeviceSpecificVariant(&self, pcall: P0, vardevspecificbytearray: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> where P0: windows_core::Param, @@ -5281,23 +5281,23 @@ impl ITAddress2 { #[repr(C)] pub struct ITAddress2_Vtbl { pub base__: ITAddress_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Phones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Phones: usize, pub EnumeratePhones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPhoneFromTerminal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PreferredPhones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PreferredPhones: usize, pub EnumeratePreferredPhones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub get_EventFilter: unsafe extern "system" fn(*mut core::ffi::c_void, TAPI_EVENT, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub put_EventFilter: unsafe extern "system" fn(*mut core::ffi::c_void, TAPI_EVENT, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub DeviceSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeviceSpecificVariant: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeviceSpecificVariant: usize, pub NegotiateExtVersion: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, } @@ -5464,7 +5464,7 @@ impl ITAddressCapabilities { (windows_core::Interface::vtable(self).get_AddressCapabilityString)(windows_core::Interface::as_raw(self), addresscapstring, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CallTreatments(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5477,7 +5477,7 @@ impl ITAddressCapabilities { (windows_core::Interface::vtable(self).EnumerateCallTreatments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CompletionMessages(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5490,7 +5490,7 @@ impl ITAddressCapabilities { (windows_core::Interface::vtable(self).EnumerateCompletionMessages)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeviceClasses(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5510,19 +5510,19 @@ pub struct ITAddressCapabilities_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub get_AddressCapability: unsafe extern "system" fn(*mut core::ffi::c_void, ADDRESS_CAPABILITY, *mut i32) -> windows_core::HRESULT, pub get_AddressCapabilityString: unsafe extern "system" fn(*mut core::ffi::c_void, ADDRESS_CAPABILITY_STRING, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CallTreatments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CallTreatments: usize, pub EnumerateCallTreatments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CompletionMessages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CompletionMessages: usize, pub EnumerateCompletionMessages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeviceClasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeviceClasses: usize, pub EnumerateDeviceClasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -5920,7 +5920,7 @@ impl ITAddressTranslation { (windows_core::Interface::vtable(self).EnumerateLocations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Locations(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5933,7 +5933,7 @@ impl ITAddressTranslation { (windows_core::Interface::vtable(self).EnumerateCallingCards)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CallingCards(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5948,14 +5948,14 @@ pub struct ITAddressTranslation_Vtbl { pub TranslateAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TranslateDialog: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateLocations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Locations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Locations: usize, pub EnumerateCallingCards: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CallingCards: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CallingCards: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -6261,7 +6261,6 @@ impl ITAgent { (windows_core::Interface::vtable(self).MeasurementPeriod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn OverallCallRate(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6304,7 +6303,7 @@ impl ITAgent { (windows_core::Interface::vtable(self).TotalWrapUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AgentSessions(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6325,19 +6324,16 @@ pub struct ITAgent_Vtbl { pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AGENT_STATE) -> windows_core::HRESULT, pub SetMeasurementPeriod: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub MeasurementPeriod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub OverallCallRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Com::CY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - OverallCallRate: usize, pub NumberOfACDCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfIncomingCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfOutgoingCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub TotalACDTalkTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub TotalACDCallTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub TotalWrapUpTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AgentSessions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AgentSessions: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -6698,14 +6694,14 @@ impl ITAgentHandler { (windows_core::Interface::vtable(self).EnumerateUsableAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ACDGroups(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ACDGroups)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn UsableAddresses(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6722,13 +6718,13 @@ pub struct ITAgentHandler_Vtbl { pub CreateAgentWithID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateACDGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateUsableAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ACDGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ACDGroups: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub UsableAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] UsableAddresses: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7016,7 +7012,6 @@ impl ITAgentSession { (windows_core::Interface::vtable(self).AverageWrapUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ACDCallRate(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7054,10 +7049,7 @@ pub struct ITAgentSession_Vtbl { pub AverageCallTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub TotalWrapUpTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub AverageWrapUpTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub ACDCallRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Com::CY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ACDCallRate: usize, pub LongestTimeToAnswer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub AverageTimeToAnswer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -7671,7 +7663,7 @@ impl ITAutomatedPhoneControl { (windows_core::Interface::vtable(self).EnumerateSelectedCalls)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SelectedCalls(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7714,9 +7706,9 @@ pub struct ITAutomatedPhoneControl_Vtbl { pub SelectCall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub UnselectCall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateSelectedCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SelectedCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SelectedCalls: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8559,7 +8551,7 @@ impl ITCallHub { (windows_core::Interface::vtable(self).EnumerateCalls)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Calls(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8585,9 +8577,9 @@ pub struct ITCallHub_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Calls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Calls: usize, pub NumCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CALLHUB_STATE) -> windows_core::HRESULT, @@ -8825,14 +8817,14 @@ impl ITCallInfo { pub unsafe fn put_CallInfoString(&self, callinfostring: CALLINFO_STRING, pcallinfostring: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).put_CallInfoString)(windows_core::Interface::as_raw(self), callinfostring, core::mem::transmute_copy(pcallinfostring)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_CallInfoBuffer(&self, callinfobuffer: CALLINFO_BUFFER) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_CallInfoBuffer)(windows_core::Interface::as_raw(self), callinfobuffer, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn put_CallInfoBuffer(&self, callinfobuffer: CALLINFO_BUFFER, pcallinfobuffer: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).put_CallInfoBuffer)(windows_core::Interface::as_raw(self), callinfobuffer, core::mem::transmute_copy(pcallinfobuffer)).ok() } } @@ -8858,13 +8850,13 @@ pub struct ITCallInfo_Vtbl { pub put_CallInfoLong: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_LONG, i32) -> windows_core::HRESULT, pub get_CallInfoString: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_STRING, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub put_CallInfoString: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_STRING, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_CallInfoBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_BUFFER, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_CallInfoBuffer: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub put_CallInfoBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_BUFFER, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] put_CallInfoBuffer: usize, pub GetCallInfoBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_BUFFER, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub SetCallInfoBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_BUFFER, u32, *const u8) -> windows_core::HRESULT, @@ -9777,7 +9769,7 @@ impl ITCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9796,9 +9788,9 @@ impl ITCollection { pub struct ITCollection_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -9873,7 +9865,7 @@ impl core::ops::Deref for ITCollection2 { windows_core::imp::interface_hierarchy!(ITCollection2, windows_core::IUnknown, super::super::System::Com::IDispatch, ITCollection); #[cfg(feature = "Win32_System_Com")] impl ITCollection2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Add(&self, index: i32, pvariant: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), index, core::mem::transmute(pvariant)).ok() } } @@ -9885,9 +9877,9 @@ impl ITCollection2 { #[repr(C)] pub struct ITCollection2_Vtbl { pub base__: ITCollection_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Add: usize, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -10692,7 +10684,7 @@ impl ITDirectory { { unsafe { (windows_core::Interface::vtable(self).DeleteDirectoryObject)(windows_core::Interface::as_raw(self), pdirectoryobject.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_DirectoryObjects(&self, directoryobjecttype: DIRECTORY_OBJECT_TYPE, pname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10722,9 +10714,9 @@ pub struct ITDirectory_Vtbl { pub ModifyDirectoryObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RefreshDirectoryObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteDirectoryObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_DirectoryObjects: unsafe extern "system" fn(*mut core::ffi::c_void, DIRECTORY_OBJECT_TYPE, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_DirectoryObjects: usize, pub EnumerateDirectoryObjects: unsafe extern "system" fn(*mut core::ffi::c_void, DIRECTORY_OBJECT_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -10920,7 +10912,7 @@ impl ITDirectoryObject { pub unsafe fn SetName(&self, pname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pname)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_DialableAddrs(&self, dwaddresstype: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10953,9 +10945,9 @@ pub struct ITDirectoryObject_Vtbl { pub ObjectType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DIRECTORY_OBJECT_TYPE) -> windows_core::HRESULT, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_DialableAddrs: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_DialableAddrs: usize, pub EnumerateDialableAddrs: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -12359,7 +12351,7 @@ impl ITLegacyCallMediaControl2 { (windows_core::Interface::vtable(self).CreateCustomToneObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetIDAsVariant(&self, bstrdeviceclass: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -12380,9 +12372,9 @@ pub struct ITLegacyCallMediaControl2_Vtbl { pub GenerateCustomTonesByCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub CreateDetectToneObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateCustomToneObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetIDAsVariant: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetIDAsVariant: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -13034,11 +13026,11 @@ impl core::ops::Deref for ITMediaPlayback { windows_core::imp::interface_hierarchy!(ITMediaPlayback, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ITMediaPlayback { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetPlayList(&self, playlistvariant: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPlayList)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(playlistvariant)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PlayList(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13050,13 +13042,13 @@ impl ITMediaPlayback { #[repr(C)] pub struct ITMediaPlayback_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetPlayList: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetPlayList: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PlayList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PlayList: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -13255,7 +13247,7 @@ impl core::ops::Deref for ITMultiTrackTerminal { windows_core::imp::interface_hierarchy!(ITMultiTrackTerminal, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ITMultiTrackTerminal { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn TrackTerminals(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13297,9 +13289,9 @@ impl ITMultiTrackTerminal { #[repr(C)] pub struct ITMultiTrackTerminal_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub TrackTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] TrackTerminals: usize, pub EnumerateTrackTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateTrackTerminal: unsafe extern "system" fn(*mut core::ffi::c_void, i32, TERMINAL_DIRECTION, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -13420,7 +13412,7 @@ impl ITPhone { pub unsafe fn Close(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Addresses(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13445,7 +13437,7 @@ impl ITPhone { (windows_core::Interface::vtable(self).get_PhoneCapsString)(windows_core::Interface::as_raw(self), pcscap, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Terminals(&self, paddress: P0) -> windows_core::Result where P0: windows_core::Param, @@ -13533,7 +13525,7 @@ impl ITPhone { pub unsafe fn GetPhoneCapsBuffer(&self, pcbcaps: PHONECAPS_BUFFER, pdwsize: *mut u32, ppphonecapsbuffer: *mut *mut u8) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetPhoneCapsBuffer)(windows_core::Interface::as_raw(self), pcbcaps, pdwsize as _, ppphonecapsbuffer as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_PhoneCapsBuffer(&self, pcbcaps: PHONECAPS_BUFFER) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13558,7 +13550,7 @@ impl ITPhone { pub unsafe fn SetDisplay(&self, lrow: i32, lcolumn: i32, bstrdisplay: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDisplay)(windows_core::Interface::as_raw(self), lrow, lcolumn, core::mem::transmute_copy(bstrdisplay)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PreferredAddresses(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13574,7 +13566,7 @@ impl ITPhone { pub unsafe fn DeviceSpecific(&self, pparams: *const u8, dwsize: u32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeviceSpecific)(windows_core::Interface::as_raw(self), pparams, dwsize).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeviceSpecificVariant(&self, vardevspecificbytearray: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeviceSpecificVariant)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vardevspecificbytearray)).ok() } } @@ -13591,16 +13583,16 @@ pub struct ITPhone_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, PHONE_PRIVILEGE) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Addresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Addresses: usize, pub EnumerateAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub get_PhoneCapsLong: unsafe extern "system" fn(*mut core::ffi::c_void, PHONECAPS_LONG, *mut i32) -> windows_core::HRESULT, pub get_PhoneCapsString: unsafe extern "system" fn(*mut core::ffi::c_void, PHONECAPS_STRING, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Terminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Terminals: usize, pub EnumerateTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub get_ButtonMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut PHONE_BUTTON_MODE) -> windows_core::HRESULT, @@ -13618,23 +13610,23 @@ pub struct ITPhone_Vtbl { pub RingVolume: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Privilege: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PHONE_PRIVILEGE) -> windows_core::HRESULT, pub GetPhoneCapsBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, PHONECAPS_BUFFER, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_PhoneCapsBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, PHONECAPS_BUFFER, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_PhoneCapsBuffer: usize, pub get_LampMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut PHONE_LAMP_MODE) -> windows_core::HRESULT, pub put_LampMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32, PHONE_LAMP_MODE) -> windows_core::HRESULT, pub Display: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PreferredAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PreferredAddresses: usize, pub EnumeratePreferredAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeviceSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeviceSpecificVariant: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeviceSpecificVariant: usize, pub NegotiateExtVersion: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, } @@ -15323,7 +15315,7 @@ impl core::ops::Deref for ITRendezvous { windows_core::imp::interface_hierarchy!(ITRendezvous, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ITRendezvous { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DefaultDirectories(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -15353,9 +15345,9 @@ impl ITRendezvous { #[repr(C)] pub struct ITRendezvous_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DefaultDirectories: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DefaultDirectories: usize, pub EnumerateDefaultDirectories: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, DIRECTORY_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -15982,7 +15974,7 @@ impl ITStream { (windows_core::Interface::vtable(self).EnumerateTerminals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Terminals(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -16003,9 +15995,9 @@ pub struct ITStream_Vtbl { pub SelectTerminal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnselectTerminal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Terminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Terminals: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -16165,7 +16157,7 @@ impl ITStreamControl { (windows_core::Interface::vtable(self).EnumerateStreams)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Streams(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -16180,9 +16172,9 @@ pub struct ITStreamControl_Vtbl { pub CreateStream: unsafe extern "system" fn(*mut core::ffi::c_void, i32, TERMINAL_DIRECTION, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Streams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Streams: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -16291,7 +16283,7 @@ impl ITSubStream { (windows_core::Interface::vtable(self).EnumerateTerminals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Terminals(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -16315,9 +16307,9 @@ pub struct ITSubStream_Vtbl { pub SelectTerminal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnselectTerminal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Terminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Terminals: usize, pub Stream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -16450,7 +16442,7 @@ impl ITSubStreamControl { (windows_core::Interface::vtable(self).EnumerateSubStreams)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SubStreams(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -16465,9 +16457,9 @@ pub struct ITSubStreamControl_Vtbl { pub CreateSubStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveSubStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateSubStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SubStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SubStreams: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -16555,7 +16547,7 @@ impl ITTAPI { pub unsafe fn Shutdown(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Shutdown)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Addresses(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -16580,7 +16572,7 @@ impl ITTAPI { pub unsafe fn UnregisterNotifications(&self, lregister: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).UnregisterNotifications)(windows_core::Interface::as_raw(self), lregister).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CallHubs(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -16593,18 +16585,17 @@ impl ITTAPI { (windows_core::Interface::vtable(self).EnumerateCallHubs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetCallHubTracking(&self, paddresses: &super::super::System::Variant::VARIANT, btracking: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetCallHubTracking)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(paddresses), btracking).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumeratePrivateTAPIObjects(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumeratePrivateTAPIObjects)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PrivateTAPIObjects(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -16636,29 +16627,26 @@ pub struct ITTAPI_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Addresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Addresses: usize, pub EnumerateAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RegisterCallNotifications: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, i32, i32, *mut i32) -> windows_core::HRESULT, pub UnregisterNotifications: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CallHubs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CallHubs: usize, pub EnumerateCallHubs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetCallHubTracking: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetCallHubTracking: usize, - #[cfg(feature = "Win32_System_Com")] pub EnumeratePrivateTAPIObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - EnumeratePrivateTAPIObjects: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PrivateTAPIObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PrivateTAPIObjects: usize, pub RegisterRequestRecipient: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetAssistedTelephonyPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -16871,7 +16859,7 @@ impl core::ops::Deref for ITTAPI2 { windows_core::imp::interface_hierarchy!(ITTAPI2, windows_core::IUnknown, super::super::System::Com::IDispatch, ITTAPI); #[cfg(feature = "Win32_System_Com")] impl ITTAPI2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Phones(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -16895,9 +16883,9 @@ impl ITTAPI2 { #[repr(C)] pub struct ITTAPI2_Vtbl { pub base__: ITTAPI_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Phones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Phones: usize, pub EnumeratePhones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateEmptyCollectionObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -16979,7 +16967,7 @@ impl ITTAPICallCenter { (windows_core::Interface::vtable(self).EnumerateAgentHandlers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AgentHandlers(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -16992,9 +16980,9 @@ impl ITTAPICallCenter { pub struct ITTAPICallCenter_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub EnumerateAgentHandlers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AgentHandlers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AgentHandlers: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -17554,7 +17542,7 @@ impl core::ops::Deref for ITTerminalSupport { windows_core::imp::interface_hierarchy!(ITTerminalSupport, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ITTerminalSupport { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn StaticTerminals(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -17567,7 +17555,7 @@ impl ITTerminalSupport { (windows_core::Interface::vtable(self).EnumerateStaticTerminals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DynamicTerminalClasses(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -17597,14 +17585,14 @@ impl ITTerminalSupport { #[repr(C)] pub struct ITTerminalSupport_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub StaticTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] StaticTerminals: usize, pub EnumerateStaticTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DynamicTerminalClasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DynamicTerminalClasses: usize, pub EnumerateDynamicTerminalClasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateTerminal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, TERMINAL_DIRECTION, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -17723,7 +17711,7 @@ impl core::ops::Deref for ITTerminalSupport2 { windows_core::imp::interface_hierarchy!(ITTerminalSupport2, windows_core::IUnknown, super::super::System::Com::IDispatch, ITTerminalSupport); #[cfg(feature = "Win32_System_Com")] impl ITTerminalSupport2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PluggableSuperclasses(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -17736,7 +17724,7 @@ impl ITTerminalSupport2 { (windows_core::Interface::vtable(self).EnumeratePluggableSuperclasses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_PluggableTerminalClasses(&self, bstrterminalsuperclass: &windows_core::BSTR, lmediatype: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -17754,14 +17742,14 @@ impl ITTerminalSupport2 { #[repr(C)] pub struct ITTerminalSupport2_Vtbl { pub base__: ITTerminalSupport_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PluggableSuperclasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PluggableSuperclasses: usize, pub EnumeratePluggableSuperclasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_PluggableTerminalClasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_PluggableTerminalClasses: usize, pub EnumeratePluggableTerminalClasses: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, i32, *mut *mut core::ffi::c_void) -> 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 278ed82c09..63dc4476ac 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs @@ -9545,23 +9545,18 @@ impl core::ops::Deref for ID2D1GeometrySink { windows_core::imp::interface_hierarchy!(ID2D1GeometrySink, windows_core::IUnknown, Common::ID2D1SimplifiedGeometrySink); #[cfg(feature = "Win32_Graphics_Direct2D_Common")] impl ID2D1GeometrySink { - #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn AddLine(&self, point: Common::D2D_POINT_2F) { unsafe { (windows_core::Interface::vtable(self).AddLine)(windows_core::Interface::as_raw(self), core::mem::transmute(point)) } } - #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn AddBezier(&self, bezier: *const Common::D2D1_BEZIER_SEGMENT) { unsafe { (windows_core::Interface::vtable(self).AddBezier)(windows_core::Interface::as_raw(self), bezier) } } - #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn AddQuadraticBezier(&self, bezier: *const D2D1_QUADRATIC_BEZIER_SEGMENT) { unsafe { (windows_core::Interface::vtable(self).AddQuadraticBezier)(windows_core::Interface::as_raw(self), bezier) } } - #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn AddQuadraticBeziers(&self, beziers: &[D2D1_QUADRATIC_BEZIER_SEGMENT]) { unsafe { (windows_core::Interface::vtable(self).AddQuadraticBeziers)(windows_core::Interface::as_raw(self), core::mem::transmute(beziers.as_ptr()), beziers.len().try_into().unwrap()) } } - #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn AddArc(&self, arc: *const D2D1_ARC_SEGMENT) { unsafe { (windows_core::Interface::vtable(self).AddArc)(windows_core::Interface::as_raw(self), arc) } } @@ -9570,26 +9565,11 @@ impl ID2D1GeometrySink { #[repr(C)] pub struct ID2D1GeometrySink_Vtbl { pub base__: Common::ID2D1SimplifiedGeometrySink_Vtbl, - #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub AddLine: unsafe extern "system" fn(*mut core::ffi::c_void, Common::D2D_POINT_2F), - #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] - AddLine: usize, - #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub AddBezier: unsafe extern "system" fn(*mut core::ffi::c_void, *const Common::D2D1_BEZIER_SEGMENT), - #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] - AddBezier: usize, - #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub AddQuadraticBezier: unsafe extern "system" fn(*mut core::ffi::c_void, *const D2D1_QUADRATIC_BEZIER_SEGMENT), - #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] - AddQuadraticBezier: usize, - #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub AddQuadraticBeziers: unsafe extern "system" fn(*mut core::ffi::c_void, *const D2D1_QUADRATIC_BEZIER_SEGMENT, u32), - #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] - AddQuadraticBeziers: usize, - #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub AddArc: unsafe extern "system" fn(*mut core::ffi::c_void, *const D2D1_ARC_SEGMENT), - #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] - AddArc: usize, } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub trait ID2D1GeometrySink_Impl: Common::ID2D1SimplifiedGeometrySink_Impl { 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 75ca3d60b4..a91ced3988 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs @@ -5384,14 +5384,12 @@ impl core::ops::Deref for IWICPersistStream { windows_core::imp::interface_hierarchy!(IWICPersistStream, windows_core::IUnknown, super::super::System::Com::IPersist, super::super::System::Com::IPersistStream); #[cfg(feature = "Win32_System_Com")] impl IWICPersistStream { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn LoadEx(&self, pistream: P0, pguidpreferredvendor: *const windows_core::GUID, dwpersistoptions: u32) -> windows_core::Result<()> where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).LoadEx)(windows_core::Interface::as_raw(self), pistream.param().abi(), pguidpreferredvendor, dwpersistoptions).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SaveEx(&self, pistream: P0, dwpersistoptions: u32, fcleardirty: bool) -> windows_core::Result<()> where P0: windows_core::Param, @@ -5403,14 +5401,8 @@ impl IWICPersistStream { #[repr(C)] pub struct IWICPersistStream_Vtbl { pub base__: super::super::System::Com::IPersistStream_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub LoadEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, u32) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - LoadEx: usize, - #[cfg(feature = "Win32_System_Com")] pub SaveEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SaveEx: usize, } #[cfg(feature = "Win32_System_Com")] pub trait IWICPersistStream_Impl: super::super::System::Com::IPersistStream_Impl { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs index 74bdb00dda..dcee3dc26b 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs @@ -8594,14 +8594,14 @@ impl core::ops::Deref for IPrintSchemaParameterInitializer { windows_core::imp::interface_hierarchy!(IPrintSchemaParameterInitializer, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaParameterInitializer { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetValue(&self, pvar: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute(pvar)).ok() } } @@ -8610,13 +8610,13 @@ impl IPrintSchemaParameterInitializer { #[repr(C)] pub struct IPrintSchemaParameterInitializer_Vtbl { pub base__: IPrintSchemaElement_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetValue: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9919,14 +9919,12 @@ impl IPrinterPropertyBag { pub unsafe fn SetBytes(&self, bstrname: &windows_core::BSTR, pvalue: &[u8]) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBytes)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrname), pvalue.len().try_into().unwrap(), core::mem::transmute(pvalue.as_ptr())).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetReadStream(&self, bstrname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReadStream)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWriteStream(&self, bstrname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9946,14 +9944,8 @@ pub struct IPrinterPropertyBag_Vtbl { pub SetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub SetBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub GetReadStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetReadStream: usize, - #[cfg(feature = "Win32_System_Com")] pub GetWriteStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetWriteStream: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IPrinterPropertyBag_Impl: super::super::System::Com::IDispatch_Impl { @@ -10861,7 +10853,6 @@ impl IPrinterScriptableStream { pub unsafe fn Commit(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Commit)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Seek(&self, loffset: i32, streamseek: super::super::System::Com::STREAM_SEEK) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10877,10 +10868,7 @@ impl IPrinterScriptableStream { pub struct IPrinterScriptableStream_Vtbl { pub base__: IPrinterScriptableSequentialStream_Vtbl, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Com::STREAM_SEEK, *mut i32) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Seek: usize, pub SetSize: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs index 4f8b7651e2..7370ab9952 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs @@ -5059,21 +5059,21 @@ impl IComponentTypes { (windows_core::Interface::vtable(self).EnumComponentTypes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn put_Item(&self, index: &super::super::super::System::Variant::VARIANT, componenttype: P1) -> windows_core::Result<()> where P1: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).put_Item)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index), componenttype.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Add(&self, componenttype: P0) -> windows_core::Result where P0: windows_core::Param, @@ -5083,7 +5083,7 @@ impl IComponentTypes { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), componenttype.param().abi(), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, index: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index)).ok() } } @@ -5104,21 +5104,21 @@ pub struct IComponentTypes_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, pub EnumComponentTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub put_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] put_Item: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Add: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -5270,14 +5270,14 @@ impl IComponents { (windows_core::Interface::vtable(self).EnumComponents)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Add(&self, component: P0) -> windows_core::Result where P0: windows_core::Param, @@ -5287,7 +5287,7 @@ impl IComponents { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), component.param().abi(), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, index: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index)).ok() } } @@ -5297,7 +5297,7 @@ impl IComponents { (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn put_Item(&self, index: &super::super::super::System::Variant::VARIANT, ppcomponent: P1) -> windows_core::Result<()> where P1: windows_core::Param, @@ -5315,22 +5315,22 @@ pub struct IComponents_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, pub EnumComponents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Add: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub put_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] put_Item: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -5481,14 +5481,14 @@ impl IComponentsOld { (windows_core::Interface::vtable(self).EnumComponents)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Add(&self, component: P0) -> windows_core::Result where P0: windows_core::Param, @@ -5498,7 +5498,7 @@ impl IComponentsOld { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), component.param().abi(), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, index: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index)).ok() } } @@ -5519,17 +5519,17 @@ pub struct IComponentsOld_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, pub EnumComponents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Add: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -23201,7 +23201,7 @@ impl IMSVidAudioRendererDevices { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, v: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -23214,7 +23214,7 @@ impl IMSVidAudioRendererDevices { { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), pdb.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, v: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(v)).ok() } } @@ -23228,14 +23228,14 @@ pub struct IMSVidAudioRendererDevices_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -23939,7 +23939,7 @@ impl IMSVidCtl { (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn View(&self, v: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).View)(windows_core::Interface::as_raw(self), core::mem::transmute(v)).ok() } } @@ -23964,7 +23964,7 @@ impl IMSVidCtl { pub unsafe fn DisableAudio(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DisableAudio)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ViewNext(&self, v: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ViewNext)(windows_core::Interface::as_raw(self), core::mem::transmute(v)).ok() } } @@ -24007,9 +24007,9 @@ pub struct IMSVidCtl_Vtbl { pub FeaturesActive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetFeaturesActive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MSVidCtlStateList) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub View: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] View: usize, pub Build: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -24018,9 +24018,9 @@ pub struct IMSVidCtl_Vtbl { pub Decompose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DisableVideo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DisableAudio: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ViewNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ViewNext: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -25188,7 +25188,7 @@ impl IMSVidFeatures { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, v: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -25201,7 +25201,7 @@ impl IMSVidFeatures { { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), pdb.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, v: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(v)).ok() } } @@ -25215,14 +25215,14 @@ pub struct IMSVidFeatures_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -26233,14 +26233,14 @@ impl core::ops::Deref for IMSVidInputDevice { windows_core::imp::interface_hierarchy!(IMSVidInputDevice, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice); #[cfg(feature = "Win32_System_Com")] impl IMSVidInputDevice { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn IsViewable(&self, v: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsViewable)(windows_core::Interface::as_raw(self), core::mem::transmute(v), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn View(&self, v: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).View)(windows_core::Interface::as_raw(self), core::mem::transmute(v)).ok() } } @@ -26249,13 +26249,13 @@ impl IMSVidInputDevice { #[repr(C)] pub struct IMSVidInputDevice_Vtbl { pub base__: IMSVidDevice_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub IsViewable: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] IsViewable: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub View: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] View: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -26347,7 +26347,7 @@ impl IMSVidInputDevices { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, v: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -26360,7 +26360,7 @@ impl IMSVidInputDevices { { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), pdb.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, v: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(v)).ok() } } @@ -26374,14 +26374,14 @@ pub struct IMSVidInputDevices_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -26542,7 +26542,7 @@ impl IMSVidOutputDevices { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, v: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -26555,7 +26555,7 @@ impl IMSVidOutputDevices { { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), pdb.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, v: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(v)).ok() } } @@ -26569,14 +26569,14 @@ pub struct IMSVidOutputDevices_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -30265,7 +30265,7 @@ impl IMSVidVideoRendererDevices { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, v: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -30278,7 +30278,7 @@ impl IMSVidVideoRendererDevices { { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), pdb.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, v: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(v)).ok() } } @@ -30292,14 +30292,14 @@ pub struct IMSVidVideoRendererDevices_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -32439,7 +32439,7 @@ impl core::ops::Deref for IMSVidWebDVDEvent { windows_core::imp::interface_hierarchy!(IMSVidWebDVDEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent); #[cfg(feature = "Win32_System_Com")] impl IMSVidWebDVDEvent { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DVDNotify(&self, leventcode: i32, lparam1: &super::super::super::System::Variant::VARIANT, lparam2: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DVDNotify)(windows_core::Interface::as_raw(self), leventcode, core::mem::transmute_copy(lparam1), core::mem::transmute_copy(lparam2)).ok() } } @@ -32514,9 +32514,9 @@ impl IMSVidWebDVDEvent { #[repr(C)] pub struct IMSVidWebDVDEvent_Vtbl { pub base__: IMSVidPlaybackEvent_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DVDNotify: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::super::System::Variant::VARIANT, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DVDNotify: usize, pub PlayForwards: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub PlayBackwards: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -34306,11 +34306,11 @@ impl IPersistTuneXml { pub unsafe fn InitNew(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InitNew)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Load(&self, varvalue: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Load)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varvalue)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Save(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -34323,13 +34323,13 @@ impl IPersistTuneXml { pub struct IPersistTuneXml_Vtbl { pub base__: super::super::super::System::Com::IPersist_Vtbl, pub InitNew: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Load: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Save: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -38002,14 +38002,12 @@ impl ITuningSpace { (windows_core::Interface::vtable(self).CreateTuneRequest)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoryGUIDs(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCategoryGUIDs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumDeviceMonikers(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -38070,14 +38068,8 @@ pub struct ITuningSpace_Vtbl { pub _NetworkType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Set_NetworkType: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub CreateTuneRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub EnumCategoryGUIDs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - EnumCategoryGUIDs: usize, - #[cfg(feature = "Win32_System_Com")] pub EnumDeviceMonikers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - EnumDeviceMonikers: usize, pub DefaultPreferredComponentTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDefaultPreferredComponentTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub FrequencyMapping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -38352,14 +38344,14 @@ impl ITuningSpaceContainer { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn put_Item(&self, varindex: &super::super::super::System::Variant::VARIANT, tuningspace: P1) -> windows_core::Result<()> where P1: windows_core::Param, @@ -38393,7 +38385,7 @@ impl ITuningSpaceContainer { (windows_core::Interface::vtable(self).FindID)(windows_core::Interface::as_raw(self), tuningspace.param().abi(), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Add(&self, tuningspace: P0) -> windows_core::Result where P0: windows_core::Param, @@ -38409,7 +38401,7 @@ impl ITuningSpaceContainer { (windows_core::Interface::vtable(self).EnumTuningSpaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, index: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index)).ok() } } @@ -38432,26 +38424,26 @@ pub struct ITuningSpaceContainer_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub put_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] put_Item: usize, pub TuningSpacesForCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub _TuningSpacesForCLSID2: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TuningSpacesForName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FindID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Add: usize, pub EnumTuningSpaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, pub MaxCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMaxCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -38662,7 +38654,7 @@ impl ITuningSpaces { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -38685,9 +38677,9 @@ pub struct ITuningSpaces_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub EnumTuningSpaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } diff --git a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs index c3d632b7c3..a3ab5c48ff 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs @@ -228,7 +228,7 @@ impl IWindowsMediaLibrarySharingDeviceProperty { (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -241,9 +241,9 @@ impl IWindowsMediaLibrarySharingDeviceProperty { pub struct IWindowsMediaLibrarySharingDeviceProperty_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] 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 c7089a959e..9039851bc9 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs @@ -10077,7 +10077,6 @@ impl ID3D12VideoDecodeCommandList { pub unsafe fn Close(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn Reset(&self, pallocator: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -10087,32 +10086,27 @@ impl ID3D12VideoDecodeCommandList { pub unsafe fn ClearState(&self) { unsafe { (windows_core::Interface::vtable(self).ClearState)(windows_core::Interface::as_raw(self)) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn ResourceBarrier(&self, pbarriers: &[super::super::Graphics::Direct3D12::D3D12_RESOURCE_BARRIER]) { unsafe { (windows_core::Interface::vtable(self).ResourceBarrier)(windows_core::Interface::as_raw(self), pbarriers.len().try_into().unwrap(), core::mem::transmute(pbarriers.as_ptr())) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn DiscardResource(&self, presource: P0, pregion: Option<*const super::super::Graphics::Direct3D12::D3D12_DISCARD_REGION>) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).DiscardResource)(windows_core::Interface::as_raw(self), presource.param().abi(), pregion.unwrap_or(core::mem::zeroed()) as _) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn BeginQuery(&self, pqueryheap: P0, r#type: super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, index: u32) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).BeginQuery)(windows_core::Interface::as_raw(self), pqueryheap.param().abi(), r#type, index) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn EndQuery(&self, pqueryheap: P0, r#type: super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, index: u32) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).EndQuery)(windows_core::Interface::as_raw(self), pqueryheap.param().abi(), r#type, index) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn ResolveQueryData(&self, pqueryheap: P0, r#type: super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, startindex: u32, numqueries: u32, pdestinationbuffer: P4, aligneddestinationbufferoffset: u64) where P0: windows_core::Param, @@ -10120,7 +10114,6 @@ impl ID3D12VideoDecodeCommandList { { unsafe { (windows_core::Interface::vtable(self).ResolveQueryData)(windows_core::Interface::as_raw(self), pqueryheap.param().abi(), r#type, startindex, numqueries, pdestinationbuffer.param().abi(), aligneddestinationbufferoffset) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn SetPredication(&self, pbuffer: P0, alignedbufferoffset: u64, operation: super::super::Graphics::Direct3D12::D3D12_PREDICATION_OP) where P0: windows_core::Param, @@ -10136,14 +10129,13 @@ impl ID3D12VideoDecodeCommandList { pub unsafe fn EndEvent(&self) { unsafe { (windows_core::Interface::vtable(self).EndEvent)(windows_core::Interface::as_raw(self)) } } - #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn DecodeFrame(&self, pdecoder: P0, poutputarguments: *const D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS, pinputarguments: *const D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).DecodeFrame)(windows_core::Interface::as_raw(self), pdecoder.param().abi(), core::mem::transmute(poutputarguments), core::mem::transmute(pinputarguments)) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn WriteBufferImmediate(&self, count: u32, pparams: *const super::super::Graphics::Direct3D12::D3D12_WRITEBUFFERIMMEDIATE_PARAMETER, pmodes: Option<*const super::super::Graphics::Direct3D12::D3D12_WRITEBUFFERIMMEDIATE_MODE>) { unsafe { (windows_core::Interface::vtable(self).WriteBufferImmediate)(windows_core::Interface::as_raw(self), count, pparams, pmodes.unwrap_or(core::mem::zeroed()) as _) } } @@ -10153,46 +10145,22 @@ impl ID3D12VideoDecodeCommandList { pub struct ID3D12VideoDecodeCommandList_Vtbl { pub base__: super::super::Graphics::Direct3D12::ID3D12CommandList_Vtbl, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - Reset: usize, pub ClearState: unsafe extern "system" fn(*mut core::ffi::c_void), - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub ResourceBarrier: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::Graphics::Direct3D12::D3D12_RESOURCE_BARRIER), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - ResourceBarrier: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub DiscardResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::Graphics::Direct3D12::D3D12_DISCARD_REGION), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - DiscardResource: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub BeginQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, u32), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - BeginQuery: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub EndQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, u32), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - EndQuery: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub ResolveQueryData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, u32, u32, *mut core::ffi::c_void, u64), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - ResolveQueryData: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub SetPredication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64, super::super::Graphics::Direct3D12::D3D12_PREDICATION_OP), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - SetPredication: usize, pub SetMarker: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, u32), pub BeginEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, u32), pub EndEvent: unsafe extern "system" fn(*mut core::ffi::c_void), - #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub DecodeFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS, *const D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS), - #[cfg(not(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common")))] + #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] DecodeFrame: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub WriteBufferImmediate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::Graphics::Direct3D12::D3D12_WRITEBUFFERIMMEDIATE_PARAMETER, *const super::super::Graphics::Direct3D12::D3D12_WRITEBUFFERIMMEDIATE_MODE), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - WriteBufferImmediate: usize, } #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] pub trait ID3D12VideoDecodeCommandList_Impl: super::super::Graphics::Direct3D12::ID3D12CommandList_Impl { @@ -10339,7 +10307,7 @@ impl core::ops::Deref for ID3D12VideoDecodeCommandList1 { windows_core::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList1, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoDecodeCommandList1 { - #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn DecodeFrame1(&self, pdecoder: P0, poutputarguments: *const D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1, pinputarguments: *const D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS) where P0: windows_core::Param, @@ -10351,9 +10319,9 @@ impl ID3D12VideoDecodeCommandList1 { #[repr(C)] pub struct ID3D12VideoDecodeCommandList1_Vtbl { pub base__: ID3D12VideoDecodeCommandList_Vtbl, - #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub DecodeFrame1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1, *const D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS), - #[cfg(not(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common")))] + #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] DecodeFrame1: usize, } #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -10394,21 +10362,18 @@ impl core::ops::Deref for ID3D12VideoDecodeCommandList2 { windows_core::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList2, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList, ID3D12VideoDecodeCommandList1); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoDecodeCommandList2 { - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn SetProtectedResourceSession(&self, pprotectedresourcesession: P0) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).SetProtectedResourceSession)(windows_core::Interface::as_raw(self), pprotectedresourcesession.param().abi()) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn InitializeExtensionCommand(&self, pextensioncommand: P0, pinitializationparameters: *const core::ffi::c_void, initializationparameterssizeinbytes: usize) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).InitializeExtensionCommand)(windows_core::Interface::as_raw(self), pextensioncommand.param().abi(), pinitializationparameters, initializationparameterssizeinbytes) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn ExecuteExtensionCommand(&self, pextensioncommand: P0, pexecutionparameters: *const core::ffi::c_void, executionparameterssizeinbytes: usize) where P0: windows_core::Param, @@ -10420,18 +10385,9 @@ impl ID3D12VideoDecodeCommandList2 { #[repr(C)] pub struct ID3D12VideoDecodeCommandList2_Vtbl { pub base__: ID3D12VideoDecodeCommandList1_Vtbl, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub SetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - SetProtectedResourceSession: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub InitializeExtensionCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void, usize), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - InitializeExtensionCommand: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub ExecuteExtensionCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void, usize), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - ExecuteExtensionCommand: usize, } #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] pub trait ID3D12VideoDecodeCommandList2_Impl: ID3D12VideoDecodeCommandList1_Impl { @@ -10490,7 +10446,6 @@ impl core::ops::Deref for ID3D12VideoDecodeCommandList3 { windows_core::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList3, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList, ID3D12VideoDecodeCommandList1, ID3D12VideoDecodeCommandList2); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoDecodeCommandList3 { - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn Barrier(&self, pbarriergroups: &[super::super::Graphics::Direct3D12::D3D12_BARRIER_GROUP]) { unsafe { (windows_core::Interface::vtable(self).Barrier)(windows_core::Interface::as_raw(self), pbarriergroups.len().try_into().unwrap(), core::mem::transmute(pbarriergroups.as_ptr())) } } @@ -10499,10 +10454,7 @@ impl ID3D12VideoDecodeCommandList3 { #[repr(C)] pub struct ID3D12VideoDecodeCommandList3_Vtbl { pub base__: ID3D12VideoDecodeCommandList2_Vtbl, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub Barrier: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::Graphics::Direct3D12::D3D12_BARRIER_GROUP), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - Barrier: usize, } #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] pub trait ID3D12VideoDecodeCommandList3_Impl: ID3D12VideoDecodeCommandList2_Impl { @@ -11134,7 +11086,6 @@ impl ID3D12VideoEncodeCommandList { pub unsafe fn Close(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn Reset(&self, pallocator: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -11144,32 +11095,27 @@ impl ID3D12VideoEncodeCommandList { pub unsafe fn ClearState(&self) { unsafe { (windows_core::Interface::vtable(self).ClearState)(windows_core::Interface::as_raw(self)) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn ResourceBarrier(&self, pbarriers: &[super::super::Graphics::Direct3D12::D3D12_RESOURCE_BARRIER]) { unsafe { (windows_core::Interface::vtable(self).ResourceBarrier)(windows_core::Interface::as_raw(self), pbarriers.len().try_into().unwrap(), core::mem::transmute(pbarriers.as_ptr())) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn DiscardResource(&self, presource: P0, pregion: Option<*const super::super::Graphics::Direct3D12::D3D12_DISCARD_REGION>) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).DiscardResource)(windows_core::Interface::as_raw(self), presource.param().abi(), pregion.unwrap_or(core::mem::zeroed()) as _) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn BeginQuery(&self, pqueryheap: P0, r#type: super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, index: u32) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).BeginQuery)(windows_core::Interface::as_raw(self), pqueryheap.param().abi(), r#type, index) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn EndQuery(&self, pqueryheap: P0, r#type: super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, index: u32) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).EndQuery)(windows_core::Interface::as_raw(self), pqueryheap.param().abi(), r#type, index) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn ResolveQueryData(&self, pqueryheap: P0, r#type: super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, startindex: u32, numqueries: u32, pdestinationbuffer: P4, aligneddestinationbufferoffset: u64) where P0: windows_core::Param, @@ -11177,7 +11123,6 @@ impl ID3D12VideoEncodeCommandList { { unsafe { (windows_core::Interface::vtable(self).ResolveQueryData)(windows_core::Interface::as_raw(self), pqueryheap.param().abi(), r#type, startindex, numqueries, pdestinationbuffer.param().abi(), aligneddestinationbufferoffset) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn SetPredication(&self, pbuffer: P0, alignedbufferoffset: u64, operation: super::super::Graphics::Direct3D12::D3D12_PREDICATION_OP) where P0: windows_core::Param, @@ -11193,22 +11138,18 @@ impl ID3D12VideoEncodeCommandList { pub unsafe fn EndEvent(&self) { unsafe { (windows_core::Interface::vtable(self).EndEvent)(windows_core::Interface::as_raw(self)) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn EstimateMotion(&self, pmotionestimator: P0, poutputarguments: *const D3D12_VIDEO_MOTION_ESTIMATOR_OUTPUT, pinputarguments: *const D3D12_VIDEO_MOTION_ESTIMATOR_INPUT) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).EstimateMotion)(windows_core::Interface::as_raw(self), pmotionestimator.param().abi(), core::mem::transmute(poutputarguments), core::mem::transmute(pinputarguments)) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn ResolveMotionVectorHeap(&self, poutputarguments: *const D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT, pinputarguments: *const D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT) { unsafe { (windows_core::Interface::vtable(self).ResolveMotionVectorHeap)(windows_core::Interface::as_raw(self), core::mem::transmute(poutputarguments), core::mem::transmute(pinputarguments)) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn WriteBufferImmediate(&self, count: u32, pparams: *const super::super::Graphics::Direct3D12::D3D12_WRITEBUFFERIMMEDIATE_PARAMETER, pmodes: Option<*const super::super::Graphics::Direct3D12::D3D12_WRITEBUFFERIMMEDIATE_MODE>) { unsafe { (windows_core::Interface::vtable(self).WriteBufferImmediate)(windows_core::Interface::as_raw(self), count, pparams, pmodes.unwrap_or(core::mem::zeroed()) as _) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn SetProtectedResourceSession(&self, pprotectedresourcesession: P0) where P0: windows_core::Param, @@ -11221,54 +11162,21 @@ impl ID3D12VideoEncodeCommandList { pub struct ID3D12VideoEncodeCommandList_Vtbl { pub base__: super::super::Graphics::Direct3D12::ID3D12CommandList_Vtbl, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - Reset: usize, pub ClearState: unsafe extern "system" fn(*mut core::ffi::c_void), - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub ResourceBarrier: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::Graphics::Direct3D12::D3D12_RESOURCE_BARRIER), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - ResourceBarrier: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub DiscardResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::Graphics::Direct3D12::D3D12_DISCARD_REGION), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - DiscardResource: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub BeginQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, u32), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - BeginQuery: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub EndQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, u32), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - EndQuery: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub ResolveQueryData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, u32, u32, *mut core::ffi::c_void, u64), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - ResolveQueryData: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub SetPredication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64, super::super::Graphics::Direct3D12::D3D12_PREDICATION_OP), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - SetPredication: usize, pub SetMarker: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, u32), pub BeginEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, u32), pub EndEvent: unsafe extern "system" fn(*mut core::ffi::c_void), - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub EstimateMotion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const D3D12_VIDEO_MOTION_ESTIMATOR_OUTPUT, *const D3D12_VIDEO_MOTION_ESTIMATOR_INPUT), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - EstimateMotion: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub ResolveMotionVectorHeap: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT, *const D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - ResolveMotionVectorHeap: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub WriteBufferImmediate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::Graphics::Direct3D12::D3D12_WRITEBUFFERIMMEDIATE_PARAMETER, *const super::super::Graphics::Direct3D12::D3D12_WRITEBUFFERIMMEDIATE_MODE), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - WriteBufferImmediate: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub SetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - SetProtectedResourceSession: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] pub trait ID3D12VideoEncodeCommandList_Impl: super::super::Graphics::Direct3D12::ID3D12CommandList_Impl { @@ -11431,14 +11339,12 @@ impl core::ops::Deref for ID3D12VideoEncodeCommandList1 { windows_core::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList1, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoEncodeCommandList1 { - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn InitializeExtensionCommand(&self, pextensioncommand: P0, pinitializationparameters: *const core::ffi::c_void, initializationparameterssizeinbytes: usize) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).InitializeExtensionCommand)(windows_core::Interface::as_raw(self), pextensioncommand.param().abi(), pinitializationparameters, initializationparameterssizeinbytes) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn ExecuteExtensionCommand(&self, pextensioncommand: P0, pexecutionparameters: *const core::ffi::c_void, executionparameterssizeinbytes: usize) where P0: windows_core::Param, @@ -11450,14 +11356,8 @@ impl ID3D12VideoEncodeCommandList1 { #[repr(C)] pub struct ID3D12VideoEncodeCommandList1_Vtbl { pub base__: ID3D12VideoEncodeCommandList_Vtbl, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub InitializeExtensionCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void, usize), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - InitializeExtensionCommand: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub ExecuteExtensionCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void, usize), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - ExecuteExtensionCommand: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] pub trait ID3D12VideoEncodeCommandList1_Impl: ID3D12VideoEncodeCommandList_Impl { @@ -11508,7 +11408,7 @@ impl core::ops::Deref for ID3D12VideoEncodeCommandList2 { windows_core::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList2, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList, ID3D12VideoEncodeCommandList1); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoEncodeCommandList2 { - #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn EncodeFrame(&self, pencoder: P0, pheap: P1, pinputarguments: *const D3D12_VIDEO_ENCODER_ENCODEFRAME_INPUT_ARGUMENTS, poutputarguments: *const D3D12_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_ARGUMENTS) where P0: windows_core::Param, @@ -11516,7 +11416,7 @@ impl ID3D12VideoEncodeCommandList2 { { unsafe { (windows_core::Interface::vtable(self).EncodeFrame)(windows_core::Interface::as_raw(self), pencoder.param().abi(), pheap.param().abi(), core::mem::transmute(pinputarguments), core::mem::transmute(poutputarguments)) } } - #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn ResolveEncoderOutputMetadata(&self, pinputarguments: *const D3D12_VIDEO_ENCODER_RESOLVE_METADATA_INPUT_ARGUMENTS, poutputarguments: *const D3D12_VIDEO_ENCODER_RESOLVE_METADATA_OUTPUT_ARGUMENTS) { unsafe { (windows_core::Interface::vtable(self).ResolveEncoderOutputMetadata)(windows_core::Interface::as_raw(self), core::mem::transmute(pinputarguments), core::mem::transmute(poutputarguments)) } } @@ -11525,13 +11425,13 @@ impl ID3D12VideoEncodeCommandList2 { #[repr(C)] pub struct ID3D12VideoEncodeCommandList2_Vtbl { pub base__: ID3D12VideoEncodeCommandList1_Vtbl, - #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub EncodeFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const D3D12_VIDEO_ENCODER_ENCODEFRAME_INPUT_ARGUMENTS, *const D3D12_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_ARGUMENTS), - #[cfg(not(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common")))] + #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] EncodeFrame: usize, - #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub ResolveEncoderOutputMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D12_VIDEO_ENCODER_RESOLVE_METADATA_INPUT_ARGUMENTS, *const D3D12_VIDEO_ENCODER_RESOLVE_METADATA_OUTPUT_ARGUMENTS), - #[cfg(not(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common")))] + #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] ResolveEncoderOutputMetadata: usize, } #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -11583,7 +11483,6 @@ impl core::ops::Deref for ID3D12VideoEncodeCommandList3 { windows_core::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList3, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList, ID3D12VideoEncodeCommandList1, ID3D12VideoEncodeCommandList2); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoEncodeCommandList3 { - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn Barrier(&self, pbarriergroups: &[super::super::Graphics::Direct3D12::D3D12_BARRIER_GROUP]) { unsafe { (windows_core::Interface::vtable(self).Barrier)(windows_core::Interface::as_raw(self), pbarriergroups.len().try_into().unwrap(), core::mem::transmute(pbarriergroups.as_ptr())) } } @@ -11592,10 +11491,7 @@ impl ID3D12VideoEncodeCommandList3 { #[repr(C)] pub struct ID3D12VideoEncodeCommandList3_Vtbl { pub base__: ID3D12VideoEncodeCommandList2_Vtbl, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub Barrier: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::Graphics::Direct3D12::D3D12_BARRIER_GROUP), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - Barrier: usize, } #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] pub trait ID3D12VideoEncodeCommandList3_Impl: ID3D12VideoEncodeCommandList2_Impl { @@ -12106,7 +12002,6 @@ impl ID3D12VideoProcessCommandList { pub unsafe fn Close(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn Reset(&self, pallocator: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -12116,32 +12011,27 @@ impl ID3D12VideoProcessCommandList { pub unsafe fn ClearState(&self) { unsafe { (windows_core::Interface::vtable(self).ClearState)(windows_core::Interface::as_raw(self)) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn ResourceBarrier(&self, pbarriers: &[super::super::Graphics::Direct3D12::D3D12_RESOURCE_BARRIER]) { unsafe { (windows_core::Interface::vtable(self).ResourceBarrier)(windows_core::Interface::as_raw(self), pbarriers.len().try_into().unwrap(), core::mem::transmute(pbarriers.as_ptr())) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn DiscardResource(&self, presource: P0, pregion: Option<*const super::super::Graphics::Direct3D12::D3D12_DISCARD_REGION>) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).DiscardResource)(windows_core::Interface::as_raw(self), presource.param().abi(), pregion.unwrap_or(core::mem::zeroed()) as _) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn BeginQuery(&self, pqueryheap: P0, r#type: super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, index: u32) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).BeginQuery)(windows_core::Interface::as_raw(self), pqueryheap.param().abi(), r#type, index) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn EndQuery(&self, pqueryheap: P0, r#type: super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, index: u32) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).EndQuery)(windows_core::Interface::as_raw(self), pqueryheap.param().abi(), r#type, index) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn ResolveQueryData(&self, pqueryheap: P0, r#type: super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, startindex: u32, numqueries: u32, pdestinationbuffer: P4, aligneddestinationbufferoffset: u64) where P0: windows_core::Param, @@ -12149,7 +12039,6 @@ impl ID3D12VideoProcessCommandList { { unsafe { (windows_core::Interface::vtable(self).ResolveQueryData)(windows_core::Interface::as_raw(self), pqueryheap.param().abi(), r#type, startindex, numqueries, pdestinationbuffer.param().abi(), aligneddestinationbufferoffset) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn SetPredication(&self, pbuffer: P0, alignedbufferoffset: u64, operation: super::super::Graphics::Direct3D12::D3D12_PREDICATION_OP) where P0: windows_core::Param, @@ -12165,14 +12054,12 @@ impl ID3D12VideoProcessCommandList { pub unsafe fn EndEvent(&self) { unsafe { (windows_core::Interface::vtable(self).EndEvent)(windows_core::Interface::as_raw(self)) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn ProcessFrames(&self, pvideoprocessor: P0, poutputarguments: *const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS, pinputarguments: &[D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS]) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).ProcessFrames)(windows_core::Interface::as_raw(self), pvideoprocessor.param().abi(), core::mem::transmute(poutputarguments), pinputarguments.len().try_into().unwrap(), core::mem::transmute(pinputarguments.as_ptr())) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn WriteBufferImmediate(&self, count: u32, pparams: *const super::super::Graphics::Direct3D12::D3D12_WRITEBUFFERIMMEDIATE_PARAMETER, pmodes: Option<*const super::super::Graphics::Direct3D12::D3D12_WRITEBUFFERIMMEDIATE_MODE>) { unsafe { (windows_core::Interface::vtable(self).WriteBufferImmediate)(windows_core::Interface::as_raw(self), count, pparams, pmodes.unwrap_or(core::mem::zeroed()) as _) } } @@ -12182,46 +12069,19 @@ impl ID3D12VideoProcessCommandList { pub struct ID3D12VideoProcessCommandList_Vtbl { pub base__: super::super::Graphics::Direct3D12::ID3D12CommandList_Vtbl, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - Reset: usize, pub ClearState: unsafe extern "system" fn(*mut core::ffi::c_void), - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub ResourceBarrier: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::Graphics::Direct3D12::D3D12_RESOURCE_BARRIER), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - ResourceBarrier: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub DiscardResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::Graphics::Direct3D12::D3D12_DISCARD_REGION), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - DiscardResource: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub BeginQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, u32), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - BeginQuery: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub EndQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, u32), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - EndQuery: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub ResolveQueryData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Graphics::Direct3D12::D3D12_QUERY_TYPE, u32, u32, *mut core::ffi::c_void, u64), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - ResolveQueryData: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub SetPredication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64, super::super::Graphics::Direct3D12::D3D12_PREDICATION_OP), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - SetPredication: usize, pub SetMarker: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, u32), pub BeginEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, u32), pub EndEvent: unsafe extern "system" fn(*mut core::ffi::c_void), - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub ProcessFrames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS, u32, *const D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - ProcessFrames: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub WriteBufferImmediate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::Graphics::Direct3D12::D3D12_WRITEBUFFERIMMEDIATE_PARAMETER, *const super::super::Graphics::Direct3D12::D3D12_WRITEBUFFERIMMEDIATE_MODE), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - WriteBufferImmediate: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] pub trait ID3D12VideoProcessCommandList_Impl: super::super::Graphics::Direct3D12::ID3D12CommandList_Impl { @@ -12368,7 +12228,6 @@ impl core::ops::Deref for ID3D12VideoProcessCommandList1 { windows_core::imp::interface_hierarchy!(ID3D12VideoProcessCommandList1, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoProcessCommandList1 { - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn ProcessFrames1(&self, pvideoprocessor: P0, poutputarguments: *const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS, pinputarguments: &[D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1]) where P0: windows_core::Param, @@ -12380,10 +12239,7 @@ impl ID3D12VideoProcessCommandList1 { #[repr(C)] pub struct ID3D12VideoProcessCommandList1_Vtbl { pub base__: ID3D12VideoProcessCommandList_Vtbl, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub ProcessFrames1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS, u32, *const D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - ProcessFrames1: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] pub trait ID3D12VideoProcessCommandList1_Impl: ID3D12VideoProcessCommandList_Impl { @@ -12423,21 +12279,18 @@ impl core::ops::Deref for ID3D12VideoProcessCommandList2 { windows_core::imp::interface_hierarchy!(ID3D12VideoProcessCommandList2, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList, ID3D12VideoProcessCommandList1); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoProcessCommandList2 { - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn SetProtectedResourceSession(&self, pprotectedresourcesession: P0) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).SetProtectedResourceSession)(windows_core::Interface::as_raw(self), pprotectedresourcesession.param().abi()) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn InitializeExtensionCommand(&self, pextensioncommand: P0, pinitializationparameters: *const core::ffi::c_void, initializationparameterssizeinbytes: usize) where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).InitializeExtensionCommand)(windows_core::Interface::as_raw(self), pextensioncommand.param().abi(), pinitializationparameters, initializationparameterssizeinbytes) } } - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn ExecuteExtensionCommand(&self, pextensioncommand: P0, pexecutionparameters: *const core::ffi::c_void, executionparameterssizeinbytes: usize) where P0: windows_core::Param, @@ -12449,18 +12302,9 @@ impl ID3D12VideoProcessCommandList2 { #[repr(C)] pub struct ID3D12VideoProcessCommandList2_Vtbl { pub base__: ID3D12VideoProcessCommandList1_Vtbl, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub SetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - SetProtectedResourceSession: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub InitializeExtensionCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void, usize), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - InitializeExtensionCommand: usize, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub ExecuteExtensionCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void, usize), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - ExecuteExtensionCommand: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] pub trait ID3D12VideoProcessCommandList2_Impl: ID3D12VideoProcessCommandList1_Impl { @@ -12519,7 +12363,6 @@ impl core::ops::Deref for ID3D12VideoProcessCommandList3 { windows_core::imp::interface_hierarchy!(ID3D12VideoProcessCommandList3, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList, ID3D12VideoProcessCommandList1, ID3D12VideoProcessCommandList2); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoProcessCommandList3 { - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn Barrier(&self, pbarriergroups: &[super::super::Graphics::Direct3D12::D3D12_BARRIER_GROUP]) { unsafe { (windows_core::Interface::vtable(self).Barrier)(windows_core::Interface::as_raw(self), pbarriergroups.len().try_into().unwrap(), core::mem::transmute(pbarriergroups.as_ptr())) } } @@ -12528,10 +12371,7 @@ impl ID3D12VideoProcessCommandList3 { #[repr(C)] pub struct ID3D12VideoProcessCommandList3_Vtbl { pub base__: ID3D12VideoProcessCommandList2_Vtbl, - #[cfg(feature = "Win32_Graphics_Direct3D12")] pub Barrier: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::Graphics::Direct3D12::D3D12_BARRIER_GROUP), - #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] - Barrier: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] pub trait ID3D12VideoProcessCommandList3_Impl: ID3D12VideoProcessCommandList2_Impl { diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs index 7d6924e4a6..5c777aae83 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs @@ -6840,7 +6840,7 @@ impl IWMPErrorItem { pub unsafe fn errorDescription(&self, pbstrdescription: *mut windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).errorDescription)(windows_core::Interface::as_raw(self), core::mem::transmute(pbstrdescription)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn errorContext(&self, pvarcontext: *mut super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).errorContext)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarcontext)).ok() } } @@ -6857,9 +6857,9 @@ pub struct IWMPErrorItem_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub errorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub errorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub errorContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] errorContext: usize, pub remedy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub customUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8725,7 +8725,7 @@ impl IWMPMedia3 { pub unsafe fn getAttributeCountByType(&self, bstrtype: &windows_core::BSTR, bstrlanguage: &windows_core::BSTR, plcount: *mut i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).getAttributeCountByType)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrtype), core::mem::transmute_copy(bstrlanguage), plcount as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn getItemInfoByType(&self, bstrtype: &windows_core::BSTR, bstrlanguage: &windows_core::BSTR, lindex: i32, pvarvalue: *mut super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).getItemInfoByType)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrtype), core::mem::transmute_copy(bstrlanguage), lindex, core::mem::transmute(pvarvalue)).ok() } } @@ -8735,9 +8735,9 @@ impl IWMPMedia3 { pub struct IWMPMedia3_Vtbl { pub base__: IWMPMedia2_Vtbl, pub getAttributeCountByType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub getItemInfoByType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] getItemInfoByType: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -12346,7 +12346,7 @@ impl IWMPStringCollection2 { pub unsafe fn getAttributeCountByType(&self, lcollectionindex: i32, bstrtype: &windows_core::BSTR, bstrlanguage: &windows_core::BSTR, plcount: *mut i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).getAttributeCountByType)(windows_core::Interface::as_raw(self), lcollectionindex, core::mem::transmute_copy(bstrtype), core::mem::transmute_copy(bstrlanguage), plcount as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn getItemInfoByType(&self, lcollectionindex: i32, bstrtype: &windows_core::BSTR, bstrlanguage: &windows_core::BSTR, lattributeindex: i32, pvarvalue: *mut super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).getItemInfoByType)(windows_core::Interface::as_raw(self), lcollectionindex, core::mem::transmute_copy(bstrtype), core::mem::transmute_copy(bstrlanguage), lattributeindex, core::mem::transmute(pvarvalue)).ok() } } @@ -12358,9 +12358,9 @@ pub struct IWMPStringCollection2_Vtbl { pub isIdentical: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub getAttributeCountByType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub getItemInfoByType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] getItemInfoByType: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] 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 b26e7a3bfa..6867d4ae8c 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs @@ -8205,14 +8205,14 @@ impl ISpeechAudioStatus { (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CurrentSeekPosition(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentSeekPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CurrentDevicePosition(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8227,13 +8227,13 @@ pub struct ISpeechAudioStatus_Vtbl { pub FreeBufferSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NonBlockingIO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechAudioState) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CurrentSeekPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CurrentSeekPosition: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CurrentDevicePosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CurrentDevicePosition: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8347,18 +8347,18 @@ impl ISpeechBaseStream { { unsafe { (windows_core::Interface::vtable(self).putref_Format)(windows_core::Interface::as_raw(self), audioformat.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Read(&self, buffer: *mut super::super::System::Variant::VARIANT, numberofbytes: i32, bytesread: *mut i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Read)(windows_core::Interface::as_raw(self), core::mem::transmute(buffer), numberofbytes, bytesread as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Write(&self, buffer: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Write)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(buffer), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Seek(&self, position: &super::super::System::Variant::VARIANT, origin: SpeechStreamSeekPositionType) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8372,17 +8372,17 @@ pub struct ISpeechBaseStream_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Format: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putref_Format: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT, i32, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Read: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Write: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, SpeechStreamSeekPositionType, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Seek: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8543,11 +8543,11 @@ impl core::ops::Deref for ISpeechDataKey { windows_core::imp::interface_hierarchy!(ISpeechDataKey, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ISpeechDataKey { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetBinaryValue(&self, valuename: &windows_core::BSTR, value: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBinaryValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(valuename), core::mem::transmute_copy(value)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetBinaryValue(&self, valuename: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8607,13 +8607,13 @@ impl ISpeechDataKey { #[repr(C)] pub struct ISpeechDataKey_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetBinaryValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetBinaryValue: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetBinaryValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetBinaryValue: usize, pub SetStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -9024,14 +9024,14 @@ impl ISpeechGrammarRuleState { (windows_core::Interface::vtable(self).Transitions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddWordTransition(&self, deststate: P0, words: &windows_core::BSTR, separators: &windows_core::BSTR, r#type: SpeechGrammarWordType, propertyname: &windows_core::BSTR, propertyid: i32, propertyvalue: *const super::super::System::Variant::VARIANT, weight: f32) -> windows_core::Result<()> where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).AddWordTransition)(windows_core::Interface::as_raw(self), deststate.param().abi(), core::mem::transmute_copy(words), core::mem::transmute_copy(separators), r#type, core::mem::transmute_copy(propertyname), propertyid, core::mem::transmute(propertyvalue), weight).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddRuleTransition(&self, destinationstate: P0, rule: P1, propertyname: &windows_core::BSTR, propertyid: i32, propertyvalue: *const super::super::System::Variant::VARIANT, weight: f32) -> windows_core::Result<()> where P0: windows_core::Param, @@ -9039,7 +9039,7 @@ impl ISpeechGrammarRuleState { { unsafe { (windows_core::Interface::vtable(self).AddRuleTransition)(windows_core::Interface::as_raw(self), destinationstate.param().abi(), rule.param().abi(), core::mem::transmute_copy(propertyname), propertyid, core::mem::transmute(propertyvalue), weight).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddSpecialTransition(&self, destinationstate: P0, r#type: SpeechSpecialTransitionType, propertyname: &windows_core::BSTR, propertyid: i32, propertyvalue: *const super::super::System::Variant::VARIANT, weight: f32) -> windows_core::Result<()> where P0: windows_core::Param, @@ -9053,17 +9053,17 @@ pub struct ISpeechGrammarRuleState_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Rule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Transitions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddWordTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, SpeechGrammarWordType, *mut core::ffi::c_void, i32, *const super::super::System::Variant::VARIANT, f32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddWordTransition: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddRuleTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, *const super::super::System::Variant::VARIANT, f32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddRuleTransition: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddSpecialTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, SpeechSpecialTransitionType, *mut core::ffi::c_void, i32, *const super::super::System::Variant::VARIANT, f32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddSpecialTransition: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9165,7 +9165,7 @@ impl ISpeechGrammarRuleStateTransition { (windows_core::Interface::vtable(self).Rule)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Weight(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9184,7 +9184,7 @@ impl ISpeechGrammarRuleStateTransition { (windows_core::Interface::vtable(self).PropertyId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PropertyValue(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9205,15 +9205,15 @@ pub struct ISpeechGrammarRuleStateTransition_Vtbl { pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechGrammarRuleStateTransitionType) -> windows_core::HRESULT, pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Rule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Weight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Weight: usize, pub PropertyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PropertyId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PropertyValue: usize, pub NextState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -9462,7 +9462,7 @@ impl ISpeechGrammarRules { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn FindRule(&self, rulenameorid: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9496,7 +9496,7 @@ impl ISpeechGrammarRules { pub unsafe fn Commit(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Commit)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CommitAndSave(&self, errortext: *mut windows_core::BSTR, savestream: *mut super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).CommitAndSave)(windows_core::Interface::as_raw(self), core::mem::transmute(errortext), core::mem::transmute(savestream)).ok() } } @@ -9506,18 +9506,18 @@ impl ISpeechGrammarRules { pub struct ISpeechGrammarRules_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub FindRule: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] FindRule: usize, pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Dynamic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, SpeechRuleAttributes, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CommitAndSave: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CommitAndSave: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9661,14 +9661,14 @@ impl ISpeechLexicon { pub unsafe fn AddPronunciation(&self, bstrword: &windows_core::BSTR, langid: i32, partofspeech: SpeechPartOfSpeech, bstrpronunciation: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPronunciation)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrword), langid, partofspeech, core::mem::transmute_copy(bstrpronunciation)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPronunciationByPhoneIds(&self, bstrword: &windows_core::BSTR, langid: i32, partofspeech: SpeechPartOfSpeech, phoneids: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPronunciationByPhoneIds)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrword), langid, partofspeech, core::mem::transmute(phoneids)).ok() } } pub unsafe fn RemovePronunciation(&self, bstrword: &windows_core::BSTR, langid: i32, partofspeech: SpeechPartOfSpeech, bstrpronunciation: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RemovePronunciation)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrword), langid, partofspeech, core::mem::transmute_copy(bstrpronunciation)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RemovePronunciationByPhoneIds(&self, bstrword: &windows_core::BSTR, langid: i32, partofspeech: SpeechPartOfSpeech, phoneids: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RemovePronunciationByPhoneIds)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrword), langid, partofspeech, core::mem::transmute(phoneids)).ok() } } @@ -9689,14 +9689,14 @@ pub struct ISpeechLexicon_Vtbl { pub GenerationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetWords: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechLexiconType, *mut i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddPronunciation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, SpeechPartOfSpeech, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPronunciationByPhoneIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, SpeechPartOfSpeech, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPronunciationByPhoneIds: usize, pub RemovePronunciation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, SpeechPartOfSpeech, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RemovePronunciationByPhoneIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, SpeechPartOfSpeech, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RemovePronunciationByPhoneIds: usize, pub GetPronunciations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, SpeechLexiconType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetGenerationChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -9824,7 +9824,7 @@ impl ISpeechLexiconPronunciation { (windows_core::Interface::vtable(self).PartOfSpeech)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PhoneIds(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9845,9 +9845,9 @@ pub struct ISpeechLexiconPronunciation_Vtbl { pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechLexiconType) -> windows_core::HRESULT, pub LangId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub PartOfSpeech: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechPartOfSpeech) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PhoneIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PhoneIds: usize, pub Symbolic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -10387,11 +10387,11 @@ impl core::ops::Deref for ISpeechMemoryStream { windows_core::imp::interface_hierarchy!(ISpeechMemoryStream, windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); #[cfg(feature = "Win32_System_Com")] impl ISpeechMemoryStream { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetData(&self, data: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetData)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(data)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetData(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10403,13 +10403,13 @@ impl ISpeechMemoryStream { #[repr(C)] pub struct ISpeechMemoryStream_Vtbl { pub base__: ISpeechBaseStream_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetData: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetData: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -10513,7 +10513,7 @@ impl ISpeechObjectToken { pub unsafe fn RemoveStorageFileName(&self, objectstorageclsid: &windows_core::BSTR, keyname: &windows_core::BSTR, deletefile: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RemoveStorageFileName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(objectstorageclsid), core::mem::transmute_copy(keyname), deletefile).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn IsUISupported(&self, typeofui: &windows_core::BSTR, extradata: *const super::super::System::Variant::VARIANT, object: P2) -> windows_core::Result where P2: windows_core::Param, @@ -10523,7 +10523,7 @@ impl ISpeechObjectToken { (windows_core::Interface::vtable(self).IsUISupported)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(typeofui), core::mem::transmute(extradata), object.param().abi(), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DisplayUI(&self, hwnd: i32, title: &windows_core::BSTR, typeofui: &windows_core::BSTR, extradata: *const super::super::System::Variant::VARIANT, object: P4) -> windows_core::Result<()> where P4: windows_core::Param, @@ -10551,13 +10551,13 @@ pub struct ISpeechObjectToken_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetStorageFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, SpeechTokenShellFolder, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveStorageFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub IsUISupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] IsUISupported: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DisplayUI: usize, pub MatchesAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -10998,14 +10998,14 @@ impl ISpeechPhoneConverter { pub unsafe fn SetLanguageId(&self, languageid: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetLanguageId)(windows_core::Interface::as_raw(self), languageid).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PhoneToId(&self, phonemes: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PhoneToId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(phonemes), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn IdToPhone(&self, idarray: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11019,13 +11019,13 @@ pub struct ISpeechPhoneConverter_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub LanguageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetLanguageId: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PhoneToId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PhoneToId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub IdToPhone: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] IdToPhone: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -11384,7 +11384,7 @@ impl ISpeechPhraseElement { (windows_core::Interface::vtable(self).LexicalForm)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Pronunciation(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11428,9 +11428,9 @@ pub struct ISpeechPhraseElement_Vtbl { pub RetainedSizeBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub LexicalForm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Pronunciation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Pronunciation: usize, pub DisplayAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechDisplayAttributes) -> windows_core::HRESULT, pub RequiredConfidence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechEngineConfidence) -> windows_core::HRESULT, @@ -11752,21 +11752,21 @@ impl ISpeechPhraseInfo { (windows_core::Interface::vtable(self).LanguageId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GrammarId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GrammarId)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn StartTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AudioStreamPosition(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11821,14 +11821,14 @@ impl ISpeechPhraseInfo { (windows_core::Interface::vtable(self).EngineId)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn EnginePrivateData(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnginePrivateData)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SaveToMemory(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11853,17 +11853,17 @@ impl ISpeechPhraseInfo { pub struct ISpeechPhraseInfo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub LanguageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GrammarId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GrammarId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] StartTime: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AudioStreamPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AudioStreamPosition: usize, pub AudioSizeBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RetainedSizeBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -11873,13 +11873,13 @@ pub struct ISpeechPhraseInfo_Vtbl { pub Elements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Replacements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EngineId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub EnginePrivateData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] EnginePrivateData: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SaveToMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SaveToMemory: usize, pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDisplayAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, super::super::Foundation::VARIANT_BOOL, *mut SpeechDisplayAttributes) -> windows_core::HRESULT, @@ -12137,7 +12137,7 @@ impl core::ops::Deref for ISpeechPhraseInfoBuilder { windows_core::imp::interface_hierarchy!(ISpeechPhraseInfoBuilder, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseInfoBuilder { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RestorePhraseFromMemory(&self, phraseinmemory: *const super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -12149,9 +12149,9 @@ impl ISpeechPhraseInfoBuilder { #[repr(C)] pub struct ISpeechPhraseInfoBuilder_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RestorePhraseFromMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RestorePhraseFromMemory: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -12307,7 +12307,7 @@ impl ISpeechPhraseProperty { (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -12357,9 +12357,9 @@ pub struct ISpeechPhraseProperty_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, pub FirstElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfElements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -13143,21 +13143,21 @@ impl ISpeechRecoContext { pub unsafe fn Resume(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Resume)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateGrammar(&self, grammarid: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGrammar)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(grammarid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateResultFromMemory(&self, resultblock: *const super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateResultFromMemory)(windows_core::Interface::as_raw(self), core::mem::transmute(resultblock), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Bookmark(&self, options: SpeechBookmarkOptions, streampos: &super::super::System::Variant::VARIANT, bookmarkid: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Bookmark)(windows_core::Interface::as_raw(self), options, core::mem::transmute_copy(streampos), core::mem::transmute_copy(bookmarkid)).ok() } } @@ -13190,17 +13190,17 @@ pub struct ISpeechRecoContext_Vtbl { pub RetainedAudioFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateGrammar: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateGrammar: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateResultFromMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateResultFromMemory: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Bookmark: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechBookmarkOptions, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Bookmark: usize, pub SetAdaptationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -13511,7 +13511,7 @@ impl core::ops::Deref for ISpeechRecoGrammar { windows_core::imp::interface_hierarchy!(ISpeechRecoGrammar, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ISpeechRecoGrammar { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Id(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13548,15 +13548,15 @@ impl ISpeechRecoGrammar { pub unsafe fn CmdLoadFromObject(&self, classid: &windows_core::BSTR, grammarname: &windows_core::BSTR, loadoption: SpeechLoadOption) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).CmdLoadFromObject)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(classid), core::mem::transmute_copy(grammarname), loadoption).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CmdLoadFromResource(&self, hmodule: i32, resourcename: &super::super::System::Variant::VARIANT, resourcetype: &super::super::System::Variant::VARIANT, languageid: i32, loadoption: SpeechLoadOption) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).CmdLoadFromResource)(windows_core::Interface::as_raw(self), hmodule, core::mem::transmute_copy(resourcename), core::mem::transmute_copy(resourcetype), languageid, loadoption).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CmdLoadFromMemory(&self, grammardata: &super::super::System::Variant::VARIANT, loadoption: SpeechLoadOption) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).CmdLoadFromMemory)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(grammardata), loadoption).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CmdLoadFromProprietaryGrammar(&self, proprietaryguid: &windows_core::BSTR, proprietarystring: &windows_core::BSTR, proprietarydata: &super::super::System::Variant::VARIANT, loadoption: SpeechLoadOption) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).CmdLoadFromProprietaryGrammar)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(proprietaryguid), core::mem::transmute_copy(proprietarystring), core::mem::transmute_copy(proprietarydata), loadoption).ok() } } @@ -13598,9 +13598,9 @@ impl ISpeechRecoGrammar { #[repr(C)] pub struct ISpeechRecoGrammar_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Id: usize, pub RecoContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetState: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechGrammarState) -> windows_core::HRESULT, @@ -13609,17 +13609,17 @@ pub struct ISpeechRecoGrammar_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub CmdLoadFromFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, SpeechLoadOption) -> windows_core::HRESULT, pub CmdLoadFromObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, SpeechLoadOption) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CmdLoadFromResource: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, i32, SpeechLoadOption) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CmdLoadFromResource: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CmdLoadFromMemory: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, SpeechLoadOption) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CmdLoadFromMemory: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CmdLoadFromProprietaryGrammar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, SpeechLoadOption) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CmdLoadFromProprietaryGrammar: usize, pub CmdSetRuleState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, SpeechRuleState) -> windows_core::HRESULT, pub CmdSetRuleIdState: unsafe extern "system" fn(*mut core::ffi::c_void, i32, SpeechRuleState) -> windows_core::HRESULT, @@ -13889,7 +13889,7 @@ impl ISpeechRecoResult { (windows_core::Interface::vtable(self).SpeakAudio)(windows_core::Interface::as_raw(self), startelement, elements, flags, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SaveToMemory(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13912,9 +13912,9 @@ pub struct ISpeechRecoResult_Vtbl { pub Alternates: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Audio: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SpeakAudio: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, SpeechVoiceSpeakFlags, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SaveToMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SaveToMemory: usize, pub DiscardResultInfo: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechDiscardType) -> windows_core::HRESULT, } @@ -14167,7 +14167,7 @@ impl ISpeechRecoResultDispatch { (windows_core::Interface::vtable(self).SpeakAudio)(windows_core::Interface::as_raw(self), startelement, elements, flags, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SaveToMemory(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -14202,9 +14202,9 @@ pub struct ISpeechRecoResultDispatch_Vtbl { pub Alternates: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Audio: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SpeakAudio: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, SpeechVoiceSpeakFlags, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SaveToMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SaveToMemory: usize, pub DiscardResultInfo: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechDiscardType) -> windows_core::HRESULT, pub GetXMLResult: unsafe extern "system" fn(*mut core::ffi::c_void, SPXMLRESULTOPTIONS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -14398,14 +14398,14 @@ impl core::ops::Deref for ISpeechRecoResultTimes { windows_core::imp::interface_hierarchy!(ISpeechRecoResultTimes, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ISpeechRecoResultTimes { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn StreamTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StreamTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Length(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -14418,7 +14418,7 @@ impl ISpeechRecoResultTimes { (windows_core::Interface::vtable(self).TickCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OffsetFromStart(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -14430,18 +14430,18 @@ impl ISpeechRecoResultTimes { #[repr(C)] pub struct ISpeechRecoResultTimes_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub StreamTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] StreamTime: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Length: usize, pub TickCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OffsetFromStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OffsetFromStart: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -14607,7 +14607,7 @@ impl ISpeechRecognizer { (windows_core::Interface::vtable(self).Profile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn EmulateRecognition(&self, textelements: &super::super::System::Variant::VARIANT, elementdisplayattributes: *const super::super::System::Variant::VARIANT, languageid: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).EmulateRecognition)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(textelements), core::mem::transmute(elementdisplayattributes), languageid).ok() } } @@ -14641,14 +14641,14 @@ impl ISpeechRecognizer { pub unsafe fn GetPropertyString(&self, name: &windows_core::BSTR, value: *mut windows_core::BSTR, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetPropertyString)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name), core::mem::transmute(value), supported as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn IsUISupported(&self, typeofui: &windows_core::BSTR, extradata: *const super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUISupported)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(typeofui), core::mem::transmute(extradata), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DisplayUI(&self, hwndparent: i32, title: &windows_core::BSTR, typeofui: &windows_core::BSTR, extradata: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DisplayUI)(windows_core::Interface::as_raw(self), hwndparent, core::mem::transmute_copy(title), core::mem::transmute_copy(typeofui), core::mem::transmute(extradata)).ok() } } @@ -14689,9 +14689,9 @@ pub struct ISpeechRecognizer_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putref_Profile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Profile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub EmulateRecognition: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT, i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] EmulateRecognition: usize, pub CreateRecoContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFormat: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechFormatType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -14699,13 +14699,13 @@ pub struct ISpeechRecognizer_Vtbl { pub GetPropertyNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetPropertyString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub GetPropertyString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub IsUISupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] IsUISupported: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DisplayUI: usize, pub GetRecognizers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAudioInputs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -15050,7 +15050,7 @@ impl ISpeechRecognizerStatus { (windows_core::Interface::vtable(self).AudioStatus)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CurrentStreamPosition(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -15075,7 +15075,7 @@ impl ISpeechRecognizerStatus { (windows_core::Interface::vtable(self).ClsidEngine)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SupportedLanguages(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -15088,16 +15088,16 @@ impl ISpeechRecognizerStatus { pub struct ISpeechRecognizerStatus_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub AudioStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CurrentStreamPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CurrentStreamPosition: usize, pub CurrentStreamNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfActiveRules: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ClsidEngine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SupportedLanguages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SupportedLanguages: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -15607,14 +15607,14 @@ impl ISpeechVoice { (windows_core::Interface::vtable(self).SpeakCompleteEvent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn IsUISupported(&self, typeofui: &windows_core::BSTR, extradata: *const super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUISupported)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(typeofui), core::mem::transmute(extradata), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DisplayUI(&self, hwndparent: i32, title: &windows_core::BSTR, typeofui: &windows_core::BSTR, extradata: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DisplayUI)(windows_core::Interface::as_raw(self), hwndparent, core::mem::transmute_copy(title), core::mem::transmute_copy(typeofui), core::mem::transmute(extradata)).ok() } } @@ -15653,13 +15653,13 @@ pub struct ISpeechVoice_Vtbl { pub GetAudioOutputs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub WaitUntilDone: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SpeakCompleteEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub IsUISupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] IsUISupported: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DisplayUI: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -16402,14 +16402,14 @@ impl ISpeechWaveFormatEx { pub unsafe fn SetBitsPerSample(&self, bitspersample: i16) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBitsPerSample)(windows_core::Interface::as_raw(self), bitspersample).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ExtraData(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtraData)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetExtraData(&self, extradata: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetExtraData)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(extradata)).ok() } } @@ -16430,13 +16430,13 @@ pub struct ISpeechWaveFormatEx_Vtbl { pub SetBlockAlign: unsafe extern "system" fn(*mut core::ffi::c_void, i16) -> windows_core::HRESULT, pub BitsPerSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub SetBitsPerSample: unsafe extern "system" fn(*mut core::ffi::c_void, i16) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ExtraData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ExtraData: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetExtraData: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetExtraData: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs index 42dccb0e21..379fbaa3a5 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs @@ -224,14 +224,14 @@ impl ISdo { (windows_core::Interface::vtable(self).GetPropertyInfo)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProperty(&self, id: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), id, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PutProperty(&self, id: i32, pvalue: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).PutProperty)(windows_core::Interface::as_raw(self), id, core::mem::transmute(pvalue)).ok() } } @@ -256,13 +256,13 @@ impl ISdo { pub struct ISdo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub GetPropertyInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PutProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PutProperty: usize, pub ResetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Apply: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -399,7 +399,7 @@ impl ISdoCollection { (windows_core::Interface::vtable(self).IsNameUnique)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrname), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Item(&self, name: *const super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -423,9 +423,9 @@ pub struct ISdoCollection_Vtbl { pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Reload: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsNameUnique: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -546,21 +546,21 @@ impl core::ops::Deref for ISdoDictionaryOld { windows_core::imp::interface_hierarchy!(ISdoDictionaryOld, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ISdoDictionaryOld { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn EnumAttributes(&self, id: *mut super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumAttributes)(windows_core::Interface::as_raw(self), core::mem::transmute(id), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetAttributeInfo(&self, id: ATTRIBUTEID, pinfoids: *const super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributeInfo)(windows_core::Interface::as_raw(self), id, core::mem::transmute(pinfoids), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn EnumAttributeValues(&self, id: ATTRIBUTEID, pvalueids: *mut super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -584,17 +584,17 @@ impl ISdoDictionaryOld { #[repr(C)] pub struct ISdoDictionaryOld_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub EnumAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] EnumAttributes: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetAttributeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, ATTRIBUTEID, *const super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetAttributeInfo: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub EnumAttributeValues: unsafe extern "system" fn(*mut core::ffi::c_void, ATTRIBUTEID, *mut super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] EnumAttributeValues: usize, pub CreateAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, ATTRIBUTEID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAttributeID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut ATTRIBUTEID) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs index 6a8f72e4bf..40a7e591c7 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs @@ -2408,11 +2408,11 @@ impl INetFwMgr { pub unsafe fn RestoreDefaults(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RestoreDefaults)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn IsPortAllowed(&self, imagefilename: &windows_core::BSTR, ipversion: NET_FW_IP_VERSION, portnumber: i32, localaddress: &windows_core::BSTR, ipprotocol: NET_FW_IP_PROTOCOL, allowed: *mut super::super::System::Variant::VARIANT, restricted: *mut super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).IsPortAllowed)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(imagefilename), ipversion, portnumber, core::mem::transmute_copy(localaddress), ipprotocol, core::mem::transmute(allowed), core::mem::transmute(restricted)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn IsIcmpTypeAllowed(&self, ipversion: NET_FW_IP_VERSION, localaddress: &windows_core::BSTR, r#type: u8, allowed: *mut super::super::System::Variant::VARIANT, restricted: *mut super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).IsIcmpTypeAllowed)(windows_core::Interface::as_raw(self), ipversion, core::mem::transmute_copy(localaddress), r#type, core::mem::transmute(allowed), core::mem::transmute(restricted)).ok() } } @@ -2424,13 +2424,13 @@ pub struct INetFwMgr_Vtbl { pub LocalPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CurrentProfileType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_PROFILE_TYPE) -> windows_core::HRESULT, pub RestoreDefaults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub IsPortAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, NET_FW_IP_VERSION, i32, *mut core::ffi::c_void, NET_FW_IP_PROTOCOL, *mut super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] IsPortAllowed: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub IsIcmpTypeAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_IP_VERSION, *mut core::ffi::c_void, u8, *mut super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] IsIcmpTypeAllowed: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -3018,14 +3018,14 @@ impl INetFwPolicy2 { pub unsafe fn put_FirewallEnabled(&self, profiletype: NET_FW_PROFILE_TYPE2, enabled: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).put_FirewallEnabled)(windows_core::Interface::as_raw(self), profiletype, enabled).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_ExcludedInterfaces(&self, profiletype: NET_FW_PROFILE_TYPE2) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ExcludedInterfaces)(windows_core::Interface::as_raw(self), profiletype, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn put_ExcludedInterfaces(&self, profiletype: NET_FW_PROFILE_TYPE2, interfaces: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).put_ExcludedInterfaces)(windows_core::Interface::as_raw(self), profiletype, core::mem::transmute_copy(interfaces)).ok() } } @@ -3118,13 +3118,13 @@ pub struct INetFwPolicy2_Vtbl { pub CurrentProfileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub get_FirewallEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub put_FirewallEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_ExcludedInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_ExcludedInterfaces: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub put_ExcludedInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] put_ExcludedInterfaces: usize, pub get_BlockAllInboundTraffic: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub put_BlockAllInboundTraffic: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -3427,14 +3427,14 @@ impl core::ops::Deref for INetFwProduct { windows_core::imp::interface_hierarchy!(INetFwProduct, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl INetFwProduct { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RuleCategories(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RuleCategories)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetRuleCategories(&self, rulecategories: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetRuleCategories)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(rulecategories)).ok() } } @@ -3458,13 +3458,13 @@ impl INetFwProduct { #[repr(C)] pub struct INetFwProduct_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RuleCategories: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RuleCategories: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetRuleCategories: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetRuleCategories: usize, pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4238,14 +4238,14 @@ impl INetFwRule { pub unsafe fn SetDirection(&self, dir: NET_FW_RULE_DIRECTION) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDirection)(windows_core::Interface::as_raw(self), dir).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Interfaces(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Interfaces)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetInterfaces(&self, interfaces: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetInterfaces)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(interfaces)).ok() } } @@ -4330,13 +4330,13 @@ pub struct INetFwRule_Vtbl { pub SetIcmpTypesAndCodes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Direction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_RULE_DIRECTION) -> windows_core::HRESULT, pub SetDirection: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_RULE_DIRECTION) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Interfaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Interfaces: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetInterfaces: usize, pub InterfaceTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetInterfaceTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> 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 35afb4abdf..b1531be852 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs @@ -3805,29 +3805,29 @@ impl IADs { pub unsafe fn SetInfo(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetInfo)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Get(&self, bstrname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Get)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrname), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Put(&self, bstrname: &windows_core::BSTR, vprop: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Put)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrname), core::mem::transmute_copy(vprop)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetEx(&self, bstrname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEx)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrname), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PutEx(&self, lncontrolcode: i32, bstrname: &windows_core::BSTR, vprop: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).PutEx)(windows_core::Interface::as_raw(self), lncontrolcode, core::mem::transmute_copy(bstrname), core::mem::transmute_copy(vprop)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetInfoEx(&self, vproperties: &super::super::System::Variant::VARIANT, lnreserved: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetInfoEx)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vproperties), lnreserved).ok() } } @@ -3844,25 +3844,25 @@ pub struct IADs_Vtbl { pub Schema: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetInfo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Get: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Put: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Put: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetEx: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PutEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PutEx: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetInfoEx: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetInfoEx: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -4115,7 +4115,7 @@ impl IADsADSystemInfo { pub unsafe fn RefreshSchemaCache(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RefreshSchemaCache)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetTrees(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4139,9 +4139,9 @@ pub struct IADsADSystemInfo_Vtbl { pub GetAnyDCName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDCSiteName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RefreshSchemaCache: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetTrees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetTrees: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -5164,14 +5164,14 @@ impl core::ops::Deref for IADsCaseIgnoreList { windows_core::imp::interface_hierarchy!(IADsCaseIgnoreList, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IADsCaseIgnoreList { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CaseIgnoreList(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CaseIgnoreList)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetCaseIgnoreList(&self, vcaseignorelist: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetCaseIgnoreList)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vcaseignorelist)).ok() } } @@ -5180,13 +5180,13 @@ impl IADsCaseIgnoreList { #[repr(C)] pub struct IADsCaseIgnoreList_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CaseIgnoreList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CaseIgnoreList: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetCaseIgnoreList: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetCaseIgnoreList: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -5282,80 +5282,80 @@ impl IADsClass { pub unsafe fn SetAuxiliary(&self, fauxiliary: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetAuxiliary)(windows_core::Interface::as_raw(self), fauxiliary).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn MandatoryProperties(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MandatoryProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetMandatoryProperties(&self, vmandatoryproperties: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetMandatoryProperties)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vmandatoryproperties)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OptionalProperties(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OptionalProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetOptionalProperties(&self, voptionalproperties: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetOptionalProperties)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(voptionalproperties)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn NamingProperties(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NamingProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetNamingProperties(&self, vnamingproperties: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetNamingProperties)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vnamingproperties)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DerivedFrom(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DerivedFrom)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetDerivedFrom(&self, vderivedfrom: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDerivedFrom)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vderivedfrom)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AuxDerivedFrom(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuxDerivedFrom)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetAuxDerivedFrom(&self, vauxderivedfrom: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetAuxDerivedFrom)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vauxderivedfrom)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PossibleSuperiors(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PossibleSuperiors)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetPossibleSuperiors(&self, vpossiblesuperiors: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPossibleSuperiors)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vpossiblesuperiors)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Containment(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Containment)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetContainment(&self, vcontainment: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetContainment)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vcontainment)).ok() } } @@ -5406,61 +5406,61 @@ pub struct IADsClass_Vtbl { pub SetAbstract: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Auxiliary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetAuxiliary: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub MandatoryProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] MandatoryProperties: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetMandatoryProperties: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetMandatoryProperties: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OptionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OptionalProperties: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetOptionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetOptionalProperties: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub NamingProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] NamingProperties: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetNamingProperties: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetNamingProperties: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DerivedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DerivedFrom: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetDerivedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetDerivedFrom: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AuxDerivedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AuxDerivedFrom: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetAuxDerivedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetAuxDerivedFrom: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PossibleSuperiors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PossibleSuperiors: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetPossibleSuperiors: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetPossibleSuperiors: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Containment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Containment: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetContainment: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetContainment: usize, pub Container: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetContainer: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -5841,14 +5841,14 @@ impl IADsCollection { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Add(&self, bstrname: &windows_core::BSTR, vitem: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrname), core::mem::transmute_copy(vitem)).ok() } } pub unsafe fn Remove(&self, bstritemtoberemoved: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstritemtoberemoved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetObject(&self, bstrname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5861,14 +5861,14 @@ impl IADsCollection { pub struct IADsCollection_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Add: usize, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetObject: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -6082,14 +6082,14 @@ impl IADsComputer { pub unsafe fn SetStorageCapacity(&self, bstrstoragecapacity: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetStorageCapacity)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrstoragecapacity)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn NetAddresses(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetAddresses)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetNetAddresses(&self, vnetaddresses: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetNetAddresses)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vnetaddresses)).ok() } } @@ -6128,13 +6128,13 @@ pub struct IADsComputer_Vtbl { pub SetMemorySize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub StorageCapacity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetStorageCapacity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub NetAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] NetAddresses: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetNetAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetNetAddresses: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -6600,25 +6600,25 @@ impl IADsContainer { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Filter(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Filter)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetFilter(&self, var: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFilter)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(var)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Hints(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Hints)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetHints(&self, vhints: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetHints)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vhints)).ok() } } @@ -6656,21 +6656,21 @@ pub struct IADsContainer_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Filter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Filter: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetFilter: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Hints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Hints: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetHints: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetHints: usize, pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6843,14 +6843,14 @@ impl core::ops::Deref for IADsDNWithBinary { windows_core::imp::interface_hierarchy!(IADsDNWithBinary, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IADsDNWithBinary { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn BinaryValue(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BinaryValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetBinaryValue(&self, vbinaryvalue: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBinaryValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vbinaryvalue)).ok() } } @@ -6868,13 +6868,13 @@ impl IADsDNWithBinary { #[repr(C)] pub struct IADsDNWithBinary_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub BinaryValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] BinaryValue: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetBinaryValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetBinaryValue: usize, pub DNString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDNString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -7604,14 +7604,14 @@ impl IADsFaxNumber { pub unsafe fn SetTelephoneNumber(&self, bstrtelephonenumber: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetTelephoneNumber)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrtelephonenumber)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Parameters(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetParameters(&self, vparameters: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetParameters)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vparameters)).ok() } } @@ -7622,13 +7622,13 @@ pub struct IADsFaxNumber_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub TelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetTelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Parameters: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetParameters: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8429,14 +8429,14 @@ impl IADsLocality { pub unsafe fn SetPostalAddress(&self, bstrpostaladdress: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPostalAddress)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrpostaladdress)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SeeAlso(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SeeAlso)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSeeAlso(&self, vseealso: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSeeAlso)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vseealso)).ok() } } @@ -8451,13 +8451,13 @@ pub struct IADsLocality_Vtbl { pub SetLocalityName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub PostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetPostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SeeAlso: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSeeAlso: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8589,14 +8589,14 @@ impl IADsMembers { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Filter(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Filter)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetFilter(&self, pvfilter: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFilter)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pvfilter)).ok() } } @@ -8607,13 +8607,13 @@ pub struct IADsMembers_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Filter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Filter: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetFilter: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8713,11 +8713,11 @@ impl IADsNameTranslate { (windows_core::Interface::vtable(self).Get)(windows_core::Interface::as_raw(self), lnformattype, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetEx(&self, lnformattype: i32, pvar: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetEx)(windows_core::Interface::as_raw(self), lnformattype, core::mem::transmute_copy(pvar)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetEx(&self, lnformattype: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8734,13 +8734,13 @@ pub struct IADsNameTranslate_Vtbl { pub InitEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Set: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetEx: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetEx: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8917,14 +8917,14 @@ impl IADsNetAddress { pub unsafe fn SetAddressType(&self, lnaddresstype: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetAddressType)(windows_core::Interface::as_raw(self), lnaddresstype).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Address(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Address)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetAddress(&self, vaddress: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetAddress)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vaddress)).ok() } } @@ -8935,13 +8935,13 @@ pub struct IADsNetAddress_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub AddressType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAddressType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Address: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetAddress: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9062,14 +9062,14 @@ impl IADsO { pub unsafe fn SetFaxNumber(&self, bstrfaxnumber: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFaxNumber)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrfaxnumber)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SeeAlso(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SeeAlso)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSeeAlso(&self, vseealso: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSeeAlso)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vseealso)).ok() } } @@ -9088,13 +9088,13 @@ pub struct IADsO_Vtbl { pub SetTelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub FaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SeeAlso: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSeeAlso: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9303,14 +9303,14 @@ impl IADsOU { pub unsafe fn SetFaxNumber(&self, bstrfaxnumber: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFaxNumber)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrfaxnumber)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SeeAlso(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SeeAlso)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSeeAlso(&self, vseealso: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSeeAlso)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vseealso)).ok() } } @@ -9338,13 +9338,13 @@ pub struct IADsOU_Vtbl { pub SetTelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub FaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SeeAlso: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSeeAlso: usize, pub BusinessCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetBusinessCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -9532,14 +9532,14 @@ impl core::ops::Deref for IADsObjectOptions { windows_core::imp::interface_hierarchy!(IADsObjectOptions, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IADsObjectOptions { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetOption(&self, lnoption: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOption)(windows_core::Interface::as_raw(self), lnoption, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetOption(&self, lnoption: i32, vvalue: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetOption)(windows_core::Interface::as_raw(self), lnoption, core::mem::transmute_copy(vvalue)).ok() } } @@ -9548,13 +9548,13 @@ impl IADsObjectOptions { #[repr(C)] pub struct IADsObjectOptions_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetOption: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetOption: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetOption: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9608,14 +9608,14 @@ impl core::ops::Deref for IADsOctetList { windows_core::imp::interface_hierarchy!(IADsOctetList, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IADsOctetList { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OctetList(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OctetList)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetOctetList(&self, voctetlist: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetOctetList)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(voctetlist)).ok() } } @@ -9624,13 +9624,13 @@ impl IADsOctetList { #[repr(C)] pub struct IADsOctetList_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OctetList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OctetList: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetOctetList: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetOctetList: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -10092,14 +10092,14 @@ impl core::ops::Deref for IADsPostalAddress { windows_core::imp::interface_hierarchy!(IADsPostalAddress, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IADsPostalAddress { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PostalAddress(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PostalAddress)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetPostalAddress(&self, vpostaladdress: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPostalAddress)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vpostaladdress)).ok() } } @@ -10108,13 +10108,13 @@ impl IADsPostalAddress { #[repr(C)] pub struct IADsPostalAddress_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PostalAddress: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetPostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetPostalAddress: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -10781,25 +10781,25 @@ impl IADsPrintQueue { pub unsafe fn SetBannerPage(&self, bstrbannerpage: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBannerPage)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrbannerpage)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PrintDevices(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrintDevices)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetPrintDevices(&self, vprintdevices: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPrintDevices)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vprintdevices)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn NetAddresses(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetAddresses)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetNetAddresses(&self, vnetaddresses: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetNetAddresses)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vnetaddresses)).ok() } } @@ -10830,21 +10830,21 @@ pub struct IADsPrintQueue_Vtbl { pub SetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub BannerPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetBannerPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PrintDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PrintDevices: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetPrintDevices: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetPrintDevices: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub NetAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] NetAddresses: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetNetAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetNetAddresses: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -11526,14 +11526,14 @@ impl IADsPropertyEntry { pub unsafe fn SetControlCode(&self, lncontrolcode: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetControlCode)(windows_core::Interface::as_raw(self), lncontrolcode).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Values(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Values)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetValues(&self, vvalues: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValues)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vvalues)).ok() } } @@ -11549,13 +11549,13 @@ pub struct IADsPropertyEntry_Vtbl { pub SetADsType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ControlCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetControlCode: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Values: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Values: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetValues: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetValues: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -11689,7 +11689,7 @@ impl IADsPropertyList { (windows_core::Interface::vtable(self).PropertyCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Next(&self, pvariant: *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT { unsafe { (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), core::mem::transmute(pvariant)) } } @@ -11699,25 +11699,25 @@ impl IADsPropertyList { pub unsafe fn Reset(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetPropertyItem(&self, bstrname: &windows_core::BSTR, lnadstype: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrname), lnadstype, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PutPropertyItem(&self, vardata: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).PutPropertyItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vardata)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ResetPropertyItem(&self, varentry: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ResetPropertyItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varentry)).ok() } } @@ -11730,27 +11730,27 @@ impl IADsPropertyList { pub struct IADsPropertyList_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub PropertyCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Next: usize, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Item: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetPropertyItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PutPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PutPropertyItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ResetPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ResetPropertyItem: usize, pub PurgePropertyList: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -11948,14 +11948,14 @@ impl IADsPropertyValue { pub unsafe fn SetInteger(&self, lninteger: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetInteger)(windows_core::Interface::as_raw(self), lninteger).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OctetString(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OctetString)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetOctetString(&self, voctetstring: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetOctetString)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(voctetstring)).ok() } } @@ -12014,13 +12014,13 @@ pub struct IADsPropertyValue_Vtbl { pub SetBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Integer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetInteger: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OctetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OctetString: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetOctetString: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetOctetString: usize, pub SecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -12330,11 +12330,11 @@ impl core::ops::Deref for IADsPropertyValue2 { windows_core::imp::interface_hierarchy!(IADsPropertyValue2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IADsPropertyValue2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetObjectProperty(&self, lnadstype: *mut i32, pvprop: *mut super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetObjectProperty)(windows_core::Interface::as_raw(self), lnadstype as _, core::mem::transmute(pvprop)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PutObjectProperty(&self, lnadstype: i32, vprop: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).PutObjectProperty)(windows_core::Interface::as_raw(self), lnadstype, core::mem::transmute_copy(vprop)).ok() } } @@ -12343,13 +12343,13 @@ impl IADsPropertyValue2 { #[repr(C)] pub struct IADsPropertyValue2_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetObjectProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetObjectProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PutObjectProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PutObjectProperty: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -12433,14 +12433,14 @@ impl IADsReplicaPointer { pub unsafe fn SetCount(&self, lncount: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetCount)(windows_core::Interface::as_raw(self), lncount).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReplicaAddressHints(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReplicaAddressHints)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetReplicaAddressHints(&self, vreplicaaddresshints: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetReplicaAddressHints)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vreplicaaddresshints)).ok() } } @@ -12457,13 +12457,13 @@ pub struct IADsReplicaPointer_Vtbl { pub SetReplicaNumber: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReplicaAddressHints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReplicaAddressHints: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetReplicaAddressHints: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetReplicaAddressHints: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -13116,18 +13116,18 @@ impl core::ops::Deref for IADsSecurityUtility { windows_core::imp::interface_hierarchy!(IADsSecurityUtility, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IADsSecurityUtility { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetSecurityDescriptor(&self, varpath: &super::super::System::Variant::VARIANT, lpathformat: i32, lformat: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurityDescriptor)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varpath), lpathformat, lformat, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSecurityDescriptor(&self, varpath: &super::super::System::Variant::VARIANT, lpathformat: i32, vardata: &super::super::System::Variant::VARIANT, ldataformat: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSecurityDescriptor)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varpath), lpathformat, core::mem::transmute_copy(vardata), ldataformat).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ConvertSecurityDescriptor(&self, varsd: &super::super::System::Variant::VARIANT, ldataformat: i32, loutformat: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13148,17 +13148,17 @@ impl IADsSecurityUtility { #[repr(C)] pub struct IADsSecurityUtility_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, i32, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetSecurityDescriptor: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, i32, super::super::System::Variant::VARIANT, i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSecurityDescriptor: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ConvertSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, i32, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ConvertSecurityDescriptor: usize, pub SecurityMask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSecurityMask: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -13349,14 +13349,14 @@ impl IADsService { pub unsafe fn SetServiceAccountPath(&self, bstrserviceaccountpath: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetServiceAccountPath)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrserviceaccountpath)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Dependencies(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Dependencies)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetDependencies(&self, vdependencies: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDependencies)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vdependencies)).ok() } } @@ -13387,13 +13387,13 @@ pub struct IADsService_Vtbl { pub SetServiceAccountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ServiceAccountPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetServiceAccountPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Dependencies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Dependencies: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetDependencies: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetDependencies: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -14413,102 +14413,102 @@ impl IADsUser { pub unsafe fn SetManager(&self, bstrmanager: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetManager)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrmanager)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn TelephoneHome(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TelephoneHome)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetTelephoneHome(&self, vtelephonehome: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetTelephoneHome)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vtelephonehome)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn TelephoneMobile(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TelephoneMobile)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetTelephoneMobile(&self, vtelephonemobile: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetTelephoneMobile)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vtelephonemobile)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn TelephoneNumber(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TelephoneNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetTelephoneNumber(&self, vtelephonenumber: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetTelephoneNumber)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vtelephonenumber)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn TelephonePager(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TelephonePager)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetTelephonePager(&self, vtelephonepager: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetTelephonePager)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vtelephonepager)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn FaxNumber(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FaxNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetFaxNumber(&self, vfaxnumber: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFaxNumber)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vfaxnumber)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OfficeLocations(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OfficeLocations)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetOfficeLocations(&self, vofficelocations: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetOfficeLocations)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vofficelocations)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PostalAddresses(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PostalAddresses)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetPostalAddresses(&self, vpostaladdresses: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPostalAddresses)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vpostaladdresses)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PostalCodes(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PostalCodes)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetPostalCodes(&self, vpostalcodes: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPostalCodes)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vpostalcodes)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SeeAlso(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SeeAlso)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSeeAlso(&self, vseealso: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSeeAlso)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vseealso)).ok() } } @@ -14557,25 +14557,25 @@ impl IADsUser { pub unsafe fn SetIsAccountLocked(&self, fisaccountlocked: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetIsAccountLocked)(windows_core::Interface::as_raw(self), fisaccountlocked).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LoginHours(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoginHours)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetLoginHours(&self, vloginhours: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetLoginHours)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vloginhours)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LoginWorkstations(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoginWorkstations)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetLoginWorkstations(&self, vloginworkstations: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetLoginWorkstations)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vloginworkstations)).ok() } } @@ -14651,14 +14651,14 @@ impl IADsUser { pub unsafe fn SetHomeDirectory(&self, bstrhomedirectory: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetHomeDirectory)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrhomedirectory)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Languages(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Languages)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetLanguages(&self, vlanguages: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetLanguages)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vlanguages)).ok() } } @@ -14680,14 +14680,14 @@ impl IADsUser { pub unsafe fn SetLoginScript(&self, bstrloginscript: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetLoginScript)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrloginscript)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Picture(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Picture)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetPicture(&self, vpicture: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPicture)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vpicture)).ok() } } @@ -14747,77 +14747,77 @@ pub struct IADsUser_Vtbl { pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Manager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub TelephoneHome: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] TelephoneHome: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetTelephoneHome: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetTelephoneHome: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub TelephoneMobile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] TelephoneMobile: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetTelephoneMobile: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetTelephoneMobile: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub TelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] TelephoneNumber: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetTelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetTelephoneNumber: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub TelephonePager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] TelephonePager: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetTelephonePager: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetTelephonePager: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub FaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] FaxNumber: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetFaxNumber: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OfficeLocations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OfficeLocations: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetOfficeLocations: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetOfficeLocations: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PostalAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PostalAddresses: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetPostalAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetPostalAddresses: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PostalCodes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PostalCodes: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetPostalCodes: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetPostalCodes: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SeeAlso: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSeeAlso: usize, pub AccountDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetAccountDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -14829,21 +14829,21 @@ pub struct IADsUser_Vtbl { pub SetGraceLoginsRemaining: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub IsAccountLocked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetIsAccountLocked: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LoginHours: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LoginHours: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetLoginHours: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetLoginHours: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LoginWorkstations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LoginWorkstations: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetLoginWorkstations: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetLoginWorkstations: usize, pub MaxLogins: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMaxLogins: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -14861,25 +14861,25 @@ pub struct IADsUser_Vtbl { pub SetEmailAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub HomeDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetHomeDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Languages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Languages: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetLanguages: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetLanguages: usize, pub Profile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub LoginScript: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetLoginScript: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Picture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Picture: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetPicture: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetPicture: usize, pub HomePage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetHomePage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs index f3c190d10a..2603e89326 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs @@ -6464,7 +6464,7 @@ impl ISClusCryptoKeys { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6474,7 +6474,7 @@ impl ISClusCryptoKeys { pub unsafe fn AddItem(&self, bstrcryptokey: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrcryptokey)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RemoveItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RemoveItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } @@ -6486,14 +6486,14 @@ pub struct ISClusCryptoKeys_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RemoveItem: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -6722,7 +6722,7 @@ impl ISClusDisks { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6736,9 +6736,9 @@ pub struct ISClusDisks_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7030,7 +7030,7 @@ impl ISClusNetInterfaces { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7045,9 +7045,9 @@ pub struct ISClusNetInterfaces_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7401,7 +7401,7 @@ impl ISClusNetworkNetInterfaces { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7416,9 +7416,9 @@ pub struct ISClusNetworkNetInterfaces_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7515,7 +7515,7 @@ impl ISClusNetworks { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7530,9 +7530,9 @@ pub struct ISClusNetworks_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7931,7 +7931,7 @@ impl ISClusNodeNetInterfaces { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7946,9 +7946,9 @@ pub struct ISClusNodeNetInterfaces_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8045,7 +8045,7 @@ impl ISClusNodes { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8060,9 +8060,9 @@ pub struct ISClusNodes_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8478,7 +8478,7 @@ impl ISClusPartitions { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8492,9 +8492,9 @@ pub struct ISClusPartitions_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8583,53 +8583,53 @@ impl ISClusProperties { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateItem(&self, bstrname: &windows_core::BSTR, varvalue: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrname), core::mem::transmute_copy(varvalue), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn UseDefaultValue(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).UseDefaultValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SaveChanges(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SaveChanges)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReadOnly(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Private(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Private)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Common(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Common)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Modified(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8644,37 +8644,37 @@ pub struct ISClusProperties_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub UseDefaultValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] UseDefaultValue: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SaveChanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SaveChanges: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReadOnly: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Private: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Private: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Common: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Common: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Modified: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8872,14 +8872,14 @@ impl ISClusProperty { (windows_core::Interface::vtable(self).Values)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetValue(&self, varvalue: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varvalue)).ok() } } @@ -8901,28 +8901,28 @@ impl ISClusProperty { pub unsafe fn SetFormat(&self, format: CLUSTER_PROPERTY_FORMAT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFormat)(windows_core::Interface::as_raw(self), format).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReadOnly(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Private(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Private)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Common(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Common)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Modified(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8941,33 +8941,33 @@ pub struct ISClusProperty_Vtbl { pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ValueCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Values: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetValue: usize, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CLUSTER_PROPERTY_TYPE) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, CLUSTER_PROPERTY_TYPE) -> windows_core::HRESULT, pub Format: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CLUSTER_PROPERTY_FORMAT) -> windows_core::HRESULT, pub SetFormat: unsafe extern "system" fn(*mut core::ffi::c_void, CLUSTER_PROPERTY_FORMAT) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReadOnly: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Private: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Private: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Common: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Common: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Modified: usize, pub UseDefaultValue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -9186,14 +9186,14 @@ impl core::ops::Deref for ISClusPropertyValue { windows_core::imp::interface_hierarchy!(ISClusPropertyValue, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ISClusPropertyValue { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetValue(&self, varvalue: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varvalue)).ok() } } @@ -9238,13 +9238,13 @@ impl ISClusPropertyValue { #[repr(C)] pub struct ISClusPropertyValue_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetValue: usize, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CLUSTER_PROPERTY_TYPE) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, CLUSTER_PROPERTY_TYPE) -> windows_core::HRESULT, @@ -9403,21 +9403,21 @@ impl ISClusPropertyValueData { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateItem(&self, varvalue: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varvalue), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RemoveItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RemoveItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } @@ -9428,17 +9428,17 @@ pub struct ISClusPropertyValueData_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RemoveItem: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9546,21 +9546,21 @@ impl ISClusPropertyValues { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateItem(&self, bstrname: &windows_core::BSTR, varvalue: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrname), core::mem::transmute_copy(varvalue), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RemoveItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RemoveItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } @@ -9571,17 +9571,17 @@ pub struct ISClusPropertyValues_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RemoveItem: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9745,7 +9745,7 @@ impl ISClusRegistryKeys { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9755,7 +9755,7 @@ impl ISClusRegistryKeys { pub unsafe fn AddItem(&self, bstrregistrykey: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrregistrykey)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RemoveItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RemoveItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } @@ -9767,14 +9767,14 @@ pub struct ISClusRegistryKeys_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RemoveItem: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9887,7 +9887,7 @@ impl ISClusResDependencies { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9900,7 +9900,7 @@ impl ISClusResDependencies { (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrresourcename), core::mem::transmute_copy(bstrresourcetype), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } @@ -9910,7 +9910,7 @@ impl ISClusResDependencies { { unsafe { (windows_core::Interface::vtable(self).AddItem)(windows_core::Interface::as_raw(self), presource.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RemoveItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RemoveItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } @@ -9922,19 +9922,19 @@ pub struct ISClusResDependencies_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteItem: usize, pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RemoveItem: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -10069,7 +10069,7 @@ impl ISClusResDependents { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10082,7 +10082,7 @@ impl ISClusResDependents { (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrresourcename), core::mem::transmute_copy(bstrresourcetype), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } @@ -10092,7 +10092,7 @@ impl ISClusResDependents { { unsafe { (windows_core::Interface::vtable(self).AddItem)(windows_core::Interface::as_raw(self), presource.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RemoveItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RemoveItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } @@ -10104,19 +10104,19 @@ pub struct ISClusResDependents_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteItem: usize, pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RemoveItem: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -10302,21 +10302,21 @@ impl ISClusResGroup { pub unsafe fn Delete(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Online(&self, vartimeout: &super::super::System::Variant::VARIANT, varnode: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Online)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vartimeout), core::mem::transmute_copy(varnode), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Move(&self, vartimeout: &super::super::System::Variant::VARIANT, varnode: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Move)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vartimeout), core::mem::transmute_copy(varnode), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Offline(&self, vartimeout: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10346,17 +10346,17 @@ pub struct ISClusResGroup_Vtbl { pub Resources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PreferredOwnerNodes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Online: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Online: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Move: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Offline: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Offline: usize, pub Cluster: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -10616,7 +10616,7 @@ impl ISClusResGroupPreferredOwnerNodes { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10629,11 +10629,11 @@ impl ISClusResGroupPreferredOwnerNodes { { unsafe { (windows_core::Interface::vtable(self).InsertItem)(windows_core::Interface::as_raw(self), pnode.param().abi(), nposition).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RemoveItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RemoveItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Modified(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10657,18 +10657,18 @@ pub struct ISClusResGroupPreferredOwnerNodes_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub InsertItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RemoveItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Modified: usize, pub SaveChanges: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -10813,7 +10813,7 @@ impl ISClusResGroupResources { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10826,7 +10826,7 @@ impl ISClusResGroupResources { (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrresourcename), core::mem::transmute_copy(bstrresourcetype), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } @@ -10838,14 +10838,14 @@ pub struct ISClusResGroupResources_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteItem: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -10964,7 +10964,7 @@ impl ISClusResGroups { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10977,7 +10977,7 @@ impl ISClusResGroups { (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrresourcegroupname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } @@ -10989,14 +10989,14 @@ pub struct ISClusResGroups_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteItem: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -11115,7 +11115,7 @@ impl ISClusResPossibleOwnerNodes { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11128,11 +11128,11 @@ impl ISClusResPossibleOwnerNodes { { unsafe { (windows_core::Interface::vtable(self).AddItem)(windows_core::Interface::as_raw(self), pnode.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RemoveItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RemoveItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Modified(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11147,18 +11147,18 @@ pub struct ISClusResPossibleOwnerNodes_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RemoveItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Modified: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -11521,7 +11521,7 @@ impl ISClusResTypePossibleOwnerNodes { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11536,9 +11536,9 @@ pub struct ISClusResTypePossibleOwnerNodes_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -11635,7 +11635,7 @@ impl ISClusResTypeResources { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11648,7 +11648,7 @@ impl ISClusResTypeResources { (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrresourcename), core::mem::transmute_copy(bstrgroupname), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } @@ -11660,14 +11660,14 @@ pub struct ISClusResTypeResources_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteItem: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -11786,7 +11786,7 @@ impl ISClusResTypes { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11799,7 +11799,7 @@ impl ISClusResTypes { (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrresourcetypename), core::mem::transmute_copy(bstrdisplayname), core::mem::transmute_copy(bstrresourcetypedll), dwlooksalivepollinterval, dwisalivepollinterval, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } @@ -11811,14 +11811,14 @@ pub struct ISClusResTypes_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteItem: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -11982,14 +11982,14 @@ impl ISClusResource { pub unsafe fn Fail(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Fail)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Online(&self, ntimeout: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Online)(windows_core::Interface::as_raw(self), ntimeout, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Offline(&self, ntimeout: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -12014,7 +12014,7 @@ impl ISClusResource { { unsafe { (windows_core::Interface::vtable(self).RemoveResourceNode)(windows_core::Interface::as_raw(self), pnode.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CanResourceBeDependent(&self, presource: P0) -> windows_core::Result where P0: windows_core::Param, @@ -12122,20 +12122,20 @@ pub struct ISClusResource_Vtbl { pub BecomeQuorumResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Fail: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Online: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Online: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Offline: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Offline: usize, pub ChangeResourceGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddResourceNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveResourceNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CanResourceBeDependent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CanResourceBeDependent: usize, pub PossibleOwnerNodes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Dependencies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -12596,7 +12596,7 @@ impl ISClusResources { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -12609,7 +12609,7 @@ impl ISClusResources { (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrresourcename), core::mem::transmute_copy(bstrresourcetype), core::mem::transmute_copy(bstrgroupname), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteItem(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varindex)).ok() } } @@ -12621,14 +12621,14 @@ pub struct ISClusResources_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteItem: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -12732,28 +12732,28 @@ impl core::ops::Deref for ISClusScsiAddress { windows_core::imp::interface_hierarchy!(ISClusScsiAddress, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ISClusScsiAddress { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PortNumber(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PortNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PathId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PathId)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn TargetId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetId)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Lun(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -12765,21 +12765,21 @@ impl ISClusScsiAddress { #[repr(C)] pub struct ISClusScsiAddress_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PortNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PortNumber: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PathId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PathId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub TargetId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] TargetId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Lun: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Lun: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -12921,7 +12921,7 @@ impl ISClusVersion { (windows_core::Interface::vtable(self).Flags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn MixedVersion(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -12942,9 +12942,9 @@ pub struct ISClusVersion_Vtbl { pub ClusterHighestVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ClusterLowestVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Flags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub MixedVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] MixedVersion: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -13565,7 +13565,7 @@ impl ISClusterNames { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13586,9 +13586,9 @@ pub struct ISClusterNames_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub DomainName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -13700,7 +13700,7 @@ impl ISDomainNames { pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, varindex: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13715,9 +13715,9 @@ pub struct ISDomainNames_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs index bd3576a2bb..c1517c5425 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs @@ -464,14 +464,14 @@ impl core::ops::Deref for IWinHttpRequest { windows_core::imp::interface_hierarchy!(IWinHttpRequest, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IWinHttpRequest { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetProxy(&self, proxysetting: i32, proxyserver: &super::super::System::Variant::VARIANT, bypasslist: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetProxy)(windows_core::Interface::as_raw(self), proxysetting, core::mem::transmute_copy(proxyserver), core::mem::transmute_copy(bypasslist)).ok() } } pub unsafe fn SetCredentials(&self, username: &windows_core::BSTR, password: &windows_core::BSTR, flags: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetCredentials)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(username), core::mem::transmute_copy(password), flags).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Open(&self, method: &windows_core::BSTR, url: &windows_core::BSTR, r#async: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Open)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(method), core::mem::transmute_copy(url), core::mem::transmute_copy(r#async)).ok() } } @@ -490,7 +490,7 @@ impl IWinHttpRequest { (windows_core::Interface::vtable(self).GetAllResponseHeaders)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Send(&self, body: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Send)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(body)).ok() } } @@ -512,32 +512,32 @@ impl IWinHttpRequest { (windows_core::Interface::vtable(self).ResponseText)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ResponseBody(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseBody)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ResponseStream(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseStream)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Option(&self, option: WinHttpRequestOption) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Option)(windows_core::Interface::as_raw(self), option, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn put_Option(&self, option: WinHttpRequestOption, value: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).put_Option)(windows_core::Interface::as_raw(self), option, core::mem::transmute_copy(value)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn WaitForResponse(&self, timeout: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -561,44 +561,44 @@ impl IWinHttpRequest { #[repr(C)] pub struct IWinHttpRequest_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetProxy: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetProxy: usize, pub SetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Open: usize, pub SetRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetResponseHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAllResponseHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Send: usize, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ResponseText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ResponseBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ResponseBody: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ResponseStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ResponseStream: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Option: unsafe extern "system" fn(*mut core::ffi::c_void, WinHttpRequestOption, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Option: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub put_Option: unsafe extern "system" fn(*mut core::ffi::c_void, WinHttpRequestOption, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] put_Option: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub WaitForResponse: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] WaitForResponse: usize, pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetTimeouts: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs index 6c38f48761..32227ce2d4 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs @@ -1685,44 +1685,44 @@ impl IAzApplication { (windows_core::Interface::vtable(self).Writable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varreserved), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetProperty(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PolicyAdministrators(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyAdministrators)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PolicyReaders(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyReaders)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPolicyAdministrator(&self, bstradmin: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPolicyAdministrator)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstradmin), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePolicyAdministrator(&self, bstradmin: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePolicyAdministrator)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstradmin), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPolicyReader(&self, bstrreader: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPolicyReader)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrreader), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePolicyReader(&self, bstrreader: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePolicyReader)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrreader), core::mem::transmute_copy(varreserved)).ok() } } @@ -1732,21 +1732,21 @@ impl IAzApplication { (windows_core::Interface::vtable(self).Scopes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OpenScope(&self, bstrscopename: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenScope)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrscopename), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateScope(&self, bstrscopename: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateScope)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrscopename), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteScope(&self, bstrscopename: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteScope)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrscopename), core::mem::transmute_copy(varreserved)).ok() } } @@ -1756,21 +1756,21 @@ impl IAzApplication { (windows_core::Interface::vtable(self).Operations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OpenOperation(&self, bstroperationname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenOperation)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstroperationname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateOperation(&self, bstroperationname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateOperation)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstroperationname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteOperation(&self, bstroperationname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteOperation)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstroperationname), core::mem::transmute_copy(varreserved)).ok() } } @@ -1780,21 +1780,21 @@ impl IAzApplication { (windows_core::Interface::vtable(self).Tasks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OpenTask(&self, bstrtaskname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrtaskname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateTask(&self, bstrtaskname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrtaskname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteTask(&self, bstrtaskname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrtaskname), core::mem::transmute_copy(varreserved)).ok() } } @@ -1804,21 +1804,21 @@ impl IAzApplication { (windows_core::Interface::vtable(self).ApplicationGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OpenApplicationGroup(&self, bstrgroupname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenApplicationGroup)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrgroupname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateApplicationGroup(&self, bstrgroupname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateApplicationGroup)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrgroupname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteApplicationGroup(&self, bstrgroupname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteApplicationGroup)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrgroupname), core::mem::transmute_copy(varreserved)).ok() } } @@ -1828,114 +1828,114 @@ impl IAzApplication { (windows_core::Interface::vtable(self).Roles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OpenRole(&self, bstrrolename: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenRole)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrrolename), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateRole(&self, bstrrolename: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRole)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrrolename), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteRole(&self, bstrrolename: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteRole)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrrolename), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn InitializeClientContextFromToken(&self, ulltokenhandle: u64, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitializeClientContextFromToken)(windows_core::Interface::as_raw(self), ulltokenhandle, core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPropertyItem(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPropertyItem)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePropertyItem(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePropertyItem)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Submit(&self, lflags: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Submit)(windows_core::Interface::as_raw(self), lflags, core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn InitializeClientContextFromName(&self, clientname: &windows_core::BSTR, domainname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitializeClientContextFromName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(clientname), core::mem::transmute_copy(domainname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DelegatedPolicyUsers(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DelegatedPolicyUsers)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddDelegatedPolicyUser(&self, bstrdelegatedpolicyuser: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddDelegatedPolicyUser)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrdelegatedpolicyuser), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteDelegatedPolicyUser(&self, bstrdelegatedpolicyuser: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteDelegatedPolicyUser)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrdelegatedpolicyuser), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn InitializeClientContextFromStringSid(&self, sidstring: &windows_core::BSTR, loptions: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitializeClientContextFromStringSid)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(sidstring), loptions, core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PolicyAdministratorsName(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyAdministratorsName)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PolicyReadersName(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyReadersName)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPolicyAdministratorName(&self, bstradmin: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPolicyAdministratorName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstradmin), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePolicyAdministratorName(&self, bstradmin: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePolicyAdministratorName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstradmin), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPolicyReaderName(&self, bstrreader: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPolicyReaderName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrreader), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePolicyReaderName(&self, bstrreader: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePolicyReaderName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrreader), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DelegatedPolicyUsersName(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DelegatedPolicyUsersName)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddDelegatedPolicyUserName(&self, bstrdelegatedpolicyuser: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddDelegatedPolicyUserName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrdelegatedpolicyuser), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteDelegatedPolicyUserName(&self, bstrdelegatedpolicyuser: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteDelegatedPolicyUserName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrdelegatedpolicyuser), core::mem::transmute_copy(varreserved)).ok() } } @@ -1959,174 +1959,174 @@ pub struct IAzApplication_Vtbl { pub ApplyStoreSacl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetApplyStoreSacl: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Writable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PolicyAdministrators: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PolicyAdministrators: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PolicyReaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PolicyReaders: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPolicyAdministrator: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePolicyAdministrator: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPolicyReader: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePolicyReader: usize, pub Scopes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OpenScope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OpenScope: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateScope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateScope: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteScope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteScope: usize, pub Operations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OpenOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OpenOperation: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateOperation: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteOperation: usize, pub Tasks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OpenTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OpenTask: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateTask: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteTask: usize, pub ApplicationGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OpenApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OpenApplicationGroup: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateApplicationGroup: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteApplicationGroup: usize, pub Roles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OpenRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OpenRole: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateRole: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteRole: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub InitializeClientContextFromToken: unsafe extern "system" fn(*mut core::ffi::c_void, u64, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] InitializeClientContextFromToken: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPropertyItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePropertyItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Submit: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub InitializeClientContextFromName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] InitializeClientContextFromName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DelegatedPolicyUsers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DelegatedPolicyUsers: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddDelegatedPolicyUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddDelegatedPolicyUser: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteDelegatedPolicyUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteDelegatedPolicyUser: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub InitializeClientContextFromStringSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] InitializeClientContextFromStringSid: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PolicyAdministratorsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PolicyAdministratorsName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PolicyReadersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PolicyReadersName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPolicyAdministratorName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePolicyAdministratorName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPolicyReaderName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePolicyReaderName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DelegatedPolicyUsersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DelegatedPolicyUsersName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddDelegatedPolicyUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddDelegatedPolicyUserName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteDelegatedPolicyUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteDelegatedPolicyUserName: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -2844,14 +2844,14 @@ impl core::ops::Deref for IAzApplication2 { windows_core::imp::interface_hierarchy!(IAzApplication2, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzApplication); #[cfg(feature = "Win32_System_Com")] impl IAzApplication2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn InitializeClientContextFromToken2(&self, ultokenhandlelowpart: u32, ultokenhandlehighpart: u32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitializeClientContextFromToken2)(windows_core::Interface::as_raw(self), ultokenhandlelowpart, ultokenhandlehighpart, core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn InitializeClientContext2(&self, identifyingstring: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2863,13 +2863,13 @@ impl IAzApplication2 { #[repr(C)] pub struct IAzApplication2_Vtbl { pub base__: IAzApplication_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub InitializeClientContextFromToken2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] InitializeClientContextFromToken2: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub InitializeClientContext2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] InitializeClientContext2: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -3249,28 +3249,28 @@ impl IAzApplicationGroup { pub unsafe fn SetLdapQuery(&self, bstrprop: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetLdapQuery)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AppMembers(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppMembers)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AppNonMembers(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppNonMembers)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Members(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Members)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn NonMembers(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -3286,35 +3286,35 @@ impl IAzApplicationGroup { pub unsafe fn SetDescription(&self, bstrdescription: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrdescription)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddAppMember(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddAppMember)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteAppMember(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteAppMember)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddAppNonMember(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddAppNonMember)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteAppNonMember(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteAppNonMember)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddMember(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddMember)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteMember(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteMember)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddNonMember(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddNonMember)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteNonMember(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteNonMember)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } @@ -3324,53 +3324,53 @@ impl IAzApplicationGroup { (windows_core::Interface::vtable(self).Writable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varreserved), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetProperty(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPropertyItem(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPropertyItem)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePropertyItem(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePropertyItem)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Submit(&self, lflags: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Submit)(windows_core::Interface::as_raw(self), lflags, core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddMemberName(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddMemberName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteMemberName(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteMemberName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddNonMemberName(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddNonMemberName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteNonMemberName(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteNonMemberName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn MembersName(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MembersName)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn NonMembersName(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -3388,100 +3388,100 @@ pub struct IAzApplicationGroup_Vtbl { pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub LdapQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetLdapQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AppMembers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AppMembers: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AppNonMembers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AppNonMembers: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Members: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Members: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub NonMembers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] NonMembers: usize, pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddAppMember: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddAppMember: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteAppMember: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteAppMember: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddAppNonMember: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddAppNonMember: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteAppNonMember: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteAppNonMember: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddMember: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddMember: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteMember: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteMember: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddNonMember: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddNonMember: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteNonMember: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteNonMember: usize, pub Writable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPropertyItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePropertyItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Submit: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddMemberName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteMemberName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddNonMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddNonMemberName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteNonMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteNonMemberName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub MembersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] MembersName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub NonMembersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] NonMembersName: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -3996,7 +3996,7 @@ impl core::ops::Deref for IAzApplicationGroups { windows_core::imp::interface_hierarchy!(IAzApplicationGroups, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IAzApplicationGroups { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4020,9 +4020,9 @@ impl IAzApplicationGroups { #[repr(C)] pub struct IAzApplicationGroups_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4098,7 +4098,7 @@ impl core::ops::Deref for IAzApplications { windows_core::imp::interface_hierarchy!(IAzApplications, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IAzApplications { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4122,9 +4122,9 @@ impl IAzApplications { #[repr(C)] pub struct IAzApplications_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4260,64 +4260,64 @@ impl IAzAuthorizationStore { (windows_core::Interface::vtable(self).Writable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varreserved), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetProperty(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPropertyItem(&self, lpropid: AZ_PROP_CONSTANTS, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPropertyItem)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePropertyItem(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePropertyItem)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PolicyAdministrators(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyAdministrators)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PolicyReaders(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyReaders)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPolicyAdministrator(&self, bstradmin: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPolicyAdministrator)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstradmin), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePolicyAdministrator(&self, bstradmin: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePolicyAdministrator)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstradmin), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPolicyReader(&self, bstrreader: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPolicyReader)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrreader), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePolicyReader(&self, bstrreader: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePolicyReader)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrreader), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Initialize(&self, lflags: AZ_PROP_CONSTANTS, bstrpolicyurl: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), lflags, core::mem::transmute_copy(bstrpolicyurl), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn UpdateCache(&self, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).UpdateCache)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Delete(&self, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varreserved)).ok() } } @@ -4327,21 +4327,21 @@ impl IAzAuthorizationStore { (windows_core::Interface::vtable(self).Applications)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OpenApplication(&self, bstrapplicationname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenApplication)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrapplicationname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateApplication(&self, bstrapplicationname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateApplication)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrapplicationname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteApplication(&self, bstrapplicationname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteApplication)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrapplicationname), core::mem::transmute_copy(varreserved)).ok() } } @@ -4351,40 +4351,40 @@ impl IAzAuthorizationStore { (windows_core::Interface::vtable(self).ApplicationGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateApplicationGroup(&self, bstrgroupname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateApplicationGroup)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrgroupname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OpenApplicationGroup(&self, bstrgroupname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenApplicationGroup)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrgroupname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteApplicationGroup(&self, bstrgroupname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteApplicationGroup)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrgroupname), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Submit(&self, lflags: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Submit)(windows_core::Interface::as_raw(self), lflags, core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DelegatedPolicyUsers(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DelegatedPolicyUsers)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddDelegatedPolicyUser(&self, bstrdelegatedpolicyuser: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddDelegatedPolicyUser)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrdelegatedpolicyuser), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteDelegatedPolicyUser(&self, bstrdelegatedpolicyuser: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteDelegatedPolicyUser)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrdelegatedpolicyuser), core::mem::transmute_copy(varreserved)).ok() } } @@ -4403,48 +4403,48 @@ impl IAzAuthorizationStore { pub unsafe fn SetApplyStoreSacl(&self, bapplystoresacl: bool) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetApplyStoreSacl)(windows_core::Interface::as_raw(self), bapplystoresacl.into()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PolicyAdministratorsName(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyAdministratorsName)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PolicyReadersName(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyReadersName)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPolicyAdministratorName(&self, bstradmin: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPolicyAdministratorName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstradmin), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePolicyAdministratorName(&self, bstradmin: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePolicyAdministratorName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstradmin), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPolicyReaderName(&self, bstrreader: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPolicyReaderName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrreader), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePolicyReaderName(&self, bstrreader: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePolicyReaderName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrreader), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DelegatedPolicyUsersName(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DelegatedPolicyUsersName)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddDelegatedPolicyUserName(&self, bstrdelegatedpolicyuser: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddDelegatedPolicyUserName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrdelegatedpolicyuser), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteDelegatedPolicyUserName(&self, bstrdelegatedpolicyuser: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteDelegatedPolicyUserName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrdelegatedpolicyuser), core::mem::transmute_copy(varreserved)).ok() } } @@ -4469,138 +4469,138 @@ pub struct IAzAuthorizationStore_Vtbl { pub GenerateAudits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetGenerateAudits: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Writable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, AZ_PROP_CONSTANTS, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPropertyItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePropertyItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PolicyAdministrators: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PolicyAdministrators: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PolicyReaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PolicyReaders: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPolicyAdministrator: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePolicyAdministrator: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPolicyReader: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePolicyReader: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, AZ_PROP_CONSTANTS, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Initialize: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub UpdateCache: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] UpdateCache: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Delete: usize, pub Applications: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OpenApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OpenApplication: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateApplication: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteApplication: usize, pub ApplicationGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateApplicationGroup: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OpenApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OpenApplicationGroup: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteApplicationGroup: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Submit: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DelegatedPolicyUsers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DelegatedPolicyUsers: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddDelegatedPolicyUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddDelegatedPolicyUser: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteDelegatedPolicyUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteDelegatedPolicyUser: usize, pub TargetMachine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ApplyStoreSacl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetApplyStoreSacl: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PolicyAdministratorsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PolicyAdministratorsName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PolicyReadersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PolicyReadersName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPolicyAdministratorName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePolicyAdministratorName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPolicyReaderName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePolicyReaderName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DelegatedPolicyUsersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DelegatedPolicyUsersName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddDelegatedPolicyUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddDelegatedPolicyUserName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteDelegatedPolicyUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteDelegatedPolicyUserName: usize, pub CloseApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -5173,14 +5173,14 @@ impl core::ops::Deref for IAzAuthorizationStore2 { windows_core::imp::interface_hierarchy!(IAzAuthorizationStore2, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzAuthorizationStore); #[cfg(feature = "Win32_System_Com")] impl IAzAuthorizationStore2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OpenApplication2(&self, bstrapplicationname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenApplication2)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrapplicationname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateApplication2(&self, bstrapplicationname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5192,13 +5192,13 @@ impl IAzAuthorizationStore2 { #[repr(C)] pub struct IAzAuthorizationStore2_Vtbl { pub base__: IAzAuthorizationStore_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OpenApplication2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OpenApplication2: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateApplication2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateApplication2: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -5392,7 +5392,7 @@ impl IAzBizRuleContext { (windows_core::Interface::vtable(self).BusinessRuleString)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetParameter(&self, bstrparametername: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5407,9 +5407,9 @@ pub struct IAzBizRuleContext_Vtbl { pub SetBusinessRuleResult: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetBusinessRuleString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub BusinessRuleString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetParameter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetParameter: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -5485,15 +5485,15 @@ impl core::ops::Deref for IAzBizRuleInterfaces { windows_core::imp::interface_hierarchy!(IAzBizRuleInterfaces, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IAzBizRuleInterfaces { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddInterface(&self, bstrinterfacename: &windows_core::BSTR, linterfaceflag: i32, varinterface: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddInterface)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrinterfacename), linterfaceflag, core::mem::transmute_copy(varinterface)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddInterfaces(&self, varinterfacenames: &super::super::System::Variant::VARIANT, varinterfaceflags: &super::super::System::Variant::VARIANT, varinterfaces: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddInterfaces)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varinterfacenames), core::mem::transmute_copy(varinterfaceflags), core::mem::transmute_copy(varinterfaces)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetInterfaceValue(&self, bstrinterfacename: &windows_core::BSTR, linterfaceflag: *mut i32, varinterface: *mut super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetInterfaceValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrinterfacename), linterfaceflag as _, core::mem::transmute(varinterface)).ok() } } @@ -5514,17 +5514,17 @@ impl IAzBizRuleInterfaces { #[repr(C)] pub struct IAzBizRuleInterfaces_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddInterface: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddInterfaces: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetInterfaceValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetInterfaceValue: usize, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5613,15 +5613,15 @@ impl core::ops::Deref for IAzBizRuleParameters { windows_core::imp::interface_hierarchy!(IAzBizRuleParameters, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IAzBizRuleParameters { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddParameter(&self, bstrparametername: &windows_core::BSTR, varparametervalue: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddParameter)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrparametername), core::mem::transmute_copy(varparametervalue)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddParameters(&self, varparameternames: &super::super::System::Variant::VARIANT, varparametervalues: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddParameters)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varparameternames), core::mem::transmute_copy(varparametervalues)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetParameterValue(&self, bstrparametername: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5645,17 +5645,17 @@ impl IAzBizRuleParameters { #[repr(C)] pub struct IAzBizRuleParameters_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddParameter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddParameter: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddParameters: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddParameters: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetParameterValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetParameterValue: usize, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5750,7 +5750,7 @@ impl core::ops::Deref for IAzClientContext { windows_core::imp::interface_hierarchy!(IAzClientContext, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IAzClientContext { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AccessCheck(&self, bstrobjectname: &windows_core::BSTR, varscopenames: &super::super::System::Variant::VARIANT, varoperations: &super::super::System::Variant::VARIANT, varparameternames: &super::super::System::Variant::VARIANT, varparametervalues: &super::super::System::Variant::VARIANT, varinterfacenames: &super::super::System::Variant::VARIANT, varinterfaceflags: &super::super::System::Variant::VARIANT, varinterfaces: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5805,14 +5805,14 @@ impl IAzClientContext { (windows_core::Interface::vtable(self).UserDnsSamCompat)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varreserved), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetRoles(&self, bstrscopename: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5833,9 +5833,9 @@ impl IAzClientContext { #[repr(C)] pub struct IAzClientContext_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AccessCheck: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AccessCheck: usize, pub GetBusinessRuleString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UserDn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5845,13 +5845,13 @@ pub struct IAzClientContext_Vtbl { pub UserCanonical: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UserUpn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UserDnsSamCompat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetRoles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetRoles: usize, pub RoleForAccessCheck: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRoleForAccessCheck: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6061,19 +6061,19 @@ impl core::ops::Deref for IAzClientContext2 { windows_core::imp::interface_hierarchy!(IAzClientContext2, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzClientContext); #[cfg(feature = "Win32_System_Com")] impl IAzClientContext2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetAssignedScopesPage(&self, loptions: i32, pagesize: i32, pvarcursor: *mut super::super::System::Variant::VARIANT, pvarscopenames: *mut super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetAssignedScopesPage)(windows_core::Interface::as_raw(self), loptions, pagesize, core::mem::transmute(pvarcursor), core::mem::transmute(pvarscopenames)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddRoles(&self, varroles: &super::super::System::Variant::VARIANT, bstrscopename: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddRoles)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varroles), core::mem::transmute_copy(bstrscopename)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddApplicationGroups(&self, varapplicationgroups: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddApplicationGroups)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varapplicationgroups)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddStringSids(&self, varstringsids: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddStringSids)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varstringsids)).ok() } } @@ -6091,21 +6091,21 @@ impl IAzClientContext2 { #[repr(C)] pub struct IAzClientContext2_Vtbl { pub base__: IAzClientContext_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetAssignedScopesPage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetAssignedScopesPage: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddRoles: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddRoles: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddApplicationGroups: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddApplicationGroups: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddStringSids: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddStringSids: usize, pub SetLDAPQueryDN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub LDAPQueryDN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6229,14 +6229,14 @@ impl IAzClientContext3 { (windows_core::Interface::vtable(self).BizRuleInterfaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetGroups(&self, bstrscopename: &windows_core::BSTR, uloptions: AZ_PROP_CONSTANTS) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGroups)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrscopename), uloptions.0 as _, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Sids(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6254,13 +6254,13 @@ pub struct IAzClientContext3_Vtbl { pub GetTasks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub BizRuleParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub BizRuleInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetGroups: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Sids: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Sids: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -6407,7 +6407,7 @@ impl IAzNameResolver { pub unsafe fn NameFromSid(&self, bstrsid: &windows_core::BSTR, psidtype: *mut i32, pbstrname: *mut windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).NameFromSid)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrsid), psidtype as _, core::mem::transmute(pbstrname)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn NamesFromSids(&self, vsids: &super::super::System::Variant::VARIANT, pvsidtypes: *mut super::super::System::Variant::VARIANT, pvnames: *mut super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).NamesFromSids)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vsids), core::mem::transmute(pvsidtypes), core::mem::transmute(pvnames)).ok() } } @@ -6417,9 +6417,9 @@ impl IAzNameResolver { pub struct IAzNameResolver_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub NameFromSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub NamesFromSids: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] NamesFromSids: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -6467,7 +6467,7 @@ impl core::ops::Deref for IAzObjectPicker { windows_core::imp::interface_hierarchy!(IAzObjectPicker, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IAzObjectPicker { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetPrincipals(&self, hparentwnd: super::super::Foundation::HWND, bstrtitle: &windows_core::BSTR, pvsidtypes: *mut super::super::System::Variant::VARIANT, pvnames: *mut super::super::System::Variant::VARIANT, pvsids: *mut super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetPrincipals)(windows_core::Interface::as_raw(self), hparentwnd, core::mem::transmute_copy(bstrtitle), core::mem::transmute(pvsidtypes), core::mem::transmute(pvnames), core::mem::transmute(pvsids)).ok() } } @@ -6482,9 +6482,9 @@ impl IAzObjectPicker { #[repr(C)] pub struct IAzObjectPicker_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetPrincipals: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetPrincipals: usize, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -6581,18 +6581,18 @@ impl IAzOperation { (windows_core::Interface::vtable(self).Writable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varreserved), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetProperty(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Submit(&self, lflags: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Submit)(windows_core::Interface::as_raw(self), lflags, core::mem::transmute_copy(varreserved)).ok() } } @@ -6610,17 +6610,17 @@ pub struct IAzOperation_Vtbl { pub OperationID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetOperationID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Writable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Submit: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -6837,7 +6837,7 @@ impl core::ops::Deref for IAzOperations { windows_core::imp::interface_hierarchy!(IAzOperations, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IAzOperations { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6861,9 +6861,9 @@ impl IAzOperations { #[repr(C)] pub struct IAzOperations_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -7043,35 +7043,35 @@ impl IAzRole { pub unsafe fn SetApplicationData(&self, bstrapplicationdata: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetApplicationData)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrapplicationdata)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddAppMember(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddAppMember)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteAppMember(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteAppMember)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddTask(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteTask(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddOperation(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddOperation)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteOperation(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteOperation)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddMember(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddMember)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteMember(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteMember)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } @@ -7081,66 +7081,66 @@ impl IAzRole { (windows_core::Interface::vtable(self).Writable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varreserved), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetProperty(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AppMembers(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppMembers)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Members(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Members)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Operations(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Operations)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Tasks(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Tasks)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPropertyItem(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPropertyItem)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePropertyItem(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePropertyItem)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Submit(&self, lflags: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Submit)(windows_core::Interface::as_raw(self), lflags, core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddMemberName(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddMemberName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteMemberName(&self, bstrprop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteMemberName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn MembersName(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7158,86 +7158,86 @@ pub struct IAzRole_Vtbl { pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddAppMember: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddAppMember: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteAppMember: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteAppMember: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddTask: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteTask: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddOperation: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteOperation: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddMember: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddMember: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteMember: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteMember: usize, pub Writable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AppMembers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AppMembers: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Members: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Members: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Operations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Operations: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Tasks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Tasks: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPropertyItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePropertyItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Submit: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddMemberName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteMemberName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub MembersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] MembersName: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7646,7 +7646,7 @@ impl core::ops::Deref for IAzRoleAssignments { windows_core::imp::interface_hierarchy!(IAzRoleAssignments, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IAzRoleAssignments { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7670,9 +7670,9 @@ impl IAzRoleAssignments { #[repr(C)] pub struct IAzRoleAssignments_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -7849,7 +7849,7 @@ impl core::ops::Deref for IAzRoleDefinitions { windows_core::imp::interface_hierarchy!(IAzRoleDefinitions, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IAzRoleDefinitions { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7873,9 +7873,9 @@ impl IAzRoleDefinitions { #[repr(C)] pub struct IAzRoleDefinitions_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -7951,7 +7951,7 @@ impl core::ops::Deref for IAzRoles { windows_core::imp::interface_hierarchy!(IAzRoles, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IAzRoles { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7975,9 +7975,9 @@ impl IAzRoles { #[repr(C)] pub struct IAzRoles_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8086,52 +8086,52 @@ impl IAzScope { (windows_core::Interface::vtable(self).Writable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varreserved), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetProperty(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPropertyItem(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPropertyItem)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePropertyItem(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePropertyItem)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PolicyAdministrators(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyAdministrators)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PolicyReaders(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyReaders)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPolicyAdministrator(&self, bstradmin: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPolicyAdministrator)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstradmin), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePolicyAdministrator(&self, bstradmin: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePolicyAdministrator)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstradmin), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPolicyReader(&self, bstrreader: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPolicyReader)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrreader), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePolicyReader(&self, bstrreader: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePolicyReader)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrreader), core::mem::transmute_copy(varreserved)).ok() } } @@ -8141,21 +8141,21 @@ impl IAzScope { (windows_core::Interface::vtable(self).ApplicationGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OpenApplicationGroup(&self, bstrgroupname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenApplicationGroup)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrgroupname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateApplicationGroup(&self, bstrgroupname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateApplicationGroup)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrgroupname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteApplicationGroup(&self, bstrgroupname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteApplicationGroup)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrgroupname), core::mem::transmute_copy(varreserved)).ok() } } @@ -8165,21 +8165,21 @@ impl IAzScope { (windows_core::Interface::vtable(self).Roles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OpenRole(&self, bstrrolename: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenRole)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrrolename), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateRole(&self, bstrrolename: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRole)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrrolename), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteRole(&self, bstrrolename: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteRole)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrrolename), core::mem::transmute_copy(varreserved)).ok() } } @@ -8189,25 +8189,25 @@ impl IAzScope { (windows_core::Interface::vtable(self).Tasks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OpenTask(&self, bstrtaskname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrtaskname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateTask(&self, bstrtaskname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrtaskname), core::mem::transmute_copy(varreserved), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteTask(&self, bstrtaskname: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrtaskname), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Submit(&self, lflags: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Submit)(windows_core::Interface::as_raw(self), lflags, core::mem::transmute_copy(varreserved)).ok() } } @@ -8223,33 +8223,33 @@ impl IAzScope { (windows_core::Interface::vtable(self).BizrulesWritable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PolicyAdministratorsName(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyAdministratorsName)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PolicyReadersName(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyReadersName)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPolicyAdministratorName(&self, bstradmin: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPolicyAdministratorName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstradmin), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePolicyAdministratorName(&self, bstradmin: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePolicyAdministratorName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstradmin), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPolicyReaderName(&self, bstrreader: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPolicyReaderName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrreader), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePolicyReaderName(&self, bstrreader: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePolicyReaderName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrreader), core::mem::transmute_copy(varreserved)).ok() } } @@ -8265,114 +8265,114 @@ pub struct IAzScope_Vtbl { pub ApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Writable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPropertyItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePropertyItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PolicyAdministrators: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PolicyAdministrators: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PolicyReaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PolicyReaders: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPolicyAdministrator: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePolicyAdministrator: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPolicyReader: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePolicyReader: usize, pub ApplicationGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OpenApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OpenApplicationGroup: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateApplicationGroup: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteApplicationGroup: usize, pub Roles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OpenRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OpenRole: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateRole: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteRole: usize, pub Tasks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OpenTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OpenTask: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateTask: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteTask: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Submit: usize, pub CanBeDelegated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub BizrulesWritable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PolicyAdministratorsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PolicyAdministratorsName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PolicyReadersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PolicyReadersName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPolicyAdministratorName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePolicyAdministratorName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPolicyReaderName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePolicyReaderName: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9013,7 +9013,7 @@ impl core::ops::Deref for IAzScopes { windows_core::imp::interface_hierarchy!(IAzScopes, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IAzScopes { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9037,9 +9037,9 @@ impl IAzScopes { #[repr(C)] pub struct IAzScopes_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -9178,33 +9178,33 @@ impl IAzTask { pub unsafe fn SetIsRoleDefinition(&self, fprop: bool) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetIsRoleDefinition)(windows_core::Interface::as_raw(self), fprop.into()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Operations(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Operations)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Tasks(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Tasks)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddOperation(&self, bstrop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddOperation)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteOperation(&self, bstrop: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteOperation)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddTask(&self, bstrtask: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrtask), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteTask(&self, bstrtask: &windows_core::BSTR, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrtask), core::mem::transmute_copy(varreserved)).ok() } } @@ -9214,26 +9214,26 @@ impl IAzTask { (windows_core::Interface::vtable(self).Writable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varreserved), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetProperty(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddPropertyItem(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddPropertyItem)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeletePropertyItem(&self, lpropid: i32, varprop: &super::super::System::Variant::VARIANT, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeletePropertyItem)(windows_core::Interface::as_raw(self), lpropid, core::mem::transmute_copy(varprop), core::mem::transmute_copy(varreserved)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Submit(&self, lflags: i32, varreserved: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Submit)(windows_core::Interface::as_raw(self), lflags, core::mem::transmute_copy(varreserved)).ok() } } @@ -9256,50 +9256,50 @@ pub struct IAzTask_Vtbl { pub SetBizRuleImportedPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetIsRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Operations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Operations: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Tasks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Tasks: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddOperation: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteOperation: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddTask: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteTask: usize, pub Writable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddPropertyItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeletePropertyItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Submit: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9658,7 +9658,7 @@ impl core::ops::Deref for IAzTasks { windows_core::imp::interface_hierarchy!(IAzTasks, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IAzTasks { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9682,9 +9682,9 @@ impl IAzTasks { #[repr(C)] pub struct IAzTasks_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs index 120d9ffc91..4472d3005f 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs @@ -1291,14 +1291,14 @@ impl IBinaryConverter { (windows_core::Interface::vtable(self).StringToString)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strencodedin), encodingin, encoding, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn VariantByteArrayToString(&self, pvarbytearray: *const super::super::super::System::Variant::VARIANT, encoding: EncodingType) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VariantByteArrayToString)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarbytearray), encoding, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn StringToVariantByteArray(&self, strencoded: &windows_core::BSTR, encoding: EncodingType) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1311,13 +1311,13 @@ impl IBinaryConverter { pub struct IBinaryConverter_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub StringToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, EncodingType, EncodingType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub VariantByteArrayToString: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, EncodingType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] VariantByteArrayToString: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub StringToVariantByteArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, EncodingType, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] StringToVariantByteArray: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -1391,14 +1391,14 @@ impl core::ops::Deref for IBinaryConverter2 { windows_core::imp::interface_hierarchy!(IBinaryConverter2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IBinaryConverter); #[cfg(feature = "Win32_System_Com")] impl IBinaryConverter2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn StringArrayToVariantArray(&self, pvarstringarray: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StringArrayToVariantArray)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarstringarray), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn VariantArrayToStringArray(&self, pvarvariantarray: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1410,13 +1410,13 @@ impl IBinaryConverter2 { #[repr(C)] pub struct IBinaryConverter2_Vtbl { pub base__: IBinaryConverter_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub StringArrayToVariantArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] StringArrayToVariantArray: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub VariantArrayToStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] VariantArrayToStringArray: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -2919,7 +2919,7 @@ impl ICEnroll4 { pub unsafe fn setPendingRequestInfo(&self, lrequestid: i32, strcadns: &windows_core::BSTR, strcaname: &windows_core::BSTR, strfriendlyname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).setPendingRequestInfo)(windows_core::Interface::as_raw(self), lrequestid, core::mem::transmute_copy(strcadns), core::mem::transmute_copy(strcaname), core::mem::transmute_copy(strfriendlyname)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn enumPendingRequest(&self, lindex: i32, ldesiredproperty: PENDING_REQUEST_DESIRED_PROPERTY) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -3002,9 +3002,9 @@ pub struct ICEnroll4_Vtbl { pub createPFX: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub createFilePFX: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub setPendingRequestInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub enumPendingRequest: unsafe extern "system" fn(*mut core::ffi::c_void, i32, PENDING_REQUEST_DESIRED_PROPERTY, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] enumPendingRequest: usize, pub removePendingRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetKeyLenEx: unsafe extern "system" fn(*mut core::ffi::c_void, XEKL_KEYSIZE, XEKL_KEYSPEC, *mut i32) -> windows_core::HRESULT, @@ -3416,7 +3416,7 @@ impl ICertAdmin { pub unsafe fn SetRequestAttributes(&self, strconfig: &windows_core::BSTR, requestid: i32, strattributes: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetRequestAttributes)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strconfig), requestid, core::mem::transmute_copy(strattributes)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetCertificateExtension(&self, strconfig: &windows_core::BSTR, requestid: i32, strextensionname: &windows_core::BSTR, r#type: CERT_PROPERTY_TYPE, flags: i32, pvarvalue: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetCertificateExtension)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strconfig), requestid, core::mem::transmute_copy(strextensionname), r#type, flags, core::mem::transmute(pvarvalue)).ok() } } @@ -3453,9 +3453,9 @@ pub struct ICertAdmin_Vtbl { pub GetRevocationReason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RevokeCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, f64) -> windows_core::HRESULT, pub SetRequestAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetCertificateExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut core::ffi::c_void, CERT_PROPERTY_TYPE, i32, *const super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetCertificateExtension: usize, pub DenyRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ResubmitRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, @@ -3605,14 +3605,14 @@ impl ICertAdmin2 { pub unsafe fn PublishCRLs(&self, strconfig: &windows_core::BSTR, date: f64, crlflags: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).PublishCRLs)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strconfig), date, crlflags).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetCAProperty(&self, strconfig: &windows_core::BSTR, propid: i32, propindex: i32, proptype: i32, flags: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCAProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strconfig), propid, propindex, proptype, flags, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetCAProperty(&self, strconfig: &windows_core::BSTR, propid: i32, propindex: i32, proptype: CERT_PROPERTY_TYPE, pvarpropertyvalue: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetCAProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strconfig), propid, propindex, proptype, core::mem::transmute(pvarpropertyvalue)).ok() } } @@ -3634,14 +3634,14 @@ impl ICertAdmin2 { (windows_core::Interface::vtable(self).GetArchivedKey)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strconfig), requestid, flags, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetConfigEntry(&self, strconfig: &windows_core::BSTR, strnodepath: &windows_core::BSTR, strentryname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConfigEntry)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strconfig), core::mem::transmute_copy(strnodepath), core::mem::transmute_copy(strentryname), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetConfigEntry(&self, strconfig: &windows_core::BSTR, strnodepath: &windows_core::BSTR, strentryname: &windows_core::BSTR, pvarentry: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetConfigEntry)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strconfig), core::mem::transmute_copy(strnodepath), core::mem::transmute_copy(strentryname), core::mem::transmute(pvarentry)).ok() } } @@ -3666,24 +3666,24 @@ impl ICertAdmin2 { pub struct ICertAdmin2_Vtbl { pub base__: ICertAdmin_Vtbl, pub PublishCRLs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, f64, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetCAProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32, i32, i32, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetCAProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetCAProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32, CERT_PROPERTY_TYPE, *const super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetCAProperty: usize, pub GetCAPropertyFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub GetCAPropertyDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetArchivedKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetConfigEntry: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetConfigEntry: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetConfigEntry: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetConfigEntry: usize, pub ImportKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut core::ffi::c_void, CERT_IMPORT_FLAGS, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMyRoles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut CERTADMIN_GET_ROLES_FLAGS) -> windows_core::HRESULT, @@ -5544,14 +5544,14 @@ impl core::ops::Deref for ICertManageModule { windows_core::imp::interface_hierarchy!(ICertManageModule, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ICertManageModule { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProperty(&self, strconfig: &windows_core::BSTR, strstoragelocation: &windows_core::BSTR, strpropertyname: &windows_core::BSTR, flags: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strconfig), core::mem::transmute_copy(strstoragelocation), core::mem::transmute_copy(strpropertyname), flags, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetProperty(&self, strconfig: &windows_core::BSTR, strstoragelocation: &windows_core::BSTR, strpropertyname: &windows_core::BSTR, flags: i32, pvarproperty: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strconfig), core::mem::transmute_copy(strstoragelocation), core::mem::transmute_copy(strpropertyname), flags, core::mem::transmute(pvarproperty)).ok() } } @@ -5563,13 +5563,13 @@ impl ICertManageModule { #[repr(C)] pub struct ICertManageModule_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, *const super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetProperty: usize, pub Configure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -7340,7 +7340,7 @@ impl ICertRequest2 { (windows_core::Interface::vtable(self).GetErrorMessageText)(windows_core::Interface::as_raw(self), hrmessage, flags, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetCAProperty(&self, strconfig: &windows_core::BSTR, propid: i32, propindex: i32, proptype: i32, flags: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7359,7 +7359,7 @@ impl ICertRequest2 { (windows_core::Interface::vtable(self).GetCAPropertyDisplayName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strconfig), propid, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetFullResponseProperty(&self, propid: FULL_RESPONSE_PROPERTY_ID, propindex: i32, proptype: CERT_PROPERTY_TYPE, flags: CERT_REQUEST_OUT_TYPE) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7373,15 +7373,15 @@ pub struct ICertRequest2_Vtbl { pub base__: ICertRequest_Vtbl, pub GetIssuedCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut CR_DISP) -> windows_core::HRESULT, pub GetErrorMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetCAProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32, i32, i32, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetCAProperty: usize, pub GetCAPropertyFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub GetCAPropertyDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetFullResponseProperty: unsafe extern "system" fn(*mut core::ffi::c_void, FULL_RESPONSE_PROPERTY_ID, i32, CERT_PROPERTY_TYPE, CERT_REQUEST_OUT_TYPE, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetFullResponseProperty: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7784,7 +7784,7 @@ impl ICertServerExit { pub unsafe fn SetContext(&self, context: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetContext)(windows_core::Interface::as_raw(self), context).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetRequestProperty(&self, strpropertyname: &windows_core::BSTR, propertytype: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7797,14 +7797,14 @@ impl ICertServerExit { (windows_core::Interface::vtable(self).GetRequestAttribute)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strattributename), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetCertificateProperty(&self, strpropertyname: &windows_core::BSTR, propertytype: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strpropertyname), propertytype, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetCertificateExtension(&self, strextensionname: &windows_core::BSTR, r#type: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7847,18 +7847,18 @@ impl ICertServerExit { pub struct ICertServerExit_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub SetContext: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetRequestProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetRequestProperty: usize, pub GetRequestAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetCertificateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetCertificateProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetCertificateExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetCertificateExtension: usize, pub GetCertificateExtensionFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub EnumerateExtensionsSetup: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -8038,7 +8038,7 @@ impl ICertServerPolicy { pub unsafe fn SetContext(&self, context: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetContext)(windows_core::Interface::as_raw(self), context).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetRequestProperty(&self, strpropertyname: &windows_core::BSTR, propertytype: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8051,18 +8051,18 @@ impl ICertServerPolicy { (windows_core::Interface::vtable(self).GetRequestAttribute)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strattributename), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetCertificateProperty(&self, strpropertyname: &windows_core::BSTR, propertytype: CERT_PROPERTY_TYPE) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strpropertyname), propertytype, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetCertificateProperty(&self, strpropertyname: &windows_core::BSTR, propertytype: i32, pvarpropertyvalue: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetCertificateProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strpropertyname), propertytype, core::mem::transmute(pvarpropertyvalue)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetCertificateExtension(&self, strextensionname: &windows_core::BSTR, r#type: CERT_PROPERTY_TYPE) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8075,7 +8075,7 @@ impl ICertServerPolicy { (windows_core::Interface::vtable(self).GetCertificateExtensionFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetCertificateExtension(&self, strextensionname: &windows_core::BSTR, r#type: i32, extflags: i32, pvarvalue: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetCertificateExtension)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strextensionname), r#type, extflags, core::mem::transmute(pvarvalue)).ok() } } @@ -8109,27 +8109,27 @@ impl ICertServerPolicy { pub struct ICertServerPolicy_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub SetContext: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetRequestProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetRequestProperty: usize, pub GetRequestAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetCertificateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, CERT_PROPERTY_TYPE, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetCertificateProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetCertificateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *const super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetCertificateProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetCertificateExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, CERT_PROPERTY_TYPE, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetCertificateExtension: usize, pub GetCertificateExtensionFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetCertificateExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32, *const super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetCertificateExtension: usize, pub EnumerateExtensionsSetup: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EnumerateExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8342,7 +8342,7 @@ impl ICertView { pub unsafe fn SetResultColumn(&self, columnindex: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetResultColumn)(windows_core::Interface::as_raw(self), columnindex).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetRestriction(&self, columnindex: CERT_VIEW_COLUMN_INDEX, seekoperator: CERT_VIEW_SEEK_OPERATOR_FLAGS, sortorder: i32, pvarvalue: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetRestriction)(windows_core::Interface::as_raw(self), columnindex, seekoperator, sortorder, core::mem::transmute(pvarvalue)).ok() } } @@ -8363,9 +8363,9 @@ pub struct ICertView_Vtbl { pub GetColumnIndex: unsafe extern "system" fn(*mut core::ffi::c_void, CVRC_COLUMN, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetResultColumnCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SetResultColumn: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetRestriction: unsafe extern "system" fn(*mut core::ffi::c_void, CERT_VIEW_COLUMN_INDEX, CERT_VIEW_SEEK_OPERATOR_FLAGS, i32, *const super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetRestriction: usize, pub OpenView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -9065,7 +9065,7 @@ impl core::ops::Deref for ICertificationAuthority { windows_core::imp::interface_hierarchy!(ICertificationAuthority, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ICertificationAuthority { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Property(&self, property: EnrollmentCAProperty) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9077,9 +9077,9 @@ impl ICertificationAuthority { #[repr(C)] pub struct ICertificationAuthority_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentCAProperty, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Property: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -12620,7 +12620,7 @@ impl IEnumCERTVIEWCOLUMN { pub unsafe fn GetMaxLength(&self, pmaxlength: *mut i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetMaxLength)(windows_core::Interface::as_raw(self), pmaxlength as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetValue(&self, flags: ENUM_CERT_COLUMN_VALUE_FLAGS, pvarvalue: *mut super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), flags, core::mem::transmute(pvarvalue)).ok() } } @@ -12647,9 +12647,9 @@ pub struct IEnumCERTVIEWCOLUMN_Vtbl { pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub IsIndexed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetMaxLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, ENUM_CERT_COLUMN_VALUE_FLAGS, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetValue: usize, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -12779,7 +12779,7 @@ impl IEnumCERTVIEWEXTENSION { pub unsafe fn GetFlags(&self, pflags: *mut i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), pflags as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetValue(&self, r#type: CERT_PROPERTY_TYPE, flags: ENUM_CERT_COLUMN_VALUE_FLAGS, pvarvalue: *mut super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), r#type, flags, core::mem::transmute(pvarvalue)).ok() } } @@ -12803,9 +12803,9 @@ pub struct IEnumCERTVIEWEXTENSION_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, CERT_PROPERTY_TYPE, ENUM_CERT_COLUMN_VALUE_FLAGS, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetValue: usize, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -13230,14 +13230,14 @@ impl IOCSPAdmin { (windows_core::Interface::vtable(self).GetSecurity)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrservername), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetSigningCertificates(&self, bstrservername: &windows_core::BSTR, pcacertvar: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSigningCertificates)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrservername), core::mem::transmute(pcacertvar), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetHashAlgorithms(&self, bstrservername: &windows_core::BSTR, bstrcaid: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13257,13 +13257,13 @@ pub struct IOCSPAdmin_Vtbl { pub Ping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetSigningCertificates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetSigningCertificates: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetHashAlgorithms: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetHashAlgorithms: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -13417,7 +13417,7 @@ impl IOCSPCAConfiguration { (windows_core::Interface::vtable(self).Identifier)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CACertificate(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13442,14 +13442,14 @@ impl IOCSPCAConfiguration { pub unsafe fn SetSigningFlags(&self, newval: u32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSigningFlags)(windows_core::Interface::as_raw(self), newval).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SigningCertificate(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SigningCertificate)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSigningCertificate(&self, newval: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSigningCertificate)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(newval)).ok() } } @@ -13489,14 +13489,14 @@ impl IOCSPCAConfiguration { pub unsafe fn SetProviderCLSID(&self, newval: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetProviderCLSID)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(newval)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ProviderProperties(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetProviderProperties(&self, newval: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetProviderProperties)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(newval)).ok() } } @@ -13506,14 +13506,14 @@ impl IOCSPCAConfiguration { (windows_core::Interface::vtable(self).Modified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LocalRevocationInformation(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalRevocationInformation)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetLocalRevocationInformation(&self, newval: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetLocalRevocationInformation)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(newval)).ok() } } @@ -13541,21 +13541,21 @@ impl IOCSPCAConfiguration { pub struct IOCSPCAConfiguration_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub Identifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CACertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CACertificate: usize, pub HashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SigningFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetSigningFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SigningCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SigningCertificate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSigningCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSigningCertificate: usize, pub ReminderDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetReminderDuration: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, @@ -13564,22 +13564,22 @@ pub struct IOCSPCAConfiguration_Vtbl { pub KeySpec: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub ProviderCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetProviderCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ProviderProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ProviderProperties: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetProviderProperties: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetProviderProperties: usize, pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LocalRevocationInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LocalRevocationInformation: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetLocalRevocationInformation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetLocalRevocationInformation: usize, pub SigningCertificateTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSigningCertificateTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -13903,7 +13903,7 @@ impl IOCSPCAConfigurationCollection { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13916,14 +13916,14 @@ impl IOCSPCAConfigurationCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_ItemByName(&self, bstridentifier: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstridentifier), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateCAConfiguration(&self, bstridentifier: &windows_core::BSTR, varcacert: &super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13939,18 +13939,18 @@ impl IOCSPCAConfigurationCollection { pub struct IOCSPCAConfigurationCollection_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_ItemByName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateCAConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateCAConfiguration: usize, pub DeleteCAConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -14067,14 +14067,14 @@ impl IOCSPProperty { (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetValue(&self, newval: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(newval)).ok() } } @@ -14090,13 +14090,13 @@ impl IOCSPProperty { pub struct IOCSPProperty_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetValue: usize, pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -14185,7 +14185,7 @@ impl IOCSPPropertyCollection { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -14198,14 +14198,14 @@ impl IOCSPPropertyCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_ItemByName(&self, bstrpropname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrpropname), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateProperty(&self, bstrpropname: &windows_core::BSTR, pvarpropvalue: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -14215,11 +14215,11 @@ impl IOCSPPropertyCollection { pub unsafe fn DeleteProperty(&self, bstrpropname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrpropname)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn InitializeFromProperties(&self, pvarproperties: *const super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InitializeFromProperties)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarproperties)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetAllProperties(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -14232,27 +14232,27 @@ impl IOCSPPropertyCollection { pub struct IOCSPPropertyCollection_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_ItemByName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateProperty: usize, pub DeleteProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub InitializeFromProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] InitializeFromProperties: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetAllProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetAllProperties: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -20220,7 +20220,7 @@ impl core::ops::Deref for IX509CertificateTemplate { windows_core::imp::interface_hierarchy!(IX509CertificateTemplate, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateTemplate { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Property(&self, property: EnrollmentTemplateProperty) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -20232,9 +20232,9 @@ impl IX509CertificateTemplate { #[repr(C)] pub struct IX509CertificateTemplate_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentTemplateProperty, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Property: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -20286,14 +20286,14 @@ impl IX509CertificateTemplateWritable { pub unsafe fn Commit(&self, commitflags: CommitTemplateFlags, strservercontext: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Commit)(windows_core::Interface::as_raw(self), commitflags, core::mem::transmute_copy(strservercontext)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Property(&self, property: EnrollmentTemplateProperty) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Property)(windows_core::Interface::as_raw(self), property, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn put_Property(&self, property: EnrollmentTemplateProperty, value: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).put_Property)(windows_core::Interface::as_raw(self), property, core::mem::transmute_copy(value)).ok() } } @@ -20310,13 +20310,13 @@ pub struct IX509CertificateTemplateWritable_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, CommitTemplateFlags, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentTemplateProperty, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Property: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub put_Property: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentTemplateProperty, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] put_Property: usize, pub Template: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -21573,11 +21573,11 @@ impl IX509EnrollmentPolicyServer { (windows_core::Interface::vtable(self).QueryChanges)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn InitializeImport(&self, val: &super::super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InitializeImport)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(val)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Export(&self, exportflags: X509EnrollmentPolicyExportFlags) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -21618,13 +21618,13 @@ pub struct IX509EnrollmentPolicyServer_Vtbl { pub GetAuthFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut X509EnrollmentAuthFlags) -> windows_core::HRESULT, pub SetCredential: unsafe extern "system" fn(*mut core::ffi::c_void, i32, X509EnrollmentAuthFlags, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub QueryChanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub InitializeImport: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] InitializeImport: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Export: unsafe extern "system" fn(*mut core::ffi::c_void, X509EnrollmentPolicyExportFlags, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Export: usize, pub Cost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetCost: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs index 49074c5ddc..c6023e6bc6 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs @@ -11466,14 +11466,14 @@ impl ICertSrvSetup { pub unsafe fn InitializeDefaults(&self, bserver: super::super::Foundation::VARIANT_BOOL, bclient: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InitializeDefaults)(windows_core::Interface::as_raw(self), bserver, bclient).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetCASetupProperty(&self, propertyid: CASetupProperty) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCASetupProperty)(windows_core::Interface::as_raw(self), propertyid, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetCASetupProperty(&self, propertyid: CASetupProperty, ppropertyvalue: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetCASetupProperty)(windows_core::Interface::as_raw(self), propertyid, core::mem::transmute(ppropertyvalue)).ok() } } @@ -11483,35 +11483,35 @@ impl ICertSrvSetup { (windows_core::Interface::vtable(self).IsPropertyEditable)(windows_core::Interface::as_raw(self), propertyid, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetSupportedCATypes(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedCATypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProviderNameList(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderNameList)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetKeyLengthList(&self, bstrprovidername: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeyLengthList)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprovidername), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetHashAlgorithmList(&self, bstrprovidername: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHashAlgorithmList)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprovidername), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetPrivateKeyContainerList(&self, bstrprovidername: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11559,34 +11559,34 @@ pub struct ICertSrvSetup_Vtbl { pub CAErrorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CAErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub InitializeDefaults: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetCASetupProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CASetupProperty, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetCASetupProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetCASetupProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CASetupProperty, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetCASetupProperty: usize, pub IsPropertyEditable: unsafe extern "system" fn(*mut core::ffi::c_void, CASetupProperty, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetSupportedCATypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetSupportedCATypes: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProviderNameList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProviderNameList: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetKeyLengthList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetKeyLengthList: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetHashAlgorithmList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetHashAlgorithmList: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetPrivateKeyContainerList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetPrivateKeyContainerList: usize, pub GetExistingCACertificates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CAImportPFX: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -11898,14 +11898,14 @@ impl ICertSrvSetupKeyInformation { pub unsafe fn SetHashAlgorithm(&self, bstrval: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetHashAlgorithm)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrval)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ExistingCACertificate(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExistingCACertificate)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetExistingCACertificate(&self, varval: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetExistingCACertificate)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varval)).ok() } } @@ -11924,13 +11924,13 @@ pub struct ICertSrvSetupKeyInformation_Vtbl { pub SetContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub HashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ExistingCACertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ExistingCACertificate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetExistingCACertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetExistingCACertificate: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -12100,7 +12100,7 @@ impl ICertSrvSetupKeyInformationCollection { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -12125,9 +12125,9 @@ impl ICertSrvSetupKeyInformationCollection { pub struct ICertSrvSetupKeyInformationCollection_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -12220,21 +12220,21 @@ impl ICertificateEnrollmentPolicyServerSetup { pub unsafe fn InitializeInstallDefaults(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InitializeInstallDefaults)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProperty(&self, propertyid: CEPSetupProperty) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), propertyid, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetProperty(&self, propertyid: CEPSetupProperty, ppropertyvalue: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), propertyid, core::mem::transmute(ppropertyvalue)).ok() } } pub unsafe fn Install(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Install)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn UnInstall(&self, pauthkeybasedrenewal: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).UnInstall)(windows_core::Interface::as_raw(self), core::mem::transmute(pauthkeybasedrenewal)).ok() } } @@ -12245,18 +12245,18 @@ pub struct ICertificateEnrollmentPolicyServerSetup_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub ErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub InitializeInstallDefaults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CEPSetupProperty, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CEPSetupProperty, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetProperty: usize, pub Install: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub UnInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] UnInstall: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -12357,14 +12357,14 @@ impl ICertificateEnrollmentServerSetup { pub unsafe fn InitializeInstallDefaults(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InitializeInstallDefaults)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProperty(&self, propertyid: CESSetupProperty) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), propertyid, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetProperty(&self, propertyid: CESSetupProperty, ppropertyvalue: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), propertyid, core::mem::transmute(ppropertyvalue)).ok() } } @@ -12374,7 +12374,7 @@ impl ICertificateEnrollmentServerSetup { pub unsafe fn Install(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Install)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn UnInstall(&self, pcaconfig: *const super::super::System::Variant::VARIANT, pauthentication: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).UnInstall)(windows_core::Interface::as_raw(self), core::mem::transmute(pcaconfig), core::mem::transmute(pauthentication)).ok() } } @@ -12385,19 +12385,19 @@ pub struct ICertificateEnrollmentServerSetup_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub ErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub InitializeInstallDefaults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CESSetupProperty, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CESSetupProperty, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetProperty: usize, pub SetApplicationPoolCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Install: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub UnInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] UnInstall: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -12515,14 +12515,14 @@ impl IMSCEPSetup { pub unsafe fn InitializeDefaults(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InitializeDefaults)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetMSCEPSetupProperty(&self, propertyid: MSCEPSetupProperty) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMSCEPSetupProperty)(windows_core::Interface::as_raw(self), propertyid, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetMSCEPSetupProperty(&self, propertyid: MSCEPSetupProperty, ppropertyvalue: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetMSCEPSetupProperty)(windows_core::Interface::as_raw(self), propertyid, core::mem::transmute(ppropertyvalue)).ok() } } @@ -12535,14 +12535,14 @@ impl IMSCEPSetup { (windows_core::Interface::vtable(self).IsMSCEPStoreEmpty)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProviderNameList(&self, bexchange: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderNameList)(windows_core::Interface::as_raw(self), bexchange, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetKeyLengthList(&self, bexchange: super::super::Foundation::VARIANT_BOOL, bstrprovidername: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -12566,23 +12566,23 @@ pub struct IMSCEPSetup_Vtbl { pub MSCEPErrorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MSCEPErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub InitializeDefaults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetMSCEPSetupProperty: unsafe extern "system" fn(*mut core::ffi::c_void, MSCEPSetupProperty, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetMSCEPSetupProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetMSCEPSetupProperty: unsafe extern "system" fn(*mut core::ffi::c_void, MSCEPSetupProperty, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetMSCEPSetupProperty: usize, pub SetAccountInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsMSCEPStoreEmpty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProviderNameList: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProviderNameList: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetKeyLengthList: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetKeyLengthList: usize, pub Install: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PreUnInstall: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs index 69583b515c..501000b7ee 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs @@ -1413,14 +1413,12 @@ impl core::ops::Deref for IFsrmActionReport { windows_core::imp::interface_hierarchy!(IFsrmActionReport, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); #[cfg(feature = "Win32_System_Com")] impl IFsrmActionReport { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReportTypes(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReportTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetReportTypes(&self, reporttypes: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetReportTypes)(windows_core::Interface::as_raw(self), reporttypes).ok() } } @@ -1438,14 +1436,8 @@ impl IFsrmActionReport { #[repr(C)] pub struct IFsrmActionReport_Vtbl { pub base__: IFsrmAction_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub ReportTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ReportTypes: usize, - #[cfg(feature = "Win32_System_Com")] pub SetReportTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetReportTypes: usize, pub MailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1522,14 +1514,12 @@ impl core::ops::Deref for IFsrmAutoApplyQuota { windows_core::imp::interface_hierarchy!(IFsrmAutoApplyQuota, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase, IFsrmQuotaObject); #[cfg(feature = "Win32_System_Com")] impl IFsrmAutoApplyQuota { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExcludeFolders(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExcludeFolders)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetExcludeFolders(&self, folders: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetExcludeFolders)(windows_core::Interface::as_raw(self), folders).ok() } } @@ -1544,14 +1534,8 @@ impl IFsrmAutoApplyQuota { #[repr(C)] pub struct IFsrmAutoApplyQuota_Vtbl { pub base__: IFsrmQuotaObject_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub ExcludeFolders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ExcludeFolders: usize, - #[cfg(feature = "Win32_System_Com")] pub SetExcludeFolders: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetExcludeFolders: usize, pub CommitAndUpdateDerived: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmCommitOptions, FsrmTemplateApplyOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -1619,14 +1603,12 @@ impl core::ops::Deref for IFsrmClassificationManager { windows_core::imp::interface_hierarchy!(IFsrmClassificationManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IFsrmClassificationManager { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClassificationReportFormats(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClassificationReportFormats)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetClassificationReportFormats(&self, formats: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetClassificationReportFormats)(windows_core::Interface::as_raw(self), formats).ok() } } @@ -1764,14 +1746,8 @@ impl IFsrmClassificationManager { #[repr(C)] pub struct IFsrmClassificationManager_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub ClassificationReportFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ClassificationReportFormats: usize, - #[cfg(feature = "Win32_System_Com")] pub SetClassificationReportFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetClassificationReportFormats: usize, pub Logging: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetLogging: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ClassificationReportMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2157,7 +2133,6 @@ impl core::ops::Deref for IFsrmClassificationManager2 { windows_core::imp::interface_hierarchy!(IFsrmClassificationManager2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmClassificationManager); #[cfg(feature = "Win32_System_Com")] impl IFsrmClassificationManager2 { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClassifyFiles(&self, filepaths: *const super::super::System::Com::SAFEARRAY, propertynames: *const super::super::System::Com::SAFEARRAY, propertyvalues: *const super::super::System::Com::SAFEARRAY, options: FsrmGetFilePropertyOptions) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ClassifyFiles)(windows_core::Interface::as_raw(self), filepaths, propertynames, propertyvalues, options).ok() } } @@ -2166,10 +2141,7 @@ impl IFsrmClassificationManager2 { #[repr(C)] pub struct IFsrmClassificationManager2_Vtbl { pub base__: IFsrmClassificationManager_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub ClassifyFiles: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY, *const super::super::System::Com::SAFEARRAY, *const super::super::System::Com::SAFEARRAY, FsrmGetFilePropertyOptions) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ClassifyFiles: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IFsrmClassificationManager2_Impl: IFsrmClassificationManager_Impl { @@ -2339,25 +2311,21 @@ impl core::ops::Deref for IFsrmClassifierModuleDefinition { windows_core::imp::interface_hierarchy!(IFsrmClassifierModuleDefinition, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmPipelineModuleDefinition); #[cfg(feature = "Win32_System_Com")] impl IFsrmClassifierModuleDefinition { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn PropertiesAffected(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertiesAffected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetPropertiesAffected(&self, propertiesaffected: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPropertiesAffected)(windows_core::Interface::as_raw(self), propertiesaffected).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn PropertiesUsed(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertiesUsed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetPropertiesUsed(&self, propertiesused: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPropertiesUsed)(windows_core::Interface::as_raw(self), propertiesused).ok() } } @@ -2375,22 +2343,10 @@ impl IFsrmClassifierModuleDefinition { #[repr(C)] pub struct IFsrmClassifierModuleDefinition_Vtbl { pub base__: IFsrmPipelineModuleDefinition_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub PropertiesAffected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - PropertiesAffected: usize, - #[cfg(feature = "Win32_System_Com")] pub SetPropertiesAffected: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetPropertiesAffected: usize, - #[cfg(feature = "Win32_System_Com")] pub PropertiesUsed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - PropertiesUsed: usize, - #[cfg(feature = "Win32_System_Com")] pub SetPropertiesUsed: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetPropertiesUsed: usize, pub NeedsExplicitValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetNeedsExplicitValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -2489,7 +2445,7 @@ impl core::ops::Deref for IFsrmClassifierModuleImplementation { windows_core::imp::interface_hierarchy!(IFsrmClassifierModuleImplementation, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmPipelineModuleImplementation); #[cfg(feature = "Win32_System_Com")] impl IFsrmClassifierModuleImplementation { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LastModified(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2503,7 +2459,6 @@ impl IFsrmClassifierModuleImplementation { { unsafe { (windows_core::Interface::vtable(self).UseRulesAndDefinitions)(windows_core::Interface::as_raw(self), rules.param().abi(), propertydefinitions.param().abi()).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn OnBeginFile(&self, propertybag: P0, arrayruleids: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> where P0: windows_core::Param, @@ -2524,15 +2479,12 @@ impl IFsrmClassifierModuleImplementation { #[repr(C)] pub struct IFsrmClassifierModuleImplementation_Vtbl { pub base__: IFsrmPipelineModuleImplementation_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LastModified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LastModified: usize, pub UseRulesAndDefinitions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub OnBeginFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - OnBeginFile: usize, pub DoesPropertyValueApply: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, pub GetPropertyValueToApply: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, pub OnEndFile: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2626,7 +2578,7 @@ impl IFsrmCollection { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2654,7 +2606,7 @@ impl IFsrmCollection { (windows_core::Interface::vtable(self).WaitForCompletion)(windows_core::Interface::as_raw(self), waitseconds, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetById(&self, id: windows_core::GUID) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2667,17 +2619,17 @@ impl IFsrmCollection { pub struct IFsrmCollection_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmCollectionState) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub WaitForCompletion: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetById: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetById: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -2931,33 +2883,33 @@ impl core::ops::Deref for IFsrmExportImport { windows_core::imp::interface_hierarchy!(IFsrmExportImport, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IFsrmExportImport { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ExportFileGroups(&self, filepath: &windows_core::BSTR, filegroupnamessafearray: *const super::super::System::Variant::VARIANT, remotehost: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ExportFileGroups)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(filepath), core::mem::transmute(filegroupnamessafearray), core::mem::transmute_copy(remotehost)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ImportFileGroups(&self, filepath: &windows_core::BSTR, filegroupnamessafearray: *const super::super::System::Variant::VARIANT, remotehost: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImportFileGroups)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(filepath), core::mem::transmute(filegroupnamessafearray), core::mem::transmute_copy(remotehost), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ExportFileScreenTemplates(&self, filepath: &windows_core::BSTR, templatenamessafearray: *const super::super::System::Variant::VARIANT, remotehost: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ExportFileScreenTemplates)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(filepath), core::mem::transmute(templatenamessafearray), core::mem::transmute_copy(remotehost)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ImportFileScreenTemplates(&self, filepath: &windows_core::BSTR, templatenamessafearray: *const super::super::System::Variant::VARIANT, remotehost: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImportFileScreenTemplates)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(filepath), core::mem::transmute(templatenamessafearray), core::mem::transmute_copy(remotehost), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ExportQuotaTemplates(&self, filepath: &windows_core::BSTR, templatenamessafearray: *const super::super::System::Variant::VARIANT, remotehost: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ExportQuotaTemplates)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(filepath), core::mem::transmute(templatenamessafearray), core::mem::transmute_copy(remotehost)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ImportQuotaTemplates(&self, filepath: &windows_core::BSTR, templatenamessafearray: *const super::super::System::Variant::VARIANT, remotehost: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2969,29 +2921,29 @@ impl IFsrmExportImport { #[repr(C)] pub struct IFsrmExportImport_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ExportFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ExportFileGroups: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ImportFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ImportFileGroups: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ExportFileScreenTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ExportFileScreenTemplates: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ImportFileScreenTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ImportFileScreenTemplates: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ExportQuotaTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ExportQuotaTemplates: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ImportQuotaTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ImportQuotaTemplates: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -3189,14 +3141,14 @@ impl IFsrmFileConditionProperty { pub unsafe fn SetValueType(&self, newval: FsrmPropertyValueType) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValueType)(windows_core::Interface::as_raw(self), newval).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetValue(&self, newval: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(newval)).ok() } } @@ -3213,13 +3165,13 @@ pub struct IFsrmFileConditionProperty_Vtbl { pub SetOperator: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmPropertyConditionType) -> windows_core::HRESULT, pub ValueType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmPropertyValueType) -> windows_core::HRESULT, pub SetValueType: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmPropertyValueType) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetValue: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -3587,14 +3539,14 @@ impl IFsrmFileGroupManager { (windows_core::Interface::vtable(self).EnumFileGroups)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ExportFileGroups(&self, filegroupnamesarray: *const super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExportFileGroups)(windows_core::Interface::as_raw(self), core::mem::transmute(filegroupnamesarray), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ImportFileGroups(&self, serializedfilegroups: &windows_core::BSTR, filegroupnamesarray: *const super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -3609,13 +3561,13 @@ pub struct IFsrmFileGroupManager_Vtbl { pub CreateFileGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFileGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ExportFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ExportFileGroups: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ImportFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ImportFileGroups: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -3726,14 +3678,12 @@ impl IFsrmFileManagementJob { pub unsafe fn SetName(&self, name: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn NamespaceRoots(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NamespaceRoots)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetNamespaceRoots(&self, namespaceroots: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetNamespaceRoots)(windows_core::Interface::as_raw(self), namespaceroots).ok() } } @@ -3770,7 +3720,6 @@ impl IFsrmFileManagementJob { (windows_core::Interface::vtable(self).CustomAction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Notifications(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -3795,14 +3744,12 @@ impl IFsrmFileManagementJob { pub unsafe fn SetReportEnabled(&self, reportenabled: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetReportEnabled)(windows_core::Interface::as_raw(self), reportenabled).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Formats(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Formats)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetFormats(&self, formats: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFormats)(windows_core::Interface::as_raw(self), formats).ok() } } @@ -3866,14 +3813,12 @@ impl IFsrmFileManagementJob { pub unsafe fn SetTask(&self, taskname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(taskname)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetParameters(&self, parameters: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetParameters)(windows_core::Interface::as_raw(self), parameters).ok() } } @@ -3962,14 +3907,8 @@ pub struct IFsrmFileManagementJob_Vtbl { pub base__: IFsrmObject_Vtbl, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub NamespaceRoots: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - NamespaceRoots: usize, - #[cfg(feature = "Win32_System_Com")] pub SetNamespaceRoots: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetNamespaceRoots: usize, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub OperationType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmFileManagementType) -> windows_core::HRESULT, @@ -3977,22 +3916,13 @@ pub struct IFsrmFileManagementJob_Vtbl { pub ExpirationDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetExpirationDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CustomAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub Notifications: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Notifications: usize, pub Logging: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetLogging: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ReportEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetReportEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub Formats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Formats: usize, - #[cfg(feature = "Win32_System_Com")] pub SetFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetFormats: usize, pub MailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub DaysSinceFileCreated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -4006,14 +3936,8 @@ pub struct IFsrmFileManagementJob_Vtbl { pub SetFromDate: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub Task: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Parameters: usize, - #[cfg(feature = "Win32_System_Com")] pub SetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetParameters: usize, pub RunningStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmReportRunningStatus) -> windows_core::HRESULT, pub LastError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub LastReportPathWithoutExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4620,14 +4544,12 @@ impl core::ops::Deref for IFsrmFileManagementJobManager { windows_core::imp::interface_hierarchy!(IFsrmFileManagementJobManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileManagementJobManager { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariables(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActionVariables)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariableDescriptions(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -4657,14 +4579,8 @@ impl IFsrmFileManagementJobManager { #[repr(C)] pub struct IFsrmFileManagementJobManager_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub ActionVariables: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ActionVariables: usize, - #[cfg(feature = "Win32_System_Com")] pub ActionVariableDescriptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ActionVariableDescriptions: usize, pub EnumFileManagementJobs: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateFileManagementJob: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFileManagementJob: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5158,14 +5074,12 @@ impl core::ops::Deref for IFsrmFileScreenManager { windows_core::imp::interface_hierarchy!(IFsrmFileScreenManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenManager { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariables(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActionVariables)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariableDescriptions(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -5219,14 +5133,8 @@ impl IFsrmFileScreenManager { #[repr(C)] pub struct IFsrmFileScreenManager_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub ActionVariables: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ActionVariables: usize, - #[cfg(feature = "Win32_System_Com")] pub ActionVariableDescriptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ActionVariableDescriptions: usize, pub CreateFileScreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFileScreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumFileScreens: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5577,14 +5485,14 @@ impl IFsrmFileScreenTemplateManager { (windows_core::Interface::vtable(self).EnumTemplates)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ExportTemplates(&self, filescreentemplatenamesarray: *const super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExportTemplates)(windows_core::Interface::as_raw(self), core::mem::transmute(filescreentemplatenamesarray), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ImportTemplates(&self, serializedfilescreentemplates: &windows_core::BSTR, filescreentemplatenamesarray: *const super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5599,13 +5507,13 @@ pub struct IFsrmFileScreenTemplateManager_Vtbl { pub CreateTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ExportTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ExportTemplates: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ImportTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ImportTemplates: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -5707,7 +5615,7 @@ impl core::ops::Deref for IFsrmMutableCollection { windows_core::imp::interface_hierarchy!(IFsrmMutableCollection, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmCollection); #[cfg(feature = "Win32_System_Com")] impl IFsrmMutableCollection { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Add(&self, item: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(item)).ok() } } @@ -5728,9 +5636,9 @@ impl IFsrmMutableCollection { #[repr(C)] pub struct IFsrmMutableCollection_Vtbl { pub base__: IFsrmCollection_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Add: usize, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub RemoveById: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, @@ -5916,7 +5824,6 @@ impl core::ops::Deref for IFsrmPathMapper { windows_core::imp::interface_hierarchy!(IFsrmPathMapper, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IFsrmPathMapper { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSharePathsForLocalPath(&self, localpath: &windows_core::BSTR) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -5928,10 +5835,7 @@ impl IFsrmPathMapper { #[repr(C)] pub struct IFsrmPathMapper_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub GetSharePathsForLocalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetSharePathsForLocalPath: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IFsrmPathMapper_Impl: super::super::System::Com::IDispatch_Impl { @@ -6180,25 +6084,21 @@ impl IFsrmPipelineModuleDefinition { pub unsafe fn SetAccount(&self, retrievalaccount: FsrmAccountType) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetAccount)(windows_core::Interface::as_raw(self), retrievalaccount).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedExtensions(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedExtensions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetSupportedExtensions(&self, supportedextensions: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSupportedExtensions)(windows_core::Interface::as_raw(self), supportedextensions).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetParameters(&self, parameters: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetParameters)(windows_core::Interface::as_raw(self), parameters).ok() } } @@ -6222,22 +6122,10 @@ pub struct IFsrmPipelineModuleDefinition_Vtbl { pub SetNeedsFileContent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Account: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmAccountType) -> windows_core::HRESULT, pub SetAccount: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmAccountType) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub SupportedExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SupportedExtensions: usize, - #[cfg(feature = "Win32_System_Com")] pub SetSupportedExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetSupportedExtensions: usize, - #[cfg(feature = "Win32_System_Com")] pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Parameters: usize, - #[cfg(feature = "Win32_System_Com")] pub SetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetParameters: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IFsrmPipelineModuleDefinition_Impl: IFsrmObject_Impl { @@ -6563,7 +6451,6 @@ impl IFsrmProperty { (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Sources(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -6583,10 +6470,7 @@ pub struct IFsrmProperty_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub Sources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Sources: usize, pub PropertyFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -6704,49 +6588,49 @@ impl IFsrmPropertyBag { (windows_core::Interface::vtable(self).VolumeIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn FileId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileId)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ParentDirectoryId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParentDirectoryId)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Size(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Size)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SizeAllocated(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeAllocated)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreationTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreationTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LastAccessTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastAccessTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LastModificationTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6765,14 +6649,12 @@ impl IFsrmPropertyBag { (windows_core::Interface::vtable(self).OwnerSid)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn FilePropertyNames(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FilePropertyNames)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Messages(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -6797,7 +6679,7 @@ impl IFsrmPropertyBag { pub unsafe fn AddMessage(&self, message: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddMessage)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(message)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetFileStreamInterface(&self, accessmode: FsrmFileStreamingMode, interfacetype: FsrmFileStreamingInterfaceType) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6814,51 +6696,45 @@ pub struct IFsrmPropertyBag_Vtbl { pub VolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RelativeNamespaceRoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub VolumeIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub FileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] FileId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ParentDirectoryId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ParentDirectoryId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Size: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SizeAllocated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SizeAllocated: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreationTime: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LastAccessTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LastAccessTime: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LastModificationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LastModificationTime: usize, pub Attributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub OwnerSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub FilePropertyNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - FilePropertyNames: usize, - #[cfg(feature = "Win32_System_Com")] pub Messages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Messages: usize, pub PropertyBagFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetFileProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetFileProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetFileStreamInterface: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmFileStreamingMode, FsrmFileStreamingInterfaceType, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetFileStreamInterface: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7172,7 +7048,7 @@ impl core::ops::Deref for IFsrmPropertyBag2 { windows_core::imp::interface_hierarchy!(IFsrmPropertyBag2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmPropertyBag); #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyBag2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetFieldValue(&self, field: FsrmPropertyBagField) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7190,9 +7066,9 @@ impl IFsrmPropertyBag2 { #[repr(C)] pub struct IFsrmPropertyBag2_Vtbl { pub base__: IFsrmPropertyBag_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetFieldValue: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmPropertyBagField, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetFieldValue: usize, pub GetUntrustedInFileProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -7417,36 +7293,30 @@ impl IFsrmPropertyDefinition { pub unsafe fn SetType(&self, r#type: FsrmPropertyDefinitionType) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetType)(windows_core::Interface::as_raw(self), r#type).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn PossibleValues(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PossibleValues)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetPossibleValues(&self, possiblevalues: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPossibleValues)(windows_core::Interface::as_raw(self), possiblevalues).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ValueDescriptions(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ValueDescriptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetValueDescriptions(&self, valuedescriptions: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValueDescriptions)(windows_core::Interface::as_raw(self), valuedescriptions).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetParameters(&self, parameters: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetParameters)(windows_core::Interface::as_raw(self), parameters).ok() } } @@ -7459,30 +7329,12 @@ pub struct IFsrmPropertyDefinition_Vtbl { pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmPropertyDefinitionType) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmPropertyDefinitionType) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub PossibleValues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - PossibleValues: usize, - #[cfg(feature = "Win32_System_Com")] pub SetPossibleValues: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetPossibleValues: usize, - #[cfg(feature = "Win32_System_Com")] pub ValueDescriptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ValueDescriptions: usize, - #[cfg(feature = "Win32_System_Com")] pub SetValueDescriptions: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetValueDescriptions: usize, - #[cfg(feature = "Win32_System_Com")] pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Parameters: usize, - #[cfg(feature = "Win32_System_Com")] pub SetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetParameters: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IFsrmPropertyDefinition_Impl: IFsrmObject_Impl { @@ -7873,14 +7725,14 @@ impl core::ops::Deref for IFsrmQuota { windows_core::imp::interface_hierarchy!(IFsrmQuota, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase, IFsrmQuotaObject); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuota { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn QuotaUsed(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuotaUsed)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn QuotaPeakUsage(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7904,13 +7756,13 @@ impl IFsrmQuota { #[repr(C)] pub struct IFsrmQuota_Vtbl { pub base__: IFsrmQuotaObject_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub QuotaUsed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] QuotaUsed: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub QuotaPeakUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] QuotaPeakUsage: usize, pub QuotaPeakUsageTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub ResetPeakUsage: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8003,14 +7855,14 @@ impl core::ops::Deref for IFsrmQuotaBase { windows_core::imp::interface_hierarchy!(IFsrmQuotaBase, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaBase { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn QuotaLimit(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuotaLimit)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetQuotaLimit(&self, quotalimit: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetQuotaLimit)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(quotalimit)).ok() } } @@ -8023,7 +7875,6 @@ impl IFsrmQuotaBase { pub unsafe fn SetQuotaFlags(&self, quotaflags: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetQuotaFlags)(windows_core::Interface::as_raw(self), quotaflags).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Thresholds(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -8056,20 +7907,17 @@ impl IFsrmQuotaBase { #[repr(C)] pub struct IFsrmQuotaBase_Vtbl { pub base__: IFsrmObject_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub QuotaLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] QuotaLimit: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetQuotaLimit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetQuotaLimit: usize, pub QuotaFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetQuotaFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub Thresholds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Thresholds: usize, pub AddThreshold: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub DeleteThreshold: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ModifyThreshold: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, @@ -8215,14 +8063,12 @@ impl core::ops::Deref for IFsrmQuotaManager { windows_core::imp::interface_hierarchy!(IFsrmQuotaManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaManager { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariables(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActionVariables)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariableDescriptions(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -8291,14 +8137,8 @@ impl IFsrmQuotaManager { #[repr(C)] pub struct IFsrmQuotaManager_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub ActionVariables: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ActionVariables: usize, - #[cfg(feature = "Win32_System_Com")] pub ActionVariableDescriptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ActionVariableDescriptions: usize, pub CreateQuota: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateAutoApplyQuota: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetQuota: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8893,14 +8733,14 @@ impl IFsrmQuotaTemplateManager { (windows_core::Interface::vtable(self).EnumTemplates)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ExportTemplates(&self, quotatemplatenamesarray: *const super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExportTemplates)(windows_core::Interface::as_raw(self), core::mem::transmute(quotatemplatenamesarray), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ImportTemplates(&self, serializedquotatemplates: &windows_core::BSTR, quotatemplatenamesarray: *const super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8915,13 +8755,13 @@ pub struct IFsrmQuotaTemplateManager_Vtbl { pub CreateTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ExportTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ExportTemplates: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ImportTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ImportTemplates: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9053,14 +8893,14 @@ impl IFsrmReport { (windows_core::Interface::vtable(self).LastGeneratedFileNamePrefix)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetFilter(&self, filter: FsrmReportFilter) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilter)(windows_core::Interface::as_raw(self), filter, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetFilter(&self, filter: FsrmReportFilter, filtervalue: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFilter)(windows_core::Interface::as_raw(self), filter, core::mem::transmute_copy(filtervalue)).ok() } } @@ -9078,13 +8918,13 @@ pub struct IFsrmReport_Vtbl { pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub LastGeneratedFileNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportFilter, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetFilter: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportFilter, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetFilter: usize, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -9228,25 +9068,21 @@ impl IFsrmReportJob { pub unsafe fn SetTask(&self, taskname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(taskname)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn NamespaceRoots(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NamespaceRoots)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetNamespaceRoots(&self, namespaceroots: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetNamespaceRoots)(windows_core::Interface::as_raw(self), namespaceroots).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Formats(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Formats)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetFormats(&self, formats: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFormats)(windows_core::Interface::as_raw(self), formats).ok() } } @@ -9314,22 +9150,10 @@ pub struct IFsrmReportJob_Vtbl { pub base__: IFsrmObject_Vtbl, pub Task: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub NamespaceRoots: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - NamespaceRoots: usize, - #[cfg(feature = "Win32_System_Com")] pub SetNamespaceRoots: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetNamespaceRoots: usize, - #[cfg(feature = "Win32_System_Com")] pub Formats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Formats: usize, - #[cfg(feature = "Win32_System_Com")] pub SetFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetFormats: usize, pub MailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RunningStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmReportRunningStatus) -> windows_core::HRESULT, @@ -9606,25 +9430,25 @@ impl IFsrmReportManager { (windows_core::Interface::vtable(self).IsFilterValidForReportType)(windows_core::Interface::as_raw(self), reporttype, filter, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetDefaultFilter(&self, reporttype: FsrmReportType, filter: FsrmReportFilter) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultFilter)(windows_core::Interface::as_raw(self), reporttype, filter, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetDefaultFilter(&self, reporttype: FsrmReportType, filter: FsrmReportFilter, filtervalue: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDefaultFilter)(windows_core::Interface::as_raw(self), reporttype, filter, core::mem::transmute_copy(filtervalue)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetReportSizeLimit(&self, limit: FsrmReportLimit) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReportSizeLimit)(windows_core::Interface::as_raw(self), limit, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetReportSizeLimit(&self, limit: FsrmReportLimit, limitvalue: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetReportSizeLimit)(windows_core::Interface::as_raw(self), limit, core::mem::transmute_copy(limitvalue)).ok() } } @@ -9639,21 +9463,21 @@ pub struct IFsrmReportManager_Vtbl { pub GetOutputDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportGenerationContext, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetOutputDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportGenerationContext, *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsFilterValidForReportType: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportType, FsrmReportFilter, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetDefaultFilter: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportType, FsrmReportFilter, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetDefaultFilter: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetDefaultFilter: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportType, FsrmReportFilter, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetDefaultFilter: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetReportSizeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportLimit, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetReportSizeLimit: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetReportSizeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportLimit, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetReportSizeLimit: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9807,15 +9631,15 @@ impl core::ops::Deref for IFsrmReportScheduler { windows_core::imp::interface_hierarchy!(IFsrmReportScheduler, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IFsrmReportScheduler { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn VerifyNamespaces(&self, namespacessafearray: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).VerifyNamespaces)(windows_core::Interface::as_raw(self), core::mem::transmute(namespacessafearray)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateScheduleTask(&self, taskname: &windows_core::BSTR, namespacessafearray: *const super::super::System::Variant::VARIANT, serializedtask: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).CreateScheduleTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(taskname), core::mem::transmute(namespacessafearray), core::mem::transmute_copy(serializedtask)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ModifyScheduleTask(&self, taskname: &windows_core::BSTR, namespacessafearray: *const super::super::System::Variant::VARIANT, serializedtask: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ModifyScheduleTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(taskname), core::mem::transmute(namespacessafearray), core::mem::transmute_copy(serializedtask)).ok() } } @@ -9827,17 +9651,17 @@ impl IFsrmReportScheduler { #[repr(C)] pub struct IFsrmReportScheduler_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub VerifyNamespaces: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] VerifyNamespaces: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateScheduleTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateScheduleTask: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ModifyScheduleTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ModifyScheduleTask: usize, pub DeleteScheduleTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -9926,14 +9750,12 @@ impl IFsrmRule { pub unsafe fn SetModuleDefinitionName(&self, moduledefinitionname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetModuleDefinitionName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(moduledefinitionname)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn NamespaceRoots(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NamespaceRoots)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetNamespaceRoots(&self, namespaceroots: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetNamespaceRoots)(windows_core::Interface::as_raw(self), namespaceroots).ok() } } @@ -9946,18 +9768,16 @@ impl IFsrmRule { pub unsafe fn SetRuleFlags(&self, ruleflags: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetRuleFlags)(windows_core::Interface::as_raw(self), ruleflags).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetParameters(&self, parameters: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetParameters)(windows_core::Interface::as_raw(self), parameters).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LastModified(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9974,27 +9794,15 @@ pub struct IFsrmRule_Vtbl { pub RuleType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmRuleType) -> windows_core::HRESULT, pub ModuleDefinitionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetModuleDefinitionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub NamespaceRoots: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - NamespaceRoots: usize, - #[cfg(feature = "Win32_System_Com")] pub SetNamespaceRoots: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetNamespaceRoots: usize, pub RuleFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetRuleFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Parameters: usize, - #[cfg(feature = "Win32_System_Com")] pub SetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetParameters: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LastModified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LastModified: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] 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 fb8c2b520a..03acd7c918 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs @@ -756,7 +756,6 @@ impl core::ops::Deref for IBlockRangeList { windows_core::imp::interface_hierarchy!(IBlockRangeList, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IBlockRangeList { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn BlockRanges(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -768,10 +767,7 @@ impl IBlockRangeList { #[repr(C)] pub struct IBlockRangeList_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub BlockRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - BlockRanges: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IBlockRangeList_Impl: super::super::System::Com::IDispatch_Impl { @@ -813,7 +809,6 @@ impl core::ops::Deref for IBootOptions { windows_core::imp::interface_hierarchy!(IBootOptions, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IBootOptions { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn BootImage(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -853,7 +848,6 @@ impl IBootOptions { (windows_core::Interface::vtable(self).ImageSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn AssignBootImage(&self, newval: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -865,10 +859,7 @@ impl IBootOptions { #[repr(C)] pub struct IBootOptions_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub BootImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - BootImage: usize, pub Manufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub PlatformId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PlatformId) -> windows_core::HRESULT, @@ -876,10 +867,7 @@ pub struct IBootOptions_Vtbl { pub Emulation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmulationType) -> windows_core::HRESULT, pub SetEmulation: unsafe extern "system" fn(*mut core::ffi::c_void, EmulationType) -> windows_core::HRESULT, pub ImageSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub AssignBootImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - AssignBootImage: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IBootOptions_Impl: super::super::System::Com::IDispatch_Impl { @@ -1096,7 +1084,6 @@ impl IDiscFormat2 { (windows_core::Interface::vtable(self).MediaHeuristicallyBlank)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedMediaTypes(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -1112,10 +1099,7 @@ pub struct IDiscFormat2_Vtbl { pub IsCurrentMediaSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub MediaPhysicallyBlank: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub MediaHeuristicallyBlank: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub SupportedMediaTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SupportedMediaTypes: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IDiscFormat2_Impl: super::super::System::Com::IDispatch_Impl { @@ -1345,14 +1329,12 @@ impl IDiscFormat2Data { (windows_core::Interface::vtable(self).CurrentRotationTypeIsPureCAV)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeeds(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedWriteSpeeds)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeedDescriptors(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -1368,14 +1350,12 @@ impl IDiscFormat2Data { (windows_core::Interface::vtable(self).ForceOverwrite)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn MultisessionInterfaces(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MultisessionInterfaces)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Write(&self, data: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -1417,24 +1397,12 @@ pub struct IDiscFormat2Data_Vtbl { pub RequestedRotationTypeIsPureCAV: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CurrentWriteSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CurrentRotationTypeIsPureCAV: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub SupportedWriteSpeeds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SupportedWriteSpeeds: usize, - #[cfg(feature = "Win32_System_Com")] pub SupportedWriteSpeedDescriptors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SupportedWriteSpeedDescriptors: usize, pub SetForceOverwrite: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ForceOverwrite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub MultisessionInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - MultisessionInterfaces: usize, - #[cfg(feature = "Win32_System_Com")] pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Write: usize, pub CancelWrite: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetWriteSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -2147,14 +2115,12 @@ impl IDiscFormat2RawCD { pub unsafe fn PrepareMedia(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).PrepareMedia)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn WriteMedia(&self, data: P0) -> windows_core::Result<()> where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).WriteMedia)(windows_core::Interface::as_raw(self), data.param().abi()).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn WriteMedia2(&self, data: P0, streamleadinsectors: i32) -> windows_core::Result<()> where P0: windows_core::Param, @@ -2209,7 +2175,6 @@ impl IDiscFormat2RawCD { (windows_core::Interface::vtable(self).CurrentPhysicalMediaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedSectorTypes(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -2258,14 +2223,12 @@ impl IDiscFormat2RawCD { (windows_core::Interface::vtable(self).CurrentRotationTypeIsPureCAV)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeeds(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedWriteSpeeds)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeedDescriptors(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -2278,14 +2241,8 @@ impl IDiscFormat2RawCD { pub struct IDiscFormat2RawCD_Vtbl { pub base__: IDiscFormat2_Vtbl, pub PrepareMedia: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub WriteMedia: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - WriteMedia: usize, - #[cfg(feature = "Win32_System_Com")] pub WriteMedia2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - WriteMedia2: usize, pub CancelWrite: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ReleaseMedia: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetWriteSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -2296,10 +2253,7 @@ pub struct IDiscFormat2RawCD_Vtbl { pub StartOfNextSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub LastPossibleStartOfLeadout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CurrentPhysicalMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMAPI_MEDIA_PHYSICAL_TYPE) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub SupportedSectorTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SupportedSectorTypes: usize, pub SetRequestedSectorType: unsafe extern "system" fn(*mut core::ffi::c_void, IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE) -> windows_core::HRESULT, pub RequestedSectorType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE) -> windows_core::HRESULT, pub SetClientName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2308,14 +2262,8 @@ pub struct IDiscFormat2RawCD_Vtbl { pub RequestedRotationTypeIsPureCAV: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CurrentWriteSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CurrentRotationTypeIsPureCAV: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub SupportedWriteSpeeds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SupportedWriteSpeeds: usize, - #[cfg(feature = "Win32_System_Com")] pub SupportedWriteSpeedDescriptors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SupportedWriteSpeedDescriptors: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IDiscFormat2RawCD_Impl: IDiscFormat2_Impl { @@ -2723,7 +2671,6 @@ impl IDiscFormat2TrackAtOnce { pub unsafe fn PrepareMedia(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).PrepareMedia)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn AddAudioTrack(&self, data: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -2793,7 +2740,6 @@ impl IDiscFormat2TrackAtOnce { (windows_core::Interface::vtable(self).DoNotFinalizeMedia)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExpectedTableOfContents(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -2839,14 +2785,12 @@ impl IDiscFormat2TrackAtOnce { (windows_core::Interface::vtable(self).CurrentRotationTypeIsPureCAV)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeeds(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedWriteSpeeds)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeedDescriptors(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -2859,10 +2803,7 @@ impl IDiscFormat2TrackAtOnce { pub struct IDiscFormat2TrackAtOnce_Vtbl { pub base__: IDiscFormat2_Vtbl, pub PrepareMedia: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub AddAudioTrack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - AddAudioTrack: usize, pub CancelAddTrack: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ReleaseMedia: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetWriteSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -2876,10 +2817,7 @@ pub struct IDiscFormat2TrackAtOnce_Vtbl { pub UsedSectorsOnMedia: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetDoNotFinalizeMedia: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub DoNotFinalizeMedia: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub ExpectedTableOfContents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ExpectedTableOfContents: usize, pub CurrentPhysicalMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMAPI_MEDIA_PHYSICAL_TYPE) -> windows_core::HRESULT, pub SetClientName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ClientName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2887,14 +2825,8 @@ pub struct IDiscFormat2TrackAtOnce_Vtbl { pub RequestedRotationTypeIsPureCAV: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CurrentWriteSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CurrentRotationTypeIsPureCAV: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub SupportedWriteSpeeds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SupportedWriteSpeeds: usize, - #[cfg(feature = "Win32_System_Com")] pub SupportedWriteSpeedDescriptors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SupportedWriteSpeedDescriptors: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IDiscFormat2TrackAtOnce_Impl: IDiscFormat2_Impl { @@ -4128,7 +4060,6 @@ impl IDiscRecorder2 { (windows_core::Interface::vtable(self).VolumeName)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn VolumePathNames(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -4147,35 +4078,30 @@ impl IDiscRecorder2 { (windows_core::Interface::vtable(self).LegacyDeviceNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedFeaturePages(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedFeaturePages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentFeaturePages(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentFeaturePages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedProfiles(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedProfiles)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentProfiles(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentProfiles)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedModePages(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -4205,32 +4131,14 @@ pub struct IDiscRecorder2_Vtbl { pub ProductId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProductRevision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub VolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub VolumePathNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - VolumePathNames: usize, pub DeviceCanLoadMedia: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub LegacyDeviceNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub SupportedFeaturePages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SupportedFeaturePages: usize, - #[cfg(feature = "Win32_System_Com")] pub CurrentFeaturePages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CurrentFeaturePages: usize, - #[cfg(feature = "Win32_System_Com")] pub SupportedProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SupportedProfiles: usize, - #[cfg(feature = "Win32_System_Com")] pub CurrentProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CurrentProfiles: usize, - #[cfg(feature = "Win32_System_Com")] pub SupportedModePages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SupportedModePages: usize, pub ExclusiveAccessOwner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -5236,7 +5144,6 @@ impl IFileSystemImage { (windows_core::Interface::vtable(self).UDFRevision)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn UDFRevisionsSupported(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -5261,7 +5168,6 @@ impl IFileSystemImage { (windows_core::Interface::vtable(self).ISO9660InterchangeLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ISO9660InterchangeLevelsSupported(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -5355,14 +5261,12 @@ impl IFileSystemImage { pub unsafe fn SetStageFiles(&self, newval: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetStageFiles)(windows_core::Interface::as_raw(self), newval).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn MultisessionInterfaces(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MultisessionInterfaces)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetMultisessionInterfaces(&self, newval: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetMultisessionInterfaces)(windows_core::Interface::as_raw(self), newval).ok() } } @@ -5397,18 +5301,12 @@ pub struct IFileSystemImage_Vtbl { pub FileSystemsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsiFileSystems) -> windows_core::HRESULT, pub SetUDFRevision: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub UDFRevision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub UDFRevisionsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - UDFRevisionsSupported: usize, pub ChooseImageDefaults: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ChooseImageDefaultsForMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, IMAPI_MEDIA_PHYSICAL_TYPE) -> windows_core::HRESULT, pub SetISO9660InterchangeLevel: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ISO9660InterchangeLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub ISO9660InterchangeLevelsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ISO9660InterchangeLevelsSupported: usize, pub CreateResultImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Exists: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut FsiItemType) -> windows_core::HRESULT, pub CalculateDiscIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5425,14 +5323,8 @@ pub struct IFileSystemImage_Vtbl { pub VolumeNameISO9660: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub StageFiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetStageFiles: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub MultisessionInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - MultisessionInterfaces: usize, - #[cfg(feature = "Win32_System_Com")] pub SetMultisessionInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetMultisessionInterfaces: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IFileSystemImage_Impl: super::super::System::Com::IDispatch_Impl { @@ -6055,14 +5947,12 @@ impl core::ops::Deref for IFileSystemImage2 { windows_core::imp::interface_hierarchy!(IFileSystemImage2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFileSystemImage); #[cfg(feature = "Win32_System_Com")] impl IFileSystemImage2 { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn BootImageOptionsArray(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BootImageOptionsArray)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetBootImageOptionsArray(&self, newval: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBootImageOptionsArray)(windows_core::Interface::as_raw(self), newval).ok() } } @@ -6071,14 +5961,8 @@ impl IFileSystemImage2 { #[repr(C)] pub struct IFileSystemImage2_Vtbl { pub base__: IFileSystemImage_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub BootImageOptionsArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - BootImageOptionsArray: usize, - #[cfg(feature = "Win32_System_Com")] pub SetBootImageOptionsArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetBootImageOptionsArray: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IFileSystemImage2_Impl: IFileSystemImage_Impl { @@ -6220,7 +6104,6 @@ impl core::ops::Deref for IFileSystemImageResult { windows_core::imp::interface_hierarchy!(IFileSystemImageResult, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IFileSystemImageResult { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ImageStream(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6256,10 +6139,7 @@ impl IFileSystemImageResult { #[repr(C)] pub struct IFileSystemImageResult_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub ImageStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ImageStream: usize, pub ProgressItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TotalBlocks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub BlockSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -6445,7 +6325,6 @@ impl IFsiDirectoryItem { pub unsafe fn AddDirectory(&self, path: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddDirectory)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(path)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn AddFile(&self, path: &windows_core::BSTR, filedata: P1) -> windows_core::Result<()> where P1: windows_core::Param, @@ -6480,10 +6359,7 @@ pub struct IFsiDirectoryItem_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub EnumFsiItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub AddFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - AddFile: usize, pub AddTree: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6684,14 +6560,12 @@ impl IFsiFileItem { (windows_core::Interface::vtable(self).DataSize32BitHigh)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Data(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Data)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetData(&self, newval: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -6706,14 +6580,8 @@ pub struct IFsiFileItem_Vtbl { pub DataSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, pub DataSize32BitLow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub DataSize32BitHigh: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Data: usize, - #[cfg(feature = "Win32_System_Com")] pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetData: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IFsiFileItem_Impl: IFsiItem_Impl { @@ -6820,7 +6688,6 @@ impl IFsiFileItem2 { (windows_core::Interface::vtable(self).IsNamedStream)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn AddStream(&self, name: &windows_core::BSTR, streamdata: P1) -> windows_core::Result<()> where P1: windows_core::Param, @@ -6846,10 +6713,7 @@ pub struct IFsiFileItem2_Vtbl { pub base__: IFsiFileItem_Vtbl, pub FsiNamedStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsNamedStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub AddStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - AddStream: usize, pub RemoveStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsRealTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetIsRealTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -7329,7 +7193,6 @@ impl IIsoImageManager { (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Stream(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7339,7 +7202,6 @@ impl IIsoImageManager { pub unsafe fn SetPath(&self, val: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPath)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(val)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetStream(&self, data: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -7355,15 +7217,9 @@ impl IIsoImageManager { pub struct IIsoImageManager_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub Stream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Stream: usize, pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub SetStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetStream: usize, pub Validate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8688,14 +8544,12 @@ impl core::ops::Deref for IRawCDImageCreator { windows_core::imp::interface_hierarchy!(IRawCDImageCreator, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IRawCDImageCreator { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateResultImage(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateResultImage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn AddTrack(&self, datatype: IMAPI_CD_SECTOR_TYPE, data: P1) -> windows_core::Result where P1: windows_core::Param, @@ -8705,14 +8559,12 @@ impl IRawCDImageCreator { (windows_core::Interface::vtable(self).AddTrack)(windows_core::Interface::as_raw(self), datatype, data.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn AddSpecialPregap(&self, data: P0) -> windows_core::Result<()> where P0: windows_core::Param, { unsafe { (windows_core::Interface::vtable(self).AddSpecialPregap)(windows_core::Interface::as_raw(self), data.param().abi()).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn AddSubcodeRWGenerator(&self, subcode: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -8788,7 +8640,6 @@ impl IRawCDImageCreator { (windows_core::Interface::vtable(self).LastUsedUserSectorInImage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExpectedTableOfContents(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -8800,22 +8651,10 @@ impl IRawCDImageCreator { #[repr(C)] pub struct IRawCDImageCreator_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub CreateResultImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CreateResultImage: usize, - #[cfg(feature = "Win32_System_Com")] pub AddTrack: unsafe extern "system" fn(*mut core::ffi::c_void, IMAPI_CD_SECTOR_TYPE, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - AddTrack: usize, - #[cfg(feature = "Win32_System_Com")] pub AddSpecialPregap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - AddSpecialPregap: usize, - #[cfg(feature = "Win32_System_Com")] pub AddSubcodeRWGenerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - AddSubcodeRWGenerator: usize, pub SetResultingImageType: unsafe extern "system" fn(*mut core::ffi::c_void, IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE) -> windows_core::HRESULT, pub ResultingImageType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE) -> windows_core::HRESULT, pub StartOfLeadout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -8830,10 +8669,7 @@ pub struct IRawCDImageCreator_Vtbl { pub get_TrackInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub NumberOfExistingTracks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub LastUsedUserSectorInImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub ExpectedTableOfContents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ExpectedTableOfContents: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IRawCDImageCreator_Impl: super::super::System::Com::IDispatch_Impl { @@ -9139,7 +8975,6 @@ impl IRawCDImageTrackInfo { pub unsafe fn SetAudioHasPreemphasis(&self, value: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetAudioHasPreemphasis)(windows_core::Interface::as_raw(self), value).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn TrackIndexes(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -9167,10 +9002,7 @@ pub struct IRawCDImageTrackInfo_Vtbl { pub SetDigitalAudioCopySetting: unsafe extern "system" fn(*mut core::ffi::c_void, IMAPI_CD_TRACK_DIGITAL_COPY_SETTING) -> windows_core::HRESULT, pub AudioHasPreemphasis: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetAudioHasPreemphasis: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub TrackIndexes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - TrackIndexes: usize, pub AddTrackIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ClearTrackIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -9743,7 +9575,6 @@ impl core::ops::Deref for IWriteEngine2 { windows_core::imp::interface_hierarchy!(IWriteEngine2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IWriteEngine2 { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn WriteSection(&self, data: P0, startingblockaddress: i32, numberofblocks: i32) -> windows_core::Result<()> where P0: windows_core::Param, @@ -9812,10 +9643,7 @@ impl IWriteEngine2 { #[repr(C)] pub struct IWriteEngine2_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub WriteSection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - WriteSection: usize, pub CancelWrite: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRecorder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Recorder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs index 57ba7c40a9..42b1745de0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs @@ -243,7 +243,7 @@ impl IProvideWinSATResultsInfo { (windows_core::Interface::vtable(self).AssessmentState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AssessmentDateTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -269,9 +269,9 @@ pub struct IProvideWinSATResultsInfo_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub GetAssessmentInfo: unsafe extern "system" fn(*mut core::ffi::c_void, WINSAT_ASSESSMENT_TYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AssessmentState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WINSAT_ASSESSMENT_STATE) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AssessmentDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AssessmentDateTime: usize, pub SystemRating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub RatingStateDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs index df1e7d62f7..9fed01b7ab 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs @@ -1014,7 +1014,6 @@ impl core::ops::Deref for IAssemblyLocator { windows_core::imp::interface_hierarchy!(IAssemblyLocator, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IAssemblyLocator { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetModules(&self, applicationdir: &windows_core::BSTR, applicationname: &windows_core::BSTR, assemblyname: &windows_core::BSTR) -> windows_core::Result<*mut super::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -1026,10 +1025,7 @@ impl IAssemblyLocator { #[repr(C)] pub struct IAssemblyLocator_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub GetModules: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetModules: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IAssemblyLocator_Impl: super::Com::IDispatch_Impl { @@ -1125,7 +1121,6 @@ impl ICOMAdminCatalog { (windows_core::Interface::vtable(self).MinorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCollectionByQuery(&self, bstrcollname: &windows_core::BSTR, ppsavarquery: *const *const super::Com::SAFEARRAY) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1162,11 +1157,9 @@ impl ICOMAdminCatalog { pub unsafe fn Reserved2(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Reserved2)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn InstallMultipleComponents(&self, bstrapplidorname: &windows_core::BSTR, ppsavarfilenames: *const *const super::Com::SAFEARRAY, ppsavarclsids: *const *const super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InstallMultipleComponents)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrapplidorname), ppsavarfilenames, ppsavarclsids).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMultipleComponentsInfo(&self, bstrapplidorname: &windows_core::BSTR, ppsavarfilenames: *const *const super::Com::SAFEARRAY, ppsavarclsids: *mut *mut super::Com::SAFEARRAY, ppsavarclassnames: *mut *mut super::Com::SAFEARRAY, ppsavarfileflags: *mut *mut super::Com::SAFEARRAY, ppsavarcomponentflags: *mut *mut super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetMultipleComponentsInfo)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrapplidorname), ppsavarfilenames, ppsavarclsids as _, ppsavarclassnames as _, ppsavarfileflags as _, ppsavarcomponentflags as _).ok() } } @@ -1179,7 +1172,6 @@ impl ICOMAdminCatalog { pub unsafe fn RestoreREGDB(&self, bstrbackupfilepath: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RestoreREGDB)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrbackupfilepath)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryApplicationFile(&self, bstrapplicationfile: &windows_core::BSTR, pbstrapplicationname: *mut windows_core::BSTR, pbstrapplicationdescription: *mut windows_core::BSTR, pbhasusers: *mut super::super::Foundation::VARIANT_BOOL, pbisproxy: *mut super::super::Foundation::VARIANT_BOOL, ppsavarfilenames: *mut *mut super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).QueryApplicationFile)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrapplicationfile), core::mem::transmute(pbstrapplicationname), core::mem::transmute(pbstrapplicationdescription), pbhasusers as _, pbisproxy as _, ppsavarfilenames as _).ok() } } @@ -1192,14 +1184,12 @@ impl ICOMAdminCatalog { (windows_core::Interface::vtable(self).ServiceCheck)(windows_core::Interface::as_raw(self), lservice, &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn InstallMultipleEventClasses(&self, bstrapplidorname: &windows_core::BSTR, ppsavarfilenames: *const *const super::Com::SAFEARRAY, ppsavarclsids: *const *const super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InstallMultipleEventClasses)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrapplidorname), ppsavarfilenames, ppsavarclsids).ok() } } pub unsafe fn InstallEventClass(&self, bstrapplidorname: &windows_core::BSTR, bstrdll: &windows_core::BSTR, bstrtlb: &windows_core::BSTR, bstrpsdll: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InstallEventClass)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrapplidorname), core::mem::transmute_copy(bstrdll), core::mem::transmute_copy(bstrtlb), core::mem::transmute_copy(bstrpsdll)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEventClassesForIID(&self, bstriid: &windows_core::BSTR, ppsavarclsids: *mut *mut super::Com::SAFEARRAY, ppsavarprogids: *mut *mut super::Com::SAFEARRAY, ppsavardescriptions: *mut *mut super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetEventClassesForIID)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstriid), ppsavarclsids as _, ppsavarprogids as _, ppsavardescriptions as _).ok() } } @@ -1212,10 +1202,7 @@ pub struct ICOMAdminCatalog_Vtbl { pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MajorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MinorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub GetCollectionByQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const *const super::Com::SAFEARRAY, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetCollectionByQuery: usize, pub ImportComponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub InstallComponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShutdownApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1226,32 +1213,17 @@ pub struct ICOMAdminCatalog_Vtbl { pub StartRouter: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Reserved1: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Reserved2: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub InstallMultipleComponents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const *const super::Com::SAFEARRAY, *const *const super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - InstallMultipleComponents: usize, - #[cfg(feature = "Win32_System_Com")] pub GetMultipleComponentsInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const *const super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetMultipleComponentsInfo: usize, pub RefreshComponents: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub BackupREGDB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RestoreREGDB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub QueryApplicationFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL, *mut super::super::Foundation::VARIANT_BOOL, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - QueryApplicationFile: usize, pub StartApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ServiceCheck: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub InstallMultipleEventClasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const *const super::Com::SAFEARRAY, *const *const super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - InstallMultipleEventClasses: usize, pub InstallEventClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub GetEventClassesForIID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetEventClassesForIID: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait ICOMAdminCatalog_Impl: super::Com::IDispatch_Impl { @@ -1526,7 +1498,7 @@ impl core::ops::Deref for ICOMAdminCatalog2 { windows_core::imp::interface_hierarchy!(ICOMAdminCatalog2, windows_core::IUnknown, super::Com::IDispatch, ICOMAdminCatalog); #[cfg(feature = "Win32_System_Com")] impl ICOMAdminCatalog2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetCollectionByQuery2(&self, bstrcollectionname: &windows_core::BSTR, pvarquerystrings: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1539,23 +1511,23 @@ impl ICOMAdminCatalog2 { (windows_core::Interface::vtable(self).GetApplicationInstanceIDFromProcessID)(windows_core::Interface::as_raw(self), lprocessid, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ShutdownApplicationInstances(&self, pvarapplicationinstanceid: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ShutdownApplicationInstances)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarapplicationinstanceid)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PauseApplicationInstances(&self, pvarapplicationinstanceid: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).PauseApplicationInstances)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarapplicationinstanceid)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ResumeApplicationInstances(&self, pvarapplicationinstanceid: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ResumeApplicationInstances)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarapplicationinstanceid)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RecycleApplicationInstances(&self, pvarapplicationinstanceid: *const super::Variant::VARIANT, lreasoncode: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RecycleApplicationInstances)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarapplicationinstanceid), lreasoncode).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AreApplicationInstancesPaused(&self, pvarapplicationinstanceid: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1616,15 +1588,15 @@ impl ICOMAdminCatalog2 { pub unsafe fn FlushPartitionCache(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).FlushPartitionCache)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CopyApplications(&self, bstrsourcepartitionidorname: &windows_core::BSTR, pvarapplicationid: *const super::Variant::VARIANT, bstrdestinationpartitionidorname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).CopyApplications)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrsourcepartitionidorname), core::mem::transmute(pvarapplicationid), core::mem::transmute_copy(bstrdestinationpartitionidorname)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CopyComponents(&self, bstrsourceapplicationidorname: &windows_core::BSTR, pvarclsidorprogid: *const super::Variant::VARIANT, bstrdestinationapplicationidorname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).CopyComponents)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrsourceapplicationidorname), core::mem::transmute(pvarclsidorprogid), core::mem::transmute_copy(bstrdestinationapplicationidorname)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn MoveComponents(&self, bstrsourceapplicationidorname: &windows_core::BSTR, pvarclsidorprogid: *const super::Variant::VARIANT, bstrdestinationapplicationidorname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).MoveComponents)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrsourceapplicationidorname), core::mem::transmute(pvarclsidorprogid), core::mem::transmute_copy(bstrdestinationapplicationidorname)).ok() } } @@ -1637,15 +1609,15 @@ impl ICOMAdminCatalog2 { (windows_core::Interface::vtable(self).IsSafeToDelete)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrdllname), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ImportUnconfiguredComponents(&self, bstrapplicationidorname: &windows_core::BSTR, pvarclsidorprogid: *const super::Variant::VARIANT, pvarcomponenttype: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ImportUnconfiguredComponents)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrapplicationidorname), core::mem::transmute(pvarclsidorprogid), core::mem::transmute(pvarcomponenttype)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PromoteUnconfiguredComponents(&self, bstrapplicationidorname: &windows_core::BSTR, pvarclsidorprogid: *const super::Variant::VARIANT, pvarcomponenttype: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).PromoteUnconfiguredComponents)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrapplicationidorname), core::mem::transmute(pvarclsidorprogid), core::mem::transmute(pvarcomponenttype)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ImportComponents(&self, bstrapplicationidorname: &windows_core::BSTR, pvarclsidorprogid: *const super::Variant::VARIANT, pvarcomponenttype: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ImportComponents)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrapplicationidorname), core::mem::transmute(pvarclsidorprogid), core::mem::transmute(pvarcomponenttype)).ok() } } @@ -1678,30 +1650,30 @@ impl ICOMAdminCatalog2 { #[repr(C)] pub struct ICOMAdminCatalog2_Vtbl { pub base__: ICOMAdminCatalog_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetCollectionByQuery2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetCollectionByQuery2: usize, pub GetApplicationInstanceIDFromProcessID: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ShutdownApplicationInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ShutdownApplicationInstances: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PauseApplicationInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PauseApplicationInstances: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ResumeApplicationInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ResumeApplicationInstances: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RecycleApplicationInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RecycleApplicationInstances: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AreApplicationInstancesPaused: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AreApplicationInstancesPaused: usize, pub DumpApplicationInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsApplicationInstanceDumpSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -1714,31 +1686,31 @@ pub struct ICOMAdminCatalog2_Vtbl { pub CurrentPartitionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GlobalPartitionID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FlushPartitionCache: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CopyApplications: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CopyApplications: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CopyComponents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CopyComponents: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub MoveComponents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] MoveComponents: usize, pub AliasComponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsSafeToDelete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut COMAdminInUse) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ImportUnconfiguredComponents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ImportUnconfiguredComponents: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PromoteUnconfiguredComponents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PromoteUnconfiguredComponents: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ImportComponents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ImportComponents: usize, pub Is64BitCatalogServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ExportPartition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, COMAdminApplicationExportOptions) -> windows_core::HRESULT, @@ -2212,14 +2184,14 @@ impl ICatalogCollection { (windows_core::Interface::vtable(self).SaveChanges)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetCollection(&self, bstrcollname: &windows_core::BSTR, varobjectkey: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCollection)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrcollname), core::mem::transmute_copy(varobjectkey), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Name(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2256,7 +2228,6 @@ impl ICatalogCollection { (windows_core::Interface::vtable(self).DataStoreMinorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn PopulateByKey(&self, psakeys: *const super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).PopulateByKey)(windows_core::Interface::as_raw(self), psakeys).ok() } } @@ -2275,23 +2246,20 @@ pub struct ICatalogCollection_Vtbl { pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Populate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveChanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetCollection: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Name: usize, pub AddEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub RemoveEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub GetUtilInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DataStoreMajorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub DataStoreMinorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub PopulateByKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - PopulateByKey: usize, pub PopulateByQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -2523,25 +2491,25 @@ impl core::ops::Deref for ICatalogObject { windows_core::imp::interface_hierarchy!(ICatalogObject, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ICatalogObject { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Value(&self, bstrpropname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Value)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrpropname), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn put_Value(&self, bstrpropname: &windows_core::BSTR, val: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).put_Value)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrpropname), core::mem::transmute_copy(val)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Key(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Key)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Name(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2571,21 +2539,21 @@ impl ICatalogObject { #[repr(C)] pub struct ICatalogObject_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub put_Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] put_Value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Key: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Key: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Name: usize, pub IsPropertyReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Valid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -6239,7 +6207,7 @@ impl core::ops::Deref for ICrmMonitorClerks { windows_core::imp::interface_hierarchy!(ICrmMonitorClerks, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ICrmMonitorClerks { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Item(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6258,28 +6226,28 @@ impl ICrmMonitorClerks { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ProgIdCompensator(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProgIdCompensator)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Description(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn TransactionUOW(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransactionUOW)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ActivityId(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6291,27 +6259,27 @@ impl ICrmMonitorClerks { #[repr(C)] pub struct ICrmMonitorClerks_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ProgIdCompensator: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ProgIdCompensator: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Description: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub TransactionUOW: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] TransactionUOW: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ActivityId: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7849,7 +7817,7 @@ impl IMtsEventInfo { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Value(&self, skey: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7865,9 +7833,9 @@ pub struct IMtsEventInfo_Vtbl { pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EventID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Value: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7981,7 +7949,7 @@ impl IMtsEvents { (windows_core::Interface::vtable(self).PackageGuid)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PostEvent(&self, vevent: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).PostEvent)(windows_core::Interface::as_raw(self), core::mem::transmute(vevent)).ok() } } @@ -8004,9 +7972,9 @@ pub struct IMtsEvents_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub PackageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PackageGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PostEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PostEvent: usize, pub FireEvents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub GetProcessID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -8911,7 +8879,7 @@ impl ISecurityCallContext { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, name: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8936,7 +8904,7 @@ impl ISecurityCallContext { (windows_core::Interface::vtable(self).IsSecurityEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn IsUserInRole(&self, puser: *const super::Variant::VARIANT, bstrrole: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8949,16 +8917,16 @@ impl ISecurityCallContext { pub struct ISecurityCallContext_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsCallerInRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsSecurityEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub IsUserInRole: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] IsUserInRole: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9178,7 +9146,7 @@ impl ISecurityIdentityColl { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, name: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9197,9 +9165,9 @@ impl ISecurityIdentityColl { pub struct ISecurityIdentityColl_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -10278,14 +10246,14 @@ impl core::ops::Deref for ISharedProperty { windows_core::imp::interface_hierarchy!(ISharedProperty, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ISharedProperty { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetValue(&self, val: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(val)).ok() } } @@ -10294,13 +10262,13 @@ impl ISharedProperty { #[repr(C)] pub struct ISharedProperty_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetValue: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -10726,7 +10694,7 @@ impl core::ops::Deref for ITransactionContext { windows_core::imp::interface_hierarchy!(ITransactionContext, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ITransactionContext { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateInstance(&self, pszprogid: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10744,9 +10712,9 @@ impl ITransactionContext { #[repr(C)] pub struct ITransactionContext_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateInstance: usize, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -11399,7 +11367,7 @@ impl core::ops::Deref for ObjectContext { windows_core::imp::interface_hierarchy!(ObjectContext, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ObjectContext { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateInstance(&self, bstrprogid: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11442,7 +11410,7 @@ impl ObjectContext { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, name: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11472,9 +11440,9 @@ impl ObjectContext { #[repr(C)] pub struct ObjectContext_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateInstance: usize, pub SetComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -11484,9 +11452,9 @@ pub struct ObjectContext_Vtbl { pub IsSecurityEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsCallerInRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Security: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs index c23c72c981..d7fa692be7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs @@ -1082,7 +1082,6 @@ impl IRDPSRAPIFrameBuffer { (windows_core::Interface::vtable(self).Bpp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFrameBufferBits(&self, x: i32, y: i32, width: i32, heigth: i32) -> windows_core::Result<*mut super::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -1097,10 +1096,7 @@ pub struct IRDPSRAPIFrameBuffer_Vtbl { pub Width: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Height: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Bpp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub GetFrameBufferBits: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetFrameBufferBits: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IRDPSRAPIFrameBuffer_Impl: super::Com::IDispatch_Impl { @@ -1357,7 +1353,7 @@ impl IRDPSRAPIInvitationManager { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, item: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1382,9 +1378,9 @@ impl IRDPSRAPIInvitationManager { pub struct IRDPSRAPIInvitationManager_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CreateInvitation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1543,14 +1539,14 @@ impl core::ops::Deref for IRDPSRAPISessionProperties { windows_core::imp::interface_hierarchy!(IRDPSRAPISessionProperties, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPISessionProperties { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Property(&self, propertyname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Property)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(propertyname), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn put_Property(&self, propertyname: &windows_core::BSTR, newval: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).put_Property)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(propertyname), core::mem::transmute_copy(newval)).ok() } } @@ -1559,13 +1555,13 @@ impl IRDPSRAPISessionProperties { #[repr(C)] pub struct IRDPSRAPISessionProperties_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Property: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub put_Property: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] put_Property: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -2880,7 +2876,7 @@ impl IRDPSRAPIVirtualChannelManager { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, item: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2899,9 +2895,9 @@ impl IRDPSRAPIVirtualChannelManager { pub struct IRDPSRAPIVirtualChannelManager_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub CreateVirtualChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, CHANNEL_PRIORITY, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } diff --git a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs index fdc45b5698..61828944a6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs @@ -1032,7 +1032,7 @@ impl core::ops::Deref for IGPMAsyncProgress { windows_core::imp::interface_hierarchy!(IGPMAsyncProgress, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IGPMAsyncProgress { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Status(&self, lprogressnumerator: i32, lprogressdenominator: i32, hrstatus: windows_core::HRESULT, presult: *const super::Variant::VARIANT, ppigpmstatusmsgcollection: P4) -> windows_core::Result<()> where P4: windows_core::Param, @@ -1044,9 +1044,9 @@ impl IGPMAsyncProgress { #[repr(C)] pub struct IGPMAsyncProgress_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, windows_core::HRESULT, *const super::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Status: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -1128,7 +1128,7 @@ impl IGPMBackup { pub unsafe fn Delete(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GenerateReport(&self, gpmreporttype: GPMReportType, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *mut super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1154,9 +1154,9 @@ pub struct IGPMBackup_Vtbl { pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub BackupDir: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const super::Variant::VARIANT, *mut super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GenerateReport: usize, pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1329,7 +1329,7 @@ impl IGPMBackupCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1349,9 +1349,9 @@ impl IGPMBackupCollection { pub struct IGPMBackupCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1542,14 +1542,14 @@ impl IGPMBackupDirEx { (windows_core::Interface::vtable(self).BackupType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetBackup(&self, bstrid: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackup)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrid), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SearchBackups(&self, pigpmsearchcriteria: P0) -> windows_core::Result where P0: windows_core::Param, @@ -1566,13 +1566,13 @@ pub struct IGPMBackupDirEx_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub BackupDir: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub BackupType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GPMBackupType) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetBackup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetBackup: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SearchBackups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SearchBackups: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -1666,7 +1666,7 @@ impl IGPMCSECollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1686,9 +1686,9 @@ impl IGPMCSECollection { pub struct IGPMCSECollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3563,7 +3563,7 @@ impl IGPMDomain { (windows_core::Interface::vtable(self).SearchGPOs)(windows_core::Interface::as_raw(self), pigpmsearchcriteria.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RestoreGPO(&self, pigpmbackup: P0, ldcflags: i32, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *mut super::Variant::VARIANT) -> windows_core::Result where P0: windows_core::Param, @@ -3613,9 +3613,9 @@ pub struct IGPMDomain_Vtbl { pub CreateGPO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetGPO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SearchGPOs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RestoreGPO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *const super::Variant::VARIANT, *mut super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RestoreGPO: usize, pub GetSOM: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SearchSOMs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3821,14 +3821,14 @@ impl IGPMDomain2 { (windows_core::Interface::vtable(self).SearchStarterGPOs)(windows_core::Interface::as_raw(self), pigpmsearchcriteria.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LoadStarterGPO(&self, bstrloadfile: &windows_core::BSTR, boverwrite: super::super::Foundation::VARIANT_BOOL, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *mut super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadStarterGPO)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrloadfile), boverwrite, core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RestoreStarterGPO(&self, pigpmtmplbackup: P0, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *mut super::Variant::VARIANT) -> windows_core::Result where P0: windows_core::Param, @@ -3847,13 +3847,13 @@ pub struct IGPMDomain2_Vtbl { pub CreateGPOFromStarterGPO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetStarterGPO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SearchStarterGPOs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LoadStarterGPO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *const super::Variant::VARIANT, *mut super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LoadStarterGPO: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RestoreStarterGPO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *mut super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RestoreStarterGPO: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -3969,7 +3969,7 @@ impl core::ops::Deref for IGPMDomain3 { windows_core::imp::interface_hierarchy!(IGPMDomain3, windows_core::IUnknown, super::Com::IDispatch, IGPMDomain, IGPMDomain2); #[cfg(feature = "Win32_System_Com")] impl IGPMDomain3 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GenerateReport(&self, gpmreporttype: GPMReportType, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *mut super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -3993,9 +3993,9 @@ impl IGPMDomain3 { #[repr(C)] pub struct IGPMDomain3_Vtbl { pub base__: IGPMDomain2_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const super::Variant::VARIANT, *mut super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GenerateReport: usize, pub InfrastructureDC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetInfrastructureDC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4182,14 +4182,14 @@ impl IGPMGPO { pub unsafe fn Delete(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Backup(&self, bstrbackupdir: &windows_core::BSTR, bstrcomment: &windows_core::BSTR, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *mut super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Backup)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrbackupdir), core::mem::transmute_copy(bstrcomment), core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Import(&self, lflags: i32, pigpmbackup: P1, pvarmigrationtable: *const super::Variant::VARIANT, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *mut super::Variant::VARIANT) -> windows_core::Result where P1: windows_core::Param, @@ -4199,7 +4199,7 @@ impl IGPMGPO { (windows_core::Interface::vtable(self).Import)(windows_core::Interface::as_raw(self), lflags, pigpmbackup.param().abi(), core::mem::transmute(pvarmigrationtable), core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GenerateReport(&self, gpmreporttype: GPMReportType, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *mut super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4212,7 +4212,7 @@ impl IGPMGPO { (windows_core::Interface::vtable(self).GenerateReportToFile)(windows_core::Interface::as_raw(self), gpmreporttype, core::mem::transmute_copy(bstrtargetfilepath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CopyTo(&self, lflags: i32, pigpmdomain: P1, pvarnewdisplayname: *const super::Variant::VARIANT, pvarmigrationtable: *const super::Variant::VARIANT, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *mut super::Variant::VARIANT) -> windows_core::Result where P1: windows_core::Param, @@ -4268,22 +4268,22 @@ pub struct IGPMGPO_Vtbl { pub GetSecurityInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSecurityInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Backup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *mut super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Backup: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Import: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Import: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const super::Variant::VARIANT, *mut super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GenerateReport: usize, pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CopyTo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CopyTo: usize, pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4831,7 +4831,7 @@ impl IGPMGPOCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4851,9 +4851,9 @@ impl IGPMGPOCollection { pub struct IGPMGPOCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5134,7 +5134,7 @@ impl IGPMGPOLinksCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5154,9 +5154,9 @@ impl IGPMGPOLinksCollection { pub struct IGPMGPOLinksCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5359,7 +5359,7 @@ impl IGPMMapEntryCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5379,9 +5379,9 @@ impl IGPMMapEntryCollection { pub struct IGPMMapEntryCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5462,11 +5462,11 @@ impl IGPMMigrationTable { pub unsafe fn Save(&self, bstrmigrationtablepath: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrmigrationtablepath)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Add(&self, lflags: i32, var: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), lflags, core::mem::transmute_copy(var)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddEntry(&self, bstrsource: &windows_core::BSTR, gpmentrytype: GPMEntryType, pvardestination: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5482,7 +5482,7 @@ impl IGPMMigrationTable { pub unsafe fn DeleteEntry(&self, bstrsource: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteEntry)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrsource)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn UpdateDestination(&self, bstrsource: &windows_core::BSTR, pvardestination: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5507,19 +5507,19 @@ impl IGPMMigrationTable { pub struct IGPMMigrationTable_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Add: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddEntry: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, GPMEntryType, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddEntry: usize, pub GetEntry: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteEntry: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub UpdateDestination: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] UpdateDestination: usize, pub Validate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetEntries: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5871,22 +5871,22 @@ impl IGPMRSOP { (windows_core::Interface::vtable(self).PlanningUserSOM)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetPlanningUserWMIFilters(&self, varval: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPlanningUserWMIFilters)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varval)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PlanningUserWMIFilters(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlanningUserWMIFilters)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetPlanningUserSecurityGroups(&self, varval: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPlanningUserSecurityGroups)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varval)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PlanningUserSecurityGroups(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5911,29 +5911,29 @@ impl IGPMRSOP { (windows_core::Interface::vtable(self).PlanningComputerSOM)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetPlanningComputerWMIFilters(&self, varval: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPlanningComputerWMIFilters)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varval)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PlanningComputerWMIFilters(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlanningComputerWMIFilters)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetPlanningComputerSecurityGroups(&self, varval: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPlanningComputerSecurityGroups)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varval)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PlanningComputerSecurityGroups(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlanningComputerSecurityGroups)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LoggingEnumerateUsers(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5946,7 +5946,7 @@ impl IGPMRSOP { pub unsafe fn ReleaseQueryResults(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ReleaseQueryResults)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GenerateReport(&self, gpmreporttype: GPMReportType, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *mut super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5982,51 +5982,51 @@ pub struct IGPMRSOP_Vtbl { pub PlanningUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetPlanningUserSOM: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub PlanningUserSOM: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetPlanningUserWMIFilters: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetPlanningUserWMIFilters: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PlanningUserWMIFilters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PlanningUserWMIFilters: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetPlanningUserSecurityGroups: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetPlanningUserSecurityGroups: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PlanningUserSecurityGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PlanningUserSecurityGroups: usize, pub SetPlanningComputer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub PlanningComputer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetPlanningComputerSOM: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub PlanningComputerSOM: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetPlanningComputerWMIFilters: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetPlanningComputerWMIFilters: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PlanningComputerWMIFilters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PlanningComputerWMIFilters: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetPlanningComputerSecurityGroups: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetPlanningComputerSecurityGroups: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PlanningComputerSecurityGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PlanningComputerSecurityGroups: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LoggingEnumerateUsers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LoggingEnumerateUsers: usize, pub CreateQueryResults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ReleaseQueryResults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const super::Variant::VARIANT, *mut super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GenerateReport: usize, pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -6459,7 +6459,7 @@ impl IGPMResult { (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Result(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6475,9 +6475,9 @@ impl IGPMResult { pub struct IGPMResult_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Result: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Result: usize, pub OverallStatus: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -6785,7 +6785,7 @@ impl IGPMSOMCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6805,9 +6805,9 @@ impl IGPMSOMCollection { pub struct IGPMSOMCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6885,7 +6885,7 @@ impl core::ops::Deref for IGPMSearchCriteria { windows_core::imp::interface_hierarchy!(IGPMSearchCriteria, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IGPMSearchCriteria { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Add(&self, searchproperty: GPMSearchProperty, searchoperation: GPMSearchOperation, varvalue: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), searchproperty, searchoperation, core::mem::transmute_copy(varvalue)).ok() } } @@ -6894,9 +6894,9 @@ impl IGPMSearchCriteria { #[repr(C)] pub struct IGPMSearchCriteria_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, GPMSearchProperty, GPMSearchOperation, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Add: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -6939,7 +6939,7 @@ impl IGPMSecurityInfo { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6974,9 +6974,9 @@ impl IGPMSecurityInfo { pub struct IGPMSecurityInfo_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -7299,28 +7299,28 @@ impl IGPMStarterGPO { pub unsafe fn Delete(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Save(&self, bstrsavefile: &windows_core::BSTR, boverwrite: super::super::Foundation::VARIANT_BOOL, bsaveassystem: super::super::Foundation::VARIANT_BOOL, bstrlanguage: *const super::Variant::VARIANT, bstrauthor: *const super::Variant::VARIANT, bstrproduct: *const super::Variant::VARIANT, bstruniqueid: *const super::Variant::VARIANT, bstrversion: *const super::Variant::VARIANT, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *mut super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrsavefile), boverwrite, bsaveassystem, core::mem::transmute(bstrlanguage), core::mem::transmute(bstrauthor), core::mem::transmute(bstrproduct), core::mem::transmute(bstruniqueid), core::mem::transmute(bstrversion), core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Backup(&self, bstrbackupdir: &windows_core::BSTR, bstrcomment: &windows_core::BSTR, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *mut super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Backup)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrbackupdir), core::mem::transmute_copy(bstrcomment), core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CopyTo(&self, pvarnewdisplayname: *const super::Variant::VARIANT, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CopyTo)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarnewdisplayname), core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GenerateReport(&self, gpmreporttype: GPMReportType, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7364,21 +7364,21 @@ pub struct IGPMStarterGPO_Vtbl { pub UserVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub StarterGPOVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Save: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Backup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *mut super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Backup: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CopyTo: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CopyTo: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GenerateReport: usize, pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSecurityInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -7734,7 +7734,7 @@ impl IGPMStarterGPOBackup { pub unsafe fn Delete(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GenerateReport(&self, gpmreporttype: GPMReportType, pvargpmprogress: *const super::Variant::VARIANT, pvargpmcancel: *mut super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7761,9 +7761,9 @@ pub struct IGPMStarterGPOBackup_Vtbl { pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GPMStarterGPOType) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const super::Variant::VARIANT, *mut super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GenerateReport: usize, pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -7950,7 +7950,7 @@ impl IGPMStarterGPOBackupCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7970,9 +7970,9 @@ impl IGPMStarterGPOBackupCollection { pub struct IGPMStarterGPOBackupCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8056,7 +8056,7 @@ impl IGPMStarterGPOCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8076,9 +8076,9 @@ impl IGPMStarterGPOCollection { pub struct IGPMStarterGPOCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8305,7 +8305,7 @@ impl IGPMStatusMsgCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8325,9 +8325,9 @@ impl IGPMStatusMsgCollection { pub struct IGPMStatusMsgCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8569,7 +8569,7 @@ impl IGPMWMIFilter { (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetQueryList(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8598,9 +8598,9 @@ pub struct IGPMWMIFilter_Vtbl { pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetQueryList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetQueryList: usize, pub GetSecurityInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSecurityInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8734,7 +8734,7 @@ impl IGPMWMIFilterCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8754,9 +8754,9 @@ impl IGPMWMIFilterCollection { pub struct IGPMWMIFilterCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs index 5651838996..bbd8b2cca3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs @@ -341,7 +341,7 @@ impl core::ops::Deref for IMSMQApplication2 { windows_core::imp::interface_hierarchy!(IMSMQApplication2, windows_core::IUnknown, super::Com::IDispatch, IMSMQApplication); #[cfg(feature = "Win32_System_Com")] impl IMSMQApplication2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RegisterCertificate(&self, flags: *const super::Variant::VARIANT, externalcertificate: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RegisterCertificate)(windows_core::Interface::as_raw(self), core::mem::transmute(flags), core::mem::transmute(externalcertificate)).ok() } } @@ -386,9 +386,9 @@ impl IMSMQApplication2 { #[repr(C)] pub struct IMSMQApplication2_Vtbl { pub base__: IMSMQApplication_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RegisterCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RegisterCertificate: usize, pub MachineNameOfMachineId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MSMQVersionMajor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, @@ -518,14 +518,14 @@ impl core::ops::Deref for IMSMQApplication3 { windows_core::imp::interface_hierarchy!(IMSMQApplication3, windows_core::IUnknown, super::Com::IDispatch, IMSMQApplication, IMSMQApplication2); #[cfg(feature = "Win32_System_Com")] impl IMSMQApplication3 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ActiveQueues(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActiveQueues)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PrivateQueues(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -544,7 +544,7 @@ impl IMSMQApplication3 { (windows_core::Interface::vtable(self).IsConnected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn BytesInAllQueues(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -574,19 +574,19 @@ impl IMSMQApplication3 { #[repr(C)] pub struct IMSMQApplication3_Vtbl { pub base__: IMSMQApplication2_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ActiveQueues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ActiveQueues: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PrivateQueues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PrivateQueues: usize, pub DirectoryServiceServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsConnected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub BytesInAllQueues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] BytesInAllQueues: usize, pub SetMachine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Machine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -739,7 +739,7 @@ impl core::ops::Deref for IMSMQCollection { windows_core::imp::interface_hierarchy!(IMSMQCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IMSMQCollection { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Item(&self, index: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -763,9 +763,9 @@ impl IMSMQCollection { #[repr(C)] pub struct IMSMQCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1431,7 +1431,7 @@ impl core::ops::Deref for IMSMQManagement { windows_core::imp::interface_hierarchy!(IMSMQManagement, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IMSMQManagement { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Init(&self, machine: *const super::Variant::VARIANT, pathname: *const super::Variant::VARIANT, formatname: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Init)(windows_core::Interface::as_raw(self), core::mem::transmute(machine), core::mem::transmute(pathname), core::mem::transmute(formatname)).ok() } } @@ -1477,7 +1477,7 @@ impl IMSMQManagement { (windows_core::Interface::vtable(self).TransactionalStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn BytesInQueue(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1489,9 +1489,9 @@ impl IMSMQManagement { #[repr(C)] pub struct IMSMQManagement_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Init: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Init: usize, pub FormatName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Machine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1500,9 +1500,9 @@ pub struct IMSMQManagement_Vtbl { pub QueueType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub IsLocal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub TransactionalStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub BytesInQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] BytesInQueue: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -1753,14 +1753,14 @@ impl IMSMQMessage { (windows_core::Interface::vtable(self).BodyLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Body(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Body)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetBody(&self, varbody: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBody)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varbody)).ok() } } @@ -1776,21 +1776,21 @@ impl IMSMQMessage { { unsafe { (windows_core::Interface::vtable(self).putref_AdminQueueInfo)(windows_core::Interface::as_raw(self), pqinfoadmin.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Id(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CorrelationId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorrelationId)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetCorrelationId(&self, varmsgid: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetCorrelationId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varmsgid)).ok() } } @@ -1848,14 +1848,14 @@ impl IMSMQMessage { pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetEncryptAlgorithm)(windows_core::Interface::as_raw(self), lencryptalg).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SentTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SentTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ArrivedTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1868,18 +1868,18 @@ impl IMSMQMessage { (windows_core::Interface::vtable(self).DestinationQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SenderCertificate(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderCertificate)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSenderCertificate(&self, varsendercert: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSenderCertificate)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varsendercert)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SenderId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1895,7 +1895,7 @@ impl IMSMQMessage { pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSenderIdType)(windows_core::Interface::as_raw(self), lsenderidtype).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Send(&self, destinationqueue: P0, transaction: *const super::Variant::VARIANT) -> windows_core::Result<()> where P0: windows_core::Param, @@ -1930,27 +1930,27 @@ pub struct IMSMQMessage_Vtbl { pub SetAppSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SourceMachineGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub BodyLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Body: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetBody: usize, pub AdminQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putref_AdminQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Id: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CorrelationId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetCorrelationId: usize, pub Ack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAck: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -1964,32 +1964,32 @@ pub struct IMSMQMessage_Vtbl { pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetEncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SentTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SentTime: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ArrivedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ArrivedTime: usize, pub DestinationQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SenderCertificate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSenderCertificate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SenderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SenderId: usize, pub SenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Send: usize, pub AttachCurrentSecurityContext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -2681,14 +2681,14 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).BodyLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Body(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Body)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetBody(&self, varbody: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBody)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varbody)).ok() } } @@ -2704,21 +2704,21 @@ impl IMSMQMessage2 { { unsafe { (windows_core::Interface::vtable(self).putref_AdminQueueInfo_v1)(windows_core::Interface::as_raw(self), pqinfoadmin.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Id(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CorrelationId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorrelationId)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetCorrelationId(&self, varmsgid: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetCorrelationId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varmsgid)).ok() } } @@ -2776,14 +2776,14 @@ impl IMSMQMessage2 { pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetEncryptAlgorithm)(windows_core::Interface::as_raw(self), lencryptalg).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SentTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SentTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ArrivedTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2796,18 +2796,18 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).DestinationQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SenderCertificate(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderCertificate)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSenderCertificate(&self, varsendercert: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSenderCertificate)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varsendercert)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SenderId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2823,7 +2823,7 @@ impl IMSMQMessage2 { pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSenderIdType)(windows_core::Interface::as_raw(self), lsenderidtype).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Send(&self, destinationqueue: P0, transaction: *const super::Variant::VARIANT) -> windows_core::Result<()> where P0: windows_core::Param, @@ -2839,14 +2839,14 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).SenderVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Extension(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Extension)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetExtension(&self, varextension: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetExtension)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varextension)).ok() } } @@ -2865,25 +2865,25 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).TransactionStatusQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DestinationSymmetricKey(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationSymmetricKey)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetDestinationSymmetricKey(&self, vardestsymmkey: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDestinationSymmetricKey)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vardestsymmkey)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Signature(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Signature)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSignature(&self, varsignature: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSignature)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varsignature)).ok() } } @@ -2905,7 +2905,7 @@ impl IMSMQMessage2 { pub unsafe fn SetAuthenticationProviderName(&self, bstrauthprovname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetAuthenticationProviderName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrauthprovname)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSenderId(&self, varsenderid: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSenderId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varsenderid)).ok() } } @@ -2924,7 +2924,7 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn TransactionId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2998,27 +2998,27 @@ pub struct IMSMQMessage2_Vtbl { pub SetAppSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SourceMachineGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub BodyLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Body: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetBody: usize, pub AdminQueueInfo_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putref_AdminQueueInfo_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Id: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CorrelationId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetCorrelationId: usize, pub Ack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAck: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -3032,76 +3032,76 @@ pub struct IMSMQMessage2_Vtbl { pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetEncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SentTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SentTime: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ArrivedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ArrivedTime: usize, pub DestinationQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SenderCertificate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSenderCertificate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SenderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SenderId: usize, pub SenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Send: usize, pub AttachCurrentSecurityContext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SenderVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Extension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Extension: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetExtension: usize, pub ConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub TransactionStatusQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DestinationSymmetricKey: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetDestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetDestinationSymmetricKey: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Signature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Signature: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSignature: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSignature: usize, pub AuthenticationProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAuthenticationProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSenderId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSenderId: usize, pub MsgClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMsgClass: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub TransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] TransactionId: usize, pub IsFirstInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub IsLastInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, @@ -4103,14 +4103,14 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).BodyLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Body(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Body)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetBody(&self, varbody: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBody)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varbody)).ok() } } @@ -4126,21 +4126,21 @@ impl IMSMQMessage3 { { unsafe { (windows_core::Interface::vtable(self).putref_AdminQueueInfo_v1)(windows_core::Interface::as_raw(self), pqinfoadmin.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Id(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CorrelationId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorrelationId)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetCorrelationId(&self, varmsgid: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetCorrelationId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varmsgid)).ok() } } @@ -4198,14 +4198,14 @@ impl IMSMQMessage3 { pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetEncryptAlgorithm)(windows_core::Interface::as_raw(self), lencryptalg).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SentTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SentTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ArrivedTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4218,18 +4218,18 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).DestinationQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SenderCertificate(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderCertificate)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSenderCertificate(&self, varsendercert: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSenderCertificate)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varsendercert)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SenderId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4245,7 +4245,7 @@ impl IMSMQMessage3 { pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSenderIdType)(windows_core::Interface::as_raw(self), lsenderidtype).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Send(&self, destinationqueue: P0, transaction: *const super::Variant::VARIANT) -> windows_core::Result<()> where P0: windows_core::Param, @@ -4261,14 +4261,14 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).SenderVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Extension(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Extension)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetExtension(&self, varextension: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetExtension)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varextension)).ok() } } @@ -4287,25 +4287,25 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).TransactionStatusQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DestinationSymmetricKey(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationSymmetricKey)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetDestinationSymmetricKey(&self, vardestsymmkey: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDestinationSymmetricKey)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vardestsymmkey)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Signature(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Signature)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSignature(&self, varsignature: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSignature)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varsignature)).ok() } } @@ -4327,7 +4327,7 @@ impl IMSMQMessage3 { pub unsafe fn SetAuthenticationProviderName(&self, bstrauthprovname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetAuthenticationProviderName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrauthprovname)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSenderId(&self, varsenderid: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSenderId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varsenderid)).ok() } } @@ -4346,7 +4346,7 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn TransactionId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4437,7 +4437,7 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).Destination)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LookupId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4471,7 +4471,7 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).SoapEnvelope)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CompoundMessage(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4509,27 +4509,27 @@ pub struct IMSMQMessage3_Vtbl { pub SetAppSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SourceMachineGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub BodyLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Body: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetBody: usize, pub AdminQueueInfo_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putref_AdminQueueInfo_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Id: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CorrelationId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetCorrelationId: usize, pub Ack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAck: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -4543,76 +4543,76 @@ pub struct IMSMQMessage3_Vtbl { pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetEncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SentTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SentTime: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ArrivedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ArrivedTime: usize, pub DestinationQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SenderCertificate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSenderCertificate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SenderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SenderId: usize, pub SenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Send: usize, pub AttachCurrentSecurityContext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SenderVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Extension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Extension: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetExtension: usize, pub ConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub TransactionStatusQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DestinationSymmetricKey: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetDestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetDestinationSymmetricKey: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Signature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Signature: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSignature: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSignature: usize, pub AuthenticationProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAuthenticationProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSenderId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSenderId: usize, pub MsgClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMsgClass: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub TransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] TransactionId: usize, pub IsFirstInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub IsLastInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, @@ -4628,18 +4628,18 @@ pub struct IMSMQMessage3_Vtbl { pub ResponseDestination: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putref_ResponseDestination: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Destination: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LookupId: usize, pub IsAuthenticated2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsFirstInTransaction2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsLastInTransaction2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub AttachCurrentSecurityContext2: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SoapEnvelope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CompoundMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CompoundMessage: usize, pub SetSoapHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSoapBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5824,14 +5824,14 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).BodyLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Body(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Body)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetBody(&self, varbody: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBody)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varbody)).ok() } } @@ -5847,21 +5847,21 @@ impl IMSMQMessage4 { { unsafe { (windows_core::Interface::vtable(self).putref_AdminQueueInfo_v1)(windows_core::Interface::as_raw(self), pqinfoadmin.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Id(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CorrelationId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorrelationId)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetCorrelationId(&self, varmsgid: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetCorrelationId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varmsgid)).ok() } } @@ -5919,14 +5919,14 @@ impl IMSMQMessage4 { pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetEncryptAlgorithm)(windows_core::Interface::as_raw(self), lencryptalg).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SentTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SentTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ArrivedTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5939,18 +5939,18 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).DestinationQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SenderCertificate(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderCertificate)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSenderCertificate(&self, varsendercert: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSenderCertificate)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varsendercert)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SenderId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5966,7 +5966,7 @@ impl IMSMQMessage4 { pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSenderIdType)(windows_core::Interface::as_raw(self), lsenderidtype).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Send(&self, destinationqueue: P0, transaction: *const super::Variant::VARIANT) -> windows_core::Result<()> where P0: windows_core::Param, @@ -5982,14 +5982,14 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).SenderVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Extension(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Extension)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetExtension(&self, varextension: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetExtension)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varextension)).ok() } } @@ -6008,25 +6008,25 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).TransactionStatusQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DestinationSymmetricKey(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationSymmetricKey)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetDestinationSymmetricKey(&self, vardestsymmkey: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDestinationSymmetricKey)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vardestsymmkey)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Signature(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Signature)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSignature(&self, varsignature: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSignature)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varsignature)).ok() } } @@ -6048,7 +6048,7 @@ impl IMSMQMessage4 { pub unsafe fn SetAuthenticationProviderName(&self, bstrauthprovname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetAuthenticationProviderName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrauthprovname)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSenderId(&self, varsenderid: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSenderId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varsenderid)).ok() } } @@ -6067,7 +6067,7 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn TransactionId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6158,7 +6158,7 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).Destination)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LookupId(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6192,7 +6192,7 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).SoapEnvelope)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CompoundMessage(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6230,27 +6230,27 @@ pub struct IMSMQMessage4_Vtbl { pub SetAppSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SourceMachineGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub BodyLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Body: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetBody: usize, pub AdminQueueInfo_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putref_AdminQueueInfo_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Id: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CorrelationId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetCorrelationId: usize, pub Ack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAck: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -6264,76 +6264,76 @@ pub struct IMSMQMessage4_Vtbl { pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetEncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SentTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SentTime: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ArrivedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ArrivedTime: usize, pub DestinationQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SenderCertificate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSenderCertificate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SenderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SenderId: usize, pub SenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Send: usize, pub AttachCurrentSecurityContext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SenderVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Extension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Extension: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetExtension: usize, pub ConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub TransactionStatusQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DestinationSymmetricKey: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetDestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetDestinationSymmetricKey: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Signature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Signature: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSignature: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSignature: usize, pub AuthenticationProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAuthenticationProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSenderId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSenderId: usize, pub MsgClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMsgClass: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub TransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] TransactionId: usize, pub IsFirstInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub IsLastInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, @@ -6349,18 +6349,18 @@ pub struct IMSMQMessage4_Vtbl { pub ResponseDestination: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putref_ResponseDestination: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Destination: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LookupId: usize, pub IsAuthenticated2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsFirstInTransaction2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsLastInTransaction2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub AttachCurrentSecurityContext2: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SoapEnvelope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CompoundMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CompoundMessage: usize, pub SetSoapHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSoapBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -7452,7 +7452,7 @@ impl IMSMQOutgoingQueueManagement { (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn NextHops(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7480,9 +7480,9 @@ impl IMSMQOutgoingQueueManagement { pub struct IMSMQOutgoingQueueManagement_Vtbl { pub base__: IMSMQManagement_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub NextHops: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] NextHops: usize, pub EodGetSendInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -7584,14 +7584,14 @@ impl core::ops::Deref for IMSMQPrivateDestination { windows_core::imp::interface_hierarchy!(IMSMQPrivateDestination, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IMSMQPrivateDestination { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Handle(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetHandle(&self, varhandle: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetHandle)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varhandle)).ok() } } @@ -7600,13 +7600,13 @@ impl IMSMQPrivateDestination { #[repr(C)] pub struct IMSMQPrivateDestination_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Handle: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetHandle: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetHandle: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7742,7 +7742,7 @@ impl core::ops::Deref for IMSMQQuery { windows_core::imp::interface_hierarchy!(IMSMQQuery, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IMSMQQuery { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LookupQueue(&self, queueguid: *const super::Variant::VARIANT, servicetypeguid: *const super::Variant::VARIANT, label: *const super::Variant::VARIANT, createtime: *const super::Variant::VARIANT, modifytime: *const super::Variant::VARIANT, relservicetype: *const super::Variant::VARIANT, rellabel: *const super::Variant::VARIANT, relcreatetime: *const super::Variant::VARIANT, relmodifytime: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7754,9 +7754,9 @@ impl IMSMQQuery { #[repr(C)] pub struct IMSMQQuery_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LookupQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LookupQueue: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7799,7 +7799,7 @@ impl core::ops::Deref for IMSMQQuery2 { windows_core::imp::interface_hierarchy!(IMSMQQuery2, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IMSMQQuery2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LookupQueue(&self, queueguid: *const super::Variant::VARIANT, servicetypeguid: *const super::Variant::VARIANT, label: *const super::Variant::VARIANT, createtime: *const super::Variant::VARIANT, modifytime: *const super::Variant::VARIANT, relservicetype: *const super::Variant::VARIANT, rellabel: *const super::Variant::VARIANT, relcreatetime: *const super::Variant::VARIANT, relmodifytime: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7817,9 +7817,9 @@ impl IMSMQQuery2 { #[repr(C)] pub struct IMSMQQuery2_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LookupQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LookupQueue: usize, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -7880,7 +7880,7 @@ impl core::ops::Deref for IMSMQQuery3 { windows_core::imp::interface_hierarchy!(IMSMQQuery3, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IMSMQQuery3 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LookupQueue_v2(&self, queueguid: *const super::Variant::VARIANT, servicetypeguid: *const super::Variant::VARIANT, label: *const super::Variant::VARIANT, createtime: *const super::Variant::VARIANT, modifytime: *const super::Variant::VARIANT, relservicetype: *const super::Variant::VARIANT, rellabel: *const super::Variant::VARIANT, relcreatetime: *const super::Variant::VARIANT, relmodifytime: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7893,7 +7893,7 @@ impl IMSMQQuery3 { (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LookupQueue(&self, queueguid: *const super::Variant::VARIANT, servicetypeguid: *const super::Variant::VARIANT, label: *const super::Variant::VARIANT, createtime: *const super::Variant::VARIANT, modifytime: *const super::Variant::VARIANT, relservicetype: *const super::Variant::VARIANT, rellabel: *const super::Variant::VARIANT, relcreatetime: *const super::Variant::VARIANT, relmodifytime: *const super::Variant::VARIANT, multicastaddress: *const super::Variant::VARIANT, relmulticastaddress: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7905,14 +7905,14 @@ impl IMSMQQuery3 { #[repr(C)] pub struct IMSMQQuery3_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LookupQueue_v2: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LookupQueue_v2: usize, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LookupQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LookupQueue: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -7986,7 +7986,7 @@ impl core::ops::Deref for IMSMQQuery4 { windows_core::imp::interface_hierarchy!(IMSMQQuery4, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IMSMQQuery4 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LookupQueue_v2(&self, queueguid: *const super::Variant::VARIANT, servicetypeguid: *const super::Variant::VARIANT, label: *const super::Variant::VARIANT, createtime: *const super::Variant::VARIANT, modifytime: *const super::Variant::VARIANT, relservicetype: *const super::Variant::VARIANT, rellabel: *const super::Variant::VARIANT, relcreatetime: *const super::Variant::VARIANT, relmodifytime: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7999,7 +7999,7 @@ impl IMSMQQuery4 { (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LookupQueue(&self, queueguid: *const super::Variant::VARIANT, servicetypeguid: *const super::Variant::VARIANT, label: *const super::Variant::VARIANT, createtime: *const super::Variant::VARIANT, modifytime: *const super::Variant::VARIANT, relservicetype: *const super::Variant::VARIANT, rellabel: *const super::Variant::VARIANT, relcreatetime: *const super::Variant::VARIANT, relmodifytime: *const super::Variant::VARIANT, multicastaddress: *const super::Variant::VARIANT, relmulticastaddress: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8011,14 +8011,14 @@ impl IMSMQQuery4 { #[repr(C)] pub struct IMSMQQuery4_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LookupQueue_v2: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LookupQueue_v2: usize, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LookupQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LookupQueue: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8125,21 +8125,21 @@ impl IMSMQQueue { pub unsafe fn Close(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Receive(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Receive)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Peek(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Peek)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn EnableNotification(&self, event: P0, cursor: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result<()> where P0: windows_core::Param, @@ -8149,21 +8149,21 @@ impl IMSMQQueue { pub unsafe fn Reset(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveCurrent(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveCurrent)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekNext(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekNext)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8181,30 +8181,30 @@ pub struct IMSMQQueue_Vtbl { pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub IsOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Receive: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Receive: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Peek: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Peek: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub EnableNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] EnableNotification: usize, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveCurrent: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekNext: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekCurrent: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -8433,21 +8433,21 @@ impl IMSMQQueue2 { pub unsafe fn Close(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Receive_v1(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Receive_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Peek_v1(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Peek_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn EnableNotification(&self, event: P0, cursor: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result<()> where P0: windows_core::Param, @@ -8457,56 +8457,56 @@ impl IMSMQQueue2 { pub unsafe fn Reset(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveCurrent_v1(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveCurrent_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekNext_v1(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekNext_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekCurrent_v1(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekCurrent_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Receive(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Receive)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Peek(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Peek)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveCurrent(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveCurrent)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekNext(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekNext)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8530,50 +8530,50 @@ pub struct IMSMQQueue2_Vtbl { pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub IsOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Receive_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Receive_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Peek_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Peek_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub EnableNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] EnableNotification: usize, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveCurrent_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekNext_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekNext_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekCurrent_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Receive: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Receive: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Peek: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Peek: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveCurrent: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekNext: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekCurrent: usize, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -8887,21 +8887,21 @@ impl IMSMQQueue3 { pub unsafe fn Close(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Receive_v1(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Receive_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Peek_v1(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Peek_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn EnableNotification(&self, event: P0, cursor: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result<()> where P0: windows_core::Param, @@ -8911,56 +8911,56 @@ impl IMSMQQueue3 { pub unsafe fn Reset(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveCurrent_v1(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveCurrent_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekNext_v1(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekNext_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekCurrent_v1(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekCurrent_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Receive(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Receive)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Peek(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Peek)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveCurrent(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveCurrent)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekNext(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekNext)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8973,77 +8973,77 @@ impl IMSMQQueue3 { (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Handle2(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle2)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveByLookupId(&self, lookupid: &super::Variant::VARIANT, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(lookupid), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveNextByLookupId(&self, lookupid: &super::Variant::VARIANT, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveNextByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(lookupid), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceivePreviousByLookupId(&self, lookupid: &super::Variant::VARIANT, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceivePreviousByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(lookupid), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveFirstByLookupId(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveFirstByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveLastByLookupId(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveLastByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekByLookupId(&self, lookupid: &super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(lookupid), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekNextByLookupId(&self, lookupid: &super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekNextByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(lookupid), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekPreviousByLookupId(&self, lookupid: &super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekPreviousByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(lookupid), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekFirstByLookupId(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekFirstByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekLastByLookupId(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9070,95 +9070,95 @@ pub struct IMSMQQueue3_Vtbl { pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub IsOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Receive_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Receive_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Peek_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Peek_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub EnableNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] EnableNotification: usize, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveCurrent_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekNext_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekNext_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekCurrent_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Receive: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Receive: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Peek: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Peek: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveCurrent: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekNext: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekCurrent: usize, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Handle2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Handle2: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveNextByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveNextByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceivePreviousByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceivePreviousByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveFirstByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveFirstByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveLastByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveLastByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekNextByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekNextByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekPreviousByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekPreviousByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekFirstByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekFirstByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekLastByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekLastByLookupId: usize, pub Purge: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsOpen2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -9649,21 +9649,21 @@ impl IMSMQQueue4 { pub unsafe fn Close(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Receive_v1(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Receive_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Peek_v1(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Peek_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn EnableNotification(&self, event: P0, cursor: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result<()> where P0: windows_core::Param, @@ -9673,56 +9673,56 @@ impl IMSMQQueue4 { pub unsafe fn Reset(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveCurrent_v1(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveCurrent_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekNext_v1(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekNext_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekCurrent_v1(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekCurrent_v1)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Receive(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Receive)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Peek(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Peek)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveCurrent(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveCurrent)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekNext(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekNext)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(receivetimeout), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, receivetimeout: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9735,77 +9735,77 @@ impl IMSMQQueue4 { (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Handle2(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle2)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveByLookupId(&self, lookupid: &super::Variant::VARIANT, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(lookupid), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveNextByLookupId(&self, lookupid: &super::Variant::VARIANT, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveNextByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(lookupid), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceivePreviousByLookupId(&self, lookupid: &super::Variant::VARIANT, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceivePreviousByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(lookupid), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveFirstByLookupId(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveFirstByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveLastByLookupId(&self, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveLastByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekByLookupId(&self, lookupid: &super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(lookupid), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekNextByLookupId(&self, lookupid: &super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekNextByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(lookupid), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekPreviousByLookupId(&self, lookupid: &super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekPreviousByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(lookupid), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekFirstByLookupId(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekFirstByLookupId)(windows_core::Interface::as_raw(self), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PeekLastByLookupId(&self, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9821,7 +9821,7 @@ impl IMSMQQueue4 { (windows_core::Interface::vtable(self).IsOpen2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ReceiveByLookupIdAllowPeek(&self, lookupid: &super::Variant::VARIANT, transaction: *const super::Variant::VARIANT, wantdestinationqueue: *const super::Variant::VARIANT, wantbody: *const super::Variant::VARIANT, wantconnectortype: *const super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9839,101 +9839,101 @@ pub struct IMSMQQueue4_Vtbl { pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub IsOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Receive_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Receive_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Peek_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Peek_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub EnableNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] EnableNotification: usize, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveCurrent_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekNext_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekNext_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekCurrent_v1: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Receive: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Receive: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Peek: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Peek: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveCurrent: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekNext: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekCurrent: usize, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Handle2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Handle2: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveNextByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveNextByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceivePreviousByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceivePreviousByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveFirstByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveFirstByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveLastByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveLastByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekNextByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekNextByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekPreviousByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekPreviousByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekFirstByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekFirstByLookupId: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PeekLastByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PeekLastByLookupId: usize, pub Purge: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsOpen2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReceiveByLookupIdAllowPeek: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReceiveByLookupIdAllowPeek: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -10487,14 +10487,14 @@ impl IMSMQQueueInfo { pub unsafe fn SetBasePriority(&self, lbasepriority: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBasePriority)(windows_core::Interface::as_raw(self), lbasepriority).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ModifyTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10525,7 +10525,7 @@ impl IMSMQQueueInfo { (windows_core::Interface::vtable(self).IsWorldReadable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Create(&self, istransactional: *const super::Variant::VARIANT, isworldreadable: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), core::mem::transmute(istransactional), core::mem::transmute(isworldreadable)).ok() } } @@ -10567,22 +10567,22 @@ pub struct IMSMQQueueInfo_Vtbl { pub SetQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub BasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetBasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateTime: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ModifyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ModifyTime: usize, pub Authenticate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAuthenticate: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub JournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetJournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub IsWorldReadable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Create: usize, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -11038,14 +11038,14 @@ impl IMSMQQueueInfo2 { pub unsafe fn SetBasePriority(&self, lbasepriority: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBasePriority)(windows_core::Interface::as_raw(self), lbasepriority).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ModifyTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11076,7 +11076,7 @@ impl IMSMQQueueInfo2 { (windows_core::Interface::vtable(self).IsWorldReadable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Create(&self, istransactional: *const super::Variant::VARIANT, isworldreadable: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), core::mem::transmute(istransactional), core::mem::transmute(isworldreadable)).ok() } } @@ -11107,14 +11107,14 @@ impl IMSMQQueueInfo2 { (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Security(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSecurity(&self, varsecurity: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSecurity)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varsecurity)).ok() } } @@ -11141,22 +11141,22 @@ pub struct IMSMQQueueInfo2_Vtbl { pub SetQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub BasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetBasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateTime: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ModifyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ModifyTime: usize, pub Authenticate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAuthenticate: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub JournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetJournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub IsWorldReadable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Create: usize, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -11164,13 +11164,13 @@ pub struct IMSMQQueueInfo2_Vtbl { pub Update: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PathNameDNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Security: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Security: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSecurity: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -11672,14 +11672,14 @@ impl IMSMQQueueInfo3 { pub unsafe fn SetBasePriority(&self, lbasepriority: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBasePriority)(windows_core::Interface::as_raw(self), lbasepriority).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ModifyTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -11710,7 +11710,7 @@ impl IMSMQQueueInfo3 { (windows_core::Interface::vtable(self).IsWorldReadable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Create(&self, istransactional: *const super::Variant::VARIANT, isworldreadable: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), core::mem::transmute(istransactional), core::mem::transmute(isworldreadable)).ok() } } @@ -11741,14 +11741,14 @@ impl IMSMQQueueInfo3 { (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Security(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSecurity(&self, varsecurity: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSecurity)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varsecurity)).ok() } } @@ -11802,22 +11802,22 @@ pub struct IMSMQQueueInfo3_Vtbl { pub SetQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub BasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetBasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateTime: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ModifyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ModifyTime: usize, pub Authenticate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAuthenticate: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub JournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetJournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub IsWorldReadable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Create: usize, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -11825,13 +11825,13 @@ pub struct IMSMQQueueInfo3_Vtbl { pub Update: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PathNameDNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Security: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Security: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSecurity: usize, pub IsTransactional2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsWorldReadable2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -12402,14 +12402,14 @@ impl IMSMQQueueInfo4 { pub unsafe fn SetBasePriority(&self, lbasepriority: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBasePriority)(windows_core::Interface::as_raw(self), lbasepriority).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ModifyTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -12440,7 +12440,7 @@ impl IMSMQQueueInfo4 { (windows_core::Interface::vtable(self).IsWorldReadable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Create(&self, istransactional: *const super::Variant::VARIANT, isworldreadable: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), core::mem::transmute(istransactional), core::mem::transmute(isworldreadable)).ok() } } @@ -12471,14 +12471,14 @@ impl IMSMQQueueInfo4 { (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Security(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSecurity(&self, varsecurity: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSecurity)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varsecurity)).ok() } } @@ -12532,22 +12532,22 @@ pub struct IMSMQQueueInfo4_Vtbl { pub SetQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub BasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetBasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateTime: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ModifyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ModifyTime: usize, pub Authenticate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAuthenticate: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub JournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetJournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub IsWorldReadable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Create: usize, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -12555,13 +12555,13 @@ pub struct IMSMQQueueInfo4_Vtbl { pub Update: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PathNameDNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Security: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Security: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSecurity: usize, pub IsTransactional2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsWorldReadable2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -13385,14 +13385,14 @@ impl IMSMQQueueManagement { (windows_core::Interface::vtable(self).JournalMessageCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn BytesInJournal(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BytesInJournal)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn EodGetReceiveInfo(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13405,13 +13405,13 @@ impl IMSMQQueueManagement { pub struct IMSMQQueueManagement_Vtbl { pub base__: IMSMQManagement_Vtbl, pub JournalMessageCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub BytesInJournal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] BytesInJournal: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub EodGetReceiveInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] EodGetReceiveInfo: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -13491,11 +13491,11 @@ impl IMSMQTransaction { (windows_core::Interface::vtable(self).Transaction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Commit(&self, fretaining: *const super::Variant::VARIANT, grftc: *const super::Variant::VARIANT, grfrm: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Commit)(windows_core::Interface::as_raw(self), core::mem::transmute(fretaining), core::mem::transmute(grftc), core::mem::transmute(grfrm)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Abort(&self, fretaining: *const super::Variant::VARIANT, fasync: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Abort)(windows_core::Interface::as_raw(self), core::mem::transmute(fretaining), core::mem::transmute(fasync)).ok() } } @@ -13505,13 +13505,13 @@ impl IMSMQTransaction { pub struct IMSMQTransaction_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Transaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Commit: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Abort: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -13573,7 +13573,7 @@ impl core::ops::Deref for IMSMQTransaction2 { windows_core::imp::interface_hierarchy!(IMSMQTransaction2, windows_core::IUnknown, super::Com::IDispatch, IMSMQTransaction); #[cfg(feature = "Win32_System_Com")] impl IMSMQTransaction2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn InitNew(&self, vartransaction: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InitNew)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vartransaction)).ok() } } @@ -13588,9 +13588,9 @@ impl IMSMQTransaction2 { #[repr(C)] pub struct IMSMQTransaction2_Vtbl { pub base__: IMSMQTransaction_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub InitNew: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] InitNew: usize, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -13641,7 +13641,7 @@ impl core::ops::Deref for IMSMQTransaction3 { windows_core::imp::interface_hierarchy!(IMSMQTransaction3, windows_core::IUnknown, super::Com::IDispatch, IMSMQTransaction, IMSMQTransaction2); #[cfg(feature = "Win32_System_Com")] impl IMSMQTransaction3 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ITransaction(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -13653,9 +13653,9 @@ impl IMSMQTransaction3 { #[repr(C)] pub struct IMSMQTransaction3_Vtbl { pub base__: IMSMQTransaction2_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ITransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ITransaction: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] diff --git a/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs index 02c0ca9287..761eff522f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs @@ -411,7 +411,7 @@ impl ContextMenu { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, indexorpath: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -430,9 +430,9 @@ impl ContextMenu { pub struct ContextMenu_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -5852,14 +5852,14 @@ impl core::ops::Deref for Property { windows_core::imp::interface_hierarchy!(Property, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl Property { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetValue(&self, value: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(value)).ok() } } @@ -5874,13 +5874,13 @@ impl Property { #[repr(C)] pub struct Property_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetValue: usize, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -6512,7 +6512,7 @@ impl SnapIns { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Add(&self, snapinnameorclsid: &windows_core::BSTR, parentsnapin: &super::Variant::VARIANT, properties: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6533,9 +6533,9 @@ pub struct SnapIns_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Add: usize, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -6659,7 +6659,7 @@ impl View { (windows_core::Interface::vtable(self).ListItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SnapinScopeObject(&self, scopenode: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6711,35 +6711,35 @@ impl View { (windows_core::Interface::vtable(self).IsSelected)(windows_core::Interface::as_raw(self), node.param().abi(), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DisplayScopeNodePropertySheet(&self, scopenode: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DisplayScopeNodePropertySheet)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(scopenode)).ok() } } pub unsafe fn DisplaySelectionPropertySheet(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DisplaySelectionPropertySheet)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CopyScopeNode(&self, scopenode: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).CopyScopeNode)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(scopenode)).ok() } } pub unsafe fn CopySelection(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).CopySelection)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DeleteScopeNode(&self, scopenode: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteScopeNode)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(scopenode)).ok() } } pub unsafe fn DeleteSelection(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteSelection)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RenameScopeNode(&self, newname: &windows_core::BSTR, scopenode: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RenameScopeNode)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(newname), core::mem::transmute_copy(scopenode)).ok() } } pub unsafe fn RenameSelectedItem(&self, newname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RenameSelectedItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(newname)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_ScopeNodeContextMenu(&self, scopenode: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -6752,7 +6752,7 @@ impl View { (windows_core::Interface::vtable(self).SelectionContextMenu)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RefreshScopeNode(&self, scopenode: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RefreshScopeNode)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(scopenode)).ok() } } @@ -6762,7 +6762,7 @@ impl View { pub unsafe fn ExecuteSelectionMenuItem(&self, menuitempath: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ExecuteSelectionMenuItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(menuitempath)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ExecuteScopeNodeMenuItem(&self, menuitempath: &windows_core::BSTR, scopenode: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ExecuteScopeNodeMenuItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(menuitempath), core::mem::transmute_copy(scopenode)).ok() } } @@ -6847,9 +6847,9 @@ pub struct View_Vtbl { pub SetActiveScopeNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Selection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ListItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SnapinScopeObject: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SnapinScopeObject: usize, pub SnapinSelectionObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Is: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -6858,40 +6858,40 @@ pub struct View_Vtbl { pub Select: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Deselect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsSelected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DisplayScopeNodePropertySheet: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DisplayScopeNodePropertySheet: usize, pub DisplaySelectionPropertySheet: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CopyScopeNode: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CopyScopeNode: usize, pub CopySelection: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DeleteScopeNode: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DeleteScopeNode: usize, pub DeleteSelection: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RenameScopeNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RenameScopeNode: usize, pub RenameSelectedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_ScopeNodeContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_ScopeNodeContextMenu: usize, pub SelectionContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RefreshScopeNode: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RefreshScopeNode: usize, pub RefreshSelection: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ExecuteSelectionMenuItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ExecuteScopeNodeMenuItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ExecuteScopeNodeMenuItem: usize, pub ExecuteShellCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Frame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> 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 c90e8c61a3..88de38cab9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs @@ -5799,7 +5799,7 @@ impl IDispatchEx { (windows_core::Interface::vtable(self).GetDispID)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrname), grfdex, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] + #[cfg(feature = "Win32_System_Variant")] pub unsafe fn InvokeEx(&self, id: i32, lcid: u32, wflags: u16, pdp: *const super::Com::DISPPARAMS, pvarres: Option<*mut super::Variant::VARIANT>, pei: Option<*mut super::Com::EXCEPINFO>, pspcaller: P6) -> windows_core::Result<()> where P6: windows_core::Param, @@ -5842,9 +5842,9 @@ impl IDispatchEx { pub struct IDispatchEx_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub GetDispID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] + #[cfg(feature = "Win32_System_Variant")] pub InvokeEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, u16, *const super::Com::DISPPARAMS, *mut super::Variant::VARIANT, *mut super::Com::EXCEPINFO, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Variant")))] + #[cfg(not(feature = "Win32_System_Variant"))] InvokeEx: usize, pub DeleteMemberByName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub DeleteMemberByDispID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs index c841fdc124..ee543373c9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs @@ -1143,14 +1143,12 @@ impl core::ops::Deref for IAlertDataCollector { windows_core::imp::interface_hierarchy!(IAlertDataCollector, windows_core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] impl IAlertDataCollector { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn AlertThresholds(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AlertThresholds)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetAlertThresholds(&self, alerts: *const super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetAlertThresholds)(windows_core::Interface::as_raw(self), alerts).ok() } } @@ -1222,14 +1220,8 @@ impl IAlertDataCollector { #[repr(C)] pub struct IAlertDataCollector_Vtbl { pub base__: IDataCollector_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub AlertThresholds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - AlertThresholds: usize, - #[cfg(feature = "Win32_System_Com")] pub SetAlertThresholds: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetAlertThresholds: usize, pub EventLog: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEventLog: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SampleInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -1486,36 +1478,30 @@ impl IApiTracingDataCollector { pub unsafe fn SetLogFilePath(&self, logfilepath: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetLogFilePath)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(logfilepath)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn IncludeModules(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncludeModules)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetIncludeModules(&self, includemodules: *const super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetIncludeModules)(windows_core::Interface::as_raw(self), includemodules).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn IncludeApis(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncludeApis)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetIncludeApis(&self, includeapis: *const super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetIncludeApis)(windows_core::Interface::as_raw(self), includeapis).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExcludeApis(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExcludeApis)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetExcludeApis(&self, excludeapis: *const super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetExcludeApis)(windows_core::Interface::as_raw(self), excludeapis).ok() } } @@ -1532,30 +1518,12 @@ pub struct IApiTracingDataCollector_Vtbl { pub SetExePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub LogFilePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetLogFilePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub IncludeModules: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - IncludeModules: usize, - #[cfg(feature = "Win32_System_Com")] pub SetIncludeModules: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetIncludeModules: usize, - #[cfg(feature = "Win32_System_Com")] pub IncludeApis: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - IncludeApis: usize, - #[cfg(feature = "Win32_System_Com")] pub SetIncludeApis: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetIncludeApis: usize, - #[cfg(feature = "Win32_System_Com")] pub ExcludeApis: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ExcludeApis: usize, - #[cfg(feature = "Win32_System_Com")] pub SetExcludeApis: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetExcludeApis: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IApiTracingDataCollector_Impl: IDataCollector_Impl { @@ -1767,25 +1735,21 @@ impl IConfigurationDataCollector { pub unsafe fn SetFileMaxTotalSize(&self, size: u32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFileMaxTotalSize)(windows_core::Interface::as_raw(self), size).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Files(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Files)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetFiles(&self, files: *const super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFiles)(windows_core::Interface::as_raw(self), files).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ManagementQueries(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ManagementQueries)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetManagementQueries(&self, queries: *const super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetManagementQueries)(windows_core::Interface::as_raw(self), queries).ok() } } @@ -1798,14 +1762,12 @@ impl IConfigurationDataCollector { pub unsafe fn SetQueryNetworkAdapters(&self, network: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetQueryNetworkAdapters)(windows_core::Interface::as_raw(self), network).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn RegistryKeys(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegistryKeys)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetRegistryKeys(&self, query: *const super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetRegistryKeys)(windows_core::Interface::as_raw(self), query).ok() } } @@ -1838,32 +1800,14 @@ pub struct IConfigurationDataCollector_Vtbl { pub SetFileMaxRecursiveDepth: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub FileMaxTotalSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetFileMaxTotalSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub Files: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Files: usize, - #[cfg(feature = "Win32_System_Com")] pub SetFiles: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetFiles: usize, - #[cfg(feature = "Win32_System_Com")] pub ManagementQueries: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ManagementQueries: usize, - #[cfg(feature = "Win32_System_Com")] pub SetManagementQueries: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetManagementQueries: usize, pub QueryNetworkAdapters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetQueryNetworkAdapters: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub RegistryKeys: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - RegistryKeys: usize, - #[cfg(feature = "Win32_System_Com")] pub SetRegistryKeys: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetRegistryKeys: usize, pub RegistryMaxRecursiveDepth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetRegistryMaxRecursiveDepth: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SystemStateFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2448,7 +2392,7 @@ impl ICounters { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2461,7 +2405,7 @@ impl ICounters { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pathname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, index: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index)).ok() } } @@ -2472,14 +2416,14 @@ pub struct ICounters_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -3054,7 +2998,7 @@ impl IDataCollectorCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -3073,7 +3017,7 @@ impl IDataCollectorCollection { { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), collector.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, collector: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(collector)).ok() } } @@ -3101,15 +3045,15 @@ impl IDataCollectorCollection { pub struct IDataCollectorCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub AddRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3286,14 +3230,12 @@ impl IDataCollectorSet { (windows_core::Interface::vtable(self).DisplayNameUnresolved)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Keywords(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Keywords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetKeywords(&self, keywords: *const super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetKeywords)(windows_core::Interface::as_raw(self), keywords).ok() } } @@ -3539,14 +3481,8 @@ pub struct IDataCollectorSet_Vtbl { pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub DisplayNameUnresolved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub Keywords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Keywords: usize, - #[cfg(feature = "Win32_System_Com")] pub SetKeywords: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetKeywords: usize, pub LatestOutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetLatestOutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4316,7 +4252,7 @@ impl IDataCollectorSetCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4335,7 +4271,7 @@ impl IDataCollectorSetCollection { { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), set.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, set: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(set)).ok() } } @@ -4357,15 +4293,15 @@ impl IDataCollectorSetCollection { pub struct IDataCollectorSetCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub AddRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5107,7 +5043,7 @@ impl IFolderActionCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5126,7 +5062,7 @@ impl IFolderActionCollection { { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), action.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, index: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index)).ok() } } @@ -5151,15 +5087,15 @@ impl IFolderActionCollection { pub struct IFolderActionCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub AddRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5333,7 +5269,7 @@ impl ILogFiles { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5346,7 +5282,7 @@ impl ILogFiles { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pathname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, index: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index)).ok() } } @@ -5357,14 +5293,14 @@ pub struct ILogFiles_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -5469,14 +5405,12 @@ impl IPerformanceCounterDataCollector { pub unsafe fn SetDataSourceName(&self, dsn: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDataSourceName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(dsn)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn PerformanceCounters(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PerformanceCounters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetPerformanceCounters(&self, counters: *const super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetPerformanceCounters)(windows_core::Interface::as_raw(self), counters).ok() } } @@ -5514,14 +5448,8 @@ pub struct IPerformanceCounterDataCollector_Vtbl { pub base__: IDataCollector_Vtbl, pub DataSourceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDataSourceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub PerformanceCounters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - PerformanceCounters: usize, - #[cfg(feature = "Win32_System_Com")] pub SetPerformanceCounters: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetPerformanceCounters: usize, pub LogFileFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FileFormat) -> windows_core::HRESULT, pub SetLogFileFormat: unsafe extern "system" fn(*mut core::ffi::c_void, FileFormat) -> windows_core::HRESULT, pub SampleInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -5668,36 +5596,36 @@ impl core::ops::Deref for ISchedule { windows_core::imp::interface_hierarchy!(ISchedule, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ISchedule { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn StartDate(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetStartDate(&self, start: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetStartDate)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(start)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn EndDate(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetEndDate(&self, end: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetEndDate)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(end)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn StartTime(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetStartTime(&self, start: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetStartTime)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(start)).ok() } } @@ -5715,29 +5643,29 @@ impl ISchedule { #[repr(C)] pub struct ISchedule_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub StartDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] StartDate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetStartDate: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetStartDate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub EndDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] EndDate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetEndDate: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetEndDate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] StartTime: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetStartTime: usize, pub Days: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WeekDays) -> windows_core::HRESULT, pub SetDays: unsafe extern "system" fn(*mut core::ffi::c_void, WeekDays) -> windows_core::HRESULT, @@ -5865,7 +5793,7 @@ impl IScheduleCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -5884,7 +5812,7 @@ impl IScheduleCollection { { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), pschedule.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, vschedule: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vschedule)).ok() } } @@ -5909,15 +5837,15 @@ impl IScheduleCollection { pub struct IScheduleCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub AddRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8500,14 +8428,12 @@ impl ITraceDataProvider { pub unsafe fn SetFilterType(&self, ultype: u32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFilterType)(windows_core::Interface::as_raw(self), ultype).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn FilterData(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FilterData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetFilterData(&self, pdata: *const super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFilterData)(windows_core::Interface::as_raw(self), pdata).ok() } } @@ -8552,14 +8478,8 @@ pub struct ITraceDataProvider_Vtbl { pub SetFilterEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub FilterType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetFilterType: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub FilterData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - FilterData: usize, - #[cfg(feature = "Win32_System_Com")] pub SetFilterData: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetFilterData: usize, pub Query: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Resolve: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8819,7 +8739,7 @@ impl ITraceDataProviderCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8838,7 +8758,7 @@ impl ITraceDataProviderCollection { { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), pprovider.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, vprovider: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vprovider)).ok() } } @@ -8869,15 +8789,15 @@ impl ITraceDataProviderCollection { pub struct ITraceDataProviderCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub AddRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -9024,7 +8944,7 @@ impl IValueMap { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9046,14 +8966,14 @@ impl IValueMap { pub unsafe fn SetDescription(&self, description: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(description)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetValue(&self, value: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(value)).ok() } } @@ -9066,11 +8986,11 @@ impl IValueMap { pub unsafe fn SetValueMapType(&self, r#type: ValueMapType) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValueMapType)(windows_core::Interface::as_raw(self), r#type).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Add(&self, value: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(value)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, value: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(value)).ok() } } @@ -9095,30 +9015,30 @@ impl IValueMap { pub struct IValueMap_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetValue: usize, pub ValueMapType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ValueMapType) -> windows_core::HRESULT, pub SetValueMapType: unsafe extern "system" fn(*mut core::ffi::c_void, ValueMapType) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Add: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub AddRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -9334,14 +9254,14 @@ impl IValueMapItem { pub unsafe fn SetKey(&self, key: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetKey)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(key)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetValue(&self, value: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(value)).ok() } } @@ -9365,13 +9285,13 @@ pub struct IValueMapItem_Vtbl { pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Key: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetValue: usize, pub ValueMapType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ValueMapType) -> windows_core::HRESULT, pub SetValueMapType: unsafe extern "system" fn(*mut core::ffi::c_void, ValueMapType) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs index 531b4a1af4..1e2e5874b7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs @@ -2795,7 +2795,7 @@ impl IRTCCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2814,9 +2814,9 @@ impl IRTCCollection { pub struct IRTCCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } 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 db82eafdef..bce9f44dd3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -1945,14 +1945,14 @@ impl IRemoteDesktopClientSettings { (windows_core::Interface::vtable(self).RetrieveSettings)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetRdpProperty(&self, propertyname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRdpProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(propertyname), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetRdpProperty(&self, propertyname: &windows_core::BSTR, value: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetRdpProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(propertyname), core::mem::transmute_copy(value)).ok() } } @@ -1963,13 +1963,13 @@ pub struct IRemoteDesktopClientSettings_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub ApplySettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RetrieveSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetRdpProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetRdpProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetRdpProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetRdpProperty: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9336,7 +9336,6 @@ impl IWorkspaceResTypeRegistry { pub unsafe fn DeleteResourceType(&self, fmachinewide: super::super::Foundation::VARIANT_BOOL, bstrfileextension: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteResourceType)(windows_core::Interface::as_raw(self), fmachinewide, core::mem::transmute_copy(bstrfileextension)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRegisteredFileExtensions(&self, fmachinewide: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<*mut super::Com::SAFEARRAY> { unsafe { let mut result__ = core::mem::zeroed(); @@ -9359,10 +9358,7 @@ pub struct IWorkspaceResTypeRegistry_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub AddResourceType: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteResourceType: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub GetRegisteredFileExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetRegisteredFileExtensions: usize, pub GetResourceTypeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ModifyResourceType: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs index fcecad3bbd..2ffb49ff96 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs @@ -2025,7 +2025,7 @@ impl core::ops::Deref for IWSManInternal { windows_core::imp::interface_hierarchy!(IWSManInternal, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IWSManInternal { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ConfigSDDL(&self, session: P0, resourceuri: &super::Variant::VARIANT, flags: i32) -> windows_core::Result where P0: windows_core::Param, @@ -2040,9 +2040,9 @@ impl IWSManInternal { #[repr(C)] pub struct IWSManInternal_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ConfigSDDL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ConfigSDDL: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -2094,7 +2094,7 @@ impl IWSManResourceLocator { (windows_core::Interface::vtable(self).ResourceURI)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddSelector(&self, resourceselname: &windows_core::BSTR, selvalue: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddSelector)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(resourceselname), core::mem::transmute_copy(selvalue)).ok() } } @@ -2119,7 +2119,7 @@ impl IWSManResourceLocator { pub unsafe fn SetFragmentDialect(&self, text: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFragmentDialect)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(text)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddOption(&self, optionname: &windows_core::BSTR, optionvalue: &super::Variant::VARIANT, mustcomply: bool) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddOption)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(optionname), core::mem::transmute_copy(optionvalue), mustcomply.into()).ok() } } @@ -2148,18 +2148,18 @@ pub struct IWSManResourceLocator_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub SetResourceURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ResourceURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddSelector: usize, pub ClearSelectors: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub FragmentPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetFragmentPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub FragmentDialect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetFragmentDialect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddOption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT, super::super::Foundation::BOOL) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddOption: usize, pub SetMustUnderstandOptions: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MustUnderstandOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -2345,39 +2345,39 @@ impl core::ops::Deref for IWSManSession { windows_core::imp::interface_hierarchy!(IWSManSession, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IWSManSession { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Get(&self, resourceuri: &super::Variant::VARIANT, flags: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Get)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(resourceuri), flags, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Put(&self, resourceuri: &super::Variant::VARIANT, resource: &windows_core::BSTR, flags: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Put)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(resourceuri), core::mem::transmute_copy(resource), flags, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Create(&self, resourceuri: &super::Variant::VARIANT, resource: &windows_core::BSTR, flags: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(resourceuri), core::mem::transmute_copy(resource), flags, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Delete(&self, resourceuri: &super::Variant::VARIANT, flags: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(resourceuri), flags).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Invoke(&self, actionuri: &windows_core::BSTR, resourceuri: &super::Variant::VARIANT, parameters: &windows_core::BSTR, flags: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Invoke)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(actionuri), core::mem::transmute_copy(resourceuri), core::mem::transmute_copy(parameters), flags, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Enumerate(&self, resourceuri: &super::Variant::VARIANT, filter: &windows_core::BSTR, dialect: &windows_core::BSTR, flags: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2419,29 +2419,29 @@ impl IWSManSession { #[repr(C)] pub struct IWSManSession_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Get: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Put: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Put: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Create: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Delete: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Invoke: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Enumerate: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Enumerate: usize, pub Identify: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> 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 7a302b6d8a..e68c892d2f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs @@ -17007,14 +17007,12 @@ impl core::ops::Deref for ITransactionLocal { windows_core::imp::interface_hierarchy!(ITransactionLocal, windows_core::IUnknown, super::DistributedTransactionCoordinator::ITransaction); #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] impl ITransactionLocal { - #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] pub unsafe fn GetOptionsObject(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptionsObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] pub unsafe fn StartTransaction(&self, isolevel: i32, isoflags: u32, potheroptions: P2, pultransactionlevel: Option<*mut u32>) -> windows_core::Result<()> where P2: windows_core::Param, @@ -17026,14 +17024,8 @@ impl ITransactionLocal { #[repr(C)] pub struct ITransactionLocal_Vtbl { pub base__: super::DistributedTransactionCoordinator::ITransaction_Vtbl, - #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] pub GetOptionsObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_DistributedTransactionCoordinator"))] - GetOptionsObject: usize, - #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] pub StartTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_DistributedTransactionCoordinator"))] - StartTransaction: usize, } #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] pub trait ITransactionLocal_Impl: super::DistributedTransactionCoordinator::ITransaction_Impl { diff --git a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs index 2599cf0678..38600d30f3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs @@ -121,7 +121,7 @@ impl IActionCollection { (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, index: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index)).ok() } } @@ -145,9 +145,9 @@ pub struct IActionCollection_Vtbl { pub XmlText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetXmlText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, TASK_ACTION_TYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Context: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -561,11 +561,9 @@ impl IEmailAction { pub unsafe fn SetBody(&self, body: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetBody)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(body)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn Attachments(&self, pattachements: *mut *mut super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Attachments)(windows_core::Interface::as_raw(self), pattachements as _).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetAttachments(&self, pattachements: *mut super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetAttachments)(windows_core::Interface::as_raw(self), pattachements as _).ok() } } @@ -592,14 +590,8 @@ pub struct IEmailAction_Vtbl { pub SetHeaderFields: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub Attachments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - Attachments: usize, - #[cfg(feature = "Win32_System_Com")] pub SetAttachments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SetAttachments: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IEmailAction_Impl: IAction_Impl { @@ -2225,14 +2217,14 @@ impl IRegisteredTask { pub unsafe fn SetEnabled(&self, enabled: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), enabled).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Run(&self, params: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Run)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(params), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RunEx(&self, params: &super::Variant::VARIANT, flags: i32, sessionid: i32, user: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2306,13 +2298,13 @@ pub struct IRegisteredTask_Vtbl { pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TASK_STATE) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Run: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Run: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RunEx: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, i32, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RunEx: usize, pub GetInstances: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub LastRunTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, @@ -2589,7 +2581,7 @@ impl IRegisteredTaskCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2608,9 +2600,9 @@ impl IRegisteredTaskCollection { pub struct IRegisteredTaskCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -2727,11 +2719,11 @@ impl IRegistrationInfo { pub unsafe fn SetURI(&self, uri: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetURI)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(uri)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SecurityDescriptor(&self, psddl: *mut super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SecurityDescriptor)(windows_core::Interface::as_raw(self), core::mem::transmute(psddl)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSecurityDescriptor(&self, sddl: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSecurityDescriptor)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(sddl)).ok() } } @@ -2760,13 +2752,13 @@ pub struct IRegistrationInfo_Vtbl { pub SetXmlText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub URI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SecurityDescriptor: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSecurityDescriptor: usize, pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3297,7 +3289,7 @@ impl IRunningTaskCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -3316,9 +3308,9 @@ impl IRunningTaskCollection { pub struct IRunningTaskCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -4591,7 +4583,7 @@ impl ITaskFolder { (windows_core::Interface::vtable(self).GetFolders)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateFolder(&self, subfoldername: &windows_core::BSTR, sddl: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4616,14 +4608,14 @@ impl ITaskFolder { pub unsafe fn DeleteTask(&self, name: &windows_core::BSTR, flags: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DeleteTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name), flags).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RegisterTask(&self, path: &windows_core::BSTR, xmltext: &windows_core::BSTR, flags: i32, userid: &super::Variant::VARIANT, password: &super::Variant::VARIANT, logontype: TASK_LOGON_TYPE, sddl: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterTask)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(path), core::mem::transmute_copy(xmltext), flags, core::mem::transmute_copy(userid), core::mem::transmute_copy(password), logontype, core::mem::transmute_copy(sddl), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RegisterTaskDefinition(&self, path: &windows_core::BSTR, pdefinition: P1, flags: i32, userid: &super::Variant::VARIANT, password: &super::Variant::VARIANT, logontype: TASK_LOGON_TYPE, sddl: &super::Variant::VARIANT) -> windows_core::Result where P1: windows_core::Param, @@ -4651,21 +4643,21 @@ pub struct ITaskFolder_Vtbl { pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFolders: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateFolder: usize, pub DeleteFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTasks: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RegisterTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, super::Variant::VARIANT, super::Variant::VARIANT, TASK_LOGON_TYPE, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RegisterTask: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RegisterTaskDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, super::Variant::VARIANT, super::Variant::VARIANT, TASK_LOGON_TYPE, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RegisterTaskDefinition: usize, pub GetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -4869,7 +4861,7 @@ impl ITaskFolderCollection { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Item(&self, index: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -4888,9 +4880,9 @@ impl ITaskFolderCollection { pub struct ITaskFolderCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -5498,7 +5490,7 @@ impl ITaskService { (windows_core::Interface::vtable(self).NewTask)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Connect(&self, servername: &super::Variant::VARIANT, user: &super::Variant::VARIANT, domain: &super::Variant::VARIANT, password: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Connect)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(servername), core::mem::transmute_copy(user), core::mem::transmute_copy(domain), core::mem::transmute_copy(password)).ok() } } @@ -5540,9 +5532,9 @@ pub struct ITaskService_Vtbl { pub GetFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRunningTasks: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub NewTask: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, super::Variant::VARIANT, super::Variant::VARIANT, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Connect: usize, pub Connected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub TargetServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6909,7 +6901,7 @@ impl ITriggerCollection { (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, index: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(index)).ok() } } @@ -6925,9 +6917,9 @@ pub struct ITriggerCollection_Vtbl { pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, TASK_TRIGGER_TYPE2, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } diff --git a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs index dcb4a8bb73..e521a5847d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs @@ -125,7 +125,6 @@ impl IComponentUtil { pub unsafe fn ImportComponentByName(&self, bstrprogid: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ImportComponentByName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrprogid)).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCLSIDs(&self, bstrdllfile: &windows_core::BSTR, bstrtypelibfile: &windows_core::BSTR, aclsids: *mut *mut super::Com::SAFEARRAY) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetCLSIDs)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrdllfile), core::mem::transmute_copy(bstrtypelibfile), aclsids as _).ok() } } @@ -137,10 +136,7 @@ pub struct IComponentUtil_Vtbl { pub InstallComponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ImportComponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ImportComponentByName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub GetCLSIDs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - GetCLSIDs: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IComponentUtil_Impl: super::Com::IDispatch_Impl { diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs index c5513a494d..30348a2b73 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs @@ -232,14 +232,14 @@ impl core::ops::Deref for IAutomaticUpdatesResults { windows_core::imp::interface_hierarchy!(IAutomaticUpdatesResults, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdatesResults { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LastSearchSuccessDate(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastSearchSuccessDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn LastInstallationSuccessDate(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -251,13 +251,13 @@ impl IAutomaticUpdatesResults { #[repr(C)] pub struct IAutomaticUpdatesResults_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LastSearchSuccessDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LastSearchSuccessDate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub LastInstallationSuccessDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] LastInstallationSuccessDate: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -1099,7 +1099,7 @@ impl core::ops::Deref for IDownloadJob { windows_core::imp::interface_hierarchy!(IDownloadJob, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IDownloadJob { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AsyncState(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1135,9 +1135,9 @@ impl IDownloadJob { #[repr(C)] pub struct IDownloadJob_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AsyncState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AsyncState: usize, pub IsCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Updates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2017,7 +2017,7 @@ impl core::ops::Deref for IInstallationJob { windows_core::imp::interface_hierarchy!(IInstallationJob, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IInstallationJob { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AsyncState(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2053,9 +2053,9 @@ impl IInstallationJob { #[repr(C)] pub struct IInstallationJob_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AsyncState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AsyncState: usize, pub IsCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Updates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2619,7 +2619,7 @@ impl core::ops::Deref for ISearchJob { windows_core::imp::interface_hierarchy!(ISearchJob, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ISearchJob { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AsyncState(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2643,9 +2643,9 @@ impl ISearchJob { #[repr(C)] pub struct ISearchJob_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AsyncState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AsyncState: usize, pub IsCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CleanUp: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3159,7 +3159,7 @@ impl IUpdate { (windows_core::Interface::vtable(self).Categories)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Deadline(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -3401,9 +3401,9 @@ pub struct IUpdate_Vtbl { pub BundledUpdates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CanRequireSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Categories: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Deadline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Deadline: usize, pub DeltaCompressedContentAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub DeltaCompressedContentPreferred: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -4916,7 +4916,7 @@ impl IUpdateDownloader { { unsafe { (windows_core::Interface::vtable(self).SetUpdates)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn BeginDownload(&self, onprogresschanged: P0, oncompleted: P1, state: &super::Variant::VARIANT) -> windows_core::Result where P0: windows_core::Param, @@ -4955,9 +4955,9 @@ pub struct IUpdateDownloader_Vtbl { pub SetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, DownloadPriority) -> windows_core::HRESULT, pub Updates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetUpdates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub BeginDownload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] BeginDownload: usize, pub Download: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndDownload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6023,7 +6023,7 @@ impl IUpdateInstaller { { unsafe { (windows_core::Interface::vtable(self).SetUpdates)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn BeginInstall(&self, onprogresschanged: P0, oncompleted: P1, state: &super::Variant::VARIANT) -> windows_core::Result where P0: windows_core::Param, @@ -6034,7 +6034,7 @@ impl IUpdateInstaller { (windows_core::Interface::vtable(self).BeginInstall)(windows_core::Interface::as_raw(self), onprogresschanged.param().abi(), oncompleted.param().abi(), core::mem::transmute_copy(state), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn BeginUninstall(&self, onprogresschanged: P0, oncompleted: P1, state: &super::Variant::VARIANT) -> windows_core::Result where P0: windows_core::Param, @@ -6117,13 +6117,13 @@ pub struct IUpdateInstaller_Vtbl { pub ParentWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Updates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetUpdates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub BeginInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] BeginInstall: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub BeginUninstall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] BeginUninstall: usize, pub EndInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndUninstall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6668,7 +6668,7 @@ impl IUpdateSearcher { pub unsafe fn SetServerSelection(&self, value: ServerSelection) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetServerSelection)(windows_core::Interface::as_raw(self), value).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn BeginSearch(&self, criteria: &windows_core::BSTR, oncompleted: P1, state: &super::Variant::VARIANT) -> windows_core::Result where P1: windows_core::Param, @@ -6742,9 +6742,9 @@ pub struct IUpdateSearcher_Vtbl { pub SetIncludePotentiallySupersededUpdates: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ServerSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ServerSelection) -> windows_core::HRESULT, pub SetServerSelection: unsafe extern "system" fn(*mut core::ffi::c_void, ServerSelection) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub BeginSearch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] BeginSearch: usize, pub EndSearch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EscapeString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -7143,7 +7143,7 @@ impl IUpdateService { (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ContentValidationCert(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7222,9 +7222,9 @@ impl IUpdateService { pub struct IUpdateService_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ContentValidationCert: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ContentValidationCert: usize, pub ExpirationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub IsManaged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -7627,7 +7627,7 @@ impl IUpdateServiceManager { (windows_core::Interface::vtable(self).AddScanPackageService)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(servicename), core::mem::transmute_copy(scanfilelocation), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetOption(&self, optionname: &windows_core::BSTR, optionvalue: &super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetOption)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(optionname), core::mem::transmute_copy(optionvalue)).ok() } } @@ -7642,9 +7642,9 @@ pub struct IUpdateServiceManager_Vtbl { pub RemoveService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnregisterServiceWithAU: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddScanPackageService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetOption: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9399,7 +9399,7 @@ impl core::ops::Deref for IWindowsUpdateAgentInfo { windows_core::imp::interface_hierarchy!(IWindowsUpdateAgentInfo, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IWindowsUpdateAgentInfo { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetInfo(&self, varinfoidentifier: &super::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9411,9 +9411,9 @@ impl IWindowsUpdateAgentInfo { #[repr(C)] pub struct IWindowsUpdateAgentInfo_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, super::Variant::VARIANT, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetInfo: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] diff --git a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs index 16020cba24..16ec12adad 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs @@ -1325,14 +1325,14 @@ impl core::ops::Deref for ISWbemNamedValue { windows_core::imp::interface_hierarchy!(ISWbemNamedValue, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ISWbemNamedValue { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetValue(&self, varvalue: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute(varvalue)).ok() } } @@ -1347,13 +1347,13 @@ impl ISWbemNamedValue { #[repr(C)] pub struct ISWbemNamedValue_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetValue: usize, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1440,7 +1440,7 @@ impl ISWbemNamedValueSet { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Add(&self, strname: &windows_core::BSTR, varvalue: *const super::Variant::VARIANT, iflags: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1467,9 +1467,9 @@ pub struct ISWbemNamedValueSet_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Add: usize, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1759,7 +1759,7 @@ impl ISWbemObject { (windows_core::Interface::vtable(self).Methods_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Derivation_(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -1805,9 +1805,9 @@ pub struct ISWbemObject_Vtbl { pub Qualifiers_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Properties_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Methods_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Derivation_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Derivation_: usize, pub Path_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Security_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3131,14 +3131,14 @@ impl core::ops::Deref for ISWbemProperty { windows_core::imp::interface_hierarchy!(ISWbemProperty, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ISWbemProperty { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetValue(&self, varvalue: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute(varvalue)).ok() } } @@ -3183,13 +3183,13 @@ impl ISWbemProperty { #[repr(C)] pub struct ISWbemProperty_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetValue: usize, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsLocal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -3464,14 +3464,14 @@ impl core::ops::Deref for ISWbemQualifier { windows_core::imp::interface_hierarchy!(ISWbemQualifier, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ISWbemQualifier { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetValue(&self, varvalue: *const super::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute(varvalue)).ok() } } @@ -3525,13 +3525,13 @@ impl ISWbemQualifier { #[repr(C)] pub struct ISWbemQualifier_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetValue: usize, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsLocal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -3720,7 +3720,7 @@ impl ISWbemQualifierSet { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Add(&self, strname: &windows_core::BSTR, varval: *const super::Variant::VARIANT, bpropagatestosubclass: super::super::Foundation::VARIANT_BOOL, bpropagatestoinstance: super::super::Foundation::VARIANT_BOOL, bisoverridable: super::super::Foundation::VARIANT_BOOL, iflags: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -3738,9 +3738,9 @@ pub struct ISWbemQualifierSet_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::Variant::VARIANT, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Add: usize, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs index 977550b54b..d4ff276025 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs @@ -1646,121 +1646,121 @@ impl IAccessible { (windows_core::Interface::vtable(self).accChildCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_accChild(&self, varchild: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accChild)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varchild), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_accName(&self, varchild: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varchild), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_accValue(&self, varchild: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varchild), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_accDescription(&self, varchild: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accDescription)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varchild), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_accRole(&self, varchild: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accRole)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varchild), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_accState(&self, varchild: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accState)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varchild), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_accHelp(&self, varchild: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accHelp)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varchild), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_accHelpTopic(&self, pszhelpfile: *mut windows_core::BSTR, varchild: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accHelpTopic)(windows_core::Interface::as_raw(self), core::mem::transmute(pszhelpfile), core::mem::transmute_copy(varchild), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_accKeyboardShortcut(&self, varchild: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accKeyboardShortcut)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varchild), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn accFocus(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).accFocus)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn accSelection(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).accSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_accDefaultAction(&self, varchild: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accDefaultAction)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varchild), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn accSelect(&self, flagsselect: i32, varchild: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).accSelect)(windows_core::Interface::as_raw(self), flagsselect, core::mem::transmute_copy(varchild)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn accLocation(&self, pxleft: *mut i32, pytop: *mut i32, pcxwidth: *mut i32, pcyheight: *mut i32, varchild: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).accLocation)(windows_core::Interface::as_raw(self), pxleft as _, pytop as _, pcxwidth as _, pcyheight as _, core::mem::transmute_copy(varchild)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn accNavigate(&self, navdir: i32, varstart: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).accNavigate)(windows_core::Interface::as_raw(self), navdir, core::mem::transmute_copy(varstart), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn accHitTest(&self, xleft: i32, ytop: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).accHitTest)(windows_core::Interface::as_raw(self), xleft, ytop, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn accDoDefaultAction(&self, varchild: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).accDoDefaultAction)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varchild)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn put_accName(&self, varchild: &super::super::System::Variant::VARIANT, szname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).put_accName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varchild), core::mem::transmute_copy(szname)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn put_accValue(&self, varchild: &super::super::System::Variant::VARIANT, szvalue: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).put_accValue)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varchild), core::mem::transmute_copy(szvalue)).ok() } } @@ -1771,81 +1771,81 @@ pub struct IAccessible_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub accParent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub accChildCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_accChild: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_accChild: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_accName: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_accName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_accValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_accValue: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_accDescription: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_accDescription: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_accRole: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_accRole: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_accState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_accState: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_accHelp: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_accHelp: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_accHelpTopic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_accHelpTopic: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_accKeyboardShortcut: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_accKeyboardShortcut: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub accFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] accFocus: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub accSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] accSelection: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_accDefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_accDefaultAction: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub accSelect: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] accSelect: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub accLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut i32, *mut i32, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] accLocation: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub accNavigate: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] accNavigate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub accHitTest: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] accHitTest: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub accDoDefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] accDoDefaultAction: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub put_accName: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] put_accName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub put_accValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] put_accValue: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs index 8d3491c859..a6f2d5bace 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs @@ -1813,11 +1813,11 @@ impl ITextDocument { pub unsafe fn New(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).New)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Open(&self, pvar: *const super::super::super::System::Variant::VARIANT, flags: tomConstants, codepage: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Open)(windows_core::Interface::as_raw(self), core::mem::transmute(pvar), flags, codepage).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Save(&self, pvar: *const super::super::super::System::Variant::VARIANT, flags: tomConstants, codepage: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self), core::mem::transmute(pvar), flags, codepage).ok() } } @@ -1877,13 +1877,13 @@ pub struct ITextDocument_Vtbl { pub GetDefaultTabStop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetDefaultTabStop: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, pub New: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, tomConstants, i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Open: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, tomConstants, i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Save: usize, pub Freeze: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Unfreeze: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -7144,42 +7144,42 @@ impl ITextRange { (windows_core::Interface::vtable(self).MoveEnd)(windows_core::Interface::as_raw(self), unit, count, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn MoveWhile(&self, cset: *const super::super::super::System::Variant::VARIANT, count: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveWhile)(windows_core::Interface::as_raw(self), core::mem::transmute(cset), count, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn MoveStartWhile(&self, cset: *const super::super::super::System::Variant::VARIANT, count: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveStartWhile)(windows_core::Interface::as_raw(self), core::mem::transmute(cset), count, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn MoveEndWhile(&self, cset: *const super::super::super::System::Variant::VARIANT, count: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveEndWhile)(windows_core::Interface::as_raw(self), core::mem::transmute(cset), count, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn MoveUntil(&self, cset: *const super::super::super::System::Variant::VARIANT, count: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveUntil)(windows_core::Interface::as_raw(self), core::mem::transmute(cset), count, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn MoveStartUntil(&self, cset: *const super::super::super::System::Variant::VARIANT, count: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveStartUntil)(windows_core::Interface::as_raw(self), core::mem::transmute(cset), count, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn MoveEndUntil(&self, cset: *const super::super::super::System::Variant::VARIANT, count: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7210,25 +7210,25 @@ impl ITextRange { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self), unit, count, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Cut(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cut)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Copy(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Copy)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Paste(&self, pvar: *const super::super::super::System::Variant::VARIANT, format: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Paste)(windows_core::Interface::as_raw(self), core::mem::transmute(pvar), format).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CanPaste(&self, pvar: *const super::super::super::System::Variant::VARIANT, format: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7295,49 +7295,49 @@ pub struct ITextRange_Vtbl { pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, pub MoveStart: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, pub MoveEnd: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub MoveWhile: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, i32, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] MoveWhile: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub MoveStartWhile: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, i32, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] MoveStartWhile: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub MoveEndWhile: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, i32, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] MoveEndWhile: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub MoveUntil: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, i32, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] MoveUntil: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub MoveStartUntil: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, i32, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] MoveStartUntil: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub MoveEndUntil: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, i32, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] MoveEndUntil: usize, pub FindText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, tomConstants, *mut i32) -> windows_core::HRESULT, pub FindTextStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, tomConstants, *mut i32) -> windows_core::HRESULT, pub FindTextEnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, tomConstants, *mut i32) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Cut: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Cut: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Copy: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Paste: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Paste: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CanPaste: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::super::System::Variant::VARIANT, i32, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CanPaste: usize, pub CanEdit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ChangeCase: unsafe extern "system" fn(*mut core::ffi::c_void, tomConstants) -> windows_core::HRESULT, @@ -8173,7 +8173,6 @@ impl ITextRange2 { (windows_core::Interface::vtable(self).GetMathFunctionType)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstr), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn InsertImage(&self, width: i32, height: i32, ascent: i32, r#type: i32, bstralttext: &windows_core::BSTR, pstream: P5) -> windows_core::Result<()> where P5: windows_core::Param, @@ -8224,10 +8223,7 @@ pub struct ITextRange2_Vtbl { pub UnicodeToHex: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetInlineObject: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, i32, i32, i32, i32) -> windows_core::HRESULT, pub GetMathFunctionType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] pub InsertImage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - InsertImage: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait ITextRange2_Impl: ITextSelection_Impl { 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 0d50fe30e2..51eddff5fc 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs @@ -6565,7 +6565,7 @@ impl core::ops::Deref for CIE4ConnectionPoint { windows_core::imp::interface_hierarchy!(CIE4ConnectionPoint, windows_core::IUnknown, super::super::System::Com::IConnectionPoint); #[cfg(feature = "Win32_System_Com")] impl CIE4ConnectionPoint { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DoInvokeIE4(&self, pf: *mut super::super::Foundation::BOOL, ppv: *mut *mut core::ffi::c_void, dispid: i32, pdispparams: *mut super::super::System::Com::DISPPARAMS) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).DoInvokeIE4)(windows_core::Interface::as_raw(self), pf as _, ppv as _, dispid, pdispparams as _).ok() } } @@ -6578,9 +6578,9 @@ impl CIE4ConnectionPoint { #[repr(C)] pub struct CIE4ConnectionPoint_Vtbl { pub base__: super::super::System::Com::IConnectionPoint_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DoInvokeIE4: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut *mut core::ffi::c_void, i32, *mut super::super::System::Com::DISPPARAMS) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DoInvokeIE4: usize, #[cfg(feature = "Win32_UI_Shell_Common")] pub DoInvokePIDLIE4: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut Common::ITEMIDLIST, super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -7657,7 +7657,7 @@ impl DFConstraint { (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Value(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -7670,9 +7670,9 @@ impl DFConstraint { pub struct DFConstraint_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Value: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9214,19 +9214,19 @@ impl Folder { (windows_core::Interface::vtable(self).ParseName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn NewFolder(&self, bname: &windows_core::BSTR, voptions: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).NewFolder)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bname), core::mem::transmute_copy(voptions)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn MoveHere(&self, vitem: &super::super::System::Variant::VARIANT, voptions: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).MoveHere)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vitem), core::mem::transmute_copy(voptions)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CopyHere(&self, vitem: &super::super::System::Variant::VARIANT, voptions: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).CopyHere)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vitem), core::mem::transmute_copy(voptions)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetDetailsOf(&self, vitem: &super::super::System::Variant::VARIANT, icolumn: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9244,21 +9244,21 @@ pub struct Folder_Vtbl { pub ParentFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Items: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ParseName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub NewFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] NewFolder: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub MoveHere: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] MoveHere: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CopyHere: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CopyHere: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetDetailsOf: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetDetailsOf: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9692,7 +9692,7 @@ impl FolderItem { (windows_core::Interface::vtable(self).Verbs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn InvokeVerb(&self, vverb: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InvokeVerb)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vverb)).ok() } } @@ -9717,9 +9717,9 @@ pub struct FolderItem_Vtbl { pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Verbs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub InvokeVerb: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] InvokeVerb: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9971,11 +9971,11 @@ impl core::ops::Deref for FolderItem2 { windows_core::imp::interface_hierarchy!(FolderItem2, windows_core::IUnknown, super::super::System::Com::IDispatch, FolderItem); #[cfg(feature = "Win32_System_Com")] impl FolderItem2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn InvokeVerbEx(&self, vverb: &super::super::System::Variant::VARIANT, vargs: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InvokeVerbEx)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vverb), core::mem::transmute_copy(vargs)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ExtendedProperty(&self, bstrpropname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9987,13 +9987,13 @@ impl FolderItem2 { #[repr(C)] pub struct FolderItem2_Vtbl { pub base__: FolderItem_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub InvokeVerbEx: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] InvokeVerbEx: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ExtendedProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ExtendedProperty: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -10175,7 +10175,7 @@ impl FolderItemVerbs { (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Item(&self, index: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10196,9 +10196,9 @@ pub struct FolderItemVerbs_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Application: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -10319,7 +10319,7 @@ impl FolderItems { (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Item(&self, index: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10340,9 +10340,9 @@ pub struct FolderItems_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Application: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -10445,7 +10445,7 @@ impl core::ops::Deref for FolderItems2 { windows_core::imp::interface_hierarchy!(FolderItems2, windows_core::IUnknown, super::super::System::Com::IDispatch, FolderItems); #[cfg(feature = "Win32_System_Com")] impl FolderItems2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn InvokeVerbEx(&self, vverb: &super::super::System::Variant::VARIANT, vargs: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InvokeVerbEx)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vverb), core::mem::transmute_copy(vargs)).ok() } } @@ -10454,9 +10454,9 @@ impl FolderItems2 { #[repr(C)] pub struct FolderItems2_Vtbl { pub base__: FolderItems_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub InvokeVerbEx: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] InvokeVerbEx: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -23950,7 +23950,7 @@ impl IFileSearchBand { pub unsafe fn SetFocus(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFocus)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSearchParameters(&self, pbstrsearchid: *const windows_core::BSTR, bnavtoresults: super::super::Foundation::VARIANT_BOOL, pvarscope: *const super::super::System::Variant::VARIANT, pvarqueryfile: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSearchParameters)(windows_core::Interface::as_raw(self), core::mem::transmute(pbstrsearchid), bnavtoresults, core::mem::transmute(pvarscope), core::mem::transmute(pvarqueryfile)).ok() } } @@ -23960,14 +23960,14 @@ impl IFileSearchBand { (windows_core::Interface::vtable(self).SearchID)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Scope(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Scope)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn QueryFile(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -23980,18 +23980,18 @@ impl IFileSearchBand { pub struct IFileSearchBand_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub SetFocus: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSearchParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSearchParameters: usize, pub SearchID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Scope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Scope: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub QueryFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] QueryFile: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -31464,7 +31464,7 @@ impl core::ops::Deref for IPersistFolder3 { windows_core::imp::interface_hierarchy!(IPersistFolder3, windows_core::IUnknown, super::super::System::Com::IPersist, IPersistFolder, IPersistFolder2); #[cfg(feature = "Win32_System_Com")] impl IPersistFolder3 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] + #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn InitializeEx(&self, pbc: P0, pidlroot: *const Common::ITEMIDLIST, ppfti: *const PERSIST_FOLDER_TARGET_INFO) -> windows_core::Result<()> where P0: windows_core::Param, @@ -31480,9 +31480,9 @@ impl IPersistFolder3 { #[repr(C)] pub struct IPersistFolder3_Vtbl { pub base__: IPersistFolder2_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] + #[cfg(feature = "Win32_UI_Shell_Common")] pub InitializeEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const Common::ITEMIDLIST, *const PERSIST_FOLDER_TARGET_INFO) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common")))] + #[cfg(not(feature = "Win32_UI_Shell_Common"))] InitializeEx: usize, #[cfg(feature = "Win32_UI_Shell_Common")] pub GetFolderTargetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PERSIST_FOLDER_TARGET_INFO) -> windows_core::HRESULT, @@ -34118,7 +34118,7 @@ impl core::ops::Deref for IShellBrowser { windows_core::imp::interface_hierarchy!(IShellBrowser, windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] impl IShellBrowser { - #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] + #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn InsertMenusSB(&self, hmenushared: super::WindowsAndMessaging::HMENU, lpmenuwidths: *mut super::super::System::Ole::OLEMENUGROUPWIDTHS) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InsertMenusSB)(windows_core::Interface::as_raw(self), hmenushared, lpmenuwidths as _).ok() } } @@ -34184,9 +34184,9 @@ impl IShellBrowser { #[repr(C)] pub struct IShellBrowser_Vtbl { pub base__: super::super::System::Ole::IOleWindow_Vtbl, - #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] + #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub InsertMenusSB: unsafe extern "system" fn(*mut core::ffi::c_void, super::WindowsAndMessaging::HMENU, *mut super::super::System::Ole::OLEMENUGROUPWIDTHS) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging")))] + #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] InsertMenusSB: usize, #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub SetMenuSB: unsafe extern "system" fn(*mut core::ffi::c_void, super::WindowsAndMessaging::HMENU, isize, super::super::Foundation::HWND) -> windows_core::HRESULT, @@ -34471,14 +34471,14 @@ impl IShellDispatch { (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn NameSpace(&self, vdir: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NameSpace)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vdir), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn BrowseForFolder(&self, hwnd: i32, title: &windows_core::BSTR, options: i32, rootfolder: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -34491,11 +34491,11 @@ impl IShellDispatch { (windows_core::Interface::vtable(self).Windows)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Open(&self, vdir: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Open)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vdir)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Explore(&self, vdir: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Explore)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vdir)).ok() } } @@ -34554,22 +34554,22 @@ pub struct IShellDispatch_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Application: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub NameSpace: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] NameSpace: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub BrowseForFolder: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, i32, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] BrowseForFolder: usize, pub Windows: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Open: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Explore: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Explore: usize, pub MinimizeAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub UndoMinimizeALL: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -34837,49 +34837,49 @@ impl IShellDispatch2 { (windows_core::Interface::vtable(self).IsRestricted)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(group), core::mem::transmute_copy(restriction), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ShellExecute(&self, file: &windows_core::BSTR, vargs: &super::super::System::Variant::VARIANT, vdir: &super::super::System::Variant::VARIANT, voperation: &super::super::System::Variant::VARIANT, vshow: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ShellExecute)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(file), core::mem::transmute_copy(vargs), core::mem::transmute_copy(vdir), core::mem::transmute_copy(voperation), core::mem::transmute_copy(vshow)).ok() } } pub unsafe fn FindPrinter(&self, name: &windows_core::BSTR, location: &windows_core::BSTR, model: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).FindPrinter)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name), core::mem::transmute_copy(location), core::mem::transmute_copy(model)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetSystemInformation(&self, name: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSystemInformation)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ServiceStart(&self, servicename: &windows_core::BSTR, persistent: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceStart)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(servicename), core::mem::transmute_copy(persistent), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ServiceStop(&self, servicename: &windows_core::BSTR, persistent: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceStop)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(servicename), core::mem::transmute_copy(persistent), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn IsServiceRunning(&self, servicename: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsServiceRunning)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(servicename), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CanStartStopService(&self, servicename: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanStartStopService)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(servicename), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ShowBrowserBar(&self, bstrclsid: &windows_core::BSTR, bshow: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -34892,34 +34892,34 @@ impl IShellDispatch2 { pub struct IShellDispatch2_Vtbl { pub base__: IShellDispatch_Vtbl, pub IsRestricted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ShellExecute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ShellExecute: usize, pub FindPrinter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetSystemInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetSystemInformation: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ServiceStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ServiceStart: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ServiceStop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ServiceStop: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub IsServiceRunning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] IsServiceRunning: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CanStartStopService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CanStartStopService: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ShowBrowserBar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ShowBrowserBar: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -35065,7 +35065,7 @@ impl core::ops::Deref for IShellDispatch3 { windows_core::imp::interface_hierarchy!(IShellDispatch3, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2); #[cfg(feature = "Win32_System_Com")] impl IShellDispatch3 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddToRecent(&self, varfile: &super::super::System::Variant::VARIANT, bstrcategory: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddToRecent)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varfile), core::mem::transmute_copy(bstrcategory)).ok() } } @@ -35074,9 +35074,9 @@ impl IShellDispatch3 { #[repr(C)] pub struct IShellDispatch3_Vtbl { pub base__: IShellDispatch2_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddToRecent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddToRecent: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -35119,7 +35119,7 @@ impl IShellDispatch4 { pub unsafe fn ToggleDesktop(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ToggleDesktop)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ExplorerPolicy(&self, bstrpolicyname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -35139,9 +35139,9 @@ pub struct IShellDispatch4_Vtbl { pub base__: IShellDispatch3_Vtbl, pub WindowsSecurity: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ToggleDesktop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ExplorerPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ExplorerPolicy: usize, pub GetSetting: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -36587,11 +36587,11 @@ impl IShellFolderViewDual { (windows_core::Interface::vtable(self).FocusedItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SelectItem(&self, pvfi: *const super::super::System::Variant::VARIANT, dwflags: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SelectItem)(windows_core::Interface::as_raw(self), core::mem::transmute(pvfi), dwflags).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PopupItemMenu(&self, pfi: P0, vx: &super::super::System::Variant::VARIANT, vy: &super::super::System::Variant::VARIANT) -> windows_core::Result where P0: windows_core::Param, @@ -36623,13 +36623,13 @@ pub struct IShellFolderViewDual_Vtbl { pub Folder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SelectedItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FocusedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SelectItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SelectItem: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PopupItemMenu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PopupItemMenu: usize, pub Script: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ViewOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -39538,7 +39538,7 @@ impl IShellLinkDual { pub unsafe fn SetIconLocation(&self, bs: &windows_core::BSTR, iicon: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetIconLocation)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bs), iicon).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Save(&self, vwhere: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(vwhere)).ok() } } @@ -39562,9 +39562,9 @@ pub struct IShellLinkDual_Vtbl { pub Resolve: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetIconLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetIconLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Save: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -40347,14 +40347,14 @@ impl IShellNameSpace { { unsafe { (windows_core::Interface::vtable(self).SetSelectedItem)(windows_core::Interface::as_raw(self), pitem.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Root(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Root)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetRoot(&self, var: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetRoot)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(var)).ok() } } @@ -40418,7 +40418,7 @@ impl IShellNameSpace { (windows_core::Interface::vtable(self).SelectedItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Expand(&self, var: &super::super::System::Variant::VARIANT, idepth: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Expand)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(var), idepth).ok() } } @@ -40434,13 +40434,13 @@ pub struct IShellNameSpace_Vtbl { pub SetEnumOptions: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SelectedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSelectedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Root: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Root: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetRoot: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetRoot: usize, pub Depth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetDepth: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -40455,9 +40455,9 @@ pub struct IShellNameSpace_Vtbl { pub CountViewTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetViewType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SelectedItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Expand: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Expand: usize, pub UnselectAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -40921,14 +40921,14 @@ impl IShellUIHelper { pub unsafe fn RefreshOfflineDesktop(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).RefreshOfflineDesktop)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddFavorite(&self, url: &windows_core::BSTR, title: Option<*const super::super::System::Variant::VARIANT>) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddFavorite)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(url), title.unwrap_or(core::mem::zeroed()) as _).ok() } } pub unsafe fn AddChannel(&self, url: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddChannel)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(url)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddDesktopComponent(&self, url: &windows_core::BSTR, r#type: &windows_core::BSTR, left: Option<*const super::super::System::Variant::VARIANT>, top: Option<*const super::super::System::Variant::VARIANT>, width: Option<*const super::super::System::Variant::VARIANT>, height: Option<*const super::super::System::Variant::VARIANT>) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddDesktopComponent)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(url), core::mem::transmute_copy(r#type), left.unwrap_or(core::mem::zeroed()) as _, top.unwrap_or(core::mem::zeroed()) as _, width.unwrap_or(core::mem::zeroed()) as _, height.unwrap_or(core::mem::zeroed()) as _).ok() } } @@ -40938,26 +40938,26 @@ impl IShellUIHelper { (windows_core::Interface::vtable(self).IsSubscribed)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(url), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn NavigateAndFind(&self, url: &windows_core::BSTR, strquery: &windows_core::BSTR, vartargetframe: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).NavigateAndFind)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(url), core::mem::transmute_copy(strquery), core::mem::transmute(vartargetframe)).ok() } } pub unsafe fn ImportExportFavorites(&self, fimport: super::super::Foundation::VARIANT_BOOL, strimpexppath: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ImportExportFavorites)(windows_core::Interface::as_raw(self), fimport, core::mem::transmute_copy(strimpexppath)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AutoCompleteSaveForm(&self, form: Option<*const super::super::System::Variant::VARIANT>) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AutoCompleteSaveForm)(windows_core::Interface::as_raw(self), form.unwrap_or(core::mem::zeroed()) as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AutoScan(&self, strsearch: &windows_core::BSTR, strfailureurl: &windows_core::BSTR, pvartargetframe: Option<*const super::super::System::Variant::VARIANT>) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AutoScan)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strsearch), core::mem::transmute_copy(strfailureurl), pvartargetframe.unwrap_or(core::mem::zeroed()) as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AutoCompleteAttach(&self, reserved: Option<*const super::super::System::Variant::VARIANT>) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AutoCompleteAttach)(windows_core::Interface::as_raw(self), reserved.unwrap_or(core::mem::zeroed()) as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ShowBrowserUI(&self, bstrname: &windows_core::BSTR, pvarin: *const super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -40972,36 +40972,36 @@ pub struct IShellUIHelper_Vtbl { pub ResetFirstBootMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ResetSafeMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RefreshOfflineDesktop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddFavorite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddFavorite: usize, pub AddChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddDesktopComponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddDesktopComponent: usize, pub IsSubscribed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub NavigateAndFind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] NavigateAndFind: usize, pub ImportExportFavorites: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AutoCompleteSaveForm: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AutoCompleteSaveForm: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AutoScan: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AutoScan: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AutoCompleteAttach: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AutoCompleteAttach: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ShowBrowserUI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ShowBrowserUI: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -41463,7 +41463,7 @@ impl IShellUIHelper3 { (windows_core::Interface::vtable(self).InPrivateFilteringEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn AddToFavoritesBar(&self, url: &windows_core::BSTR, title: &windows_core::BSTR, r#type: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).AddToFavoritesBar)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(url), core::mem::transmute_copy(title), core::mem::transmute(r#type)).ok() } } @@ -41505,9 +41505,9 @@ pub struct IShellUIHelper3_Vtbl { pub AddService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsServiceInstalled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub InPrivateFilteringEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub AddToFavoritesBar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] AddToFavoritesBar: usize, pub BuildNewTabPage: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRecentlyClosedVisible: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -41679,18 +41679,18 @@ impl IShellUIHelper4 { pub unsafe fn msSiteModeShowThumbBar(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msSiteModeShowThumbBar)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn msSiteModeAddThumbBarButton(&self, bstriconurl: &windows_core::BSTR, bstrtooltip: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).msSiteModeAddThumbBarButton)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstriconurl), core::mem::transmute_copy(bstrtooltip), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn msSiteModeUpdateThumbBarButton(&self, buttonid: &super::super::System::Variant::VARIANT, fenabled: super::super::Foundation::VARIANT_BOOL, fvisible: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msSiteModeUpdateThumbBarButton)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(buttonid), fenabled, fvisible).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn msSiteModeSetIconOverlay(&self, iconurl: &windows_core::BSTR, pvardescription: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msSiteModeSetIconOverlay)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(iconurl), core::mem::transmute(pvardescription)).ok() } } @@ -41703,7 +41703,7 @@ impl IShellUIHelper4 { pub unsafe fn msSiteModeCreateJumpList(&self, bstrheader: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msSiteModeCreateJumpList)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrheader)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn msSiteModeAddJumpListItem(&self, bstrname: &windows_core::BSTR, bstractionuri: &windows_core::BSTR, bstriconuri: &windows_core::BSTR, pvarwindowtype: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msSiteModeAddJumpListItem)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrname), core::mem::transmute_copy(bstractionuri), core::mem::transmute_copy(bstriconuri), core::mem::transmute(pvarwindowtype)).ok() } } @@ -41713,21 +41713,21 @@ impl IShellUIHelper4 { pub unsafe fn msSiteModeShowJumpList(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msSiteModeShowJumpList)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn msSiteModeAddButtonStyle(&self, uibuttonid: &super::super::System::Variant::VARIANT, bstriconurl: &windows_core::BSTR, bstrtooltip: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).msSiteModeAddButtonStyle)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(uibuttonid), core::mem::transmute_copy(bstriconurl), core::mem::transmute_copy(bstrtooltip), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn msSiteModeShowButtonStyle(&self, uibuttonid: &super::super::System::Variant::VARIANT, uistyleid: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msSiteModeShowButtonStyle)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(uibuttonid), core::mem::transmute_copy(uistyleid)).ok() } } pub unsafe fn msSiteModeActivate(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msSiteModeActivate)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn msIsSiteModeFirstRun(&self, fpreservestate: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -41756,39 +41756,39 @@ pub struct IShellUIHelper4_Vtbl { pub base__: IShellUIHelper3_Vtbl, pub msIsSiteMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub msSiteModeShowThumbBar: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub msSiteModeAddThumbBarButton: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] msSiteModeAddThumbBarButton: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub msSiteModeUpdateThumbBarButton: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] msSiteModeUpdateThumbBarButton: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub msSiteModeSetIconOverlay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] msSiteModeSetIconOverlay: usize, pub msSiteModeClearIconOverlay: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub msAddSiteMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub msSiteModeCreateJumpList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub msSiteModeAddJumpListItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] msSiteModeAddJumpListItem: usize, pub msSiteModeClearJumpList: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub msSiteModeShowJumpList: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub msSiteModeAddButtonStyle: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] msSiteModeAddButtonStyle: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub msSiteModeShowButtonStyle: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] msSiteModeShowButtonStyle: usize, pub msSiteModeActivate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub msIsSiteModeFirstRun: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] msIsSiteModeFirstRun: usize, pub msAddTrackingProtectionList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub msTrackingProtectionEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -42003,7 +42003,7 @@ impl core::ops::Deref for IShellUIHelper5 { windows_core::imp::interface_hierarchy!(IShellUIHelper5, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4); #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper5 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn msProvisionNetworks(&self, bstrprovisioningxml: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -42033,9 +42033,9 @@ impl IShellUIHelper5 { #[repr(C)] pub struct IShellUIHelper5_Vtbl { pub base__: IShellUIHelper4_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub msProvisionNetworks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] msProvisionNetworks: usize, pub msReportSafeUrl: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub msSiteModeRefreshBadge: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -42138,11 +42138,11 @@ impl IShellUIHelper6 { pub unsafe fn msStopPeriodicTileUpdate(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msStopPeriodicTileUpdate)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn msStartPeriodicTileUpdate(&self, pollinguris: &super::super::System::Variant::VARIANT, starttime: &super::super::System::Variant::VARIANT, uiupdaterecurrence: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msStartPeriodicTileUpdate)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pollinguris), core::mem::transmute_copy(starttime), core::mem::transmute_copy(uiupdaterecurrence)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn msStartPeriodicTileUpdateBatch(&self, pollinguris: &super::super::System::Variant::VARIANT, starttime: &super::super::System::Variant::VARIANT, uiupdaterecurrence: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msStartPeriodicTileUpdateBatch)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pollinguris), core::mem::transmute_copy(starttime), core::mem::transmute_copy(uiupdaterecurrence)).ok() } } @@ -42152,7 +42152,7 @@ impl IShellUIHelper6 { pub unsafe fn msEnableTileNotificationQueue(&self, fchange: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msEnableTileNotificationQueue)(windows_core::Interface::as_raw(self), fchange).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn msPinnedSiteState(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -42168,14 +42168,14 @@ impl IShellUIHelper6 { pub unsafe fn msEnableTileNotificationQueueForSquare310x310(&self, fchange: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msEnableTileNotificationQueueForSquare310x310)(windows_core::Interface::as_raw(self), fchange).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn msScheduledTileNotification(&self, bstrnotificationxml: &windows_core::BSTR, bstrnotificationid: &windows_core::BSTR, bstrnotificationtag: &windows_core::BSTR, starttime: &super::super::System::Variant::VARIANT, expirationtime: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msScheduledTileNotification)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrnotificationxml), core::mem::transmute_copy(bstrnotificationid), core::mem::transmute_copy(bstrnotificationtag), core::mem::transmute_copy(starttime), core::mem::transmute_copy(expirationtime)).ok() } } pub unsafe fn msRemoveScheduledTileNotification(&self, bstrnotificationid: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msRemoveScheduledTileNotification)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrnotificationid)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn msStartPeriodicBadgeUpdate(&self, pollinguri: &windows_core::BSTR, starttime: &super::super::System::Variant::VARIANT, uiupdaterecurrence: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).msStartPeriodicBadgeUpdate)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pollinguri), core::mem::transmute_copy(starttime), core::mem::transmute_copy(uiupdaterecurrence)).ok() } } @@ -42191,31 +42191,31 @@ impl IShellUIHelper6 { pub struct IShellUIHelper6_Vtbl { pub base__: IShellUIHelper5_Vtbl, pub msStopPeriodicTileUpdate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub msStartPeriodicTileUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] msStartPeriodicTileUpdate: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub msStartPeriodicTileUpdateBatch: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] msStartPeriodicTileUpdateBatch: usize, pub msClearTile: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub msEnableTileNotificationQueue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub msPinnedSiteState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] msPinnedSiteState: usize, pub msEnableTileNotificationQueueForSquare150x150: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub msEnableTileNotificationQueueForWide310x150: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub msEnableTileNotificationQueueForSquare310x310: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub msScheduledTileNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] msScheduledTileNotification: usize, pub msRemoveScheduledTileNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub msStartPeriodicBadgeUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] msStartPeriodicBadgeUpdate: usize, pub msStopPeriodicBadgeUpdate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub msLaunchInternetOptions: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -43113,7 +43113,7 @@ impl IShellWindows { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Item(&self, index: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -43135,7 +43135,7 @@ impl IShellWindows { (windows_core::Interface::vtable(self).Register)(windows_core::Interface::as_raw(self), pid.param().abi(), hwnd, swclass, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn RegisterPending(&self, lthreadid: i32, pvarloc: *const super::super::System::Variant::VARIANT, pvarlocroot: *const super::super::System::Variant::VARIANT, swclass: ShellWindowTypeConstants) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -43145,14 +43145,14 @@ impl IShellWindows { pub unsafe fn Revoke(&self, lcookie: i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Revoke)(windows_core::Interface::as_raw(self), lcookie).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn OnNavigate(&self, lcookie: i32, pvarloc: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).OnNavigate)(windows_core::Interface::as_raw(self), lcookie, core::mem::transmute(pvarloc)).ok() } } pub unsafe fn OnActivated(&self, lcookie: i32, factive: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).OnActivated)(windows_core::Interface::as_raw(self), lcookie, factive).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn FindWindowSW(&self, pvarloc: *const super::super::System::Variant::VARIANT, pvarlocroot: *const super::super::System::Variant::VARIANT, swclass: ShellWindowTypeConstants, phwnd: *mut i32, swfwoptions: ShellWindowFindWindowOptions) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -43174,25 +43174,25 @@ impl IShellWindows { pub struct IShellWindows_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, ShellWindowTypeConstants, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub RegisterPending: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT, ShellWindowTypeConstants, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] RegisterPending: usize, pub Revoke: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub OnNavigate: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] OnNavigate: usize, pub OnActivated: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub FindWindowSW: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT, ShellWindowTypeConstants, *mut i32, ShellWindowFindWindowOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] FindWindowSW: usize, pub OnCreated: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProcessAttachDetach: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -49632,14 +49632,14 @@ impl IWebBrowser { pub unsafe fn GoSearch(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GoSearch)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Navigate(&self, url: &windows_core::BSTR, flags: Option<*const super::super::System::Variant::VARIANT>, targetframename: Option<*const super::super::System::Variant::VARIANT>, postdata: Option<*const super::super::System::Variant::VARIANT>, headers: Option<*const super::super::System::Variant::VARIANT>) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Navigate)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(url), flags.unwrap_or(core::mem::zeroed()) as _, targetframename.unwrap_or(core::mem::zeroed()) as _, postdata.unwrap_or(core::mem::zeroed()) as _, headers.unwrap_or(core::mem::zeroed()) as _).ok() } } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Refresh2(&self, level: Option<*const super::super::System::Variant::VARIANT>) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Refresh2)(windows_core::Interface::as_raw(self), level.unwrap_or(core::mem::zeroed()) as _).ok() } } @@ -49745,14 +49745,14 @@ pub struct IWebBrowser_Vtbl { pub GoForward: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GoHome: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GoSearch: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Navigate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Navigate: usize, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Refresh2: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Refresh2: usize, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Application: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -50080,7 +50080,7 @@ impl core::ops::Deref for IWebBrowser2 { windows_core::imp::interface_hierarchy!(IWebBrowser2, windows_core::IUnknown, super::super::System::Com::IDispatch, IWebBrowser, IWebBrowserApp); #[cfg(feature = "Win32_System_Com")] impl IWebBrowser2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Navigate2(&self, url: *const super::super::System::Variant::VARIANT, flags: Option<*const super::super::System::Variant::VARIANT>, targetframename: Option<*const super::super::System::Variant::VARIANT>, postdata: Option<*const super::super::System::Variant::VARIANT>, headers: Option<*const super::super::System::Variant::VARIANT>) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Navigate2)(windows_core::Interface::as_raw(self), core::mem::transmute(url), flags.unwrap_or(core::mem::zeroed()) as _, targetframename.unwrap_or(core::mem::zeroed()) as _, postdata.unwrap_or(core::mem::zeroed()) as _, headers.unwrap_or(core::mem::zeroed()) as _).ok() } } @@ -50091,11 +50091,11 @@ impl IWebBrowser2 { (windows_core::Interface::vtable(self).QueryStatusWB)(windows_core::Interface::as_raw(self), cmdid, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ExecWB(&self, cmdid: super::super::System::Ole::OLECMDID, cmdexecopt: super::super::System::Ole::OLECMDEXECOPT, pvain: Option<*const super::super::System::Variant::VARIANT>, pvaout: Option<*mut super::super::System::Variant::VARIANT>) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ExecWB)(windows_core::Interface::as_raw(self), cmdid, cmdexecopt, pvain.unwrap_or(core::mem::zeroed()) as _, pvaout.unwrap_or(core::mem::zeroed()) as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn ShowBrowserBar(&self, pvaclsid: *const super::super::System::Variant::VARIANT, pvarshow: Option<*const super::super::System::Variant::VARIANT>, pvarsize: Option<*const super::super::System::Variant::VARIANT>) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ShowBrowserBar)(windows_core::Interface::as_raw(self), core::mem::transmute(pvaclsid), pvarshow.unwrap_or(core::mem::zeroed()) as _, pvarsize.unwrap_or(core::mem::zeroed()) as _).ok() } } @@ -50174,21 +50174,21 @@ impl IWebBrowser2 { #[repr(C)] pub struct IWebBrowser2_Vtbl { pub base__: IWebBrowserApp_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Navigate2: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Navigate2: usize, #[cfg(feature = "Win32_System_Ole")] pub QueryStatusWB: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Ole::OLECMDID, *mut super::super::System::Ole::OLECMDF) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] QueryStatusWB: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ExecWB: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Ole::OLECMDID, super::super::System::Ole::OLECMDEXECOPT, *const super::super::System::Variant::VARIANT, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ExecWB: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ShowBrowserBar: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ShowBrowserBar: usize, #[cfg(feature = "Win32_System_Ole")] pub ReadyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Ole::READYSTATE) -> windows_core::HRESULT, @@ -50450,11 +50450,11 @@ impl IWebBrowserApp { pub unsafe fn ClientToWindow(&self, pcx: *mut i32, pcy: *mut i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).ClientToWindow)(windows_core::Interface::as_raw(self), pcx as _, pcy as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PutProperty(&self, property: &windows_core::BSTR, vtvalue: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).PutProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(property), core::mem::transmute_copy(vtvalue)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetProperty(&self, property: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -50546,13 +50546,13 @@ pub struct IWebBrowserApp_Vtbl { pub base__: IWebBrowser_Vtbl, pub Quit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ClientToWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PutProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PutProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetProperty: usize, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub HWND: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SHANDLE_PTR) -> windows_core::HRESULT, @@ -50904,11 +50904,11 @@ impl IWebWizardHost { (windows_core::Interface::vtable(self).Caption)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn put_Property(&self, bstrpropertyname: &windows_core::BSTR, pvproperty: *const super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).put_Property)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrpropertyname), core::mem::transmute(pvproperty)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn get_Property(&self, bstrpropertyname: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -50931,13 +50931,13 @@ pub struct IWebWizardHost_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCaption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub put_Property: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] put_Property: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] get_Property: usize, pub SetWizardButtons: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetHeaderText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs index 7549beb5e5..d6531fac92 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs @@ -1891,14 +1891,14 @@ impl IInkCollector { pub unsafe fn SetDynamicRendering(&self, enabled: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDynamicRendering)(windows_core::Interface::as_raw(self), enabled).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DesiredPacketDescription(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DesiredPacketDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetDesiredPacketDescription(&self, packetguids: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDesiredPacketDescription)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(packetguids)).ok() } } @@ -2029,13 +2029,13 @@ pub struct IInkCollector_Vtbl { pub SetCollectionMode: unsafe extern "system" fn(*mut core::ffi::c_void, InkCollectionMode) -> windows_core::HRESULT, pub DynamicRendering: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetDynamicRendering: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DesiredPacketDescription: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetDesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetDesiredPacketDescription: usize, #[cfg(feature = "Win32_System_Ole")] pub MouseIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2817,7 +2817,7 @@ impl IInkCursorButtons { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Item(&self, identifier: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -2831,9 +2831,9 @@ pub struct IInkCursorButtons_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Item: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -3017,7 +3017,7 @@ impl IInkCustomStrokes { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Item(&self, identifier: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -3030,7 +3030,7 @@ impl IInkCustomStrokes { { unsafe { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name), strokes.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, identifier: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(identifier)).ok() } } @@ -3044,14 +3044,14 @@ pub struct IInkCustomStrokes_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Item: usize, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -3240,14 +3240,14 @@ impl IInkDisp { (windows_core::Interface::vtable(self).HitTestWithRectangle)(windows_core::Interface::as_raw(self), selectionrectangle.param().abi(), intersectpercent, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn HitTestWithLasso(&self, points: &super::super::System::Variant::VARIANT, intersectpercent: f32, lassopoints: Option<*mut super::super::System::Variant::VARIANT>, strokes: *mut Option) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).HitTestWithLasso)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(points), intersectpercent, lassopoints.unwrap_or(core::mem::zeroed()) as _, core::mem::transmute(strokes)).ok() } } pub unsafe fn NearestPoint(&self, x: i32, y: i32, pointonstroke: *mut f32, distancefrompacket: *mut f32, stroke: *mut Option) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).NearestPoint)(windows_core::Interface::as_raw(self), x, y, pointonstroke as _, distancefrompacket as _, core::mem::transmute(stroke)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateStrokes(&self, strokeids: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -3261,25 +3261,24 @@ impl IInkDisp { { unsafe { (windows_core::Interface::vtable(self).AddStrokesAtRectangle)(windows_core::Interface::as_raw(self), sourcestrokes.param().abi(), targetrectangle.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Save(&self, persistenceformat: InkPersistenceFormat, compressionmode: InkPersistenceCompressionMode) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self), persistenceformat, compressionmode, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Load(&self, data: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Load)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(data)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn CreateStroke(&self, packetdata: &super::super::System::Variant::VARIANT, packetdescription: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStroke)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(packetdata), core::mem::transmute_copy(packetdescription), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClipboardCopyWithRectangle(&self, rectangle: P0, clipboardformats: InkClipboardFormats, clipboardmodes: InkClipboardModes) -> windows_core::Result where P0: windows_core::Param, @@ -3289,7 +3288,6 @@ impl IInkDisp { (windows_core::Interface::vtable(self).ClipboardCopyWithRectangle)(windows_core::Interface::as_raw(self), rectangle.param().abi(), clipboardformats, clipboardmodes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClipboardCopy(&self, strokes: P0, clipboardformats: InkClipboardFormats, clipboardmodes: InkClipboardModes) -> windows_core::Result where P0: windows_core::Param, @@ -3299,7 +3297,6 @@ impl IInkDisp { (windows_core::Interface::vtable(self).ClipboardCopy)(windows_core::Interface::as_raw(self), strokes.param().abi(), clipboardformats, clipboardmodes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn CanPaste(&self, dataobject: P0) -> windows_core::Result where P0: windows_core::Param, @@ -3309,7 +3306,6 @@ impl IInkDisp { (windows_core::Interface::vtable(self).CanPaste)(windows_core::Interface::as_raw(self), dataobject.param().abi(), &mut result__).map(|| result__) } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClipboardPaste(&self, x: i32, y: i32, dataobject: P2) -> windows_core::Result where P2: windows_core::Param, @@ -3338,44 +3334,32 @@ pub struct IInkDisp_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub HitTestCircle: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub HitTestWithRectangle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub HitTestWithLasso: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, f32, *mut super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] HitTestWithLasso: usize, pub NearestPoint: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut f32, *mut f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateStrokes: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateStrokes: usize, pub AddStrokesAtRectangle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, InkPersistenceFormat, InkPersistenceCompressionMode, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Save: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Load: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub CreateStroke: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] CreateStroke: usize, - #[cfg(feature = "Win32_System_Com")] pub ClipboardCopyWithRectangle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, InkClipboardFormats, InkClipboardModes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ClipboardCopyWithRectangle: usize, - #[cfg(feature = "Win32_System_Com")] pub ClipboardCopy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, InkClipboardFormats, InkClipboardModes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ClipboardCopy: usize, - #[cfg(feature = "Win32_System_Com")] pub CanPaste: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - CanPaste: usize, - #[cfg(feature = "Win32_System_Com")] pub ClipboardPaste: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - ClipboardPaste: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub trait IInkDisp_Impl: super::super::System::Com::IDispatch_Impl { @@ -4612,14 +4596,14 @@ impl IInkEdit { pub unsafe fn SetFactoid(&self, newval: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetFactoid)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(newval)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SelInks(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelInks)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSelInks(&self, selink: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSelInks)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(selink)).ok() } } @@ -4785,91 +4769,91 @@ impl IInkEdit { pub unsafe fn SetDisableNoScroll(&self, newval: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDisableNoScroll)(windows_core::Interface::as_raw(self), newval).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SelAlignment(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelAlignment)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSelAlignment(&self, pvarselalignment: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSelAlignment)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pvarselalignment)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SelBold(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelBold)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSelBold(&self, pvarselbold: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSelBold)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pvarselbold)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SelItalic(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelItalic)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSelItalic(&self, pvarselitalic: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSelItalic)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pvarselitalic)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SelUnderline(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelUnderline)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSelUnderline(&self, pvarselunderline: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSelUnderline)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pvarselunderline)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SelColor(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSelColor(&self, pvarselcolor: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSelColor)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pvarselcolor)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SelFontName(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelFontName)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSelFontName(&self, pvarselfontname: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSelFontName)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pvarselfontname)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SelFontSize(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelFontSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSelFontSize(&self, pvarselfontsize: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSelFontSize)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pvarselfontsize)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SelCharOffset(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelCharOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetSelCharOffset(&self, pvarselcharoffset: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetSelCharOffset)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(pvarselcharoffset)).ok() } } @@ -4941,13 +4925,13 @@ pub struct IInkEdit_Vtbl { pub putref_Recognizer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Factoid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetFactoid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SelInks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SelInks: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSelInks: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSelInks: usize, pub SelInksDisplayMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkDisplayMode) -> windows_core::HRESULT, pub SetSelInksDisplayMode: unsafe extern "system" fn(*mut core::ffi::c_void, InkDisplayMode) -> windows_core::HRESULT, @@ -5000,69 +4984,69 @@ pub struct IInkEdit_Vtbl { pub SetScrollBars: unsafe extern "system" fn(*mut core::ffi::c_void, ScrollBarsConstants) -> windows_core::HRESULT, pub DisableNoScroll: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetDisableNoScroll: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SelAlignment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SelAlignment: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSelAlignment: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSelAlignment: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SelBold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SelBold: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSelBold: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSelBold: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SelItalic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SelItalic: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSelItalic: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSelItalic: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SelUnderline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SelUnderline: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSelUnderline: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSelUnderline: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SelColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SelColor: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSelColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSelColor: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SelFontName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SelFontName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSelFontName: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSelFontName: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SelFontSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SelFontSize: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSelFontSize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSelFontSize: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SelCharOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SelCharOffset: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetSelCharOffset: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetSelCharOffset: usize, pub TextRTF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetTextRTF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5961,21 +5945,21 @@ impl IInkExtendedProperties { (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Item(&self, identifier: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(identifier), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Add(&self, guid: &windows_core::BSTR, data: &super::super::System::Variant::VARIANT) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(guid), core::mem::transmute_copy(data), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Remove(&self, identifier: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(identifier)).ok() } } @@ -5995,17 +5979,17 @@ pub struct IInkExtendedProperties_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Item: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Add: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Remove: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DoesPropertyExist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -6131,14 +6115,14 @@ impl IInkExtendedProperty { (windows_core::Interface::vtable(self).Guid)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Data(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Data)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetData(&self, data: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetData)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(data)).ok() } } @@ -6148,13 +6132,13 @@ impl IInkExtendedProperty { pub struct IInkExtendedProperty_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Guid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Data: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetData: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -6497,14 +6481,14 @@ impl IInkOverlay { pub unsafe fn SetDynamicRendering(&self, enabled: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDynamicRendering)(windows_core::Interface::as_raw(self), enabled).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DesiredPacketDescription(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DesiredPacketDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetDesiredPacketDescription(&self, packetguids: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDesiredPacketDescription)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(packetguids)).ok() } } @@ -6704,13 +6688,13 @@ pub struct IInkOverlay_Vtbl { pub SetCollectionMode: unsafe extern "system" fn(*mut core::ffi::c_void, InkCollectionMode) -> windows_core::HRESULT, pub DynamicRendering: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetDynamicRendering: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DesiredPacketDescription: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetDesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetDesiredPacketDescription: usize, #[cfg(feature = "Win32_System_Ole")] pub MouseIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -7449,14 +7433,14 @@ impl IInkPicture { pub unsafe fn SetDynamicRendering(&self, enabled: super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDynamicRendering)(windows_core::Interface::as_raw(self), enabled).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn DesiredPacketDescription(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DesiredPacketDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetDesiredPacketDescription(&self, packetguids: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetDesiredPacketDescription)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(packetguids)).ok() } } @@ -7695,13 +7679,13 @@ pub struct IInkPicture_Vtbl { pub SetCollectionMode: unsafe extern "system" fn(*mut core::ffi::c_void, InkCollectionMode) -> windows_core::HRESULT, pub DynamicRendering: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetDynamicRendering: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub DesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] DesiredPacketDescription: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetDesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetDesiredPacketDescription: usize, #[cfg(feature = "Win32_System_Ole")] pub MouseIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8452,28 +8436,28 @@ impl IInkRecognitionAlternate { (windows_core::Interface::vtable(self).Confidence)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Baseline(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Baseline)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Midline(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Midline)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Ascender(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ascender)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Descender(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8528,7 +8512,7 @@ impl IInkRecognitionAlternate { (windows_core::Interface::vtable(self).AlternatesWithConstantPropertyValues)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(propertytype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetPropertyValue(&self, propertytype: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -8542,21 +8526,21 @@ pub struct IInkRecognitionAlternate_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub String: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Confidence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkRecognitionConfidence) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Baseline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Baseline: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Midline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Midline: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Ascender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Ascender: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Descender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Descender: usize, pub LineNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Strokes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8566,9 +8550,9 @@ pub struct IInkRecognitionAlternate_Vtbl { pub GetStrokesFromTextRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTextRangeFromStrokes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, pub AlternatesWithConstantPropertyValues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetPropertyValue: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9102,21 +9086,21 @@ impl IInkRecognizer { (windows_core::Interface::vtable(self).Capabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn Languages(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Languages)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SupportedProperties(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PreferredPacketDescription(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9137,17 +9121,17 @@ pub struct IInkRecognizer_Vtbl { pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Vendor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Capabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkRecognizerCapabilities) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub Languages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] Languages: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SupportedProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SupportedProperties: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PreferredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PreferredPacketDescription: usize, pub CreateRecognizerContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -9284,7 +9268,7 @@ impl IInkRecognizer2 { (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn UnicodeRanges(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -9297,9 +9281,9 @@ impl IInkRecognizer2 { pub struct IInkRecognizer2_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub UnicodeRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] UnicodeRanges: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -9455,11 +9439,11 @@ impl IInkRecognizerContext { pub unsafe fn EndInkInput(&self) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).EndInkInput)(windows_core::Interface::as_raw(self)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn BackgroundRecognize(&self, customdata: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).BackgroundRecognize)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(customdata)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn BackgroundRecognizeWithAlternates(&self, customdata: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).BackgroundRecognizeWithAlternates)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(customdata)).ok() } } @@ -9500,13 +9484,13 @@ pub struct IInkRecognizerContext_Vtbl { pub Recognize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkRecognitionStatus, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub StopBackgroundRecognition: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EndInkInput: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub BackgroundRecognize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] BackgroundRecognize: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub BackgroundRecognizeWithAlternates: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] BackgroundRecognizeWithAlternates: usize, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsStringSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -9798,14 +9782,14 @@ impl core::ops::Deref for IInkRecognizerContext2 { windows_core::imp::interface_hierarchy!(IInkRecognizerContext2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl IInkRecognizerContext2 { - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn EnabledUnicodeRanges(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnabledUnicodeRanges)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetEnabledUnicodeRanges(&self, unicoderanges: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetEnabledUnicodeRanges)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(unicoderanges)).ok() } } @@ -9814,13 +9798,13 @@ impl IInkRecognizerContext2 { #[repr(C)] pub struct IInkRecognizerContext2_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub EnabledUnicodeRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] EnabledUnicodeRanges: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetEnabledUnicodeRanges: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetEnabledUnicodeRanges: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -10490,11 +10474,11 @@ impl IInkRenderer { pub unsafe fn InkSpaceToPixel(&self, hdcdisplay: isize, x: *mut i32, y: *mut i32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InkSpaceToPixel)(windows_core::Interface::as_raw(self), hdcdisplay, x as _, y as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PixelToInkSpaceFromPoints(&self, hdc: isize, points: *mut super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).PixelToInkSpaceFromPoints)(windows_core::Interface::as_raw(self), hdc, core::mem::transmute(points)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn InkSpaceToPixelFromPoints(&self, hdc: isize, points: *mut super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).InkSpaceToPixelFromPoints)(windows_core::Interface::as_raw(self), hdc, core::mem::transmute(points)).ok() } } @@ -10539,13 +10523,13 @@ pub struct IInkRenderer_Vtbl { pub DrawStroke: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub PixelToInkSpace: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut i32, *mut i32) -> windows_core::HRESULT, pub InkSpaceToPixel: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut i32, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PixelToInkSpaceFromPoints: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PixelToInkSpaceFromPoints: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub InkSpaceToPixelFromPoints: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] InkSpaceToPixelFromPoints: usize, pub Measure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MeasureStroke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -10720,7 +10704,7 @@ impl IInkStrokeDisp { (windows_core::Interface::vtable(self).ID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn BezierPoints(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10751,21 +10735,21 @@ impl IInkStrokeDisp { (windows_core::Interface::vtable(self).ExtendedProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PolylineCusps(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolylineCusps)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn BezierCusps(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BezierCusps)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SelfIntersections(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10784,7 +10768,7 @@ impl IInkStrokeDisp { (windows_core::Interface::vtable(self).PacketSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn PacketDescription(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10803,7 +10787,7 @@ impl IInkStrokeDisp { (windows_core::Interface::vtable(self).GetBoundingBox)(windows_core::Interface::as_raw(self), boundingboxmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn FindIntersections(&self, strokes: P0) -> windows_core::Result where P0: windows_core::Param, @@ -10813,7 +10797,7 @@ impl IInkStrokeDisp { (windows_core::Interface::vtable(self).FindIntersections)(windows_core::Interface::as_raw(self), strokes.param().abi(), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetRectangleIntersections(&self, rectangle: P0) -> windows_core::Result where P0: windows_core::Param, @@ -10847,42 +10831,42 @@ impl IInkStrokeDisp { pub unsafe fn GetPacketDescriptionPropertyMetrics(&self, propertyname: &windows_core::BSTR, minimum: *mut i32, maximum: *mut i32, units: *mut TabletPropertyMetricUnit, resolution: *mut f32) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).GetPacketDescriptionPropertyMetrics)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(propertyname), minimum as _, maximum as _, units as _, resolution as _).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetPoints(&self, index: i32, count: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPoints)(windows_core::Interface::as_raw(self), index, count, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetPoints(&self, points: &super::super::System::Variant::VARIANT, index: i32, count: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetPoints)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(points), index, count, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetPacketData(&self, index: i32, count: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPacketData)(windows_core::Interface::as_raw(self), index, count, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetPacketValuesByProperty(&self, propertyname: &windows_core::BSTR, index: i32, count: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPacketValuesByProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(propertyname), index, count, &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetPacketValuesByProperty(&self, bstrpropertyname: &windows_core::BSTR, packetvalues: &super::super::System::Variant::VARIANT, index: i32, count: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetPacketValuesByProperty)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(bstrpropertyname), core::mem::transmute_copy(packetvalues), index, count, &mut result__).map(|| result__) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetFlattenedBezierPoints(&self, fittingerror: i32) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -10919,70 +10903,70 @@ impl IInkStrokeDisp { pub struct IInkStrokeDisp_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub ID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub BezierPoints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] BezierPoints: usize, pub DrawingAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putref_DrawingAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Ink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ExtendedProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PolylineCusps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PolylineCusps: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub BezierCusps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] BezierCusps: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SelfIntersections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SelfIntersections: usize, pub PacketCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub PacketSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub PacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] PacketDescription: usize, pub Deleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub GetBoundingBox: unsafe extern "system" fn(*mut core::ffi::c_void, InkBoundingBoxMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub FindIntersections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] FindIntersections: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetRectangleIntersections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetRectangleIntersections: usize, pub Clip: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub HitTestCircle: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, f32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub NearestPoint: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut f32, *mut f32) -> windows_core::HRESULT, pub Split: unsafe extern "system" fn(*mut core::ffi::c_void, f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPacketDescriptionPropertyMetrics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32, *mut i32, *mut TabletPropertyMetricUnit, *mut f32) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetPoints: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetPoints: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetPoints: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT, i32, i32, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetPoints: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetPacketData: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetPacketData: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetPacketValuesByProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetPacketValuesByProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetPacketValuesByProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT, i32, i32, *mut i32) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetPacketValuesByProperty: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetFlattenedBezierPoints: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetFlattenedBezierPoints: usize, pub Transform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ScaleToRectangle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs index cc708bb239..2ec79e0c96 100644 --- a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs @@ -1887,14 +1887,14 @@ impl IHTMLPersistDataOM { (windows_core::Interface::vtable(self).XMLDocument)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn getAttribute(&self, name: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAttribute)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn setAttribute(&self, name: &windows_core::BSTR, value: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).setAttribute)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name), core::mem::transmute_copy(value)).ok() } } @@ -1907,13 +1907,13 @@ impl IHTMLPersistDataOM { pub struct IHTMLPersistDataOM_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub XMLDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] getAttribute: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] setAttribute: usize, pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -2002,14 +2002,14 @@ impl IHTMLUserDataOM { pub unsafe fn load(&self, strname: &windows_core::BSTR) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).load)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(strname)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn getAttribute(&self, name: &windows_core::BSTR) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAttribute)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn setAttribute(&self, name: &windows_core::BSTR, value: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).setAttribute)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(name), core::mem::transmute_copy(value)).ok() } } @@ -2033,13 +2033,13 @@ pub struct IHTMLUserDataOM_Vtbl { pub XMLDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub save: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub load: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] getAttribute: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] setAttribute: usize, pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Setexpires: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2845,7 +2845,7 @@ impl IIEWebDriverSite { { unsafe { (windows_core::Interface::vtable(self).DetachWebdriver)(windows_core::Interface::as_raw(self), punkwd.param().abi()).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetCapabilityValue(&self, punkwd: P0, capname: P1) -> windows_core::Result where P0: windows_core::Param, @@ -2863,9 +2863,9 @@ pub struct IIEWebDriverSite_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub WindowOperation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub DetachWebdriver: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub GetCapabilityValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetCapabilityValue: usize, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -3295,11 +3295,11 @@ impl ILayoutRect { (windows_core::Interface::vtable(self).nextRect)(windows_core::Interface::as_raw(self), &mut result__).map(|| core::mem::transmute(result__)) } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn SetcontentSrc(&self, varcontentsrc: &super::super::System::Variant::VARIANT) -> windows_core::Result<()> { unsafe { (windows_core::Interface::vtable(self).SetcontentSrc)(windows_core::Interface::as_raw(self), core::mem::transmute_copy(varcontentsrc)).ok() } } - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn contentSrc(&self) -> windows_core::Result { unsafe { let mut result__ = core::mem::zeroed(); @@ -3349,13 +3349,13 @@ pub struct ILayoutRect_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub SetnextRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub nextRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub SetcontentSrc: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] SetcontentSrc: usize, - #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub contentSrc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Variant::VARIANT) -> windows_core::HRESULT, - #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] contentSrc: usize, pub SethonorPageBreaks: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub honorPageBreaks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -4624,7 +4624,6 @@ impl core::ops::Deref for IPersistHistory { windows_core::imp::interface_hierarchy!(IPersistHistory, windows_core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] impl IPersistHistory { - #[cfg(feature = "Win32_System_Com")] pub unsafe fn LoadHistory(&self, pstream: P0, pbc: P1) -> windows_core::Result<()> where P0: windows_core::Param, @@ -4632,7 +4631,6 @@ impl IPersistHistory { { unsafe { (windows_core::Interface::vtable(self).LoadHistory)(windows_core::Interface::as_raw(self), pstream.param().abi(), pbc.param().abi()).ok() } } - #[cfg(feature = "Win32_System_Com")] pub unsafe fn SaveHistory(&self, pstream: P0) -> windows_core::Result<()> where P0: windows_core::Param, @@ -4653,14 +4651,8 @@ impl IPersistHistory { #[repr(C)] pub struct IPersistHistory_Vtbl { pub base__: super::super::System::Com::IPersist_Vtbl, - #[cfg(feature = "Win32_System_Com")] pub LoadHistory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - LoadHistory: usize, - #[cfg(feature = "Win32_System_Com")] pub SaveHistory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_System_Com"))] - SaveHistory: usize, pub SetPositionCookie: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetPositionCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, }