From c5c1f1477f506dd43a725be19af2511065e4c18a Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 25 Jan 2024 23:46:22 -0600 Subject: [PATCH 1/2] bindgen --- crates/libs/bindgen/src/rust/cfg.rs | 72 ++++++++++--------- crates/libs/bindgen/src/rust/classes.rs | 8 +-- crates/libs/bindgen/src/rust/com_methods.rs | 2 +- crates/libs/bindgen/src/rust/constants.rs | 2 +- crates/libs/bindgen/src/rust/delegates.rs | 4 +- crates/libs/bindgen/src/rust/enums.rs | 2 +- crates/libs/bindgen/src/rust/functions.rs | 4 +- crates/libs/bindgen/src/rust/implements.rs | 2 +- crates/libs/bindgen/src/rust/interfaces.rs | 25 ++----- crates/libs/bindgen/src/rust/iterators.rs | 6 +- crates/libs/bindgen/src/rust/mod.rs | 2 +- crates/libs/bindgen/src/rust/standalone.rs | 16 +---- crates/libs/bindgen/src/rust/structs.rs | 2 +- crates/libs/bindgen/src/rust/winrt_methods.rs | 4 +- crates/libs/bindgen/src/rust/writer.rs | 14 +++- 15 files changed, 78 insertions(+), 87 deletions(-) diff --git a/crates/libs/bindgen/src/rust/cfg.rs b/crates/libs/bindgen/src/rust/cfg.rs index 0c9b30c738..283953edd8 100644 --- a/crates/libs/bindgen/src/rust/cfg.rs +++ b/crates/libs/bindgen/src/rust/cfg.rs @@ -31,55 +31,61 @@ impl Cfg { } } -pub fn field_cfg(row: metadata::Field) -> Cfg { +pub fn field_cfg(writer: &Writer, row: metadata::Field) -> Cfg { let mut cfg = Cfg::default(); - field_cfg_combine(row, None, &mut cfg); + field_cfg_combine(writer, row, None, &mut cfg); cfg } -fn field_cfg_combine(row: metadata::Field, enclosing: Option, cfg: &mut Cfg) { - type_cfg_combine(&row.ty(enclosing), cfg) +fn field_cfg_combine(writer: &Writer, row: metadata::Field, enclosing: Option, cfg: &mut Cfg) { + type_cfg_combine(writer, &row.ty(enclosing), cfg) } -pub fn type_def_cfg(row: metadata::TypeDef, generics: &[metadata::Type]) -> Cfg { +pub fn type_def_cfg(writer: &Writer, row: metadata::TypeDef, generics: &[metadata::Type]) -> Cfg { let mut cfg = Cfg::default(); - type_def_cfg_combine(row, generics, &mut cfg); + type_def_cfg_combine(writer, row, generics, &mut cfg); cfg_add_attributes(&mut cfg, row); cfg } -pub fn type_def_cfg_impl(def: metadata::TypeDef, generics: &[metadata::Type]) -> Cfg { +pub fn type_def_cfg_impl(writer: &Writer, def: metadata::TypeDef, generics: &[metadata::Type]) -> Cfg { let mut cfg = Cfg { implement: true, ..Default::default() }; - fn combine(def: metadata::TypeDef, generics: &[metadata::Type], cfg: &mut Cfg) { - type_def_cfg_combine(def, generics, cfg); + fn combine(writer: &Writer, def: metadata::TypeDef, generics: &[metadata::Type], cfg: &mut Cfg) { + type_def_cfg_combine(writer, def, generics, cfg); for method in def.methods() { - signature_cfg_combine(&method.signature(generics), cfg); + signature_cfg_combine(writer, &method.signature(generics), cfg); } } - combine(def, generics, &mut cfg); + combine(writer, def, generics, &mut cfg); for interface in metadata::type_interfaces(&metadata::Type::TypeDef(def, generics.to_vec())) { if let metadata::Type::TypeDef(def, generics) = interface.ty { - combine(def, &generics, &mut cfg); + combine(writer, def, &generics, &mut cfg); } } cfg_add_attributes(&mut cfg, def); cfg } -pub fn type_def_cfg_combine(row: metadata::TypeDef, generics: &[metadata::Type], cfg: &mut Cfg) { +pub fn type_def_cfg_combine(writer: &Writer, row: metadata::TypeDef, generics: &[metadata::Type], cfg: &mut Cfg) { + let type_kind = row.kind(); + + if writer.sys && type_kind == metadata::TypeKind::Interface { + return; + } + let type_name = row.type_name(); for generic in generics { - type_cfg_combine(generic, cfg); + type_cfg_combine(writer, generic, cfg); } if cfg.types.entry(type_name.namespace).or_default().insert(row) { - match row.kind() { + match type_kind { metadata::TypeKind::Class => { if let Some(default_interface) = metadata::type_def_default_interface(row) { - type_cfg_combine(&default_interface, cfg); + type_cfg_combine(writer, &default_interface, cfg); } } metadata::TypeKind::Interface => { @@ -92,30 +98,30 @@ pub fn type_def_cfg_combine(row: metadata::TypeDef, generics: &[metadata::Type], } } metadata::TypeKind::Struct => { - row.fields().for_each(|field| field_cfg_combine(field, Some(row), cfg)); + row.fields().for_each(|field| field_cfg_combine(writer, field, Some(row), cfg)); if !type_name.namespace.is_empty() { for def in row.reader().get_type_def(type_name.namespace, type_name.name) { if def != row { - type_def_cfg_combine(def, &[], cfg); + type_def_cfg_combine(writer, def, &[], cfg); } } } } - metadata::TypeKind::Delegate => signature_cfg_combine(&metadata::type_def_invoke_method(row).signature(generics), cfg), + metadata::TypeKind::Delegate => signature_cfg_combine(writer, &metadata::type_def_invoke_method(row).signature(generics), cfg), _ => {} } } } -pub fn signature_cfg(method: metadata::MethodDef) -> Cfg { +pub fn signature_cfg(writer: &Writer, method: metadata::MethodDef) -> Cfg { let mut cfg = Cfg::default(); - signature_cfg_combine(&method.signature(&[]), &mut cfg); + signature_cfg_combine(writer, &method.signature(&[]), &mut cfg); cfg_add_attributes(&mut cfg, method); cfg } -fn signature_cfg_combine(signature: &metadata::MethodDefSig, cfg: &mut Cfg) { - type_cfg_combine(&signature.return_type, cfg); - signature.params.iter().for_each(|param| type_cfg_combine(param, cfg)); +fn signature_cfg_combine(writer: &Writer, signature: &metadata::MethodDefSig, cfg: &mut Cfg) { + type_cfg_combine(writer, &signature.return_type, cfg); + signature.params.iter().for_each(|param| type_cfg_combine(writer, param, cfg)); } fn cfg_add_attributes>(cfg: &mut Cfg, row: R) { @@ -144,20 +150,20 @@ fn cfg_add_attributes>(cfg: &mut Cfg, ro } } -pub fn type_cfg(ty: &metadata::Type) -> Cfg { +pub fn type_cfg(writer: &Writer, ty: &metadata::Type) -> Cfg { let mut cfg = Cfg::default(); - type_cfg_combine(ty, &mut cfg); + type_cfg_combine(writer, ty, &mut cfg); cfg } -fn type_cfg_combine(ty: &metadata::Type, cfg: &mut Cfg) { +fn type_cfg_combine(writer: &Writer, ty: &metadata::Type, cfg: &mut Cfg) { match ty { - metadata::Type::TypeDef(row, generics) => type_def_cfg_combine(*row, generics, cfg), - metadata::Type::Win32Array(ty, _) => type_cfg_combine(ty, cfg), - metadata::Type::ConstPtr(ty, _) => type_cfg_combine(ty, cfg), - metadata::Type::MutPtr(ty, _) => type_cfg_combine(ty, cfg), - metadata::Type::WinrtArray(ty) => type_cfg_combine(ty, cfg), - metadata::Type::WinrtArrayRef(ty) => type_cfg_combine(ty, cfg), + metadata::Type::TypeDef(row, generics) => type_def_cfg_combine(writer, *row, generics, cfg), + metadata::Type::Win32Array(ty, _) => type_cfg_combine(writer, ty, cfg), + metadata::Type::ConstPtr(ty, _) => type_cfg_combine(writer, ty, cfg), + metadata::Type::MutPtr(ty, _) => type_cfg_combine(writer, ty, cfg), + metadata::Type::WinrtArray(ty) => type_cfg_combine(writer, ty, cfg), + metadata::Type::WinrtArrayRef(ty) => type_cfg_combine(writer, ty, cfg), ty => _ = cfg.core_types.insert(ty.clone()), } } diff --git a/crates/libs/bindgen/src/rust/classes.rs b/crates/libs/bindgen/src/rust/classes.rs index 23f3024484..31ddff6fc9 100644 --- a/crates/libs/bindgen/src/rust/classes.rs +++ b/crates/libs/bindgen/src/rust/classes.rs @@ -26,7 +26,7 @@ fn gen_class(writer: &Writer, def: metadata::TypeDef) -> TokenStream { let mut methods = quote! {}; let mut method_names = MethodNames::new(); - let cfg = cfg::type_def_cfg(def, &[]); + let cfg = cfg::type_def_cfg(writer, def, &[]); let doc = writer.cfg_doc(&cfg); let features = writer.cfg_features(&cfg); @@ -45,7 +45,7 @@ fn gen_class(writer: &Writer, def: metadata::TypeDef) -> TokenStream { if let metadata::Type::TypeDef(def, generics) = &interface.ty { if def.methods().next().is_some() { let interface_type = writer.type_name(&interface.ty); - let features = writer.cfg_features(&cfg::type_def_cfg(*def, generics)); + let features = writer.cfg_features(&cfg::type_def_cfg(writer, *def, generics)); return Some(quote! { #[doc(hidden)] @@ -148,14 +148,14 @@ fn gen_conversions(writer: &Writer, def: metadata::TypeDef, ident: &TokenStream, let into = writer.type_name(&interface.ty); write!(&mut hierarchy, ", {into}").unwrap(); - hierarchy_cfg = hierarchy_cfg.union(&cfg::type_cfg(&interface.ty)); + hierarchy_cfg = hierarchy_cfg.union(&cfg::type_cfg(writer, &interface.ty)); hierarchy_added = true; } for def in metadata::type_def_bases(def) { let into = writer.type_def_name(def, &[]); write!(&mut hierarchy, ", {into}").unwrap(); - hierarchy_cfg = hierarchy_cfg.union(&cfg::type_def_cfg(def, &[])); + hierarchy_cfg = hierarchy_cfg.union(&cfg::type_def_cfg(writer, def, &[])); hierarchy_added = true; } diff --git a/crates/libs/bindgen/src/rust/com_methods.rs b/crates/libs/bindgen/src/rust/com_methods.rs index 6578d4798e..26a0784446 100644 --- a/crates/libs/bindgen/src/rust/com_methods.rs +++ b/crates/libs/bindgen/src/rust/com_methods.rs @@ -7,7 +7,7 @@ pub fn writer(writer: &Writer, def: metadata::TypeDef, kind: metadata::Interface let vname = virtual_names.add(method); let generics = writer.constraint_generics(&signature.params); let where_clause = writer.where_clause(&signature.params); - let mut cfg = cfg::signature_cfg(method); + let mut cfg = cfg::signature_cfg(writer, method); cfg.add_feature(def.namespace()); let doc = writer.cfg_method_doc(&cfg); let features = writer.cfg_features(&cfg); diff --git a/crates/libs/bindgen/src/rust/constants.rs b/crates/libs/bindgen/src/rust/constants.rs index 1e483fb7ee..96660a1472 100644 --- a/crates/libs/bindgen/src/rust/constants.rs +++ b/crates/libs/bindgen/src/rust/constants.rs @@ -4,7 +4,7 @@ use metadata::HasAttributes; pub fn writer(writer: &Writer, def: metadata::Field) -> TokenStream { let name = to_ident(def.name()); let ty = def.ty(None).to_const_type(); - let cfg = cfg::field_cfg(def); + let cfg = cfg::field_cfg(writer, def); let doc = writer.cfg_doc(&cfg); let features = writer.cfg_features(&cfg); diff --git a/crates/libs/bindgen/src/rust/delegates.rs b/crates/libs/bindgen/src/rust/delegates.rs index a44110b38c..b72ff5b53f 100644 --- a/crates/libs/bindgen/src/rust/delegates.rs +++ b/crates/libs/bindgen/src/rust/delegates.rs @@ -15,7 +15,7 @@ fn gen_callback(writer: &Writer, def: metadata::TypeDef) -> TokenStream { let signature = metadata::method_def_signature(def.namespace(), method, &[]); let return_type = writer.return_sig(&signature); - let cfg = cfg::type_def_cfg(def, &[]); + let cfg = cfg::type_def_cfg(writer, def, &[]); let doc = writer.cfg_doc(&cfg); let features = writer.cfg_features(&cfg); @@ -60,7 +60,7 @@ fn gen_win_delegate(writer: &Writer, def: metadata::TypeDef) -> TokenStream { let signature = metadata::method_def_signature(def.namespace(), method, generics); let fn_constraint = gen_fn_constraint(writer, def, &signature); - let cfg = cfg::type_def_cfg(def, generics); + let cfg = cfg::type_def_cfg(writer, def, generics); let doc = writer.cfg_doc(&cfg); let features = writer.cfg_features(&cfg); diff --git a/crates/libs/bindgen/src/rust/enums.rs b/crates/libs/bindgen/src/rust/enums.rs index 8ee71bc485..0a334daf81 100644 --- a/crates/libs/bindgen/src/rust/enums.rs +++ b/crates/libs/bindgen/src/rust/enums.rs @@ -10,7 +10,7 @@ pub fn writer(writer: &Writer, def: metadata::TypeDef) -> TokenStream { // TODO: unscoped enums should be removed from metadata let is_scoped = def.flags().contains(metadata::TypeAttributes::WindowsRuntime) || def.has_attribute("ScopedEnumAttribute"); - let cfg = cfg::type_def_cfg(def, &[]); + let cfg = cfg::type_def_cfg(writer, def, &[]); let doc = writer.cfg_doc(&cfg); let features = writer.cfg_features(&cfg); diff --git a/crates/libs/bindgen/src/rust/functions.rs b/crates/libs/bindgen/src/rust/functions.rs index 01831d4595..5931311f5d 100644 --- a/crates/libs/bindgen/src/rust/functions.rs +++ b/crates/libs/bindgen/src/rust/functions.rs @@ -23,7 +23,7 @@ pub fn writer(writer: &Writer, namespace: &str, def: metadata::MethodDef) -> Tok fn gen_sys_function(writer: &Writer, namespace: &str, def: metadata::MethodDef) -> TokenStream { let signature = metadata::method_def_signature(namespace, def, &[]); - let cfg = cfg::signature_cfg(def); + let cfg = cfg::signature_cfg(writer, def); let mut tokens = writer.cfg_features(&cfg); tokens.combine(&gen_link(writer, namespace, &signature, &cfg)); tokens @@ -35,7 +35,7 @@ fn gen_win_function(writer: &Writer, namespace: &str, def: metadata::MethodDef) let generics = writer.constraint_generics(&signature.params); let where_clause = writer.where_clause(&signature.params); let abi_return_type = writer.return_sig(&signature); - let cfg = cfg::signature_cfg(def); + let cfg = cfg::signature_cfg(writer, def); let doc = writer.cfg_doc(&cfg); let features = writer.cfg_features(&cfg); let link = gen_link(writer, namespace, &signature, &cfg); diff --git a/crates/libs/bindgen/src/rust/implements.rs b/crates/libs/bindgen/src/rust/implements.rs index 206f433449..6264ec9c28 100644 --- a/crates/libs/bindgen/src/rust/implements.rs +++ b/crates/libs/bindgen/src/rust/implements.rs @@ -14,7 +14,7 @@ pub fn writer(writer: &Writer, def: metadata::TypeDef) -> TokenStream { let constraints = writer.generic_constraints(generics); let generic_names = writer.generic_names(generics); let named_phantoms = writer.generic_named_phantoms(generics); - let cfg = cfg::type_def_cfg_impl(def, generics); + let cfg = cfg::type_def_cfg_impl(writer, def, generics); let doc = writer.cfg_doc(&cfg); let features = writer.cfg_features(&cfg); let mut requires = quote! {}; diff --git a/crates/libs/bindgen/src/rust/interfaces.rs b/crates/libs/bindgen/src/rust/interfaces.rs index e3f811c8c0..5cf0efc792 100644 --- a/crates/libs/bindgen/src/rust/interfaces.rs +++ b/crates/libs/bindgen/src/rust/interfaces.rs @@ -2,22 +2,9 @@ use super::*; pub fn writer(writer: &Writer, def: metadata::TypeDef) -> TokenStream { if writer.sys { - gen_sys_interface(def) - } else { - gen_win_interface(writer, def) - } -} - -fn gen_sys_interface(def: metadata::TypeDef) -> TokenStream { - let name = def.name(); - let ident = to_ident(name); - - if metadata::type_def_is_exclusive(def) { quote! {} } else { - quote! { - pub type #ident = *mut ::core::ffi::c_void; - } + gen_win_interface(writer, def) } } @@ -28,7 +15,7 @@ fn gen_win_interface(writer: &Writer, def: metadata::TypeDef) -> TokenStream { let is_exclusive = metadata::type_def_is_exclusive(def); let phantoms = writer.generic_phantoms(generics); let constraints = writer.generic_constraints(generics); - let cfg = cfg::type_def_cfg(def, &[]); + let cfg = cfg::type_def_cfg(writer, def, &[]); let doc = writer.cfg_doc(&cfg); let features = writer.cfg_features(&cfg); let interfaces = metadata::type_interfaces(&metadata::Type::TypeDef(def, generics.to_vec())); @@ -108,7 +95,7 @@ fn gen_win_interface(writer: &Writer, def: metadata::TypeDef) -> TokenStream { let into = writer.type_name(ty); write!(&mut hierarchy, ", {into}").unwrap(); - hierarchy_cfg = hierarchy_cfg.union(&cfg::type_cfg(ty)); + hierarchy_cfg = hierarchy_cfg.union(&cfg::type_cfg(writer, ty)); } hierarchy.push_str(");"); @@ -117,7 +104,7 @@ fn gen_win_interface(writer: &Writer, def: metadata::TypeDef) -> TokenStream { } else { for ty in &vtables { let into = writer.type_name(ty); - let cfg = writer.cfg_features(&cfg.union(&cfg::type_cfg(ty))); + let cfg = writer.cfg_features(&cfg.union(&cfg::type_cfg(writer, ty))); tokens.combine("e! { #cfg impl<#constraints> ::windows_core::CanInto<#into> for #ident {} @@ -134,7 +121,7 @@ fn gen_win_interface(writer: &Writer, def: metadata::TypeDef) -> TokenStream { let into = writer.type_name(&interface.ty); write!(&mut hierarchy, ", {into}").unwrap(); - hierarchy_cfg = hierarchy_cfg.union(&cfg::type_cfg(&interface.ty)); + hierarchy_cfg = hierarchy_cfg.union(&cfg::type_cfg(writer, &interface.ty)); } hierarchy.push_str(");"); @@ -143,7 +130,7 @@ fn gen_win_interface(writer: &Writer, def: metadata::TypeDef) -> TokenStream { } else { for interface in &interfaces { let into = writer.type_name(&interface.ty); - let cfg = writer.cfg_features(&cfg.union(&cfg::type_cfg(&interface.ty))); + let cfg = writer.cfg_features(&cfg.union(&cfg::type_cfg(writer, &interface.ty))); tokens.combine("e! { #cfg impl<#constraints> ::windows_core::CanInto<#into> for #ident { const QUERY: bool = true; } diff --git a/crates/libs/bindgen/src/rust/iterators.rs b/crates/libs/bindgen/src/rust/iterators.rs index 098e06dda4..f59b3fc76e 100644 --- a/crates/libs/bindgen/src/rust/iterators.rs +++ b/crates/libs/bindgen/src/rust/iterators.rs @@ -153,7 +153,7 @@ pub fn writer(writer: &Writer, def: metadata::TypeDef, generics: &[metadata::Typ metadata::TypeName::IVectorView => { let item = writer.type_name(&interface_generics[0]); let mut cfg = cfg.clone(); - cfg::type_def_cfg_combine(*interface, interface_generics, &mut cfg); + cfg::type_def_cfg_combine(writer, *interface, interface_generics, &mut cfg); let features = writer.cfg_features(&cfg); return quote! { @@ -180,7 +180,7 @@ pub fn writer(writer: &Writer, def: metadata::TypeDef, generics: &[metadata::Typ metadata::TypeName::IVector => { let item = writer.type_name(&interface_generics[0]); let mut cfg = cfg.clone(); - cfg::type_def_cfg_combine(*interface, interface_generics, &mut cfg); + cfg::type_def_cfg_combine(writer, *interface, interface_generics, &mut cfg); let features = writer.cfg_features(&cfg); return quote! { @@ -217,7 +217,7 @@ pub fn writer(writer: &Writer, def: metadata::TypeDef, generics: &[metadata::Typ Some((interface, interface_generics)) => { let item = writer.type_name(&interface_generics[0]); let mut cfg = cfg.clone(); - cfg::type_def_cfg_combine(interface, &interface_generics, &mut cfg); + cfg::type_def_cfg_combine(writer, interface, &interface_generics, &mut cfg); let features = writer.cfg_features(&cfg); quote! { diff --git a/crates/libs/bindgen/src/rust/mod.rs b/crates/libs/bindgen/src/rust/mod.rs index 258ddf1614..cc0fe824c7 100644 --- a/crates/libs/bindgen/src/rust/mod.rs +++ b/crates/libs/bindgen/src/rust/mod.rs @@ -190,7 +190,7 @@ fn namespace(writer: &Writer, tree: &Tree) -> String { let ident = to_ident(name); let value = writer.guid(&guid); let guid = writer.type_name(&metadata::Type::GUID); - let cfg = cfg::type_def_cfg(def, &[]); + let cfg = cfg::type_def_cfg(writer, def, &[]); let doc = writer.cfg_doc(&cfg); let constant = quote! { #doc diff --git a/crates/libs/bindgen/src/rust/standalone.rs b/crates/libs/bindgen/src/rust/standalone.rs index 90820ba575..6ffb30856b 100644 --- a/crates/libs/bindgen/src/rust/standalone.rs +++ b/crates/libs/bindgen/src/rust/standalone.rs @@ -58,22 +58,10 @@ pub fn standalone_imp(writer: &Writer) -> String { let kind = def.kind(); match kind { metadata::TypeKind::Class => { - let name = def.name(); - if writer.sys { - let ident = to_ident(name); - sorted.insert(name, quote! { pub type #ident = *mut ::core::ffi::c_void; }); - } else { - sorted.insert(name, classes::writer(writer, def)); - } + sorted.insert(def.name(), classes::writer(writer, def)); } metadata::TypeKind::Interface => { - let name = def.name(); - if writer.sys { - let ident = to_ident(name); - sorted.insert(name, quote! { pub type #ident = *mut ::core::ffi::c_void; }); - } else { - sorted.insert(name, interfaces::writer(writer, def)); - } + sorted.insert(def.name(), interfaces::writer(writer, def)); } metadata::TypeKind::Enum => { sorted.insert(def.name(), enums::writer(writer, def)); diff --git a/crates/libs/bindgen/src/rust/structs.rs b/crates/libs/bindgen/src/rust/structs.rs index e589c1de95..e4c2d493b2 100644 --- a/crates/libs/bindgen/src/rust/structs.rs +++ b/crates/libs/bindgen/src/rust/structs.rs @@ -38,7 +38,7 @@ fn gen_struct_with_name(writer: &Writer, def: metadata::TypeDef, struct_name: &s } let flags = def.flags(); - let cfg = cfg.union(&cfg::type_def_cfg(def, &[])); + let cfg = cfg.union(&cfg::type_def_cfg(writer, def, &[])); let repr = if let Some(layout) = def.class_layout() { let packing = Literal::usize_unsuffixed(layout.packing_size()); diff --git a/crates/libs/bindgen/src/rust/winrt_methods.rs b/crates/libs/bindgen/src/rust/winrt_methods.rs index 0c8936d3eb..24221d3da5 100644 --- a/crates/libs/bindgen/src/rust/winrt_methods.rs +++ b/crates/libs/bindgen/src/rust/winrt_methods.rs @@ -9,8 +9,8 @@ pub fn writer(writer: &Writer, def: metadata::TypeDef, generic_types: &[metadata let vname = virtual_names.add(method); let generics = writer.constraint_generics(params); let where_clause = writer.where_clause(params); - let mut cfg = cfg::signature_cfg(method); - cfg::type_def_cfg_combine(def, generic_types, &mut cfg); + let mut cfg = cfg::signature_cfg(writer, method); + cfg::type_def_cfg_combine(writer, def, generic_types, &mut cfg); let doc = writer.cfg_method_doc(&cfg); let features = writer.cfg_features(&cfg); let args = gen_winrt_abi_args(writer, params); diff --git a/crates/libs/bindgen/src/rust/writer.rs b/crates/libs/bindgen/src/rust/writer.rs index f61abdf122..56f9261a11 100644 --- a/crates/libs/bindgen/src/rust/writer.rs +++ b/crates/libs/bindgen/src/rust/writer.rs @@ -164,7 +164,17 @@ impl Writer { quote! { [#name; #len] } } metadata::Type::GenericParam(generic) => generic.name().into(), - metadata::Type::TypeDef(def, generics) => self.type_def_name(*def, generics), + metadata::Type::TypeDef(def, generics) => { + if self.sys { + match def.kind() { + metadata::TypeKind::Interface => quote! { *mut ::core::ffi::c_void }, + metadata::TypeKind::Delegate if def.flags().contains(metadata::TypeAttributes::WindowsRuntime) => quote! { *mut ::core::ffi::c_void }, + _ => self.type_def_name(*def, generics), + } + } else { + self.type_def_name(*def, generics) + } + } metadata::Type::MutPtr(ty, pointers) => { let pointers = mut_ptrs(*pointers); let ty = self.type_default_name(ty); @@ -788,7 +798,7 @@ impl Writer { } let name = method_names.add(method); let signature = metadata::method_def_signature(def.namespace(), method, generics); - let mut cfg = cfg::signature_cfg(method); + let mut cfg = cfg::signature_cfg(self, method); let signature = self.vtbl_signature(def, false, &signature); cfg.add_feature(def.namespace()); let cfg_all = self.cfg_features(&cfg); From 83f3bcee3ed9215d4d41e01e0a2431897295f65c Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 25 Jan 2024 23:48:57 -0600 Subject: [PATCH 2/2] code gen --- crates/libs/core/src/imp/bindings.rs | 27 +- .../src/Windows/Wdk/Graphics/Direct3D/mod.rs | 40 +- .../src/Windows/Win32/Data/HtmlHelp/mod.rs | 14 +- .../src/Windows/Win32/Devices/Display/mod.rs | 8 +- .../Win32/Devices/Enumeration/Pnp/mod.rs | 26 - .../sys/src/Windows/Win32/Devices/Fax/mod.rs | 64 +- .../Win32/Devices/HumanInterfaceDevice/mod.rs | 26 +- .../Win32/Devices/PortableDevices/mod.rs | 34 - .../src/Windows/Win32/Devices/Sensors/mod.rs | 7 - .../sys/src/Windows/Win32/Devices/Tapi/mod.rs | 198 +---- .../Win32/Devices/WebServicesOnDevices/mod.rs | 73 +- .../libs/sys/src/Windows/Win32/Gaming/mod.rs | 8 - .../src/Windows/Win32/Globalization/mod.rs | 27 - .../src/Windows/Win32/Graphics/GdiPlus/mod.rs | 45 +- .../Graphics/Printing/PrintTicket/mod.rs | 24 +- .../Windows/Win32/Graphics/Printing/mod.rs | 104 +-- .../sys/src/Windows/Win32/Media/Audio/mod.rs | 116 +-- .../Windows/Win32/Media/DxMediaObjects/mod.rs | 10 +- .../Win32/Media/KernelStreaming/mod.rs | 33 +- .../src/Windows/Win32/Media/Multimedia/mod.rs | 114 ++- .../Win32/Media/WindowsMediaFormat/mod.rs | 128 +-- .../libs/sys/src/Windows/Win32/Media/mod.rs | 3 - .../NetworkManagement/NetManagement/mod.rs | 27 +- .../NetworkDiagnosticsFramework/mod.rs | 5 - .../Win32/NetworkManagement/WiFi/mod.rs | 10 - .../NetworkManagement/WindowsFirewall/mod.rs | 47 +- .../Win32/Networking/ActiveDirectory/mod.rs | 145 +--- .../Win32/Networking/Clustering/mod.rs | 57 -- .../Windows/Win32/Networking/WinHttp/mod.rs | 2 - .../Windows/Win32/Networking/WinInet/mod.rs | 5 - .../Networking/WindowsWebServices/mod.rs | 1 - .../Security/Authentication/Identity/mod.rs | 1 - .../Win32/Security/Authorization/mod.rs | 34 - .../Security/Cryptography/Certificates/mod.rs | 147 ---- .../Win32/Security/Cryptography/mod.rs | 6 - .../Win32/Security/DirectoryServices/mod.rs | 14 +- .../Win32/Security/EnterpriseData/mod.rs | 3 - .../ExtensibleAuthenticationProtocol/mod.rs | 15 +- .../Windows/Win32/Security/Isolation/mod.rs | 3 - .../Windows/Win32/Storage/FileHistory/mod.rs | 4 - .../Windows/Win32/Storage/FileSystem/mod.rs | 5 - .../src/Windows/Win32/Storage/Imapi/mod.rs | 69 +- .../Windows/Win32/Storage/IndexServer/mod.rs | 8 +- .../Windows/Win32/Storage/OfflineFiles/mod.rs | 35 - .../Win32/Storage/Packaging/Appx/mod.rs | 110 +-- .../sys/src/Windows/Win32/Storage/Xps/mod.rs | 68 -- .../Windows/Win32/System/AddressBook/mod.rs | 82 +- .../Windows/Win32/System/Antimalware/mod.rs | 6 - .../mod.rs | 39 - .../Windows/Win32/System/ClrHosting/mod.rs | 72 +- .../Windows/Win32/System/Com/Marshal/mod.rs | 49 +- .../Win32/System/Com/StructuredStorage/mod.rs | 92 +- .../Windows/Win32/System/Com/Urlmon/mod.rs | 147 ++-- .../sys/src/Windows/Win32/System/Com/mod.rs | 235 ++---- .../Win32/System/ComponentServices/mod.rs | 125 +-- .../Win32/System/DeploymentServices/mod.rs | 25 - .../Diagnostics/Debug/Extensions/mod.rs | 194 +---- .../Win32/System/Diagnostics/Debug/mod.rs | 27 +- .../Win32/System/Diagnostics/Etw/mod.rs | 3 - .../DistributedTransactionCoordinator/mod.rs | 66 -- .../System/EventNotificationService/mod.rs | 4 - .../Windows/Win32/System/GroupPolicy/mod.rs | 70 +- .../sys/src/Windows/Win32/System/Iis/mod.rs | 22 - .../sys/src/Windows/Win32/System/Js/mod.rs | 25 +- .../Win32/System/MessageQueuing/mod.rs | 61 +- .../sys/src/Windows/Win32/System/Ole/mod.rs | 398 +++------ .../Windows/Win32/System/Performance/mod.rs | 33 - .../Windows/Win32/System/RemoteDesktop/mod.rs | 102 --- .../Win32/System/RemoteManagement/mod.rs | 12 - .../sys/src/Windows/Win32/System/Rpc/mod.rs | 516 ++++-------- .../src/Windows/Win32/System/Search/mod.rs | 368 ++------ .../Win32/System/SecurityCenter/mod.rs | 5 - .../src/Windows/Win32/System/Threading/mod.rs | 24 +- .../src/Windows/Win32/System/Variant/mod.rs | 374 ++++----- .../Win32/System/WindowsProgramming/mod.rs | 17 +- .../sys/src/Windows/Win32/System/Wmi/mod.rs | 72 +- .../src/Windows/Win32/UI/Accessibility/mod.rs | 265 ++---- .../src/Windows/Win32/UI/ColorSystem/mod.rs | 2 - .../Windows/Win32/UI/Controls/Dialogs/mod.rs | 2 - .../sys/src/Windows/Win32/UI/Controls/mod.rs | 24 +- .../sys/src/Windows/Win32/UI/Input/Ime/mod.rs | 17 - .../src/Windows/Win32/UI/Input/Touch/mod.rs | 3 - .../src/Windows/Win32/UI/Shell/Common/mod.rs | 2 - .../Win32/UI/Shell/PropertiesSystem/mod.rs | 151 +--- .../sys/src/Windows/Win32/UI/Shell/mod.rs | 785 ++++-------------- .../sys/src/Windows/Win32/UI/TabletPC/mod.rs | 105 +-- .../src/Windows/Win32/UI/TextServices/mod.rs | 180 +--- .../Windows/Win32/Web/InternetExplorer/mod.rs | 90 +- crates/tests/standalone/src/b_nested.rs | 8 +- crates/tests/standalone/src/b_variant.rs | 13 +- 90 files changed, 1407 insertions(+), 5455 deletions(-) diff --git a/crates/libs/core/src/imp/bindings.rs b/crates/libs/core/src/imp/bindings.rs index 7ff017f0cc..05b0371cbd 100644 --- a/crates/libs/core/src/imp/bindings.rs +++ b/crates/libs/core/src/imp/bindings.rs @@ -63,7 +63,7 @@ impl ::core::clone::Clone for ARRAYDESC { pub union BINDPTR { pub lpfuncdesc: *mut FUNCDESC, pub lpvardesc: *mut VARDESC, - pub lptcomp: ITypeComp, + pub lptcomp: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for BINDPTR {} impl ::core::clone::Clone for BINDPTR { @@ -560,17 +560,8 @@ impl ::core::clone::Clone for IDLDESC { } } pub type IDLFLAGS = u16; -pub type IDispatch = *mut ::core::ffi::c_void; -pub type IEnumSTATSTG = *mut ::core::ffi::c_void; pub type IMPLTYPEFLAGS = i32; pub type INVOKEKIND = i32; -pub type IRecordInfo = *mut ::core::ffi::c_void; -pub type ISequentialStream = *mut ::core::ffi::c_void; -pub type IStorage = *mut ::core::ffi::c_void; -pub type IStream = *mut ::core::ffi::c_void; -pub type ITypeComp = *mut ::core::ffi::c_void; -pub type ITypeInfo = *mut ::core::ffi::c_void; -pub type ITypeLib = *mut ::core::ffi::c_void; pub type IUnknown = *mut ::core::ffi::c_void; pub type LOAD_LIBRARY_FLAGS = u32; pub const LOAD_LIBRARY_SEARCH_DEFAULT_DIRS: LOAD_LIBRARY_FLAGS = 4096u32; @@ -663,9 +654,9 @@ pub union PROPVARIANT_0_0_0 { pub pszVal: PSTR, pub pwszVal: PWSTR, pub punkVal: IUnknown, - pub pdispVal: IDispatch, - pub pStream: IStream, - pub pStorage: IStorage, + pub pdispVal: *mut ::core::ffi::c_void, + pub pStream: *mut ::core::ffi::c_void, + pub pStorage: *mut ::core::ffi::c_void, pub pVersionedStream: *mut VERSIONEDSTREAM, pub parray: *mut SAFEARRAY, pub cac: CAC, @@ -707,7 +698,7 @@ pub union PROPVARIANT_0_0_0 { pub pdate: *mut f64, pub pbstrVal: *mut BSTR, pub ppunkVal: *mut IUnknown, - pub ppdispVal: *mut IDispatch, + pub ppdispVal: *mut *mut ::core::ffi::c_void, pub pparray: *mut *mut SAFEARRAY, pub pvarVal: *mut PROPVARIANT, } @@ -926,7 +917,7 @@ pub union VARIANT_0_0_0 { pub date: f64, pub bstrVal: BSTR, pub punkVal: IUnknown, - pub pdispVal: IDispatch, + pub pdispVal: *mut ::core::ffi::c_void, pub parray: *mut SAFEARRAY, pub pbVal: *mut u8, pub piVal: *mut i16, @@ -941,7 +932,7 @@ pub union VARIANT_0_0_0 { pub pdate: *mut f64, pub pbstrVal: *mut BSTR, pub ppunkVal: *mut IUnknown, - pub ppdispVal: *mut IDispatch, + pub ppdispVal: *mut *mut ::core::ffi::c_void, pub pparray: *mut *mut SAFEARRAY, pub pvarVal: *mut VARIANT, pub byref: *mut ::core::ffi::c_void, @@ -969,7 +960,7 @@ impl ::core::clone::Clone for VARIANT_0_0_0 { #[repr(C)] pub struct VARIANT_0_0_0_0 { pub pvRecord: *mut ::core::ffi::c_void, - pub pRecInfo: IRecordInfo, + pub pRecInfo: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for VARIANT_0_0_0_0 {} impl ::core::clone::Clone for VARIANT_0_0_0_0 { @@ -982,7 +973,7 @@ pub type VARKIND = i32; #[repr(C)] pub struct VERSIONEDSTREAM { pub guidVersion: GUID, - pub pStream: IStream, + pub pStream: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for VERSIONEDSTREAM {} impl ::core::clone::Clone for VERSIONEDSTREAM { diff --git a/crates/libs/sys/src/Windows/Wdk/Graphics/Direct3D/mod.rs b/crates/libs/sys/src/Windows/Wdk/Graphics/Direct3D/mod.rs index 3881012d26..e269f7a57f 100644 --- a/crates/libs/sys/src/Windows/Wdk/Graphics/Direct3D/mod.rs +++ b/crates/libs/sys/src/Windows/Wdk/Graphics/Direct3D/mod.rs @@ -3942,7 +3942,7 @@ impl ::core::clone::Clone for D3DHAL_CONTEXTCREATEDATA_0 { #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"] #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] pub union D3DHAL_CONTEXTCREATEDATA_1 { - pub lpDDS: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface, + pub lpDDS: *mut ::core::ffi::c_void, pub lpDDSLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL, } #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] @@ -3957,7 +3957,7 @@ impl ::core::clone::Clone for D3DHAL_CONTEXTCREATEDATA_1 { #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"] #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] pub union D3DHAL_CONTEXTCREATEDATA_2 { - pub lpDDSZ: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface, + pub lpDDSZ: *mut ::core::ffi::c_void, pub lpDDSZLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL, } #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] @@ -5165,39 +5165,35 @@ impl ::core::clone::Clone for D3DHAL_GLOBALDRIVERDATA { } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`"] -#[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))] +#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] +#[cfg(feature = "Win32_Graphics_Direct3D9")] pub struct D3DHAL_RENDERPRIMITIVEDATA { pub dwhContext: usize, pub dwOffset: u32, pub dwStatus: u32, - pub lpExeBuf: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface, + pub lpExeBuf: *mut ::core::ffi::c_void, pub dwTLOffset: u32, - pub lpTLBuf: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface, + pub lpTLBuf: *mut ::core::ffi::c_void, pub diInstruction: super::super::super::Win32::Graphics::Direct3D9::D3DINSTRUCTION, pub ddrval: ::windows_sys::core::HRESULT, } -#[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))] +#[cfg(feature = "Win32_Graphics_Direct3D9")] impl ::core::marker::Copy for D3DHAL_RENDERPRIMITIVEDATA {} -#[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))] +#[cfg(feature = "Win32_Graphics_Direct3D9")] impl ::core::clone::Clone for D3DHAL_RENDERPRIMITIVEDATA { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] -#[cfg(feature = "Win32_Graphics_DirectDraw")] pub struct D3DHAL_RENDERSTATEDATA { pub dwhContext: usize, pub dwOffset: u32, pub dwCount: u32, - pub lpExeBuf: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface, + pub lpExeBuf: *mut ::core::ffi::c_void, pub ddrval: ::windows_sys::core::HRESULT, } -#[cfg(feature = "Win32_Graphics_DirectDraw")] impl ::core::marker::Copy for D3DHAL_RENDERSTATEDATA {} -#[cfg(feature = "Win32_Graphics_DirectDraw")] impl ::core::clone::Clone for D3DHAL_RENDERSTATEDATA { fn clone(&self) -> Self { *self @@ -5236,7 +5232,7 @@ impl ::core::clone::Clone for D3DHAL_SETRENDERTARGETDATA { #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"] #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] pub union D3DHAL_SETRENDERTARGETDATA_0 { - pub lpDDS: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface, + pub lpDDS: *mut ::core::ffi::c_void, pub lpDDSLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL, } #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] @@ -5251,7 +5247,7 @@ impl ::core::clone::Clone for D3DHAL_SETRENDERTARGETDATA_0 { #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"] #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] pub union D3DHAL_SETRENDERTARGETDATA_1 { - pub lpDDSZ: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface, + pub lpDDSZ: *mut ::core::ffi::c_void, pub lpDDSZLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL, } #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] @@ -5263,17 +5259,13 @@ impl ::core::clone::Clone for D3DHAL_SETRENDERTARGETDATA_1 { } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] -#[cfg(feature = "Win32_Graphics_DirectDraw")] pub struct D3DHAL_TEXTURECREATEDATA { pub dwhContext: usize, - pub lpDDS: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface, + pub lpDDS: *mut ::core::ffi::c_void, pub dwHandle: u32, pub ddrval: ::windows_sys::core::HRESULT, } -#[cfg(feature = "Win32_Graphics_DirectDraw")] impl ::core::marker::Copy for D3DHAL_TEXTURECREATEDATA {} -#[cfg(feature = "Win32_Graphics_DirectDraw")] impl ::core::clone::Clone for D3DHAL_TEXTURECREATEDATA { fn clone(&self) -> Self { *self @@ -15375,18 +15367,14 @@ pub type LPD3DHAL_DRAWPRIMITIVESCB = ::core::option::Option u32>; -#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`"] -#[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))] +#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] +#[cfg(feature = "Win32_Graphics_Direct3D9")] pub type LPD3DHAL_RENDERPRIMITIVECB = ::core::option::Option u32>; -#[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] -#[cfg(feature = "Win32_Graphics_DirectDraw")] pub type LPD3DHAL_RENDERSTATECB = ::core::option::Option u32>; pub type LPD3DHAL_SCENECAPTURECB = ::core::option::Option u32>; #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"] #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] pub type LPD3DHAL_SETRENDERTARGETCB = ::core::option::Option u32>; -#[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] -#[cfg(feature = "Win32_Graphics_DirectDraw")] pub type LPD3DHAL_TEXTURECREATECB = ::core::option::Option u32>; pub type LPD3DHAL_TEXTUREDESTROYCB = ::core::option::Option u32>; pub type LPD3DHAL_TEXTUREGETSURFCB = ::core::option::Option u32>; diff --git a/crates/libs/sys/src/Windows/Win32/Data/HtmlHelp/mod.rs b/crates/libs/sys/src/Windows/Win32/Data/HtmlHelp/mod.rs index 8ca58d9a05..de39621a0d 100644 --- a/crates/libs/sys/src/Windows/Win32/Data/HtmlHelp/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Data/HtmlHelp/mod.rs @@ -1,11 +1,5 @@ ::windows_targets::link!("hhctrl.ocx" "system" fn HtmlHelpA(hwndcaller : super::super::Foundation:: HWND, pszfile : ::windows_sys::core::PCSTR, ucommand : u32, dwdata : usize) -> super::super::Foundation:: HWND); ::windows_targets::link!("hhctrl.ocx" "system" fn HtmlHelpW(hwndcaller : super::super::Foundation:: HWND, pszfile : ::windows_sys::core::PCWSTR, ucommand : u32, dwdata : usize) -> super::super::Foundation:: HWND); -pub type IITDatabase = *mut ::core::ffi::c_void; -pub type IITPropList = *mut ::core::ffi::c_void; -pub type IITResultSet = *mut ::core::ffi::c_void; -pub type IStemSink = *mut ::core::ffi::c_void; -pub type IStemmerConfig = *mut ::core::ffi::c_void; -pub type IWordBreakerConfig = *mut ::core::ffi::c_void; pub const CLSID_IITCmdInt: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4662daa2_d393_11d0_9a56_00c04fb68bf7); pub const CLSID_IITDatabase: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x66673452_8c23_11d0_a84e_00aa006c7d01); pub const CLSID_IITDatabaseLocal: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4662daa9_d393_11d0_9a56_00c04fb68bf7); @@ -427,15 +421,15 @@ impl ::core::clone::Clone for HH_FTS_QUERY { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct HH_GLOBAL_PROPERTY { pub id: HH_GPROPID, pub var: super::super::System::Variant::VARIANT, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for HH_GLOBAL_PROPERTY {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for HH_GLOBAL_PROPERTY { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Display/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Display/mod.rs index dfb0b147fb..904835c900 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Display/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Display/mod.rs @@ -91,12 +91,10 @@ ::windows_targets::link!("dxva2.dll" "system" fn GetMonitorTechnologyType(hmonitor : super::super::Foundation:: HANDLE, pdtydisplaytechnologytype : *mut MC_DISPLAY_TECHNOLOGY_TYPE) -> i32); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("dxva2.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn GetNumberOfPhysicalMonitorsFromHMONITOR(hmonitor : super::super::Graphics::Gdi:: HMONITOR, pdwnumberofphysicalmonitors : *mut u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Graphics_Direct3D9")] -::windows_targets::link!("dxva2.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] fn GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9 : super::super::Graphics::Direct3D9:: IDirect3DDevice9, pdwnumberofphysicalmonitors : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("dxva2.dll" "system" fn GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9 : * mut::core::ffi::c_void, pdwnumberofphysicalmonitors : *mut u32) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("dxva2.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn GetPhysicalMonitorsFromHMONITOR(hmonitor : super::super::Graphics::Gdi:: HMONITOR, dwphysicalmonitorarraysize : u32, pphysicalmonitorarray : *mut PHYSICAL_MONITOR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Graphics_Direct3D9")] -::windows_targets::link!("dxva2.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] fn GetPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9 : super::super::Graphics::Direct3D9:: IDirect3DDevice9, dwphysicalmonitorarraysize : u32, pphysicalmonitorarray : *mut PHYSICAL_MONITOR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("dxva2.dll" "system" fn GetPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9 : * mut::core::ffi::c_void, dwphysicalmonitorarraysize : u32, pphysicalmonitorarray : *mut PHYSICAL_MONITOR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("dxva2.dll" "system" fn GetTimingReport(hmonitor : super::super::Foundation:: HANDLE, pmtrmonitortimingreport : *mut MC_TIMING_REPORT) -> i32); ::windows_targets::link!("dxva2.dll" "system" fn GetVCPFeatureAndVCPFeatureReply(hmonitor : super::super::Foundation:: HANDLE, bvcpcode : u8, pvct : *mut MC_VCP_CODE_TYPE, pdwcurrentvalue : *mut u32, pdwmaximumvalue : *mut u32) -> i32); #[cfg(feature = "Win32_Graphics_Gdi")] @@ -134,8 +132,6 @@ ::windows_targets::link!("gdi32.dll" "system" fn XLATEOBJ_hGetColorTransform(pxlo : *mut XLATEOBJ) -> super::super::Foundation:: HANDLE); ::windows_targets::link!("gdi32.dll" "system" fn XLATEOBJ_iXlate(pxlo : *mut XLATEOBJ, icolor : u32) -> u32); ::windows_targets::link!("gdi32.dll" "system" fn XLATEOBJ_piVector(pxlo : *mut XLATEOBJ) -> *mut u32); -pub type ICloneViewHelper = *mut ::core::ffi::c_void; -pub type IViewHelper = *mut ::core::ffi::c_void; pub const AR_DISABLED: AR_STATE = 1i32; pub const AR_DOCKED: AR_STATE = 64i32; pub const AR_ENABLED: AR_STATE = 0i32; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs index b12a978b04..db0233ce81 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs @@ -11,32 +11,6 @@ ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn SwDevicePropertySet(hswdevice : HSWDEVICE, cpropertycount : u32, pproperties : *const super::super::Properties:: DEVPROPERTY) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("cfgmgr32.dll" "system" fn SwDeviceSetLifetime(hswdevice : HSWDEVICE, lifetime : SW_DEVICE_LIFETIME) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("cfgmgr32.dll" "system" fn SwMemFree(pmem : *const ::core::ffi::c_void)); -pub type IUPnPAddressFamilyControl = *mut ::core::ffi::c_void; -pub type IUPnPAsyncResult = *mut ::core::ffi::c_void; -pub type IUPnPDescriptionDocument = *mut ::core::ffi::c_void; -pub type IUPnPDescriptionDocumentCallback = *mut ::core::ffi::c_void; -pub type IUPnPDevice = *mut ::core::ffi::c_void; -pub type IUPnPDeviceControl = *mut ::core::ffi::c_void; -pub type IUPnPDeviceControlHttpHeaders = *mut ::core::ffi::c_void; -pub type IUPnPDeviceDocumentAccess = *mut ::core::ffi::c_void; -pub type IUPnPDeviceDocumentAccessEx = *mut ::core::ffi::c_void; -pub type IUPnPDeviceFinder = *mut ::core::ffi::c_void; -pub type IUPnPDeviceFinderAddCallbackWithInterface = *mut ::core::ffi::c_void; -pub type IUPnPDeviceFinderCallback = *mut ::core::ffi::c_void; -pub type IUPnPDeviceProvider = *mut ::core::ffi::c_void; -pub type IUPnPDevices = *mut ::core::ffi::c_void; -pub type IUPnPEventSink = *mut ::core::ffi::c_void; -pub type IUPnPEventSource = *mut ::core::ffi::c_void; -pub type IUPnPHttpHeaderControl = *mut ::core::ffi::c_void; -pub type IUPnPRegistrar = *mut ::core::ffi::c_void; -pub type IUPnPRemoteEndpointInfo = *mut ::core::ffi::c_void; -pub type IUPnPReregistrar = *mut ::core::ffi::c_void; -pub type IUPnPService = *mut ::core::ffi::c_void; -pub type IUPnPServiceAsync = *mut ::core::ffi::c_void; -pub type IUPnPServiceCallback = *mut ::core::ffi::c_void; -pub type IUPnPServiceDocumentAccess = *mut ::core::ffi::c_void; -pub type IUPnPServiceEnumProperty = *mut ::core::ffi::c_void; -pub type IUPnPServices = *mut ::core::ffi::c_void; pub const ADDRESS_FAMILY_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AddressFamily"); pub const FAULT_ACTION_SPECIFIC_BASE: u32 = 600u32; pub const FAULT_ACTION_SPECIFIC_MAX: u32 = 899u32; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Fax/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Fax/mod.rs index 4487c3795e..72bd14f2c9 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Fax/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Fax/mod.rs @@ -60,69 +60,7 @@ ::windows_targets::link!("winfax.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn FaxStartPrintJobW(printername : ::windows_sys::core::PCWSTR, printinfo : *const FAX_PRINT_INFOW, faxjobid : *mut u32, faxcontextinfo : *mut FAX_CONTEXT_INFOW) -> super::super::Foundation:: BOOL); ::windows_targets::link!("winfax.dll" "system" fn FaxUnregisterServiceProviderW(deviceprovider : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); ::windows_targets::link!("fxsutility.dll" "system" fn SendToFaxRecipient(sndmode : SendToMode, lpfilename : ::windows_sys::core::PCWSTR) -> u32); -::windows_targets::link!("sti.dll" "system" fn StiCreateInstanceW(hinst : super::super::Foundation:: HINSTANCE, dwver : u32, ppsti : *mut IStillImageW, punkouter : ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); -pub type IFaxAccount = *mut ::core::ffi::c_void; -pub type IFaxAccountFolders = *mut ::core::ffi::c_void; -pub type IFaxAccountIncomingArchive = *mut ::core::ffi::c_void; -pub type IFaxAccountIncomingQueue = *mut ::core::ffi::c_void; -pub type IFaxAccountNotify = *mut ::core::ffi::c_void; -pub type IFaxAccountOutgoingArchive = *mut ::core::ffi::c_void; -pub type IFaxAccountOutgoingQueue = *mut ::core::ffi::c_void; -pub type IFaxAccountSet = *mut ::core::ffi::c_void; -pub type IFaxAccounts = *mut ::core::ffi::c_void; -pub type IFaxActivity = *mut ::core::ffi::c_void; -pub type IFaxActivityLogging = *mut ::core::ffi::c_void; -pub type IFaxConfiguration = *mut ::core::ffi::c_void; -pub type IFaxDevice = *mut ::core::ffi::c_void; -pub type IFaxDeviceIds = *mut ::core::ffi::c_void; -pub type IFaxDeviceProvider = *mut ::core::ffi::c_void; -pub type IFaxDeviceProviders = *mut ::core::ffi::c_void; -pub type IFaxDevices = *mut ::core::ffi::c_void; -pub type IFaxDocument = *mut ::core::ffi::c_void; -pub type IFaxDocument2 = *mut ::core::ffi::c_void; -pub type IFaxEventLogging = *mut ::core::ffi::c_void; -pub type IFaxFolders = *mut ::core::ffi::c_void; -pub type IFaxInboundRouting = *mut ::core::ffi::c_void; -pub type IFaxInboundRoutingExtension = *mut ::core::ffi::c_void; -pub type IFaxInboundRoutingExtensions = *mut ::core::ffi::c_void; -pub type IFaxInboundRoutingMethod = *mut ::core::ffi::c_void; -pub type IFaxInboundRoutingMethods = *mut ::core::ffi::c_void; -pub type IFaxIncomingArchive = *mut ::core::ffi::c_void; -pub type IFaxIncomingJob = *mut ::core::ffi::c_void; -pub type IFaxIncomingJobs = *mut ::core::ffi::c_void; -pub type IFaxIncomingMessage = *mut ::core::ffi::c_void; -pub type IFaxIncomingMessage2 = *mut ::core::ffi::c_void; -pub type IFaxIncomingMessageIterator = *mut ::core::ffi::c_void; -pub type IFaxIncomingQueue = *mut ::core::ffi::c_void; -pub type IFaxJobStatus = *mut ::core::ffi::c_void; -pub type IFaxLoggingOptions = *mut ::core::ffi::c_void; -pub type IFaxOutboundRouting = *mut ::core::ffi::c_void; -pub type IFaxOutboundRoutingGroup = *mut ::core::ffi::c_void; -pub type IFaxOutboundRoutingGroups = *mut ::core::ffi::c_void; -pub type IFaxOutboundRoutingRule = *mut ::core::ffi::c_void; -pub type IFaxOutboundRoutingRules = *mut ::core::ffi::c_void; -pub type IFaxOutgoingArchive = *mut ::core::ffi::c_void; -pub type IFaxOutgoingJob = *mut ::core::ffi::c_void; -pub type IFaxOutgoingJob2 = *mut ::core::ffi::c_void; -pub type IFaxOutgoingJobs = *mut ::core::ffi::c_void; -pub type IFaxOutgoingMessage = *mut ::core::ffi::c_void; -pub type IFaxOutgoingMessage2 = *mut ::core::ffi::c_void; -pub type IFaxOutgoingMessageIterator = *mut ::core::ffi::c_void; -pub type IFaxOutgoingQueue = *mut ::core::ffi::c_void; -pub type IFaxReceiptOptions = *mut ::core::ffi::c_void; -pub type IFaxRecipient = *mut ::core::ffi::c_void; -pub type IFaxRecipients = *mut ::core::ffi::c_void; -pub type IFaxSecurity = *mut ::core::ffi::c_void; -pub type IFaxSecurity2 = *mut ::core::ffi::c_void; -pub type IFaxSender = *mut ::core::ffi::c_void; -pub type IFaxServer = *mut ::core::ffi::c_void; -pub type IFaxServer2 = *mut ::core::ffi::c_void; -pub type IFaxServerNotify = *mut ::core::ffi::c_void; -pub type IFaxServerNotify2 = *mut ::core::ffi::c_void; -pub type IStiDevice = *mut ::core::ffi::c_void; -pub type IStiDeviceControl = *mut ::core::ffi::c_void; -pub type IStiUSD = *mut ::core::ffi::c_void; -pub type IStillImageW = *mut ::core::ffi::c_void; +::windows_targets::link!("sti.dll" "system" fn StiCreateInstanceW(hinst : super::super::Foundation:: HINSTANCE, dwver : u32, ppsti : *mut * mut::core::ffi::c_void, punkouter : ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); pub const CF_MSFAXSRV_DEVICE_ID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FAXSRV_DeviceID"); pub const CF_MSFAXSRV_FSP_GUID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FAXSRV_FSPGuid"); pub const CF_MSFAXSRV_ROUTEEXT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FAXSRV_RoutingExtName"); diff --git a/crates/libs/sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs index 9cff629cdf..d8f22af0d5 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs @@ -45,26 +45,6 @@ ::windows_targets::link!("hid.dll" "system" fn HidP_UnsetUsages(reporttype : HIDP_REPORT_TYPE, usagepage : u16, linkcollection : u16, usagelist : *mut u16, usagelength : *mut u32, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_sys::core::PCSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); ::windows_targets::link!("hid.dll" "system" fn HidP_UsageListDifference(previoususagelist : *const u16, currentusagelist : *const u16, breakusagelist : *mut u16, makeusagelist : *mut u16, usagelistlength : u32) -> super::super::Foundation:: NTSTATUS); ::windows_targets::link!("winmm.dll" "system" fn joyConfigChanged(dwflags : u32) -> u32); -pub type IDirectInput2A = *mut ::core::ffi::c_void; -pub type IDirectInput2W = *mut ::core::ffi::c_void; -pub type IDirectInput7A = *mut ::core::ffi::c_void; -pub type IDirectInput7W = *mut ::core::ffi::c_void; -pub type IDirectInput8A = *mut ::core::ffi::c_void; -pub type IDirectInput8W = *mut ::core::ffi::c_void; -pub type IDirectInputA = *mut ::core::ffi::c_void; -pub type IDirectInputDevice2A = *mut ::core::ffi::c_void; -pub type IDirectInputDevice2W = *mut ::core::ffi::c_void; -pub type IDirectInputDevice7A = *mut ::core::ffi::c_void; -pub type IDirectInputDevice7W = *mut ::core::ffi::c_void; -pub type IDirectInputDevice8A = *mut ::core::ffi::c_void; -pub type IDirectInputDevice8W = *mut ::core::ffi::c_void; -pub type IDirectInputDeviceA = *mut ::core::ffi::c_void; -pub type IDirectInputDeviceW = *mut ::core::ffi::c_void; -pub type IDirectInputEffect = *mut ::core::ffi::c_void; -pub type IDirectInputEffectDriver = *mut ::core::ffi::c_void; -pub type IDirectInputJoyConfig = *mut ::core::ffi::c_void; -pub type IDirectInputJoyConfig8 = *mut ::core::ffi::c_void; -pub type IDirectInputW = *mut ::core::ffi::c_void; pub const BALLPOINT_I8042_HARDWARE: u32 = 8u32; pub const BALLPOINT_SERIAL_HARDWARE: u32 = 16u32; pub const BUTTON_BIT_ALLBUTTONSMASK: u32 = 16383u32; @@ -4271,11 +4251,11 @@ impl ::core::clone::Clone for USAGE_AND_PAGE { } } pub type LPDICONFIGUREDEVICESCALLBACK = ::core::option::Option super::super::Foundation::BOOL>; -pub type LPDIENUMCREATEDEFFECTOBJECTSCALLBACK = ::core::option::Option super::super::Foundation::BOOL>; +pub type LPDIENUMCREATEDEFFECTOBJECTSCALLBACK = ::core::option::Option super::super::Foundation::BOOL>; pub type LPDIENUMDEVICEOBJECTSCALLBACKA = ::core::option::Option super::super::Foundation::BOOL>; pub type LPDIENUMDEVICEOBJECTSCALLBACKW = ::core::option::Option super::super::Foundation::BOOL>; -pub type LPDIENUMDEVICESBYSEMANTICSCBA = ::core::option::Option super::super::Foundation::BOOL>; -pub type LPDIENUMDEVICESBYSEMANTICSCBW = ::core::option::Option super::super::Foundation::BOOL>; +pub type LPDIENUMDEVICESBYSEMANTICSCBA = ::core::option::Option super::super::Foundation::BOOL>; +pub type LPDIENUMDEVICESBYSEMANTICSCBW = ::core::option::Option super::super::Foundation::BOOL>; pub type LPDIENUMDEVICESCALLBACKA = ::core::option::Option super::super::Foundation::BOOL>; pub type LPDIENUMDEVICESCALLBACKW = ::core::option::Option super::super::Foundation::BOOL>; pub type LPDIENUMEFFECTSCALLBACKA = ::core::option::Option super::super::Foundation::BOOL>; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/PortableDevices/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/PortableDevices/mod.rs index f224b7e6ad..2b6dc94f7f 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/PortableDevices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/PortableDevices/mod.rs @@ -1,38 +1,4 @@ ::windows_targets::link!("dmprocessxmlfiltered.dll" "system" fn DMProcessConfigXMLFiltered(pszxmlin : ::windows_sys::core::PCWSTR, rgszallowedcspnodes : *const ::windows_sys::core::PCWSTR, dwnumallowedcspnodes : u32, pbstrxmlout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); -pub type IConnectionRequestCallback = *mut ::core::ffi::c_void; -pub type IEnumPortableDeviceConnectors = *mut ::core::ffi::c_void; -pub type IEnumPortableDeviceObjectIDs = *mut ::core::ffi::c_void; -pub type IMediaRadioManager = *mut ::core::ffi::c_void; -pub type IMediaRadioManagerNotifySink = *mut ::core::ffi::c_void; -pub type IPortableDevice = *mut ::core::ffi::c_void; -pub type IPortableDeviceCapabilities = *mut ::core::ffi::c_void; -pub type IPortableDeviceConnector = *mut ::core::ffi::c_void; -pub type IPortableDeviceContent = *mut ::core::ffi::c_void; -pub type IPortableDeviceContent2 = *mut ::core::ffi::c_void; -pub type IPortableDeviceDataStream = *mut ::core::ffi::c_void; -pub type IPortableDeviceDispatchFactory = *mut ::core::ffi::c_void; -pub type IPortableDeviceEventCallback = *mut ::core::ffi::c_void; -pub type IPortableDeviceKeyCollection = *mut ::core::ffi::c_void; -pub type IPortableDeviceManager = *mut ::core::ffi::c_void; -pub type IPortableDevicePropVariantCollection = *mut ::core::ffi::c_void; -pub type IPortableDeviceProperties = *mut ::core::ffi::c_void; -pub type IPortableDevicePropertiesBulk = *mut ::core::ffi::c_void; -pub type IPortableDevicePropertiesBulkCallback = *mut ::core::ffi::c_void; -pub type IPortableDeviceResources = *mut ::core::ffi::c_void; -pub type IPortableDeviceService = *mut ::core::ffi::c_void; -pub type IPortableDeviceServiceActivation = *mut ::core::ffi::c_void; -pub type IPortableDeviceServiceCapabilities = *mut ::core::ffi::c_void; -pub type IPortableDeviceServiceManager = *mut ::core::ffi::c_void; -pub type IPortableDeviceServiceMethodCallback = *mut ::core::ffi::c_void; -pub type IPortableDeviceServiceMethods = *mut ::core::ffi::c_void; -pub type IPortableDeviceServiceOpenCallback = *mut ::core::ffi::c_void; -pub type IPortableDeviceUnitsStream = *mut ::core::ffi::c_void; -pub type IPortableDeviceValues = *mut ::core::ffi::c_void; -pub type IPortableDeviceValuesCollection = *mut ::core::ffi::c_void; -pub type IPortableDeviceWebControl = *mut ::core::ffi::c_void; -pub type IRadioInstance = *mut ::core::ffi::c_void; -pub type IRadioInstanceCollection = *mut ::core::ffi::c_void; -pub type IWpdSerializer = *mut ::core::ffi::c_void; pub const CLSID_WPD_NAMESPACE_EXTENSION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x35786d3c_b075_49b9_88dd_029876e11c01); #[doc = "Required features: `\"Win32_Devices_Properties\"`"] #[cfg(feature = "Win32_Devices_Properties")] diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Sensors/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Sensors/mod.rs index 45393eb370..d557953093 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Sensors/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Sensors/mod.rs @@ -72,13 +72,6 @@ ::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn SensorCollectionGetAt(index : u32, psensorslist : *const SENSOR_COLLECTION_LIST, pkey : *mut super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pvalue : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT) -> super::super::Foundation:: NTSTATUS); ::windows_targets::link!("sensorsutilsv2.dll" "system" fn SerializationBufferAllocate(sizeinbytes : u32, pbuffer : *mut *mut u8) -> super::super::Foundation:: NTSTATUS); ::windows_targets::link!("sensorsutilsv2.dll" "system" fn SerializationBufferFree(buffer : *const u8)); -pub type ILocationPermissions = *mut ::core::ffi::c_void; -pub type ISensor = *mut ::core::ffi::c_void; -pub type ISensorCollection = *mut ::core::ffi::c_void; -pub type ISensorDataReport = *mut ::core::ffi::c_void; -pub type ISensorEvents = *mut ::core::ffi::c_void; -pub type ISensorManager = *mut ::core::ffi::c_void; -pub type ISensorManagerEvents = *mut ::core::ffi::c_void; pub const AXIS_MAX: AXIS = 3i32; pub const AXIS_X: AXIS = 0i32; pub const AXIS_Y: AXIS = 1i32; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Tapi/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Tapi/mod.rs index a07838891c..8022e5b2f6 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Tapi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Tapi/mod.rs @@ -1,9 +1,6 @@ -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn GetTnefStreamCodepage(lpstream : super::super::System::Com:: IStream, lpulcodepage : *mut u32, lpulsubcodepage : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_AddressBook", feature = "Win32_System_Com"))] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`"] fn OpenTnefStream(lpvsupport : *mut ::core::ffi::c_void, lpstream : super::super::System::Com:: IStream, lpszstreamname : *const i8, ulflags : u32, lpmessage : super::super::System::AddressBook:: IMessage, wkeyval : u16, lpptnef : *mut ITnef) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_AddressBook", feature = "Win32_System_Com"))] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`"] fn OpenTnefStreamEx(lpvsupport : *mut ::core::ffi::c_void, lpstream : super::super::System::Com:: IStream, lpszstreamname : *const i8, ulflags : u32, lpmessage : super::super::System::AddressBook:: IMessage, wkeyval : u16, lpadressbook : super::super::System::AddressBook:: IAddrBook, lpptnef : *mut ITnef) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" fn GetTnefStreamCodepage(lpstream : * mut::core::ffi::c_void, lpulcodepage : *mut u32, lpulsubcodepage : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" fn OpenTnefStream(lpvsupport : *mut ::core::ffi::c_void, lpstream : * mut::core::ffi::c_void, lpszstreamname : *const i8, ulflags : u32, lpmessage : * mut::core::ffi::c_void, wkeyval : u16, lpptnef : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" fn OpenTnefStreamEx(lpvsupport : *mut ::core::ffi::c_void, lpstream : * mut::core::ffi::c_void, lpszstreamname : *const i8, ulflags : u32, lpmessage : * mut::core::ffi::c_void, wkeyval : u16, lpadressbook : * mut::core::ffi::c_void, lpptnef : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("tapi32.dll" "system" fn lineAccept(hcall : u32, lpsuseruserinfo : ::windows_sys::core::PCSTR, dwsize : u32) -> i32); ::windows_targets::link!("tapi32.dll" "system" fn lineAddProvider(lpszproviderfilename : ::windows_sys::core::PCSTR, hwndowner : super::super::Foundation:: HWND, lpdwpermanentproviderid : *mut u32) -> i32); ::windows_targets::link!("tapi32.dll" "system" fn lineAddProviderA(lpszproviderfilename : ::windows_sys::core::PCSTR, hwndowner : super::super::Foundation:: HWND, lpdwpermanentproviderid : *mut u32) -> i32); @@ -262,125 +259,6 @@ ::windows_targets::link!("tapi32.dll" "system" fn tapiRequestMediaCall(hwnd : super::super::Foundation:: HWND, wrequestid : super::super::Foundation:: WPARAM, lpszdeviceclass : ::windows_sys::core::PCSTR, lpdeviceid : ::windows_sys::core::PCSTR, dwsize : u32, dwsecure : u32, lpszdestaddress : ::windows_sys::core::PCSTR, lpszappname : ::windows_sys::core::PCSTR, lpszcalledparty : ::windows_sys::core::PCSTR, lpszcomment : ::windows_sys::core::PCSTR) -> i32); ::windows_targets::link!("tapi32.dll" "system" fn tapiRequestMediaCallA(hwnd : super::super::Foundation:: HWND, wrequestid : super::super::Foundation:: WPARAM, lpszdeviceclass : ::windows_sys::core::PCSTR, lpdeviceid : ::windows_sys::core::PCSTR, dwsize : u32, dwsecure : u32, lpszdestaddress : ::windows_sys::core::PCSTR, lpszappname : ::windows_sys::core::PCSTR, lpszcalledparty : ::windows_sys::core::PCSTR, lpszcomment : ::windows_sys::core::PCSTR) -> i32); ::windows_targets::link!("tapi32.dll" "system" fn tapiRequestMediaCallW(hwnd : super::super::Foundation:: HWND, wrequestid : super::super::Foundation:: WPARAM, lpszdeviceclass : ::windows_sys::core::PCWSTR, lpdeviceid : ::windows_sys::core::PCWSTR, dwsize : u32, dwsecure : u32, lpszdestaddress : ::windows_sys::core::PCWSTR, lpszappname : ::windows_sys::core::PCWSTR, lpszcalledparty : ::windows_sys::core::PCWSTR, lpszcomment : ::windows_sys::core::PCWSTR) -> i32); -pub type IEnumACDGroup = *mut ::core::ffi::c_void; -pub type IEnumAddress = *mut ::core::ffi::c_void; -pub type IEnumAgent = *mut ::core::ffi::c_void; -pub type IEnumAgentHandler = *mut ::core::ffi::c_void; -pub type IEnumAgentSession = *mut ::core::ffi::c_void; -pub type IEnumBstr = *mut ::core::ffi::c_void; -pub type IEnumCall = *mut ::core::ffi::c_void; -pub type IEnumCallHub = *mut ::core::ffi::c_void; -pub type IEnumCallingCard = *mut ::core::ffi::c_void; -pub type IEnumDialableAddrs = *mut ::core::ffi::c_void; -pub type IEnumDirectory = *mut ::core::ffi::c_void; -pub type IEnumDirectoryObject = *mut ::core::ffi::c_void; -pub type IEnumLocation = *mut ::core::ffi::c_void; -pub type IEnumMcastScope = *mut ::core::ffi::c_void; -pub type IEnumPhone = *mut ::core::ffi::c_void; -pub type IEnumPluggableSuperclassInfo = *mut ::core::ffi::c_void; -pub type IEnumPluggableTerminalClassInfo = *mut ::core::ffi::c_void; -pub type IEnumQueue = *mut ::core::ffi::c_void; -pub type IEnumStream = *mut ::core::ffi::c_void; -pub type IEnumSubStream = *mut ::core::ffi::c_void; -pub type IEnumTerminal = *mut ::core::ffi::c_void; -pub type IEnumTerminalClass = *mut ::core::ffi::c_void; -pub type IMcastAddressAllocation = *mut ::core::ffi::c_void; -pub type IMcastLeaseInfo = *mut ::core::ffi::c_void; -pub type IMcastScope = *mut ::core::ffi::c_void; -pub type ITACDGroup = *mut ::core::ffi::c_void; -pub type ITACDGroupEvent = *mut ::core::ffi::c_void; -pub type ITAMMediaFormat = *mut ::core::ffi::c_void; -pub type ITASRTerminalEvent = *mut ::core::ffi::c_void; -pub type ITAddress = *mut ::core::ffi::c_void; -pub type ITAddress2 = *mut ::core::ffi::c_void; -pub type ITAddressCapabilities = *mut ::core::ffi::c_void; -pub type ITAddressDeviceSpecificEvent = *mut ::core::ffi::c_void; -pub type ITAddressEvent = *mut ::core::ffi::c_void; -pub type ITAddressTranslation = *mut ::core::ffi::c_void; -pub type ITAddressTranslationInfo = *mut ::core::ffi::c_void; -pub type ITAgent = *mut ::core::ffi::c_void; -pub type ITAgentEvent = *mut ::core::ffi::c_void; -pub type ITAgentHandler = *mut ::core::ffi::c_void; -pub type ITAgentHandlerEvent = *mut ::core::ffi::c_void; -pub type ITAgentSession = *mut ::core::ffi::c_void; -pub type ITAgentSessionEvent = *mut ::core::ffi::c_void; -pub type ITAllocatorProperties = *mut ::core::ffi::c_void; -pub type ITAutomatedPhoneControl = *mut ::core::ffi::c_void; -pub type ITBasicAudioTerminal = *mut ::core::ffi::c_void; -pub type ITBasicCallControl = *mut ::core::ffi::c_void; -pub type ITBasicCallControl2 = *mut ::core::ffi::c_void; -pub type ITCallHub = *mut ::core::ffi::c_void; -pub type ITCallHubEvent = *mut ::core::ffi::c_void; -pub type ITCallInfo = *mut ::core::ffi::c_void; -pub type ITCallInfo2 = *mut ::core::ffi::c_void; -pub type ITCallInfoChangeEvent = *mut ::core::ffi::c_void; -pub type ITCallMediaEvent = *mut ::core::ffi::c_void; -pub type ITCallNotificationEvent = *mut ::core::ffi::c_void; -pub type ITCallStateEvent = *mut ::core::ffi::c_void; -pub type ITCallingCard = *mut ::core::ffi::c_void; -pub type ITCollection = *mut ::core::ffi::c_void; -pub type ITCollection2 = *mut ::core::ffi::c_void; -pub type ITCustomTone = *mut ::core::ffi::c_void; -pub type ITDetectTone = *mut ::core::ffi::c_void; -pub type ITDigitDetectionEvent = *mut ::core::ffi::c_void; -pub type ITDigitGenerationEvent = *mut ::core::ffi::c_void; -pub type ITDigitsGatheredEvent = *mut ::core::ffi::c_void; -pub type ITDirectory = *mut ::core::ffi::c_void; -pub type ITDirectoryObject = *mut ::core::ffi::c_void; -pub type ITDirectoryObjectConference = *mut ::core::ffi::c_void; -pub type ITDirectoryObjectUser = *mut ::core::ffi::c_void; -pub type ITDispatchMapper = *mut ::core::ffi::c_void; -pub type ITFileTerminalEvent = *mut ::core::ffi::c_void; -pub type ITFileTrack = *mut ::core::ffi::c_void; -pub type ITForwardInformation = *mut ::core::ffi::c_void; -pub type ITForwardInformation2 = *mut ::core::ffi::c_void; -pub type ITILSConfig = *mut ::core::ffi::c_void; -pub type ITLegacyAddressMediaControl = *mut ::core::ffi::c_void; -pub type ITLegacyAddressMediaControl2 = *mut ::core::ffi::c_void; -pub type ITLegacyCallMediaControl = *mut ::core::ffi::c_void; -pub type ITLegacyCallMediaControl2 = *mut ::core::ffi::c_void; -pub type ITLegacyWaveSupport = *mut ::core::ffi::c_void; -pub type ITLocationInfo = *mut ::core::ffi::c_void; -pub type ITMSPAddress = *mut ::core::ffi::c_void; -pub type ITMediaControl = *mut ::core::ffi::c_void; -pub type ITMediaPlayback = *mut ::core::ffi::c_void; -pub type ITMediaRecord = *mut ::core::ffi::c_void; -pub type ITMediaSupport = *mut ::core::ffi::c_void; -pub type ITMultiTrackTerminal = *mut ::core::ffi::c_void; -pub type ITPhone = *mut ::core::ffi::c_void; -pub type ITPhoneDeviceSpecificEvent = *mut ::core::ffi::c_void; -pub type ITPhoneEvent = *mut ::core::ffi::c_void; -pub type ITPluggableTerminalClassInfo = *mut ::core::ffi::c_void; -pub type ITPluggableTerminalEventSink = *mut ::core::ffi::c_void; -pub type ITPluggableTerminalEventSinkRegistration = *mut ::core::ffi::c_void; -pub type ITPluggableTerminalSuperclassInfo = *mut ::core::ffi::c_void; -pub type ITPrivateEvent = *mut ::core::ffi::c_void; -pub type ITQOSEvent = *mut ::core::ffi::c_void; -pub type ITQueue = *mut ::core::ffi::c_void; -pub type ITQueueEvent = *mut ::core::ffi::c_void; -pub type ITRendezvous = *mut ::core::ffi::c_void; -pub type ITRequest = *mut ::core::ffi::c_void; -pub type ITRequestEvent = *mut ::core::ffi::c_void; -pub type ITScriptableAudioFormat = *mut ::core::ffi::c_void; -pub type ITStaticAudioTerminal = *mut ::core::ffi::c_void; -pub type ITStream = *mut ::core::ffi::c_void; -pub type ITStreamControl = *mut ::core::ffi::c_void; -pub type ITSubStream = *mut ::core::ffi::c_void; -pub type ITSubStreamControl = *mut ::core::ffi::c_void; -pub type ITTAPI = *mut ::core::ffi::c_void; -pub type ITTAPI2 = *mut ::core::ffi::c_void; -pub type ITTAPICallCenter = *mut ::core::ffi::c_void; -pub type ITTAPIDispatchEventNotification = *mut ::core::ffi::c_void; -pub type ITTAPIEventNotification = *mut ::core::ffi::c_void; -pub type ITTAPIObjectEvent = *mut ::core::ffi::c_void; -pub type ITTAPIObjectEvent2 = *mut ::core::ffi::c_void; -pub type ITTTSTerminalEvent = *mut ::core::ffi::c_void; -pub type ITTerminal = *mut ::core::ffi::c_void; -pub type ITTerminalSupport = *mut ::core::ffi::c_void; -pub type ITTerminalSupport2 = *mut ::core::ffi::c_void; -pub type ITToneDetectionEvent = *mut ::core::ffi::c_void; -pub type ITToneTerminalEvent = *mut ::core::ffi::c_void; -pub type ITnef = *mut ::core::ffi::c_void; pub const ACDGE_GROUP_REMOVED: ACDGROUP_EVENT = 1i32; pub const ACDGE_NEW_GROUP: ACDGROUP_EVENT = 0i32; pub const ACDQE_NEW_QUEUE: ACDQUEUE_EVENT = 0i32; @@ -3501,25 +3379,19 @@ impl ::core::clone::Clone for LINETRANSLATEOUTPUT { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct MSP_EVENT_INFO { pub dwSize: u32, pub Event: MSP_EVENT, pub hCall: *mut i32, pub Anonymous: MSP_EVENT_INFO_0, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MSP_EVENT_INFO {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MSP_EVENT_INFO { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub union MSP_EVENT_INFO_0 { pub MSP_ADDRESS_EVENT_INFO: MSP_EVENT_INFO_0_0, pub MSP_CALL_EVENT_INFO: MSP_EVENT_INFO_0_2, @@ -3530,135 +3402,101 @@ pub union MSP_EVENT_INFO_0 { pub MSP_TTS_TERMINAL_EVENT_INFO: MSP_EVENT_INFO_0_7, pub MSP_TONE_TERMINAL_EVENT_INFO: MSP_EVENT_INFO_0_5, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MSP_EVENT_INFO_0 {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MSP_EVENT_INFO_0 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct MSP_EVENT_INFO_0_0 { pub Type: MSP_ADDRESS_EVENT, - pub pTerminal: ITTerminal, + pub pTerminal: *mut ::core::ffi::c_void, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MSP_EVENT_INFO_0_0 {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MSP_EVENT_INFO_0_0 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct MSP_EVENT_INFO_0_1 { - pub pASRTerminal: ITTerminal, + pub pASRTerminal: *mut ::core::ffi::c_void, pub hrErrorCode: ::windows_sys::core::HRESULT, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MSP_EVENT_INFO_0_1 {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MSP_EVENT_INFO_0_1 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct MSP_EVENT_INFO_0_2 { pub Type: MSP_CALL_EVENT, pub Cause: MSP_CALL_EVENT_CAUSE, - pub pStream: ITStream, - pub pTerminal: ITTerminal, + pub pStream: *mut ::core::ffi::c_void, + pub pTerminal: *mut ::core::ffi::c_void, pub hrError: ::windows_sys::core::HRESULT, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MSP_EVENT_INFO_0_2 {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MSP_EVENT_INFO_0_2 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct MSP_EVENT_INFO_0_3 { - pub pParentFileTerminal: ITTerminal, - pub pFileTrack: ITFileTrack, + pub pParentFileTerminal: *mut ::core::ffi::c_void, + pub pFileTrack: *mut ::core::ffi::c_void, pub TerminalMediaState: TERMINAL_MEDIA_STATE, pub ftecEventCause: FT_STATE_EVENT_CAUSE, pub hrErrorCode: ::windows_sys::core::HRESULT, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MSP_EVENT_INFO_0_3 {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MSP_EVENT_INFO_0_3 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct MSP_EVENT_INFO_0_4 { - pub pEvent: super::super::System::Com::IDispatch, + pub pEvent: *mut ::core::ffi::c_void, pub lEventCode: i32, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MSP_EVENT_INFO_0_4 {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MSP_EVENT_INFO_0_4 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct MSP_EVENT_INFO_0_5 { - pub pToneTerminal: ITTerminal, + pub pToneTerminal: *mut ::core::ffi::c_void, pub hrErrorCode: ::windows_sys::core::HRESULT, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MSP_EVENT_INFO_0_5 {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MSP_EVENT_INFO_0_5 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct MSP_EVENT_INFO_0_6 { pub dwBufferSize: u32, pub pBuffer: [u8; 1], } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MSP_EVENT_INFO_0_6 {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MSP_EVENT_INFO_0_6 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct MSP_EVENT_INFO_0_7 { - pub pTTSTerminal: ITTerminal, + pub pTTSTerminal: *mut ::core::ffi::c_void, pub hrErrorCode: ::windows_sys::core::HRESULT, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MSP_EVENT_INFO_0_7 {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MSP_EVENT_INFO_0_7 { fn clone(&self) -> Self { *self @@ -3963,15 +3801,9 @@ impl ::core::clone::Clone for VARSTRING { pub type ASYNC_COMPLETION = ::core::option::Option; pub type LINECALLBACK = ::core::option::Option; pub type LINEEVENT = ::core::option::Option; -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] -pub type LPGETTNEFSTREAMCODEPAGE = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`"] -#[cfg(all(feature = "Win32_System_AddressBook", feature = "Win32_System_Com"))] -pub type LPOPENTNEFSTREAM = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`"] -#[cfg(all(feature = "Win32_System_AddressBook", feature = "Win32_System_Com"))] -pub type LPOPENTNEFSTREAMEX = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type LPGETTNEFSTREAMCODEPAGE = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type LPOPENTNEFSTREAM = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type LPOPENTNEFSTREAMEX = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PHONECALLBACK = ::core::option::Option; pub type PHONEEVENT = ::core::option::Option; pub type TUISPIDLLCALLBACK = ::core::option::Option i32>; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs index b03b59a511..a06e9717fc 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs @@ -1,23 +1,23 @@ ::windows_targets::link!("wsdapi.dll" "system" fn WSDAllocateLinkedMemory(pparent : *mut ::core::ffi::c_void, cbsize : usize) -> *mut ::core::ffi::c_void); ::windows_targets::link!("wsdapi.dll" "system" fn WSDAttachLinkedMemory(pparent : *mut ::core::ffi::c_void, pchild : *mut ::core::ffi::c_void)); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDeviceHost(pszlocalid : ::windows_sys::core::PCWSTR, pcontext : IWSDXMLContext, ppdevicehost : *mut IWSDDeviceHost) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDeviceHost2(pszlocalid : ::windows_sys::core::PCWSTR, pcontext : IWSDXMLContext, pconfigparams : *const WSD_CONFIG_PARAM, dwconfigparamcount : u32, ppdevicehost : *mut IWSDDeviceHost) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDeviceHostAdvanced(pszlocalid : ::windows_sys::core::PCWSTR, pcontext : IWSDXMLContext, pphostaddresses : *const IWSDAddress, dwhostaddresscount : u32, ppdevicehost : *mut IWSDDeviceHost) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDeviceProxy(pszdeviceid : ::windows_sys::core::PCWSTR, pszlocalid : ::windows_sys::core::PCWSTR, pcontext : IWSDXMLContext, ppdeviceproxy : *mut IWSDDeviceProxy) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDeviceProxy2(pszdeviceid : ::windows_sys::core::PCWSTR, pszlocalid : ::windows_sys::core::PCWSTR, pcontext : IWSDXMLContext, pconfigparams : *const WSD_CONFIG_PARAM, dwconfigparamcount : u32, ppdeviceproxy : *mut IWSDDeviceProxy) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDeviceProxyAdvanced(pszdeviceid : ::windows_sys::core::PCWSTR, pdeviceaddress : IWSDAddress, pszlocalid : ::windows_sys::core::PCWSTR, pcontext : IWSDXMLContext, ppdeviceproxy : *mut IWSDDeviceProxy) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDiscoveryProvider(pcontext : IWSDXMLContext, ppprovider : *mut IWSDiscoveryProvider) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDiscoveryProvider2(pcontext : IWSDXMLContext, pconfigparams : *const WSD_CONFIG_PARAM, dwconfigparamcount : u32, ppprovider : *mut IWSDiscoveryProvider) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDiscoveryPublisher(pcontext : IWSDXMLContext, pppublisher : *mut IWSDiscoveryPublisher) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDiscoveryPublisher2(pcontext : IWSDXMLContext, pconfigparams : *const WSD_CONFIG_PARAM, dwconfigparamcount : u32, pppublisher : *mut IWSDiscoveryPublisher) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateHttpAddress(ppaddress : *mut IWSDHttpAddress) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateHttpMessageParameters(pptxparams : *mut IWSDHttpMessageParameters) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateOutboundAttachment(ppattachment : *mut IWSDOutboundAttachment) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateUdpAddress(ppaddress : *mut IWSDUdpAddress) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateUdpMessageParameters(pptxparams : *mut IWSDUdpMessageParameters) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDeviceHost(pszlocalid : ::windows_sys::core::PCWSTR, pcontext : * mut::core::ffi::c_void, ppdevicehost : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDeviceHost2(pszlocalid : ::windows_sys::core::PCWSTR, pcontext : * mut::core::ffi::c_void, pconfigparams : *const WSD_CONFIG_PARAM, dwconfigparamcount : u32, ppdevicehost : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDeviceHostAdvanced(pszlocalid : ::windows_sys::core::PCWSTR, pcontext : * mut::core::ffi::c_void, pphostaddresses : *const * mut::core::ffi::c_void, dwhostaddresscount : u32, ppdevicehost : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDeviceProxy(pszdeviceid : ::windows_sys::core::PCWSTR, pszlocalid : ::windows_sys::core::PCWSTR, pcontext : * mut::core::ffi::c_void, ppdeviceproxy : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDeviceProxy2(pszdeviceid : ::windows_sys::core::PCWSTR, pszlocalid : ::windows_sys::core::PCWSTR, pcontext : * mut::core::ffi::c_void, pconfigparams : *const WSD_CONFIG_PARAM, dwconfigparamcount : u32, ppdeviceproxy : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDeviceProxyAdvanced(pszdeviceid : ::windows_sys::core::PCWSTR, pdeviceaddress : * mut::core::ffi::c_void, pszlocalid : ::windows_sys::core::PCWSTR, pcontext : * mut::core::ffi::c_void, ppdeviceproxy : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDiscoveryProvider(pcontext : * mut::core::ffi::c_void, ppprovider : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDiscoveryProvider2(pcontext : * mut::core::ffi::c_void, pconfigparams : *const WSD_CONFIG_PARAM, dwconfigparamcount : u32, ppprovider : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDiscoveryPublisher(pcontext : * mut::core::ffi::c_void, pppublisher : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDiscoveryPublisher2(pcontext : * mut::core::ffi::c_void, pconfigparams : *const WSD_CONFIG_PARAM, dwconfigparamcount : u32, pppublisher : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateHttpAddress(ppaddress : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateHttpMessageParameters(pptxparams : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateOutboundAttachment(ppattachment : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateUdpAddress(ppaddress : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDCreateUdpMessageParameters(pptxparams : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wsdapi.dll" "system" fn WSDDetachLinkedMemory(pvoid : *mut ::core::ffi::c_void)); ::windows_targets::link!("wsdapi.dll" "system" fn WSDFreeLinkedMemory(pvoid : *mut ::core::ffi::c_void)); -::windows_targets::link!("wsdapi.dll" "system" fn WSDGenerateFault(pszcode : ::windows_sys::core::PCWSTR, pszsubcode : ::windows_sys::core::PCWSTR, pszreason : ::windows_sys::core::PCWSTR, pszdetail : ::windows_sys::core::PCWSTR, pcontext : IWSDXMLContext, ppfault : *mut *mut WSD_SOAP_FAULT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDGenerateFault(pszcode : ::windows_sys::core::PCWSTR, pszsubcode : ::windows_sys::core::PCWSTR, pszreason : ::windows_sys::core::PCWSTR, pszdetail : ::windows_sys::core::PCWSTR, pcontext : * mut::core::ffi::c_void, ppfault : *mut *mut WSD_SOAP_FAULT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wsdapi.dll" "system" fn WSDGenerateFaultEx(pcode : *const WSDXML_NAME, psubcode : *const WSDXML_NAME, preasons : *const WSD_LOCALIZED_STRING_LIST, pszdetail : ::windows_sys::core::PCWSTR, ppfault : *mut *mut WSD_SOAP_FAULT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wsdapi.dll" "system" fn WSDGetConfigurationOption(dwoption : u32, pvoid : *mut ::core::ffi::c_void, cboutbuffer : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wsdapi.dll" "system" fn WSDSetConfigurationOption(dwoption : u32, pvoid : *const ::core::ffi::c_void, cbinbuffer : u32) -> ::windows_sys::core::HRESULT); @@ -27,40 +27,9 @@ ::windows_targets::link!("wsdapi.dll" "system" fn WSDXMLAddSibling(pfirst : *mut WSDXML_ELEMENT, psecond : *mut WSDXML_ELEMENT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wsdapi.dll" "system" fn WSDXMLBuildAnyForSingleElement(pelementname : *mut WSDXML_NAME, psztext : ::windows_sys::core::PCWSTR, ppany : *mut *mut WSDXML_ELEMENT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wsdapi.dll" "system" fn WSDXMLCleanupElement(pany : *mut WSDXML_ELEMENT) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wsdapi.dll" "system" fn WSDXMLCreateContext(ppcontext : *mut IWSDXMLContext) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wsdapi.dll" "system" fn WSDXMLCreateContext(ppcontext : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wsdapi.dll" "system" fn WSDXMLGetNameFromBuiltinNamespace(psznamespace : ::windows_sys::core::PCWSTR, pszname : ::windows_sys::core::PCWSTR, ppname : *mut *mut WSDXML_NAME) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wsdapi.dll" "system" fn WSDXMLGetValueFromAny(psznamespace : ::windows_sys::core::PCWSTR, pszname : ::windows_sys::core::PCWSTR, pany : *mut WSDXML_ELEMENT, ppszvalue : *mut ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -pub type IWSDAddress = *mut ::core::ffi::c_void; -pub type IWSDAsyncCallback = *mut ::core::ffi::c_void; -pub type IWSDAsyncResult = *mut ::core::ffi::c_void; -pub type IWSDAttachment = *mut ::core::ffi::c_void; -pub type IWSDDeviceHost = *mut ::core::ffi::c_void; -pub type IWSDDeviceHostNotify = *mut ::core::ffi::c_void; -pub type IWSDDeviceProxy = *mut ::core::ffi::c_void; -pub type IWSDEndpointProxy = *mut ::core::ffi::c_void; -pub type IWSDEventingStatus = *mut ::core::ffi::c_void; -pub type IWSDHttpAddress = *mut ::core::ffi::c_void; -pub type IWSDHttpAuthParameters = *mut ::core::ffi::c_void; -pub type IWSDHttpMessageParameters = *mut ::core::ffi::c_void; -pub type IWSDInboundAttachment = *mut ::core::ffi::c_void; -pub type IWSDMessageParameters = *mut ::core::ffi::c_void; -pub type IWSDMetadataExchange = *mut ::core::ffi::c_void; -pub type IWSDOutboundAttachment = *mut ::core::ffi::c_void; -pub type IWSDSSLClientCertificate = *mut ::core::ffi::c_void; -pub type IWSDScopeMatchingRule = *mut ::core::ffi::c_void; -pub type IWSDServiceMessaging = *mut ::core::ffi::c_void; -pub type IWSDServiceProxy = *mut ::core::ffi::c_void; -pub type IWSDServiceProxyEventing = *mut ::core::ffi::c_void; -pub type IWSDSignatureProperty = *mut ::core::ffi::c_void; -pub type IWSDTransportAddress = *mut ::core::ffi::c_void; -pub type IWSDUdpAddress = *mut ::core::ffi::c_void; -pub type IWSDUdpMessageParameters = *mut ::core::ffi::c_void; -pub type IWSDXMLContext = *mut ::core::ffi::c_void; -pub type IWSDiscoveredService = *mut ::core::ffi::c_void; -pub type IWSDiscoveryProvider = *mut ::core::ffi::c_void; -pub type IWSDiscoveryProviderNotify = *mut ::core::ffi::c_void; -pub type IWSDiscoveryPublisher = *mut ::core::ffi::c_void; -pub type IWSDiscoveryPublisherNotify = *mut ::core::ffi::c_void; pub const DirectedDiscovery: DeviceDiscoveryMechanism = 1i32; pub const MulticastDiscovery: DeviceDiscoveryMechanism = 0i32; pub const ONE_WAY: WSDUdpMessageType = 0i32; @@ -414,7 +383,7 @@ impl ::core::clone::Clone for WSD_BYE { } #[repr(C)] pub struct WSD_CONFIG_ADDRESSES { - pub addresses: *mut IWSDAddress, + pub addresses: *mut *mut ::core::ffi::c_void, pub dwAddressCount: u32, } impl ::core::marker::Copy for WSD_CONFIG_ADDRESSES {} @@ -507,7 +476,7 @@ pub struct WSD_EVENT { pub HandlerContext: WSD_HANDLER_CONTEXT, pub Soap: *mut WSD_SOAP_MESSAGE, pub Operation: *mut WSD_OPERATION, - pub MessageParameters: IWSDMessageParameters, + pub MessageParameters: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for WSD_EVENT {} impl ::core::clone::Clone for WSD_EVENT { @@ -992,7 +961,7 @@ impl ::core::clone::Clone for WSD_SOAP_MESSAGE { pub struct WSD_SYNCHRONOUS_RESPONSE_CONTEXT { pub hr: ::windows_sys::core::HRESULT, pub eventHandle: super::super::Foundation::HANDLE, - pub messageParameters: IWSDMessageParameters, + pub messageParameters: *mut ::core::ffi::c_void, pub results: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for WSD_SYNCHRONOUS_RESPONSE_CONTEXT {} @@ -1052,4 +1021,4 @@ impl ::core::clone::Clone for WSD_URI_LIST { } } pub type PWSD_SOAP_MESSAGE_HANDLER = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type WSD_STUB_FUNCTION = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type WSD_STUB_FUNCTION = ::core::option::Option ::windows_sys::core::HRESULT>; diff --git a/crates/libs/sys/src/Windows/Win32/Gaming/mod.rs b/crates/libs/sys/src/Windows/Win32/Gaming/mod.rs index 87275c3dd6..31bbd8ed32 100644 --- a/crates/libs/sys/src/Windows/Win32/Gaming/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Gaming/mod.rs @@ -28,14 +28,6 @@ ::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-4.dll" "system" fn ShowUserSettingsUI(completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-4.dll" "system" fn ShowUserSettingsUIForUser(user : ::windows_sys::core::IInspectable, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn TryCancelPendingGameUI() -> super::Foundation:: BOOL); -pub type IGameExplorer = *mut ::core::ffi::c_void; -pub type IGameExplorer2 = *mut ::core::ffi::c_void; -pub type IGameStatistics = *mut ::core::ffi::c_void; -pub type IGameStatisticsMgr = *mut ::core::ffi::c_void; -pub type IXblIdpAuthManager = *mut ::core::ffi::c_void; -pub type IXblIdpAuthManager2 = *mut ::core::ffi::c_void; -pub type IXblIdpAuthTokenResult = *mut ::core::ffi::c_void; -pub type IXblIdpAuthTokenResult2 = *mut ::core::ffi::c_void; pub const GAMESTATS_OPEN_CREATED: GAMESTATS_OPEN_RESULT = 0i32; pub const GAMESTATS_OPEN_OPENED: GAMESTATS_OPEN_RESULT = 1i32; pub const GAMESTATS_OPEN_OPENONLY: GAMESTATS_OPEN_TYPE = 1i32; diff --git a/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs b/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs index 23d63d169c..e264c4248b 100644 --- a/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs @@ -1238,33 +1238,6 @@ ::windows_targets::link!("icu.dll" "cdecl" fn utrans_transIncrementalUChars(trans : *const *const ::core::ffi::c_void, text : *mut u16, textlength : *mut i32, textcapacity : i32, pos : *mut UTransPosition, status : *mut UErrorCode)); ::windows_targets::link!("icu.dll" "cdecl" fn utrans_transUChars(trans : *const *const ::core::ffi::c_void, text : *mut u16, textlength : *mut i32, textcapacity : i32, start : i32, limit : *mut i32, status : *mut UErrorCode)); ::windows_targets::link!("icu.dll" "cdecl" fn utrans_unregisterID(id : *const u16, idlength : i32)); -pub type IComprehensiveSpellCheckProvider = *mut ::core::ffi::c_void; -pub type IEnumCodePage = *mut ::core::ffi::c_void; -pub type IEnumRfc1766 = *mut ::core::ffi::c_void; -pub type IEnumScript = *mut ::core::ffi::c_void; -pub type IEnumSpellingError = *mut ::core::ffi::c_void; -pub type IMLangCodePages = *mut ::core::ffi::c_void; -pub type IMLangConvertCharset = *mut ::core::ffi::c_void; -pub type IMLangFontLink = *mut ::core::ffi::c_void; -pub type IMLangFontLink2 = *mut ::core::ffi::c_void; -pub type IMLangLineBreakConsole = *mut ::core::ffi::c_void; -pub type IMLangString = *mut ::core::ffi::c_void; -pub type IMLangStringAStr = *mut ::core::ffi::c_void; -pub type IMLangStringBufA = *mut ::core::ffi::c_void; -pub type IMLangStringBufW = *mut ::core::ffi::c_void; -pub type IMLangStringWStr = *mut ::core::ffi::c_void; -pub type IMultiLanguage = *mut ::core::ffi::c_void; -pub type IMultiLanguage2 = *mut ::core::ffi::c_void; -pub type IMultiLanguage3 = *mut ::core::ffi::c_void; -pub type IOptionDescription = *mut ::core::ffi::c_void; -pub type ISpellCheckProvider = *mut ::core::ffi::c_void; -pub type ISpellCheckProviderFactory = *mut ::core::ffi::c_void; -pub type ISpellChecker = *mut ::core::ffi::c_void; -pub type ISpellChecker2 = *mut ::core::ffi::c_void; -pub type ISpellCheckerChangedEventHandler = *mut ::core::ffi::c_void; -pub type ISpellCheckerFactory = *mut ::core::ffi::c_void; -pub type ISpellingError = *mut ::core::ffi::c_void; -pub type IUserDictionariesRegistrar = *mut ::core::ffi::c_void; pub const ALL_SERVICES: u32 = 0u32; pub const ALL_SERVICE_TYPES: u32 = 0u32; pub const C1_ALPHA: u32 = 256u32; diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/GdiPlus/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/GdiPlus/mod.rs index 2986061ed9..fbf0fc2979 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/GdiPlus/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/GdiPlus/mod.rs @@ -68,11 +68,9 @@ ::windows_targets::link!("gdiplus.dll" "system" fn GdipComment(graphics : *mut GpGraphics, sizedata : u32, data : *const u8) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipConvertToEmfPlus(refgraphics : *const GpGraphics, metafile : *mut GpMetafile, conversionfailureflag : *mut i32, emftype : EmfType, description : ::windows_sys::core::PCWSTR, out_metafile : *mut *mut GpMetafile) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipConvertToEmfPlusToFile(refgraphics : *const GpGraphics, metafile : *mut GpMetafile, conversionfailureflag : *mut i32, filename : ::windows_sys::core::PCWSTR, emftype : EmfType, description : ::windows_sys::core::PCWSTR, out_metafile : *mut *mut GpMetafile) -> Status); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn GdipConvertToEmfPlusToStream(refgraphics : *const GpGraphics, metafile : *mut GpMetafile, conversionfailureflag : *mut i32, stream : super::super::System::Com:: IStream, emftype : EmfType, description : ::windows_sys::core::PCWSTR, out_metafile : *mut *mut GpMetafile) -> Status); +::windows_targets::link!("gdiplus.dll" "system" fn GdipConvertToEmfPlusToStream(refgraphics : *const GpGraphics, metafile : *mut GpMetafile, conversionfailureflag : *mut i32, stream : * mut::core::ffi::c_void, emftype : EmfType, description : ::windows_sys::core::PCWSTR, out_metafile : *mut *mut GpMetafile) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateAdjustableArrowCap(height : f32, width : f32, isfilled : super::super::Foundation:: BOOL, cap : *mut *mut GpAdjustableArrowCap) -> Status); -#[cfg(feature = "Win32_Graphics_DirectDraw")] -::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] fn GdipCreateBitmapFromDirectDrawSurface(surface : super::DirectDraw:: IDirectDrawSurface7, bitmap : *mut *mut GpBitmap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromDirectDrawSurface(surface : * mut::core::ffi::c_void, bitmap : *mut *mut GpBitmap) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromFile(filename : ::windows_sys::core::PCWSTR, bitmap : *mut *mut GpBitmap) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromFileICM(filename : ::windows_sys::core::PCWSTR, bitmap : *mut *mut GpBitmap) -> Status); #[cfg(feature = "Win32_Graphics_Gdi")] @@ -84,10 +82,8 @@ ::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn GdipCreateBitmapFromHICON(hicon : super::super::UI::WindowsAndMessaging:: HICON, bitmap : *mut *mut GpBitmap) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromResource(hinstance : super::super::Foundation:: HINSTANCE, lpbitmapname : ::windows_sys::core::PCWSTR, bitmap : *mut *mut GpBitmap) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromScan0(width : i32, height : i32, stride : i32, format : i32, scan0 : *const u8, bitmap : *mut *mut GpBitmap) -> Status); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn GdipCreateBitmapFromStream(stream : super::super::System::Com:: IStream, bitmap : *mut *mut GpBitmap) -> Status); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn GdipCreateBitmapFromStreamICM(stream : super::super::System::Com:: IStream, bitmap : *mut *mut GpBitmap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromStream(stream : * mut::core::ffi::c_void, bitmap : *mut *mut GpBitmap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromStreamICM(stream : * mut::core::ffi::c_void, bitmap : *mut *mut GpBitmap) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateCachedBitmap(bitmap : *mut GpBitmap, graphics : *mut GpGraphics, cachedbitmap : *mut *mut GpCachedBitmap) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateCustomLineCap(fillpath : *mut GpPath, strokepath : *mut GpPath, basecap : LineCap, baseinset : f32, customcap : *mut *mut GpCustomLineCap) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateEffect(guid : ::windows_sys::core::GUID, effect : *mut *mut CGpEffect) -> Status); @@ -126,8 +122,7 @@ #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn GdipCreateMetafileFromEmf(hemf : super::Gdi:: HENHMETAFILE, deleteemf : super::super::Foundation:: BOOL, metafile : *mut *mut GpMetafile) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateMetafileFromFile(file : ::windows_sys::core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn GdipCreateMetafileFromStream(stream : super::super::System::Com:: IStream, metafile : *mut *mut GpMetafile) -> Status); +::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateMetafileFromStream(stream : * mut::core::ffi::c_void, metafile : *mut *mut GpMetafile) -> Status); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn GdipCreateMetafileFromWmf(hwmf : super::Gdi:: HMETAFILE, deletewmf : super::super::Foundation:: BOOL, wmfplaceablefileheader : *const WmfPlaceableFileHeader, metafile : *mut *mut GpMetafile) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateMetafileFromWmfFile(file : ::windows_sys::core::PCWSTR, wmfplaceablefileheader : *const WmfPlaceableFileHeader, metafile : *mut *mut GpMetafile) -> Status); @@ -148,8 +143,7 @@ ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateRegionRectI(rect : *const Rect, region : *mut *mut GpRegion) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateRegionRgnData(regiondata : *const u8, size : i32, region : *mut *mut GpRegion) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateSolidFill(color : u32, brush : *mut *mut GpSolidFill) -> Status); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn GdipCreateStreamOnFile(filename : ::windows_sys::core::PCWSTR, access : u32, stream : *mut super::super::System::Com:: IStream) -> Status); +::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateStreamOnFile(filename : ::windows_sys::core::PCWSTR, access : u32, stream : *mut * mut::core::ffi::c_void) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateStringFormat(formatattributes : i32, language : u16, format : *mut *mut GpStringFormat) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateTexture(image : *mut GpImage, wrapmode : WrapMode, texture : *mut *mut GpTexture) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateTexture2(image : *mut GpImage, wrapmode : WrapMode, x : f32, y : f32, width : f32, height : f32, texture : *mut *mut GpTexture) -> Status); @@ -346,8 +340,8 @@ ::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn GdipGetMetafileHeaderFromFile(filename : ::windows_sys::core::PCWSTR, header : *mut MetafileHeader) -> Status); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn GdipGetMetafileHeaderFromMetafile(metafile : *mut GpMetafile, header : *mut MetafileHeader) -> Status); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] -::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] fn GdipGetMetafileHeaderFromStream(stream : super::super::System::Com:: IStream, header : *mut MetafileHeader) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn GdipGetMetafileHeaderFromStream(stream : * mut::core::ffi::c_void, header : *mut MetafileHeader) -> Status); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn GdipGetMetafileHeaderFromWmf(hwmf : super::Gdi:: HMETAFILE, wmfplaceablefileheader : *const WmfPlaceableFileHeader, header : *mut MetafileHeader) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetNearestColor(graphics : *mut GpGraphics, argb : *mut u32) -> Status); @@ -435,14 +429,14 @@ ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetVisibleClipBoundsI(graphics : *mut GpGraphics, rect : *mut Rect) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetWorldTransform(graphics : *mut GpGraphics, matrix : *mut Matrix) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipGraphicsClear(graphics : *mut GpGraphics, color : u32) -> Status); -::windows_targets::link!("gdiplus.dll" "system" fn GdipGraphicsSetAbort(pgraphics : *mut GpGraphics, piabort : GdiplusAbort) -> Status); +::windows_targets::link!("gdiplus.dll" "system" fn GdipGraphicsSetAbort(pgraphics : *mut GpGraphics, piabort : * mut::core::ffi::c_void) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipImageForceValidation(image : *mut GpImage) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipImageGetFrameCount(image : *mut GpImage, dimensionid : *const ::windows_sys::core::GUID, count : *mut u32) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipImageGetFrameDimensionsCount(image : *mut GpImage, count : *mut u32) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipImageGetFrameDimensionsList(image : *mut GpImage, dimensionids : *mut ::windows_sys::core::GUID, count : u32) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipImageRotateFlip(image : *mut GpImage, rftype : RotateFlipType) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipImageSelectActiveFrame(image : *mut GpImage, dimensionid : *const ::windows_sys::core::GUID, frameindex : u32) -> Status); -::windows_targets::link!("gdiplus.dll" "system" fn GdipImageSetAbort(pimage : *mut GpImage, piabort : GdiplusAbort) -> Status); +::windows_targets::link!("gdiplus.dll" "system" fn GdipImageSetAbort(pimage : *mut GpImage, piabort : * mut::core::ffi::c_void) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipInitializePalette(palette : *mut ColorPalette, palettetype : PaletteType, optimalcolors : i32, usetransparentcolor : super::super::Foundation:: BOOL, bitmap : *mut GpBitmap) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipInvertMatrix(matrix : *mut Matrix) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsClipEmpty(graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); @@ -468,10 +462,8 @@ ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsVisibleRegionRectI(region : *mut GpRegion, x : i32, y : i32, width : i32, height : i32, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipLoadImageFromFile(filename : ::windows_sys::core::PCWSTR, image : *mut *mut GpImage) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipLoadImageFromFileICM(filename : ::windows_sys::core::PCWSTR, image : *mut *mut GpImage) -> Status); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn GdipLoadImageFromStream(stream : super::super::System::Com:: IStream, image : *mut *mut GpImage) -> Status); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn GdipLoadImageFromStreamICM(stream : super::super::System::Com:: IStream, image : *mut *mut GpImage) -> Status); +::windows_targets::link!("gdiplus.dll" "system" fn GdipLoadImageFromStream(stream : * mut::core::ffi::c_void, image : *mut *mut GpImage) -> Status); +::windows_targets::link!("gdiplus.dll" "system" fn GdipLoadImageFromStreamICM(stream : * mut::core::ffi::c_void, image : *mut *mut GpImage) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipMeasureCharacterRanges(graphics : *mut GpGraphics, string : ::windows_sys::core::PCWSTR, length : i32, font : *const GpFont, layoutrect : *const RectF, stringformat : *const GpStringFormat, regioncount : i32, regions : *mut *mut GpRegion) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipMeasureDriverString(graphics : *mut GpGraphics, text : *const u16, length : i32, font : *const GpFont, positions : *const PointF, flags : i32, matrix : *const Matrix, boundingbox : *mut RectF) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipMeasureString(graphics : *mut GpGraphics, string : ::windows_sys::core::PCWSTR, length : i32, font : *const GpFont, layoutrect : *const RectF, stringformat : *const GpStringFormat, boundingbox : *mut RectF, codepointsfitted : *mut i32, linesfilled : *mut i32) -> Status); @@ -506,10 +498,10 @@ ::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn GdipRecordMetafileFileNameI(filename : ::windows_sys::core::PCWSTR, referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const Rect, frameunit : MetafileFrameUnit, description : ::windows_sys::core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn GdipRecordMetafileI(referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const Rect, frameunit : MetafileFrameUnit, description : ::windows_sys::core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] -::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] fn GdipRecordMetafileStream(stream : super::super::System::Com:: IStream, referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const RectF, frameunit : MetafileFrameUnit, description : ::windows_sys::core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] -::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] fn GdipRecordMetafileStreamI(stream : super::super::System::Com:: IStream, referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const Rect, frameunit : MetafileFrameUnit, description : ::windows_sys::core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn GdipRecordMetafileStream(stream : * mut::core::ffi::c_void, referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const RectF, frameunit : MetafileFrameUnit, description : ::windows_sys::core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn GdipRecordMetafileStreamI(stream : * mut::core::ffi::c_void, referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const Rect, frameunit : MetafileFrameUnit, description : ::windows_sys::core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn GdipReleaseDC(graphics : *mut GpGraphics, hdc : super::Gdi:: HDC) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipRemovePropertyItem(image : *mut GpImage, propid : u32) -> Status); @@ -534,8 +526,7 @@ ::windows_targets::link!("gdiplus.dll" "system" fn GdipSaveAddImage(image : *mut GpImage, newimage : *mut GpImage, encoderparams : *const EncoderParameters) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipSaveGraphics(graphics : *mut GpGraphics, state : *mut u32) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipSaveImageToFile(image : *mut GpImage, filename : ::windows_sys::core::PCWSTR, clsidencoder : *const ::windows_sys::core::GUID, encoderparams : *const EncoderParameters) -> Status); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("gdiplus.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn GdipSaveImageToStream(image : *mut GpImage, stream : super::super::System::Com:: IStream, clsidencoder : *const ::windows_sys::core::GUID, encoderparams : *const EncoderParameters) -> Status); +::windows_targets::link!("gdiplus.dll" "system" fn GdipSaveImageToStream(image : *mut GpImage, stream : * mut::core::ffi::c_void, clsidencoder : *const ::windows_sys::core::GUID, encoderparams : *const EncoderParameters) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipScaleLineTransform(brush : *mut GpLineGradient, sx : f32, sy : f32, order : MatrixOrder) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipScaleMatrix(matrix : *mut Matrix, scalex : f32, scaley : f32, order : MatrixOrder) -> Status); ::windows_targets::link!("gdiplus.dll" "system" fn GdipScalePathGradientTransform(brush : *mut GpPathGradient, sx : f32, sy : f32, order : MatrixOrder) -> Status); @@ -669,8 +660,6 @@ ::windows_targets::link!("gdiplus.dll" "system" fn GdiplusNotificationUnhook(token : usize)); ::windows_targets::link!("gdiplus.dll" "system" fn GdiplusShutdown(token : usize)); ::windows_targets::link!("gdiplus.dll" "system" fn GdiplusStartup(token : *mut usize, input : *const GdiplusStartupInput, output : *mut GdiplusStartupOutput) -> Status); -pub type GdiplusAbort = *mut ::core::ffi::c_void; -pub type IImageBytes = *mut ::core::ffi::c_void; pub const ALPHA_SHIFT: u32 = 24u32; pub const Aborted: Status = 9i32; pub const AccessDenied: Status = 12i32; diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs index 4f89ffbfc7..e228f8b818 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs @@ -1,17 +1,17 @@ #[cfg(feature = "Win32_Storage_Xps")] ::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`"] fn PTCloseProvider(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] -::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`"] fn PTConvertDevModeToPrintTicket(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, cbdevmode : u32, pdevmode : *const super::super::Gdi:: DEVMODEA, scope : EPrintTicketScope, pprintticket : super::super::super::System::Com:: IStream) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] -::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`"] fn PTConvertPrintTicketToDevMode(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : super::super::super::System::Com:: IStream, basedevmodetype : EDefaultDevmodeType, scope : EPrintTicketScope, pcbdevmode : *mut u32, ppdevmode : *mut *mut super::super::Gdi:: DEVMODEA, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] -::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`"] fn PTGetPrintCapabilities(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : super::super::super::System::Com:: IStream, pcapabilities : super::super::super::System::Com:: IStream, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] -::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`"] fn PTGetPrintDeviceCapabilities(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : super::super::super::System::Com:: IStream, pdevicecapabilities : super::super::super::System::Com:: IStream, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] -::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`"] fn PTGetPrintDeviceResources(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pszlocalename : ::windows_sys::core::PCWSTR, pprintticket : super::super::super::System::Com:: IStream, pdeviceresources : super::super::super::System::Com:: IStream, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] -::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`"] fn PTMergeAndValidatePrintTicket(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pbaseticket : super::super::super::System::Com:: IStream, pdeltaticket : super::super::super::System::Com:: IStream, scope : EPrintTicketScope, presultticket : super::super::super::System::Com:: IStream, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Storage_Xps"))] +::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Storage_Xps\"`"] fn PTConvertDevModeToPrintTicket(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, cbdevmode : u32, pdevmode : *const super::super::Gdi:: DEVMODEA, scope : EPrintTicketScope, pprintticket : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Storage_Xps"))] +::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Storage_Xps\"`"] fn PTConvertPrintTicketToDevMode(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : * mut::core::ffi::c_void, basedevmodetype : EDefaultDevmodeType, scope : EPrintTicketScope, pcbdevmode : *mut u32, ppdevmode : *mut *mut super::super::Gdi:: DEVMODEA, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Storage_Xps")] +::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`"] fn PTGetPrintCapabilities(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : * mut::core::ffi::c_void, pcapabilities : * mut::core::ffi::c_void, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Storage_Xps")] +::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`"] fn PTGetPrintDeviceCapabilities(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : * mut::core::ffi::c_void, pdevicecapabilities : * mut::core::ffi::c_void, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Storage_Xps")] +::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`"] fn PTGetPrintDeviceResources(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pszlocalename : ::windows_sys::core::PCWSTR, pprintticket : * mut::core::ffi::c_void, pdeviceresources : * mut::core::ffi::c_void, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Storage_Xps")] +::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`"] fn PTMergeAndValidatePrintTicket(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pbaseticket : * mut::core::ffi::c_void, pdeltaticket : * mut::core::ffi::c_void, scope : EPrintTicketScope, presultticket : * mut::core::ffi::c_void, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Storage_Xps")] ::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`"] fn PTOpenProvider(pszprintername : ::windows_sys::core::PCWSTR, dwversion : u32, phprovider : *mut super::super::super::Storage::Xps:: HPTPROVIDER) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Storage_Xps")] diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Printing/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Printing/mod.rs index 9a59859f84..71adb1693d 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Printing/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Printing/mod.rs @@ -41,7 +41,7 @@ pub mod PrintTicket; ::windows_targets::link!("winspool.drv" "system" fn ConnectToPrinterDlg(hwnd : super::super::Foundation:: HWND, flags : u32) -> super::super::Foundation:: HANDLE); ::windows_targets::link!("winspool.drv" "system" fn CorePrinterDriverInstalledA(pszserver : ::windows_sys::core::PCSTR, pszenvironment : ::windows_sys::core::PCSTR, coredriverguid : ::windows_sys::core::GUID, ftdriverdate : super::super::Foundation:: FILETIME, dwldriverversion : u64, pbdriverinstalled : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("winspool.drv" "system" fn CorePrinterDriverInstalledW(pszserver : ::windows_sys::core::PCWSTR, pszenvironment : ::windows_sys::core::PCWSTR, coredriverguid : ::windows_sys::core::GUID, ftdriverdate : super::super::Foundation:: FILETIME, dwldriverversion : u64, pbdriverinstalled : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("winspool.drv" "system" fn CreatePrintAsyncNotifyChannel(pszname : ::windows_sys::core::PCWSTR, pnotificationtype : *const ::windows_sys::core::GUID, euserfilter : PrintAsyncNotifyUserFilter, econversationstyle : PrintAsyncNotifyConversationStyle, pcallback : IPrintAsyncNotifyCallback, ppiasynchnotification : *mut IPrintAsyncNotifyChannel) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("winspool.drv" "system" fn CreatePrintAsyncNotifyChannel(pszname : ::windows_sys::core::PCWSTR, pnotificationtype : *const ::windows_sys::core::GUID, euserfilter : PrintAsyncNotifyUserFilter, econversationstyle : PrintAsyncNotifyConversationStyle, pcallback : * mut::core::ffi::c_void, ppiasynchnotification : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("winspool.drv" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn CreatePrinterIC(hprinter : super::super::Foundation:: HANDLE, pdevmode : *const super::Gdi:: DEVMODEW) -> super::super::Foundation:: HANDLE); ::windows_targets::link!("winspool.drv" "system" fn DeleteFormA(hprinter : super::super::Foundation:: HANDLE, pformname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); @@ -187,7 +187,7 @@ pub mod PrintTicket; ::windows_targets::link!("spoolss.dll" "system" fn ProvidorFindClosePrinterChangeNotification(hprinter : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); ::windows_targets::link!("spoolss.dll" "system" fn ProvidorFindFirstPrinterChangeNotification(hprinter : super::super::Foundation:: HANDLE, fdwflags : u32, fdwoptions : u32, hnotify : super::super::Foundation:: HANDLE, pprinternotifyoptions : *const ::core::ffi::c_void, pvreserved1 : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); ::windows_targets::link!("winspool.drv" "system" fn ReadPrinter(hprinter : super::super::Foundation:: HANDLE, pbuf : *mut ::core::ffi::c_void, cbbuf : u32, pnobytesread : *mut u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("winspool.drv" "system" fn RegisterForPrintAsyncNotifications(pszname : ::windows_sys::core::PCWSTR, pnotificationtype : *const ::windows_sys::core::GUID, euserfilter : PrintAsyncNotifyUserFilter, econversationstyle : PrintAsyncNotifyConversationStyle, pcallback : IPrintAsyncNotifyCallback, phnotify : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("winspool.drv" "system" fn RegisterForPrintAsyncNotifications(pszname : ::windows_sys::core::PCWSTR, pnotificationtype : *const ::windows_sys::core::GUID, euserfilter : PrintAsyncNotifyUserFilter, econversationstyle : PrintAsyncNotifyConversationStyle, pcallback : * mut::core::ffi::c_void, phnotify : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("spoolss.dll" "system" fn RemovePrintDeviceObject(hdeviceobject : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("spoolss.dll" "system" fn ReplyPrinterChangeNotification(hprinter : super::super::Foundation:: HANDLE, fdwchangeflags : u32, pdwresult : *mut u32, pprinternotifyinfo : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); ::windows_targets::link!("spoolss.dll" "system" fn ReplyPrinterChangeNotificationEx(hnotify : super::super::Foundation:: HANDLE, dwcolor : u32, fdwflags : u32, pdwresult : *mut u32, pprinternotifyinfo : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); @@ -238,106 +238,6 @@ pub mod PrintTicket; ::windows_targets::link!("winspool.drv" "system" fn WaitForPrinterChange(hprinter : super::super::Foundation:: HANDLE, flags : u32) -> u32); ::windows_targets::link!("winspool.drv" "system" fn WritePrinter(hprinter : super::super::Foundation:: HANDLE, pbuf : *const ::core::ffi::c_void, cbbuf : u32, pcwritten : *mut u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("winspool.drv" "system" fn XcvDataW(hxcv : super::super::Foundation:: HANDLE, pszdataname : ::windows_sys::core::PCWSTR, pinputdata : *const u8, cbinputdata : u32, poutputdata : *mut u8, cboutputdata : u32, pcboutputneeded : *mut u32, pdwstatus : *mut u32) -> super::super::Foundation:: BOOL); -pub type IAsyncGetSendNotificationCookie = *mut ::core::ffi::c_void; -pub type IAsyncGetSrvReferralCookie = *mut ::core::ffi::c_void; -pub type IBidiAsyncNotifyChannel = *mut ::core::ffi::c_void; -pub type IBidiRequest = *mut ::core::ffi::c_void; -pub type IBidiRequestContainer = *mut ::core::ffi::c_void; -pub type IBidiSpl = *mut ::core::ffi::c_void; -pub type IBidiSpl2 = *mut ::core::ffi::c_void; -pub type IFixedDocument = *mut ::core::ffi::c_void; -pub type IFixedDocumentSequence = *mut ::core::ffi::c_void; -pub type IFixedPage = *mut ::core::ffi::c_void; -pub type IImgCreateErrorInfo = *mut ::core::ffi::c_void; -pub type IImgErrorInfo = *mut ::core::ffi::c_void; -pub type IInterFilterCommunicator = *mut ::core::ffi::c_void; -pub type IPartBase = *mut ::core::ffi::c_void; -pub type IPartColorProfile = *mut ::core::ffi::c_void; -pub type IPartDiscardControl = *mut ::core::ffi::c_void; -pub type IPartFont = *mut ::core::ffi::c_void; -pub type IPartFont2 = *mut ::core::ffi::c_void; -pub type IPartImage = *mut ::core::ffi::c_void; -pub type IPartPrintTicket = *mut ::core::ffi::c_void; -pub type IPartResourceDictionary = *mut ::core::ffi::c_void; -pub type IPartThumbnail = *mut ::core::ffi::c_void; -pub type IPrintAsyncCookie = *mut ::core::ffi::c_void; -pub type IPrintAsyncNewChannelCookie = *mut ::core::ffi::c_void; -pub type IPrintAsyncNotify = *mut ::core::ffi::c_void; -pub type IPrintAsyncNotifyCallback = *mut ::core::ffi::c_void; -pub type IPrintAsyncNotifyChannel = *mut ::core::ffi::c_void; -pub type IPrintAsyncNotifyDataObject = *mut ::core::ffi::c_void; -pub type IPrintAsyncNotifyRegistration = *mut ::core::ffi::c_void; -pub type IPrintAsyncNotifyServerReferral = *mut ::core::ffi::c_void; -pub type IPrintBidiAsyncNotifyRegistration = *mut ::core::ffi::c_void; -pub type IPrintClassObjectFactory = *mut ::core::ffi::c_void; -pub type IPrintCoreHelper = *mut ::core::ffi::c_void; -pub type IPrintCoreHelperPS = *mut ::core::ffi::c_void; -pub type IPrintCoreHelperUni = *mut ::core::ffi::c_void; -pub type IPrintCoreHelperUni2 = *mut ::core::ffi::c_void; -pub type IPrintCoreUI2 = *mut ::core::ffi::c_void; -pub type IPrintJob = *mut ::core::ffi::c_void; -pub type IPrintJobCollection = *mut ::core::ffi::c_void; -pub type IPrintOemCommon = *mut ::core::ffi::c_void; -pub type IPrintOemDriverUI = *mut ::core::ffi::c_void; -pub type IPrintOemUI = *mut ::core::ffi::c_void; -pub type IPrintOemUI2 = *mut ::core::ffi::c_void; -pub type IPrintOemUIMXDC = *mut ::core::ffi::c_void; -pub type IPrintPipelineFilter = *mut ::core::ffi::c_void; -pub type IPrintPipelineManagerControl = *mut ::core::ffi::c_void; -pub type IPrintPipelineProgressReport = *mut ::core::ffi::c_void; -pub type IPrintPipelinePropertyBag = *mut ::core::ffi::c_void; -pub type IPrintPreviewDxgiPackageTarget = *mut ::core::ffi::c_void; -pub type IPrintReadStream = *mut ::core::ffi::c_void; -pub type IPrintReadStreamFactory = *mut ::core::ffi::c_void; -pub type IPrintSchemaAsyncOperation = *mut ::core::ffi::c_void; -pub type IPrintSchemaAsyncOperationEvent = *mut ::core::ffi::c_void; -pub type IPrintSchemaCapabilities = *mut ::core::ffi::c_void; -pub type IPrintSchemaCapabilities2 = *mut ::core::ffi::c_void; -pub type IPrintSchemaDisplayableElement = *mut ::core::ffi::c_void; -pub type IPrintSchemaElement = *mut ::core::ffi::c_void; -pub type IPrintSchemaFeature = *mut ::core::ffi::c_void; -pub type IPrintSchemaNUpOption = *mut ::core::ffi::c_void; -pub type IPrintSchemaOption = *mut ::core::ffi::c_void; -pub type IPrintSchemaOptionCollection = *mut ::core::ffi::c_void; -pub type IPrintSchemaPageImageableSize = *mut ::core::ffi::c_void; -pub type IPrintSchemaPageMediaSizeOption = *mut ::core::ffi::c_void; -pub type IPrintSchemaParameterDefinition = *mut ::core::ffi::c_void; -pub type IPrintSchemaParameterInitializer = *mut ::core::ffi::c_void; -pub type IPrintSchemaTicket = *mut ::core::ffi::c_void; -pub type IPrintSchemaTicket2 = *mut ::core::ffi::c_void; -pub type IPrintTicketProvider = *mut ::core::ffi::c_void; -pub type IPrintTicketProvider2 = *mut ::core::ffi::c_void; -pub type IPrintUnidiAsyncNotifyRegistration = *mut ::core::ffi::c_void; -pub type IPrintWriteStream = *mut ::core::ffi::c_void; -pub type IPrintWriteStreamFlush = *mut ::core::ffi::c_void; -pub type IPrinterBidiSetRequestCallback = *mut ::core::ffi::c_void; -pub type IPrinterExtensionAsyncOperation = *mut ::core::ffi::c_void; -pub type IPrinterExtensionContext = *mut ::core::ffi::c_void; -pub type IPrinterExtensionContextCollection = *mut ::core::ffi::c_void; -pub type IPrinterExtensionEvent = *mut ::core::ffi::c_void; -pub type IPrinterExtensionEventArgs = *mut ::core::ffi::c_void; -pub type IPrinterExtensionManager = *mut ::core::ffi::c_void; -pub type IPrinterExtensionRequest = *mut ::core::ffi::c_void; -pub type IPrinterPropertyBag = *mut ::core::ffi::c_void; -pub type IPrinterQueue = *mut ::core::ffi::c_void; -pub type IPrinterQueue2 = *mut ::core::ffi::c_void; -pub type IPrinterQueueEvent = *mut ::core::ffi::c_void; -pub type IPrinterQueueView = *mut ::core::ffi::c_void; -pub type IPrinterQueueViewEvent = *mut ::core::ffi::c_void; -pub type IPrinterScriptContext = *mut ::core::ffi::c_void; -pub type IPrinterScriptablePropertyBag = *mut ::core::ffi::c_void; -pub type IPrinterScriptablePropertyBag2 = *mut ::core::ffi::c_void; -pub type IPrinterScriptableSequentialStream = *mut ::core::ffi::c_void; -pub type IPrinterScriptableStream = *mut ::core::ffi::c_void; -pub type IXpsDocument = *mut ::core::ffi::c_void; -pub type IXpsDocumentConsumer = *mut ::core::ffi::c_void; -pub type IXpsDocumentProvider = *mut ::core::ffi::c_void; -pub type IXpsPartIterator = *mut ::core::ffi::c_void; -pub type IXpsRasterizationFactory = *mut ::core::ffi::c_void; -pub type IXpsRasterizationFactory1 = *mut ::core::ffi::c_void; -pub type IXpsRasterizationFactory2 = *mut ::core::ffi::c_void; -pub type IXpsRasterizer = *mut ::core::ffi::c_void; -pub type IXpsRasterizerNotificationCallback = *mut ::core::ffi::c_void; pub const ALREADY_REGISTERED: PrintAsyncNotifyError = 15i32; pub const ALREADY_UNREGISTERED: PrintAsyncNotifyError = 14i32; pub const APD_COPY_ALL_FILES: u32 = 4u32; diff --git a/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs index 2dce823dbd..69fd7779aa 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs @@ -1,14 +1,14 @@ #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] -::windows_targets::link!("mmdevapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn ActivateAudioInterfaceAsync(deviceinterfacepath : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, activationparams : *const super::super::System::Com::StructuredStorage:: PROPVARIANT, completionhandler : IActivateAudioInterfaceCompletionHandler, activationoperation : *mut IActivateAudioInterfaceAsyncOperation) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoRegisterMessageFilter(lpmessagefilter : IMessageFilter, lplpmessagefilter : *mut IMessageFilter) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateCaptureAudioStateMonitor(audiostatemonitor : *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateCaptureAudioStateMonitorForCategory(category : AUDIO_STREAM_CATEGORY, audiostatemonitor : *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateCaptureAudioStateMonitorForCategoryAndDeviceId(category : AUDIO_STREAM_CATEGORY, deviceid : ::windows_sys::core::PCWSTR, audiostatemonitor : *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateCaptureAudioStateMonitorForCategoryAndDeviceRole(category : AUDIO_STREAM_CATEGORY, role : ERole, audiostatemonitor : *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateRenderAudioStateMonitor(audiostatemonitor : *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateRenderAudioStateMonitorForCategory(category : AUDIO_STREAM_CATEGORY, audiostatemonitor : *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateRenderAudioStateMonitorForCategoryAndDeviceId(category : AUDIO_STREAM_CATEGORY, deviceid : ::windows_sys::core::PCWSTR, audiostatemonitor : *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateRenderAudioStateMonitorForCategoryAndDeviceRole(category : AUDIO_STREAM_CATEGORY, role : ERole, audiostatemonitor : *mut IAudioStateMonitor) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mmdevapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn ActivateAudioInterfaceAsync(deviceinterfacepath : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, activationparams : *const super::super::System::Com::StructuredStorage:: PROPVARIANT, completionhandler : * mut::core::ffi::c_void, activationoperation : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoRegisterMessageFilter(lpmessagefilter : * mut::core::ffi::c_void, lplpmessagefilter : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateCaptureAudioStateMonitor(audiostatemonitor : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateCaptureAudioStateMonitorForCategory(category : AUDIO_STREAM_CATEGORY, audiostatemonitor : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateCaptureAudioStateMonitorForCategoryAndDeviceId(category : AUDIO_STREAM_CATEGORY, deviceid : ::windows_sys::core::PCWSTR, audiostatemonitor : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateCaptureAudioStateMonitorForCategoryAndDeviceRole(category : AUDIO_STREAM_CATEGORY, role : ERole, audiostatemonitor : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateRenderAudioStateMonitor(audiostatemonitor : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateRenderAudioStateMonitorForCategory(category : AUDIO_STREAM_CATEGORY, audiostatemonitor : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateRenderAudioStateMonitorForCategoryAndDeviceId(category : AUDIO_STREAM_CATEGORY, deviceid : ::windows_sys::core::PCWSTR, audiostatemonitor : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateRenderAudioStateMonitorForCategoryAndDeviceRole(category : AUDIO_STREAM_CATEGORY, role : ERole, audiostatemonitor : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("winmm.dll" "system" fn PlaySoundA(pszsound : ::windows_sys::core::PCSTR, hmod : super::super::Foundation:: HMODULE, fdwsound : SND_FLAGS) -> super::super::Foundation:: BOOL); ::windows_targets::link!("winmm.dll" "system" fn PlaySoundW(pszsound : ::windows_sys::core::PCWSTR, hmod : super::super::Foundation:: HMODULE, fdwsound : SND_FLAGS) -> super::super::Foundation:: BOOL); ::windows_targets::link!("msacm32.dll" "system" fn acmDriverAddA(phadid : *mut HACMDRIVERID, hinstmodule : super::super::Foundation:: HINSTANCE, lparam : super::super::Foundation:: LPARAM, dwpriority : u32, fdwadd : u32) -> u32); @@ -159,82 +159,6 @@ ::windows_targets::link!("winmm.dll" "system" fn waveOutSetVolume(hwo : HWAVEOUT, dwvolume : u32) -> u32); ::windows_targets::link!("winmm.dll" "system" fn waveOutUnprepareHeader(hwo : HWAVEOUT, pwh : *mut WAVEHDR, cbwh : u32) -> u32); ::windows_targets::link!("winmm.dll" "system" fn waveOutWrite(hwo : HWAVEOUT, pwh : *mut WAVEHDR, cbwh : u32) -> u32); -pub type IAcousticEchoCancellationControl = *mut ::core::ffi::c_void; -pub type IActivateAudioInterfaceAsyncOperation = *mut ::core::ffi::c_void; -pub type IActivateAudioInterfaceCompletionHandler = *mut ::core::ffi::c_void; -pub type IAudioAmbisonicsControl = *mut ::core::ffi::c_void; -pub type IAudioAutoGainControl = *mut ::core::ffi::c_void; -pub type IAudioBass = *mut ::core::ffi::c_void; -pub type IAudioCaptureClient = *mut ::core::ffi::c_void; -pub type IAudioChannelConfig = *mut ::core::ffi::c_void; -pub type IAudioClient = *mut ::core::ffi::c_void; -pub type IAudioClient2 = *mut ::core::ffi::c_void; -pub type IAudioClient3 = *mut ::core::ffi::c_void; -pub type IAudioClientDuckingControl = *mut ::core::ffi::c_void; -pub type IAudioClock = *mut ::core::ffi::c_void; -pub type IAudioClock2 = *mut ::core::ffi::c_void; -pub type IAudioClockAdjustment = *mut ::core::ffi::c_void; -pub type IAudioEffectsChangedNotificationClient = *mut ::core::ffi::c_void; -pub type IAudioEffectsManager = *mut ::core::ffi::c_void; -pub type IAudioFormatEnumerator = *mut ::core::ffi::c_void; -pub type IAudioInputSelector = *mut ::core::ffi::c_void; -pub type IAudioLoudness = *mut ::core::ffi::c_void; -pub type IAudioMidrange = *mut ::core::ffi::c_void; -pub type IAudioMute = *mut ::core::ffi::c_void; -pub type IAudioOutputSelector = *mut ::core::ffi::c_void; -pub type IAudioPeakMeter = *mut ::core::ffi::c_void; -pub type IAudioRenderClient = *mut ::core::ffi::c_void; -pub type IAudioSessionControl = *mut ::core::ffi::c_void; -pub type IAudioSessionControl2 = *mut ::core::ffi::c_void; -pub type IAudioSessionEnumerator = *mut ::core::ffi::c_void; -pub type IAudioSessionEvents = *mut ::core::ffi::c_void; -pub type IAudioSessionManager = *mut ::core::ffi::c_void; -pub type IAudioSessionManager2 = *mut ::core::ffi::c_void; -pub type IAudioSessionNotification = *mut ::core::ffi::c_void; -pub type IAudioStateMonitor = *mut ::core::ffi::c_void; -pub type IAudioStreamVolume = *mut ::core::ffi::c_void; -pub type IAudioSystemEffectsPropertyChangeNotificationClient = *mut ::core::ffi::c_void; -pub type IAudioSystemEffectsPropertyStore = *mut ::core::ffi::c_void; -pub type IAudioTreble = *mut ::core::ffi::c_void; -pub type IAudioViewManagerService = *mut ::core::ffi::c_void; -pub type IAudioVolumeDuckNotification = *mut ::core::ffi::c_void; -pub type IAudioVolumeLevel = *mut ::core::ffi::c_void; -pub type IChannelAudioVolume = *mut ::core::ffi::c_void; -pub type IConnector = *mut ::core::ffi::c_void; -pub type IControlChangeNotify = *mut ::core::ffi::c_void; -pub type IControlInterface = *mut ::core::ffi::c_void; -pub type IDeviceSpecificProperty = *mut ::core::ffi::c_void; -pub type IDeviceTopology = *mut ::core::ffi::c_void; -pub type IMMDevice = *mut ::core::ffi::c_void; -pub type IMMDeviceActivator = *mut ::core::ffi::c_void; -pub type IMMDeviceCollection = *mut ::core::ffi::c_void; -pub type IMMDeviceEnumerator = *mut ::core::ffi::c_void; -pub type IMMEndpoint = *mut ::core::ffi::c_void; -pub type IMMNotificationClient = *mut ::core::ffi::c_void; -pub type IMessageFilter = *mut ::core::ffi::c_void; -pub type IPart = *mut ::core::ffi::c_void; -pub type IPartsList = *mut ::core::ffi::c_void; -pub type IPerChannelDbLevel = *mut ::core::ffi::c_void; -pub type ISimpleAudioVolume = *mut ::core::ffi::c_void; -pub type ISpatialAudioClient = *mut ::core::ffi::c_void; -pub type ISpatialAudioClient2 = *mut ::core::ffi::c_void; -pub type ISpatialAudioMetadataClient = *mut ::core::ffi::c_void; -pub type ISpatialAudioMetadataCopier = *mut ::core::ffi::c_void; -pub type ISpatialAudioMetadataItems = *mut ::core::ffi::c_void; -pub type ISpatialAudioMetadataItemsBuffer = *mut ::core::ffi::c_void; -pub type ISpatialAudioMetadataReader = *mut ::core::ffi::c_void; -pub type ISpatialAudioMetadataWriter = *mut ::core::ffi::c_void; -pub type ISpatialAudioObject = *mut ::core::ffi::c_void; -pub type ISpatialAudioObjectBase = *mut ::core::ffi::c_void; -pub type ISpatialAudioObjectForHrtf = *mut ::core::ffi::c_void; -pub type ISpatialAudioObjectForMetadataCommands = *mut ::core::ffi::c_void; -pub type ISpatialAudioObjectForMetadataItems = *mut ::core::ffi::c_void; -pub type ISpatialAudioObjectRenderStream = *mut ::core::ffi::c_void; -pub type ISpatialAudioObjectRenderStreamBase = *mut ::core::ffi::c_void; -pub type ISpatialAudioObjectRenderStreamForHrtf = *mut ::core::ffi::c_void; -pub type ISpatialAudioObjectRenderStreamForMetadata = *mut ::core::ffi::c_void; -pub type ISpatialAudioObjectRenderStreamNotify = *mut ::core::ffi::c_void; -pub type ISubunit = *mut ::core::ffi::c_void; pub const ACMDM_DRIVER_ABOUT: u32 = 24587u32; pub const ACMDM_DRIVER_DETAILS: u32 = 24586u32; pub const ACMDM_DRIVER_NOTIFY: u32 = 24577u32; @@ -1551,9 +1475,9 @@ impl ::core::clone::Clone for AudioClientProperties { #[repr(C)] pub struct AudioExtensionParams { pub AddPageParam: super::super::Foundation::LPARAM, - pub pEndpoint: IMMDevice, - pub pPnpInterface: IMMDevice, - pub pPnpDevnode: IMMDevice, + pub pEndpoint: *mut ::core::ffi::c_void, + pub pPnpInterface: *mut ::core::ffi::c_void, + pub pPnpDevnode: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for AudioExtensionParams {} impl ::core::clone::Clone for AudioExtensionParams { @@ -2237,7 +2161,7 @@ pub struct SpatialAudioHrtfActivationParams { pub MaxDynamicObjectCount: u32, pub Category: AUDIO_STREAM_CATEGORY, pub EventHandle: super::super::Foundation::HANDLE, - pub NotifyObject: ISpatialAudioObjectRenderStreamNotify, + pub NotifyObject: *mut ::core::ffi::c_void, pub DistanceDecay: *mut SpatialAudioHrtfDistanceDecay, pub Directivity: *mut SpatialAudioHrtfDirectivityUnion, pub Environment: *mut SpatialAudioHrtfEnvironmentType, @@ -2257,7 +2181,7 @@ pub struct SpatialAudioHrtfActivationParams2 { pub MaxDynamicObjectCount: u32, pub Category: AUDIO_STREAM_CATEGORY, pub EventHandle: super::super::Foundation::HANDLE, - pub NotifyObject: ISpatialAudioObjectRenderStreamNotify, + pub NotifyObject: *mut ::core::ffi::c_void, pub DistanceDecay: *mut SpatialAudioHrtfDistanceDecay, pub Directivity: *mut SpatialAudioHrtfDirectivityUnion, pub Environment: *mut SpatialAudioHrtfEnvironmentType, @@ -2351,7 +2275,7 @@ pub struct SpatialAudioObjectRenderStreamActivationParams { pub MaxDynamicObjectCount: u32, pub Category: AUDIO_STREAM_CATEGORY, pub EventHandle: super::super::Foundation::HANDLE, - pub NotifyObject: ISpatialAudioObjectRenderStreamNotify, + pub NotifyObject: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for SpatialAudioObjectRenderStreamActivationParams {} impl ::core::clone::Clone for SpatialAudioObjectRenderStreamActivationParams { @@ -2367,7 +2291,7 @@ pub struct SpatialAudioObjectRenderStreamActivationParams2 { pub MaxDynamicObjectCount: u32, pub Category: AUDIO_STREAM_CATEGORY, pub EventHandle: super::super::Foundation::HANDLE, - pub NotifyObject: ISpatialAudioObjectRenderStreamNotify, + pub NotifyObject: *mut ::core::ffi::c_void, pub Options: SPATIAL_AUDIO_STREAM_OPTIONS, } impl ::core::marker::Copy for SpatialAudioObjectRenderStreamActivationParams2 {} @@ -2389,7 +2313,7 @@ pub struct SpatialAudioObjectRenderStreamForMetadataActivationParams { pub MetadataFormatId: ::windows_sys::core::GUID, pub MaxMetadataItemCount: u16, pub MetadataActivationParams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, - pub NotifyObject: ISpatialAudioObjectRenderStreamNotify, + pub NotifyObject: *mut ::core::ffi::c_void, } #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for SpatialAudioObjectRenderStreamForMetadataActivationParams {} @@ -2412,7 +2336,7 @@ pub struct SpatialAudioObjectRenderStreamForMetadataActivationParams2 { pub MetadataFormatId: ::windows_sys::core::GUID, pub MaxMetadataItemCount: u32, pub MetadataActivationParams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, - pub NotifyObject: ISpatialAudioObjectRenderStreamNotify, + pub NotifyObject: *mut ::core::ffi::c_void, pub Options: SPATIAL_AUDIO_STREAM_OPTIONS, } #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -2699,4 +2623,4 @@ pub type LPMIDICALLBACK = ::core::option::Option; -pub type PAudioStateMonitorCallback = ::core::option::Option; +pub type PAudioStateMonitorCallback = ::core::option::Option; diff --git a/crates/libs/sys/src/Windows/Win32/Media/DxMediaObjects/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/DxMediaObjects/mod.rs index 972ad77121..b5a1a30871 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/DxMediaObjects/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/DxMediaObjects/mod.rs @@ -1,4 +1,4 @@ -::windows_targets::link!("msdmo.dll" "system" fn DMOEnum(guidcategory : *const ::windows_sys::core::GUID, dwflags : u32, cintypes : u32, pintypes : *const DMO_PARTIAL_MEDIATYPE, couttypes : u32, pouttypes : *const DMO_PARTIAL_MEDIATYPE, ppenum : *mut IEnumDMO) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("msdmo.dll" "system" fn DMOEnum(guidcategory : *const ::windows_sys::core::GUID, dwflags : u32, cintypes : u32, pintypes : *const DMO_PARTIAL_MEDIATYPE, couttypes : u32, pouttypes : *const DMO_PARTIAL_MEDIATYPE, ppenum : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("msdmo.dll" "system" fn DMOGetName(clsiddmo : *const ::windows_sys::core::GUID, szname : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("msdmo.dll" "system" fn DMOGetTypes(clsiddmo : *const ::windows_sys::core::GUID, ulinputtypesrequested : u32, pulinputtypessupplied : *mut u32, pinputtypes : *mut DMO_PARTIAL_MEDIATYPE, uloutputtypesrequested : u32, puloutputtypessupplied : *mut u32, poutputtypes : *mut DMO_PARTIAL_MEDIATYPE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("msdmo.dll" "system" fn DMORegister(szname : ::windows_sys::core::PCWSTR, clsiddmo : *const ::windows_sys::core::GUID, guidcategory : *const ::windows_sys::core::GUID, dwflags : u32, cintypes : u32, pintypes : *const DMO_PARTIAL_MEDIATYPE, couttypes : u32, pouttypes : *const DMO_PARTIAL_MEDIATYPE) -> ::windows_sys::core::HRESULT); @@ -9,12 +9,6 @@ ::windows_targets::link!("msdmo.dll" "system" fn MoDuplicateMediaType(ppmtdest : *mut *mut DMO_MEDIA_TYPE, pmtsrc : *const DMO_MEDIA_TYPE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("msdmo.dll" "system" fn MoFreeMediaType(pmt : *mut DMO_MEDIA_TYPE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("msdmo.dll" "system" fn MoInitMediaType(pmt : *mut DMO_MEDIA_TYPE, cbformat : u32) -> ::windows_sys::core::HRESULT); -pub type IDMOQualityControl = *mut ::core::ffi::c_void; -pub type IDMOVideoOutputOptimizations = *mut ::core::ffi::c_void; -pub type IEnumDMO = *mut ::core::ffi::c_void; -pub type IMediaBuffer = *mut ::core::ffi::c_void; -pub type IMediaObject = *mut ::core::ffi::c_void; -pub type IMediaObjectInPlace = *mut ::core::ffi::c_void; pub const DMOCATEGORY_ACOUSTIC_ECHO_CANCEL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbf963d80_c559_11d0_8a2b_00a0c9255ac1); pub const DMOCATEGORY_AGC: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe88c9ba0_c557_11d0_8a2b_00a0c9255ac1); pub const DMOCATEGORY_AUDIO_CAPTURE_EFFECT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf665aaba_3e09_4920_aa5f_219811148f09); @@ -91,7 +85,7 @@ impl ::core::clone::Clone for DMO_MEDIA_TYPE { } #[repr(C)] pub struct DMO_OUTPUT_DATA_BUFFER { - pub pBuffer: IMediaBuffer, + pub pBuffer: *mut ::core::ffi::c_void, pub dwStatus: u32, pub rtTimestamp: i64, pub rtTimelength: i64, diff --git a/crates/libs/sys/src/Windows/Win32/Media/KernelStreaming/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/KernelStreaming/mod.rs index fb852474db..dbe4fdff8b 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/KernelStreaming/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/KernelStreaming/mod.rs @@ -13,31 +13,6 @@ ::windows_targets::link!("ksproxy.ax" "system" fn KsOpenDefaultDevice(category : *const ::windows_sys::core::GUID, access : u32, devicehandle : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ksproxy.ax" "system" fn KsResolveRequiredAttributes(datarange : *const KSDATAFORMAT, attributes : *const KSMULTIPLE_ITEM) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ksproxy.ax" "system" fn KsSynchronousDeviceControl(handle : super::super::Foundation:: HANDLE, iocontrol : u32, inbuffer : *const ::core::ffi::c_void, inlength : u32, outbuffer : *mut ::core::ffi::c_void, outlength : u32, bytesreturned : *mut u32) -> ::windows_sys::core::HRESULT); -pub type IKsAggregateControl = *mut ::core::ffi::c_void; -pub type IKsAllocator = *mut ::core::ffi::c_void; -pub type IKsAllocatorEx = *mut ::core::ffi::c_void; -pub type IKsClockPropertySet = *mut ::core::ffi::c_void; -pub type IKsControl = *mut ::core::ffi::c_void; -pub type IKsDataTypeCompletion = *mut ::core::ffi::c_void; -pub type IKsDataTypeHandler = *mut ::core::ffi::c_void; -pub type IKsFormatSupport = *mut ::core::ffi::c_void; -pub type IKsInterfaceHandler = *mut ::core::ffi::c_void; -pub type IKsJackContainerId = *mut ::core::ffi::c_void; -pub type IKsJackDescription = *mut ::core::ffi::c_void; -pub type IKsJackDescription2 = *mut ::core::ffi::c_void; -pub type IKsJackDescription3 = *mut ::core::ffi::c_void; -pub type IKsJackSinkInformation = *mut ::core::ffi::c_void; -pub type IKsNodeControl = *mut ::core::ffi::c_void; -pub type IKsNotifyEvent = *mut ::core::ffi::c_void; -pub type IKsObject = *mut ::core::ffi::c_void; -pub type IKsPin = *mut ::core::ffi::c_void; -pub type IKsPinEx = *mut ::core::ffi::c_void; -pub type IKsPinFactory = *mut ::core::ffi::c_void; -pub type IKsPinPipe = *mut ::core::ffi::c_void; -pub type IKsPropertySet = *mut ::core::ffi::c_void; -pub type IKsQualityForwarder = *mut ::core::ffi::c_void; -pub type IKsTopology = *mut ::core::ffi::c_void; -pub type IKsTopologyInfo = *mut ::core::ffi::c_void; pub const AEC_MODE_FULL_DUPLEX: u32 = 2u32; pub const AEC_MODE_HALF_DUPLEX: u32 = 1u32; pub const AEC_MODE_PASS_THROUGH: u32 = 0u32; @@ -2223,9 +2198,9 @@ pub struct ALLOCATOR_PROPERTIES_EX { pub AllocatorPlace: PIPE_ALLOCATOR_PLACE, pub Dimensions: PIPE_DIMENSIONS, pub PhysicalRange: KS_FRAMING_RANGE, - pub PrevSegment: IKsAllocatorEx, + pub PrevSegment: *mut ::core::ffi::c_void, pub CountNextSegments: u32, - pub NextSegments: *mut IKsAllocatorEx, + pub NextSegments: *mut *mut ::core::ffi::c_void, pub InsideFactors: u32, pub NumberPins: u32, } @@ -5707,8 +5682,8 @@ impl ::core::clone::Clone for KSSTREAM_METADATA_INFO { } #[repr(C)] pub struct KSSTREAM_SEGMENT { - pub KsInterfaceHandler: IKsInterfaceHandler, - pub KsDataTypeHandler: IKsDataTypeHandler, + pub KsInterfaceHandler: *mut ::core::ffi::c_void, + pub KsDataTypeHandler: *mut ::core::ffi::c_void, pub IoOperation: KSIOOPERATION, pub CompletionEvent: super::super::Foundation::HANDLE, } diff --git a/crates/libs/sys/src/Windows/Win32/Media/Multimedia/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/Multimedia/mod.rs index 986c6cadda..2db8b08bc6 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/Multimedia/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/Multimedia/mod.rs @@ -1,57 +1,57 @@ ::windows_targets::link!("avifil32.dll" "system" fn AVIBuildFilterA(lpszfilter : ::windows_sys::core::PSTR, cbfilter : i32, fsaving : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("avifil32.dll" "system" fn AVIBuildFilterW(lpszfilter : ::windows_sys::core::PWSTR, cbfilter : i32, fsaving : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("avifil32.dll" "system" fn AVIClearClipboard() -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIFileAddRef(pfile : IAVIFile) -> u32); -::windows_targets::link!("avifil32.dll" "system" fn AVIFileCreateStreamA(pfile : IAVIFile, ppavi : *mut IAVIStream, psi : *const AVISTREAMINFOA) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIFileCreateStreamW(pfile : IAVIFile, ppavi : *mut IAVIStream, psi : *const AVISTREAMINFOW) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIFileEndRecord(pfile : IAVIFile) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIFileAddRef(pfile : * mut::core::ffi::c_void) -> u32); +::windows_targets::link!("avifil32.dll" "system" fn AVIFileCreateStreamA(pfile : * mut::core::ffi::c_void, ppavi : *mut * mut::core::ffi::c_void, psi : *const AVISTREAMINFOA) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIFileCreateStreamW(pfile : * mut::core::ffi::c_void, ppavi : *mut * mut::core::ffi::c_void, psi : *const AVISTREAMINFOW) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIFileEndRecord(pfile : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("avifil32.dll" "system" fn AVIFileExit()); -::windows_targets::link!("avifil32.dll" "system" fn AVIFileGetStream(pfile : IAVIFile, ppavi : *mut IAVIStream, fcctype : u32, lparam : i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIFileInfoA(pfile : IAVIFile, pfi : *mut AVIFILEINFOA, lsize : i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIFileInfoW(pfile : IAVIFile, pfi : *mut AVIFILEINFOW, lsize : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIFileGetStream(pfile : * mut::core::ffi::c_void, ppavi : *mut * mut::core::ffi::c_void, fcctype : u32, lparam : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIFileInfoA(pfile : * mut::core::ffi::c_void, pfi : *mut AVIFILEINFOA, lsize : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIFileInfoW(pfile : * mut::core::ffi::c_void, pfi : *mut AVIFILEINFOW, lsize : i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("avifil32.dll" "system" fn AVIFileInit()); -::windows_targets::link!("avifil32.dll" "system" fn AVIFileOpenA(ppfile : *mut IAVIFile, szfile : ::windows_sys::core::PCSTR, umode : u32, lphandler : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIFileOpenW(ppfile : *mut IAVIFile, szfile : ::windows_sys::core::PCWSTR, umode : u32, lphandler : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIFileReadData(pfile : IAVIFile, ckid : u32, lpdata : *mut ::core::ffi::c_void, lpcbdata : *mut i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIFileRelease(pfile : IAVIFile) -> u32); -::windows_targets::link!("avifil32.dll" "system" fn AVIFileWriteData(pfile : IAVIFile, ckid : u32, lpdata : *const ::core::ffi::c_void, cbdata : i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIGetFromClipboard(lppf : *mut IAVIFile) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIMakeCompressedStream(ppscompressed : *mut IAVIStream, ppssource : IAVIStream, lpoptions : *const AVICOMPRESSOPTIONS, pclsidhandler : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIMakeFileFromStreams(ppfile : *mut IAVIFile, nstreams : i32, papstreams : *const IAVIStream) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIMakeStreamFromClipboard(cfformat : u32, hglobal : super::super::Foundation:: HANDLE, ppstream : *mut IAVIStream) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIPutFileOnClipboard(pf : IAVIFile) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "cdecl" fn AVISaveA(szfile : ::windows_sys::core::PCSTR, pclsidhandler : *const ::windows_sys::core::GUID, lpfncallback : AVISAVECALLBACK, nstreams : i32, pfile : IAVIStream, lpoptions : *const AVICOMPRESSOPTIONS, ...) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVISaveOptions(hwnd : super::super::Foundation:: HWND, uiflags : u32, nstreams : i32, ppavi : *const IAVIStream, plpoptions : *mut *mut AVICOMPRESSOPTIONS) -> isize); +::windows_targets::link!("avifil32.dll" "system" fn AVIFileOpenA(ppfile : *mut * mut::core::ffi::c_void, szfile : ::windows_sys::core::PCSTR, umode : u32, lphandler : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIFileOpenW(ppfile : *mut * mut::core::ffi::c_void, szfile : ::windows_sys::core::PCWSTR, umode : u32, lphandler : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIFileReadData(pfile : * mut::core::ffi::c_void, ckid : u32, lpdata : *mut ::core::ffi::c_void, lpcbdata : *mut i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIFileRelease(pfile : * mut::core::ffi::c_void) -> u32); +::windows_targets::link!("avifil32.dll" "system" fn AVIFileWriteData(pfile : * mut::core::ffi::c_void, ckid : u32, lpdata : *const ::core::ffi::c_void, cbdata : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIGetFromClipboard(lppf : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIMakeCompressedStream(ppscompressed : *mut * mut::core::ffi::c_void, ppssource : * mut::core::ffi::c_void, lpoptions : *const AVICOMPRESSOPTIONS, pclsidhandler : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIMakeFileFromStreams(ppfile : *mut * mut::core::ffi::c_void, nstreams : i32, papstreams : *const * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIMakeStreamFromClipboard(cfformat : u32, hglobal : super::super::Foundation:: HANDLE, ppstream : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIPutFileOnClipboard(pf : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "cdecl" fn AVISaveA(szfile : ::windows_sys::core::PCSTR, pclsidhandler : *const ::windows_sys::core::GUID, lpfncallback : AVISAVECALLBACK, nstreams : i32, pfile : * mut::core::ffi::c_void, lpoptions : *const AVICOMPRESSOPTIONS, ...) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVISaveOptions(hwnd : super::super::Foundation:: HWND, uiflags : u32, nstreams : i32, ppavi : *const * mut::core::ffi::c_void, plpoptions : *mut *mut AVICOMPRESSOPTIONS) -> isize); ::windows_targets::link!("avifil32.dll" "system" fn AVISaveOptionsFree(nstreams : i32, plpoptions : *const *const AVICOMPRESSOPTIONS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVISaveVA(szfile : ::windows_sys::core::PCSTR, pclsidhandler : *const ::windows_sys::core::GUID, lpfncallback : AVISAVECALLBACK, nstreams : i32, ppavi : *const IAVIStream, plpoptions : *const *const AVICOMPRESSOPTIONS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVISaveVW(szfile : ::windows_sys::core::PCWSTR, pclsidhandler : *const ::windows_sys::core::GUID, lpfncallback : AVISAVECALLBACK, nstreams : i32, ppavi : *const IAVIStream, plpoptions : *const *const AVICOMPRESSOPTIONS) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "cdecl" fn AVISaveW(szfile : ::windows_sys::core::PCWSTR, pclsidhandler : *const ::windows_sys::core::GUID, lpfncallback : AVISAVECALLBACK, nstreams : i32, pfile : IAVIStream, lpoptions : *const AVICOMPRESSOPTIONS, ...) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamAddRef(pavi : IAVIStream) -> u32); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamBeginStreaming(pavi : IAVIStream, lstart : i32, lend : i32, lrate : i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamCreate(ppavi : *mut IAVIStream, lparam1 : i32, lparam2 : i32, pclsidhandler : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamEndStreaming(pavi : IAVIStream) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamFindSample(pavi : IAVIStream, lpos : i32, lflags : i32) -> i32); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamGetFrame(pg : IGetFrame, lpos : i32) -> *mut ::core::ffi::c_void); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamGetFrameClose(pg : IGetFrame) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVISaveVA(szfile : ::windows_sys::core::PCSTR, pclsidhandler : *const ::windows_sys::core::GUID, lpfncallback : AVISAVECALLBACK, nstreams : i32, ppavi : *const * mut::core::ffi::c_void, plpoptions : *const *const AVICOMPRESSOPTIONS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVISaveVW(szfile : ::windows_sys::core::PCWSTR, pclsidhandler : *const ::windows_sys::core::GUID, lpfncallback : AVISAVECALLBACK, nstreams : i32, ppavi : *const * mut::core::ffi::c_void, plpoptions : *const *const AVICOMPRESSOPTIONS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "cdecl" fn AVISaveW(szfile : ::windows_sys::core::PCWSTR, pclsidhandler : *const ::windows_sys::core::GUID, lpfncallback : AVISAVECALLBACK, nstreams : i32, pfile : * mut::core::ffi::c_void, lpoptions : *const AVICOMPRESSOPTIONS, ...) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamAddRef(pavi : * mut::core::ffi::c_void) -> u32); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamBeginStreaming(pavi : * mut::core::ffi::c_void, lstart : i32, lend : i32, lrate : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamCreate(ppavi : *mut * mut::core::ffi::c_void, lparam1 : i32, lparam2 : i32, pclsidhandler : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamEndStreaming(pavi : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamFindSample(pavi : * mut::core::ffi::c_void, lpos : i32, lflags : i32) -> i32); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamGetFrame(pg : * mut::core::ffi::c_void, lpos : i32) -> *mut ::core::ffi::c_void); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamGetFrameClose(pg : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Graphics_Gdi")] -::windows_targets::link!("avifil32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn AVIStreamGetFrameOpen(pavi : IAVIStream, lpbiwanted : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER) -> IGetFrame); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamInfoA(pavi : IAVIStream, psi : *mut AVISTREAMINFOA, lsize : i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamInfoW(pavi : IAVIStream, psi : *mut AVISTREAMINFOW, lsize : i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamLength(pavi : IAVIStream) -> i32); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamOpenFromFileA(ppavi : *mut IAVIStream, szfile : ::windows_sys::core::PCSTR, fcctype : u32, lparam : i32, mode : u32, pclsidhandler : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamOpenFromFileW(ppavi : *mut IAVIStream, szfile : ::windows_sys::core::PCWSTR, fcctype : u32, lparam : i32, mode : u32, pclsidhandler : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamRead(pavi : IAVIStream, lstart : i32, lsamples : i32, lpbuffer : *mut ::core::ffi::c_void, cbbuffer : i32, plbytes : *mut i32, plsamples : *mut i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamReadData(pavi : IAVIStream, fcc : u32, lp : *mut ::core::ffi::c_void, lpcb : *mut i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamReadFormat(pavi : IAVIStream, lpos : i32, lpformat : *mut ::core::ffi::c_void, lpcbformat : *mut i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamRelease(pavi : IAVIStream) -> u32); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamSampleToTime(pavi : IAVIStream, lsample : i32) -> i32); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamSetFormat(pavi : IAVIStream, lpos : i32, lpformat : *const ::core::ffi::c_void, cbformat : i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamStart(pavi : IAVIStream) -> i32); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamTimeToSample(pavi : IAVIStream, ltime : i32) -> i32); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamWrite(pavi : IAVIStream, lstart : i32, lsamples : i32, lpbuffer : *const ::core::ffi::c_void, cbbuffer : i32, dwflags : u32, plsampwritten : *mut i32, plbyteswritten : *mut i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn AVIStreamWriteData(pavi : IAVIStream, fcc : u32, lp : *const ::core::ffi::c_void, cb : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn AVIStreamGetFrameOpen(pavi : * mut::core::ffi::c_void, lpbiwanted : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER) -> * mut::core::ffi::c_void); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamInfoA(pavi : * mut::core::ffi::c_void, psi : *mut AVISTREAMINFOA, lsize : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamInfoW(pavi : * mut::core::ffi::c_void, psi : *mut AVISTREAMINFOW, lsize : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamLength(pavi : * mut::core::ffi::c_void) -> i32); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamOpenFromFileA(ppavi : *mut * mut::core::ffi::c_void, szfile : ::windows_sys::core::PCSTR, fcctype : u32, lparam : i32, mode : u32, pclsidhandler : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamOpenFromFileW(ppavi : *mut * mut::core::ffi::c_void, szfile : ::windows_sys::core::PCWSTR, fcctype : u32, lparam : i32, mode : u32, pclsidhandler : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamRead(pavi : * mut::core::ffi::c_void, lstart : i32, lsamples : i32, lpbuffer : *mut ::core::ffi::c_void, cbbuffer : i32, plbytes : *mut i32, plsamples : *mut i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamReadData(pavi : * mut::core::ffi::c_void, fcc : u32, lp : *mut ::core::ffi::c_void, lpcb : *mut i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamReadFormat(pavi : * mut::core::ffi::c_void, lpos : i32, lpformat : *mut ::core::ffi::c_void, lpcbformat : *mut i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamRelease(pavi : * mut::core::ffi::c_void) -> u32); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamSampleToTime(pavi : * mut::core::ffi::c_void, lsample : i32) -> i32); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamSetFormat(pavi : * mut::core::ffi::c_void, lpos : i32, lpformat : *const ::core::ffi::c_void, cbformat : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamStart(pavi : * mut::core::ffi::c_void) -> i32); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamTimeToSample(pavi : * mut::core::ffi::c_void, ltime : i32) -> i32); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamWrite(pavi : * mut::core::ffi::c_void, lstart : i32, lsamples : i32, lpbuffer : *const ::core::ffi::c_void, cbbuffer : i32, dwflags : u32, plsampwritten : *mut i32, plbyteswritten : *mut i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn AVIStreamWriteData(pavi : * mut::core::ffi::c_void, fcc : u32, lp : *const ::core::ffi::c_void, cb : i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("winmm.dll" "system" fn CloseDriver(hdriver : HDRVR, lparam1 : super::super::Foundation:: LPARAM, lparam2 : super::super::Foundation:: LPARAM) -> super::super::Foundation:: LRESULT); -::windows_targets::link!("avifil32.dll" "system" fn CreateEditableStream(ppseditable : *mut IAVIStream, pssource : IAVIStream) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn CreateEditableStream(ppseditable : *mut * mut::core::ffi::c_void, pssource : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("winmm.dll" "system" fn DefDriverProc(dwdriveridentifier : usize, hdrvr : HDRVR, umsg : u32, lparam1 : super::super::Foundation:: LPARAM, lparam2 : super::super::Foundation:: LPARAM) -> super::super::Foundation:: LRESULT); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("msvfw32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn DrawDibBegin(hdd : isize, hdc : super::super::Graphics::Gdi:: HDC, dxdst : i32, dydst : i32, lpbi : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER, dxsrc : i32, dysrc : i32, wflags : u32) -> super::super::Foundation:: BOOL); @@ -77,14 +77,14 @@ ::windows_targets::link!("msvfw32.dll" "system" fn DrawDibTime(hdd : isize, lpddtime : *mut DRAWDIBTIME) -> super::super::Foundation:: BOOL); ::windows_targets::link!("winmm.dll" "system" fn DriverCallback(dwcallback : usize, dwflags : u32, hdevice : HDRVR, dwmsg : u32, dwuser : usize, dwparam1 : usize, dwparam2 : usize) -> super::super::Foundation:: BOOL); ::windows_targets::link!("winmm.dll" "system" fn DrvGetModuleHandle(hdriver : HDRVR) -> super::super::Foundation:: HMODULE); -::windows_targets::link!("avifil32.dll" "system" fn EditStreamClone(pavi : IAVIStream, ppresult : *mut IAVIStream) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn EditStreamCopy(pavi : IAVIStream, plstart : *mut i32, pllength : *mut i32, ppresult : *mut IAVIStream) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn EditStreamCut(pavi : IAVIStream, plstart : *mut i32, pllength : *mut i32, ppresult : *mut IAVIStream) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn EditStreamPaste(pavi : IAVIStream, plpos : *mut i32, pllength : *mut i32, pstream : IAVIStream, lstart : i32, lend : i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn EditStreamSetInfoA(pavi : IAVIStream, lpinfo : *const AVISTREAMINFOA, cbinfo : i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn EditStreamSetInfoW(pavi : IAVIStream, lpinfo : *const AVISTREAMINFOW, cbinfo : i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn EditStreamSetNameA(pavi : IAVIStream, lpszname : ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("avifil32.dll" "system" fn EditStreamSetNameW(pavi : IAVIStream, lpszname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn EditStreamClone(pavi : * mut::core::ffi::c_void, ppresult : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn EditStreamCopy(pavi : * mut::core::ffi::c_void, plstart : *mut i32, pllength : *mut i32, ppresult : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn EditStreamCut(pavi : * mut::core::ffi::c_void, plstart : *mut i32, pllength : *mut i32, ppresult : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn EditStreamPaste(pavi : * mut::core::ffi::c_void, plpos : *mut i32, pllength : *mut i32, pstream : * mut::core::ffi::c_void, lstart : i32, lend : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn EditStreamSetInfoA(pavi : * mut::core::ffi::c_void, lpinfo : *const AVISTREAMINFOA, cbinfo : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn EditStreamSetInfoW(pavi : * mut::core::ffi::c_void, lpinfo : *const AVISTREAMINFOW, cbinfo : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn EditStreamSetNameA(pavi : * mut::core::ffi::c_void, lpszname : ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("avifil32.dll" "system" fn EditStreamSetNameW(pavi : * mut::core::ffi::c_void, lpszname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("winmm.dll" "system" fn GetDriverModuleHandle(hdriver : HDRVR) -> super::super::Foundation:: HMODULE); #[cfg(feature = "Win32_UI_Controls_Dialogs")] ::windows_targets::link!("msvfw32.dll" "system" #[doc = "Required features: `\"Win32_UI_Controls_Dialogs\"`"] fn GetOpenFileNamePreviewA(lpofn : *mut super::super::UI::Controls::Dialogs:: OPENFILENAMEA) -> super::super::Foundation:: BOOL); @@ -193,12 +193,6 @@ ::windows_targets::link!("winmm.dll" "system" fn mmioStringToFOURCCW(sz : ::windows_sys::core::PCWSTR, uflags : u32) -> u32); ::windows_targets::link!("winmm.dll" "system" fn mmioWrite(hmmio : HMMIO, pch : ::windows_sys::core::PCSTR, cch : i32) -> i32); ::windows_targets::link!("api-ms-win-mm-misc-l1-1-1.dll" "system" fn sndOpenSound(eventname : ::windows_sys::core::PCWSTR, appname : ::windows_sys::core::PCWSTR, flags : i32, filehandle : *mut super::super::Foundation:: HANDLE) -> i32); -pub type IAVIEditStream = *mut ::core::ffi::c_void; -pub type IAVIFile = *mut ::core::ffi::c_void; -pub type IAVIPersistFile = *mut ::core::ffi::c_void; -pub type IAVIStream = *mut ::core::ffi::c_void; -pub type IAVIStreaming = *mut ::core::ffi::c_void; -pub type IGetFrame = *mut ::core::ffi::c_void; pub const ACMDM_BASE: u32 = 24576u32; pub const ACM_MPEG_COPYRIGHT: u32 = 2u32; pub const ACM_MPEG_DUALCHANNEL: u32 = 4u32; diff --git a/crates/libs/sys/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs index 592bfebe15..bab17d910d 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs @@ -1,120 +1,14 @@ -::windows_targets::link!("wmvcore.dll" "system" fn WMCreateBackupRestorer(pcallback : ::windows_sys::core::IUnknown, ppbackup : *mut IWMLicenseBackup) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wmvcore.dll" "system" fn WMCreateEditor(ppeditor : *mut IWMMetadataEditor) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wmvcore.dll" "system" fn WMCreateIndexer(ppindexer : *mut IWMIndexer) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wmvcore.dll" "system" fn WMCreateProfileManager(ppprofilemanager : *mut IWMProfileManager) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wmvcore.dll" "system" fn WMCreateReader(punkcert : ::windows_sys::core::IUnknown, dwrights : u32, ppreader : *mut IWMReader) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wmvcore.dll" "system" fn WMCreateSyncReader(punkcert : ::windows_sys::core::IUnknown, dwrights : u32, ppsyncreader : *mut IWMSyncReader) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wmvcore.dll" "system" fn WMCreateWriter(punkcert : ::windows_sys::core::IUnknown, ppwriter : *mut IWMWriter) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wmvcore.dll" "system" fn WMCreateWriterFileSink(ppsink : *mut IWMWriterFileSink) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wmvcore.dll" "system" fn WMCreateWriterNetworkSink(ppsink : *mut IWMWriterNetworkSink) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("wmvcore.dll" "system" fn WMCreateWriterPushSink(ppsink : *mut IWMWriterPushSink) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wmvcore.dll" "system" fn WMCreateBackupRestorer(pcallback : ::windows_sys::core::IUnknown, ppbackup : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wmvcore.dll" "system" fn WMCreateEditor(ppeditor : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wmvcore.dll" "system" fn WMCreateIndexer(ppindexer : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wmvcore.dll" "system" fn WMCreateProfileManager(ppprofilemanager : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wmvcore.dll" "system" fn WMCreateReader(punkcert : ::windows_sys::core::IUnknown, dwrights : u32, ppreader : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wmvcore.dll" "system" fn WMCreateSyncReader(punkcert : ::windows_sys::core::IUnknown, dwrights : u32, ppsyncreader : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wmvcore.dll" "system" fn WMCreateWriter(punkcert : ::windows_sys::core::IUnknown, ppwriter : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wmvcore.dll" "system" fn WMCreateWriterFileSink(ppsink : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wmvcore.dll" "system" fn WMCreateWriterNetworkSink(ppsink : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wmvcore.dll" "system" fn WMCreateWriterPushSink(ppsink : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wmvcore.dll" "system" fn WMIsContentProtected(pwszfilename : ::windows_sys::core::PCWSTR, pfisprotected : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -pub type INSNetSourceCreator = *mut ::core::ffi::c_void; -pub type INSSBuffer = *mut ::core::ffi::c_void; -pub type INSSBuffer2 = *mut ::core::ffi::c_void; -pub type INSSBuffer3 = *mut ::core::ffi::c_void; -pub type INSSBuffer4 = *mut ::core::ffi::c_void; -pub type IWMAddressAccess = *mut ::core::ffi::c_void; -pub type IWMAddressAccess2 = *mut ::core::ffi::c_void; -pub type IWMAuthorizer = *mut ::core::ffi::c_void; -pub type IWMBackupRestoreProps = *mut ::core::ffi::c_void; -pub type IWMBandwidthSharing = *mut ::core::ffi::c_void; -pub type IWMClientConnections = *mut ::core::ffi::c_void; -pub type IWMClientConnections2 = *mut ::core::ffi::c_void; -pub type IWMCodecInfo = *mut ::core::ffi::c_void; -pub type IWMCodecInfo2 = *mut ::core::ffi::c_void; -pub type IWMCodecInfo3 = *mut ::core::ffi::c_void; -pub type IWMCredentialCallback = *mut ::core::ffi::c_void; -pub type IWMDRMEditor = *mut ::core::ffi::c_void; -pub type IWMDRMMessageParser = *mut ::core::ffi::c_void; -pub type IWMDRMReader = *mut ::core::ffi::c_void; -pub type IWMDRMReader2 = *mut ::core::ffi::c_void; -pub type IWMDRMReader3 = *mut ::core::ffi::c_void; -pub type IWMDRMTranscryptionManager = *mut ::core::ffi::c_void; -pub type IWMDRMTranscryptor = *mut ::core::ffi::c_void; -pub type IWMDRMTranscryptor2 = *mut ::core::ffi::c_void; -pub type IWMDRMWriter = *mut ::core::ffi::c_void; -pub type IWMDRMWriter2 = *mut ::core::ffi::c_void; -pub type IWMDRMWriter3 = *mut ::core::ffi::c_void; -pub type IWMDeviceRegistration = *mut ::core::ffi::c_void; -pub type IWMGetSecureChannel = *mut ::core::ffi::c_void; -pub type IWMHeaderInfo = *mut ::core::ffi::c_void; -pub type IWMHeaderInfo2 = *mut ::core::ffi::c_void; -pub type IWMHeaderInfo3 = *mut ::core::ffi::c_void; -pub type IWMIStreamProps = *mut ::core::ffi::c_void; -pub type IWMImageInfo = *mut ::core::ffi::c_void; -pub type IWMIndexer = *mut ::core::ffi::c_void; -pub type IWMIndexer2 = *mut ::core::ffi::c_void; -pub type IWMInputMediaProps = *mut ::core::ffi::c_void; -pub type IWMLanguageList = *mut ::core::ffi::c_void; -pub type IWMLicenseBackup = *mut ::core::ffi::c_void; -pub type IWMLicenseRestore = *mut ::core::ffi::c_void; -pub type IWMLicenseRevocationAgent = *mut ::core::ffi::c_void; -pub type IWMMediaProps = *mut ::core::ffi::c_void; -pub type IWMMetadataEditor = *mut ::core::ffi::c_void; -pub type IWMMetadataEditor2 = *mut ::core::ffi::c_void; -pub type IWMMutualExclusion = *mut ::core::ffi::c_void; -pub type IWMMutualExclusion2 = *mut ::core::ffi::c_void; -pub type IWMOutputMediaProps = *mut ::core::ffi::c_void; -pub type IWMPacketSize = *mut ::core::ffi::c_void; -pub type IWMPacketSize2 = *mut ::core::ffi::c_void; -pub type IWMPlayerHook = *mut ::core::ffi::c_void; -pub type IWMPlayerTimestampHook = *mut ::core::ffi::c_void; -pub type IWMProfile = *mut ::core::ffi::c_void; -pub type IWMProfile2 = *mut ::core::ffi::c_void; -pub type IWMProfile3 = *mut ::core::ffi::c_void; -pub type IWMProfileManager = *mut ::core::ffi::c_void; -pub type IWMProfileManager2 = *mut ::core::ffi::c_void; -pub type IWMProfileManagerLanguage = *mut ::core::ffi::c_void; -pub type IWMPropertyVault = *mut ::core::ffi::c_void; -pub type IWMProximityDetection = *mut ::core::ffi::c_void; -pub type IWMReader = *mut ::core::ffi::c_void; -pub type IWMReaderAccelerator = *mut ::core::ffi::c_void; -pub type IWMReaderAdvanced = *mut ::core::ffi::c_void; -pub type IWMReaderAdvanced2 = *mut ::core::ffi::c_void; -pub type IWMReaderAdvanced3 = *mut ::core::ffi::c_void; -pub type IWMReaderAdvanced4 = *mut ::core::ffi::c_void; -pub type IWMReaderAdvanced5 = *mut ::core::ffi::c_void; -pub type IWMReaderAdvanced6 = *mut ::core::ffi::c_void; -pub type IWMReaderAllocatorEx = *mut ::core::ffi::c_void; -pub type IWMReaderCallback = *mut ::core::ffi::c_void; -pub type IWMReaderCallbackAdvanced = *mut ::core::ffi::c_void; -pub type IWMReaderNetworkConfig = *mut ::core::ffi::c_void; -pub type IWMReaderNetworkConfig2 = *mut ::core::ffi::c_void; -pub type IWMReaderPlaylistBurn = *mut ::core::ffi::c_void; -pub type IWMReaderStreamClock = *mut ::core::ffi::c_void; -pub type IWMReaderTimecode = *mut ::core::ffi::c_void; -pub type IWMReaderTypeNegotiation = *mut ::core::ffi::c_void; -pub type IWMRegisterCallback = *mut ::core::ffi::c_void; -pub type IWMRegisteredDevice = *mut ::core::ffi::c_void; -pub type IWMSBufferAllocator = *mut ::core::ffi::c_void; -pub type IWMSInternalAdminNetSource = *mut ::core::ffi::c_void; -pub type IWMSInternalAdminNetSource2 = *mut ::core::ffi::c_void; -pub type IWMSInternalAdminNetSource3 = *mut ::core::ffi::c_void; -pub type IWMSecureChannel = *mut ::core::ffi::c_void; -pub type IWMStatusCallback = *mut ::core::ffi::c_void; -pub type IWMStreamConfig = *mut ::core::ffi::c_void; -pub type IWMStreamConfig2 = *mut ::core::ffi::c_void; -pub type IWMStreamConfig3 = *mut ::core::ffi::c_void; -pub type IWMStreamList = *mut ::core::ffi::c_void; -pub type IWMStreamPrioritization = *mut ::core::ffi::c_void; -pub type IWMSyncReader = *mut ::core::ffi::c_void; -pub type IWMSyncReader2 = *mut ::core::ffi::c_void; -pub type IWMVideoMediaProps = *mut ::core::ffi::c_void; -pub type IWMWatermarkInfo = *mut ::core::ffi::c_void; -pub type IWMWriter = *mut ::core::ffi::c_void; -pub type IWMWriterAdvanced = *mut ::core::ffi::c_void; -pub type IWMWriterAdvanced2 = *mut ::core::ffi::c_void; -pub type IWMWriterAdvanced3 = *mut ::core::ffi::c_void; -pub type IWMWriterFileSink = *mut ::core::ffi::c_void; -pub type IWMWriterFileSink2 = *mut ::core::ffi::c_void; -pub type IWMWriterFileSink3 = *mut ::core::ffi::c_void; -pub type IWMWriterNetworkSink = *mut ::core::ffi::c_void; -pub type IWMWriterPostView = *mut ::core::ffi::c_void; -pub type IWMWriterPostViewCallback = *mut ::core::ffi::c_void; -pub type IWMWriterPreprocess = *mut ::core::ffi::c_void; -pub type IWMWriterPushSink = *mut ::core::ffi::c_void; -pub type IWMWriterSink = *mut ::core::ffi::c_void; pub const AM_CONFIGASFWRITER_PARAM_AUTOINDEX: _AM_ASFWRITERCONFIG_PARAM = 1i32; pub const AM_CONFIGASFWRITER_PARAM_DONTCOMPRESS: _AM_ASFWRITERCONFIG_PARAM = 3i32; pub const AM_CONFIGASFWRITER_PARAM_MULTIPASS: _AM_ASFWRITERCONFIG_PARAM = 2i32; @@ -793,7 +687,7 @@ impl ::core::clone::Clone for WMSCRIPTFORMAT { } #[repr(C)] pub struct WMT_BUFFER_SEGMENT { - pub pBuffer: INSSBuffer, + pub pBuffer: *mut ::core::ffi::c_void, pub cbOffset: u32, pub cbLength: u32, } diff --git a/crates/libs/sys/src/Windows/Win32/Media/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/mod.rs index 21cb84cf5f..a359b2ed52 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/mod.rs @@ -23,9 +23,6 @@ pub mod WindowsMediaFormat; ::windows_targets::link!("winmm.dll" "system" fn timeGetTime() -> u32); ::windows_targets::link!("winmm.dll" "system" fn timeKillEvent(utimerid : u32) -> u32); ::windows_targets::link!("winmm.dll" "system" fn timeSetEvent(udelay : u32, uresolution : u32, fptc : LPTIMECALLBACK, dwuser : usize, fuevent : u32) -> u32); -pub type IReferenceClock = *mut ::core::ffi::c_void; -pub type IReferenceClock2 = *mut ::core::ffi::c_void; -pub type IReferenceClockTimerControl = *mut ::core::ffi::c_void; pub const ED_DEVCAP_ATN_READ: TIMECODE_SAMPLE_FLAGS = 5047u32; pub const ED_DEVCAP_RTC_READ: TIMECODE_SAMPLE_FLAGS = 5050u32; pub const ED_DEVCAP_TIMECODE_READ: TIMECODE_SAMPLE_FLAGS = 4121u32; diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs index f9782fdebc..39a8f40411 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs @@ -175,31 +175,6 @@ ::windows_targets::link!("rtutils.dll" "system" fn TraceRegisterExW(lpszcallername : ::windows_sys::core::PCWSTR, dwflags : u32) -> u32); ::windows_targets::link!("rtutils.dll" "system" fn TraceVprintfExA(dwtraceid : u32, dwflags : u32, lpszformat : ::windows_sys::core::PCSTR, arglist : *mut i8) -> u32); ::windows_targets::link!("rtutils.dll" "system" fn TraceVprintfExW(dwtraceid : u32, dwflags : u32, lpszformat : ::windows_sys::core::PCWSTR, arglist : *mut i8) -> u32); -pub type IEnumNetCfgBindingInterface = *mut ::core::ffi::c_void; -pub type IEnumNetCfgBindingPath = *mut ::core::ffi::c_void; -pub type IEnumNetCfgComponent = *mut ::core::ffi::c_void; -pub type INetCfg = *mut ::core::ffi::c_void; -pub type INetCfgBindingInterface = *mut ::core::ffi::c_void; -pub type INetCfgBindingPath = *mut ::core::ffi::c_void; -pub type INetCfgClass = *mut ::core::ffi::c_void; -pub type INetCfgClassSetup = *mut ::core::ffi::c_void; -pub type INetCfgClassSetup2 = *mut ::core::ffi::c_void; -pub type INetCfgComponent = *mut ::core::ffi::c_void; -pub type INetCfgComponentBindings = *mut ::core::ffi::c_void; -pub type INetCfgComponentControl = *mut ::core::ffi::c_void; -pub type INetCfgComponentNotifyBinding = *mut ::core::ffi::c_void; -pub type INetCfgComponentNotifyGlobal = *mut ::core::ffi::c_void; -pub type INetCfgComponentPropertyUi = *mut ::core::ffi::c_void; -pub type INetCfgComponentSetup = *mut ::core::ffi::c_void; -pub type INetCfgComponentSysPrep = *mut ::core::ffi::c_void; -pub type INetCfgComponentUpperEdge = *mut ::core::ffi::c_void; -pub type INetCfgLock = *mut ::core::ffi::c_void; -pub type INetCfgPnpReconfigCallback = *mut ::core::ffi::c_void; -pub type INetCfgSysPrep = *mut ::core::ffi::c_void; -pub type INetLanConnectionUiInfo = *mut ::core::ffi::c_void; -pub type INetRasConnectionIpUiInfo = *mut ::core::ffi::c_void; -pub type IProvisioningDomain = *mut ::core::ffi::c_void; -pub type IProvisioningProfileWireless = *mut ::core::ffi::c_void; pub const AA_AUDIT_ALL: u32 = 1u32; pub const AA_A_ACL: u32 = 32768u32; pub const AA_A_CREATE: u32 = 8192u32; @@ -3404,7 +3379,7 @@ impl ::core::clone::Clone for NET_VALIDATE_PERSISTED_FIELDS { #[repr(C)] pub struct OBO_TOKEN { pub Type: OBO_TOKEN_TYPE, - pub pncc: INetCfgComponent, + pub pncc: *mut ::core::ffi::c_void, pub pszwManufacturer: ::windows_sys::core::PCWSTR, pub pszwProduct: ::windows_sys::core::PCWSTR, pub pszwDisplayName: ::windows_sys::core::PCWSTR, diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs index 78cd174af9..ffe5c0492b 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs @@ -16,11 +16,6 @@ ::windows_targets::link!("ndfapi.dll" "system" fn NdfExecuteDiagnosis(handle : *const ::core::ffi::c_void, hwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ndfapi.dll" "system" fn NdfGetTraceFile(handle : *const ::core::ffi::c_void, tracefilelocation : *mut ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ndfapi.dll" "system" fn NdfRepairIncident(handle : *const ::core::ffi::c_void, repairex : *const RepairInfoEx, dwwait : u32) -> ::windows_sys::core::HRESULT); -pub type INetDiagExtensibleHelper = *mut ::core::ffi::c_void; -pub type INetDiagHelper = *mut ::core::ffi::c_void; -pub type INetDiagHelperEx = *mut ::core::ffi::c_void; -pub type INetDiagHelperInfo = *mut ::core::ffi::c_void; -pub type INetDiagHelperUtilFactory = *mut ::core::ffi::c_void; pub const AT_BOOLEAN: ATTRIBUTE_TYPE = 1i32; pub const AT_GUID: ATTRIBUTE_TYPE = 11i32; pub const AT_INT16: ATTRIBUTE_TYPE = 4i32; diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs index f737470743..c96e81730b 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs @@ -62,16 +62,6 @@ ::windows_targets::link!("wlanapi.dll" "system" fn WlanSetPsdIEDataList(hclienthandle : super::super::Foundation:: HANDLE, strformat : ::windows_sys::core::PCWSTR, ppsdiedatalist : *const WLAN_RAW_DATA_LIST, preserved : *const ::core::ffi::c_void) -> u32); ::windows_targets::link!("wlanapi.dll" "system" fn WlanSetSecuritySettings(hclienthandle : super::super::Foundation:: HANDLE, securableobject : WLAN_SECURABLE_OBJECT, strmodifiedsddl : ::windows_sys::core::PCWSTR) -> u32); ::windows_targets::link!("wlanui.dll" "system" fn WlanUIEditProfile(dwclientversion : u32, wstrprofilename : ::windows_sys::core::PCWSTR, pinterfaceguid : *const ::windows_sys::core::GUID, hwnd : super::super::Foundation:: HWND, wlstartpage : WL_DISPLAY_PAGES, preserved : *const ::core::ffi::c_void, pwlanreasoncode : *mut u32) -> u32); -pub type IDot11AdHocInterface = *mut ::core::ffi::c_void; -pub type IDot11AdHocInterfaceNotificationSink = *mut ::core::ffi::c_void; -pub type IDot11AdHocManager = *mut ::core::ffi::c_void; -pub type IDot11AdHocManagerNotificationSink = *mut ::core::ffi::c_void; -pub type IDot11AdHocNetwork = *mut ::core::ffi::c_void; -pub type IDot11AdHocNetworkNotificationSink = *mut ::core::ffi::c_void; -pub type IDot11AdHocSecuritySettings = *mut ::core::ffi::c_void; -pub type IEnumDot11AdHocInterfaces = *mut ::core::ffi::c_void; -pub type IEnumDot11AdHocNetworks = *mut ::core::ffi::c_void; -pub type IEnumDot11AdHocSecuritySettings = *mut ::core::ffi::c_void; #[doc = "Required features: `\"Win32_Devices_Properties\"`"] #[cfg(feature = "Win32_Devices_Properties")] pub const DEVPKEY_InfraCast_AccessPointBssid: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 19 }; diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs index c352e33442..f08409a55d 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs @@ -3,8 +3,7 @@ ::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" fn NetworkIsolationDiagnoseConnectFailureAndGetInfo(wszservername : ::windows_sys::core::PCWSTR, netisoerror : *mut NETISO_ERROR_TYPE) -> u32); #[cfg(feature = "Win32_Security")] ::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetworkIsolationEnumAppContainers(flags : u32, pdwnumpublicappcs : *mut u32, pppublicappcs : *mut *mut INET_FIREWALL_APP_CONTAINER) -> u32); -#[cfg(feature = "Win32_System_Ole")] -::windows_targets::link!("firewallapi.dll" "system" #[doc = "Required features: `\"Win32_System_Ole\"`"] fn NetworkIsolationEnumerateAppContainerRules(newenum : *mut super::super::System::Ole:: IEnumVARIANT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("firewallapi.dll" "system" fn NetworkIsolationEnumerateAppContainerRules(newenum : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Security")] ::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetworkIsolationFreeAppContainers(ppublicappcs : *const INET_FIREWALL_APP_CONTAINER) -> u32); #[cfg(feature = "Win32_Security")] @@ -17,50 +16,6 @@ ::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetworkIsolationSetAppContainerConfig(dwnumpublicappcs : u32, appcontainersids : *const super::super::Security:: SID_AND_ATTRIBUTES) -> u32); ::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" fn NetworkIsolationSetupAppContainerBinaries(applicationcontainersid : super::super::Foundation:: PSID, packagefullname : ::windows_sys::core::PCWSTR, packagefolder : ::windows_sys::core::PCWSTR, displayname : ::windows_sys::core::PCWSTR, bbinariesfullycomputed : super::super::Foundation:: BOOL, binaries : *const ::windows_sys::core::PCWSTR, binariescount : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" fn NetworkIsolationUnregisterForAppContainerChanges(registrationobject : super::super::Foundation:: HANDLE) -> u32); -pub type IDynamicPortMapping = *mut ::core::ffi::c_void; -pub type IDynamicPortMappingCollection = *mut ::core::ffi::c_void; -pub type IEnumNetConnection = *mut ::core::ffi::c_void; -pub type IEnumNetSharingEveryConnection = *mut ::core::ffi::c_void; -pub type IEnumNetSharingPortMapping = *mut ::core::ffi::c_void; -pub type IEnumNetSharingPrivateConnection = *mut ::core::ffi::c_void; -pub type IEnumNetSharingPublicConnection = *mut ::core::ffi::c_void; -pub type INATEventManager = *mut ::core::ffi::c_void; -pub type INATExternalIPAddressCallback = *mut ::core::ffi::c_void; -pub type INATNumberOfEntriesCallback = *mut ::core::ffi::c_void; -pub type INetConnection = *mut ::core::ffi::c_void; -pub type INetConnectionConnectUi = *mut ::core::ffi::c_void; -pub type INetConnectionManager = *mut ::core::ffi::c_void; -pub type INetConnectionProps = *mut ::core::ffi::c_void; -pub type INetFwAuthorizedApplication = *mut ::core::ffi::c_void; -pub type INetFwAuthorizedApplications = *mut ::core::ffi::c_void; -pub type INetFwIcmpSettings = *mut ::core::ffi::c_void; -pub type INetFwMgr = *mut ::core::ffi::c_void; -pub type INetFwOpenPort = *mut ::core::ffi::c_void; -pub type INetFwOpenPorts = *mut ::core::ffi::c_void; -pub type INetFwPolicy = *mut ::core::ffi::c_void; -pub type INetFwPolicy2 = *mut ::core::ffi::c_void; -pub type INetFwProduct = *mut ::core::ffi::c_void; -pub type INetFwProducts = *mut ::core::ffi::c_void; -pub type INetFwProfile = *mut ::core::ffi::c_void; -pub type INetFwRemoteAdminSettings = *mut ::core::ffi::c_void; -pub type INetFwRule = *mut ::core::ffi::c_void; -pub type INetFwRule2 = *mut ::core::ffi::c_void; -pub type INetFwRule3 = *mut ::core::ffi::c_void; -pub type INetFwRules = *mut ::core::ffi::c_void; -pub type INetFwService = *mut ::core::ffi::c_void; -pub type INetFwServiceRestriction = *mut ::core::ffi::c_void; -pub type INetFwServices = *mut ::core::ffi::c_void; -pub type INetSharingConfiguration = *mut ::core::ffi::c_void; -pub type INetSharingEveryConnectionCollection = *mut ::core::ffi::c_void; -pub type INetSharingManager = *mut ::core::ffi::c_void; -pub type INetSharingPortMapping = *mut ::core::ffi::c_void; -pub type INetSharingPortMappingCollection = *mut ::core::ffi::c_void; -pub type INetSharingPortMappingProps = *mut ::core::ffi::c_void; -pub type INetSharingPrivateConnectionCollection = *mut ::core::ffi::c_void; -pub type INetSharingPublicConnectionCollection = *mut ::core::ffi::c_void; -pub type IStaticPortMapping = *mut ::core::ffi::c_void; -pub type IStaticPortMappingCollection = *mut ::core::ffi::c_void; -pub type IUPnPNAT = *mut ::core::ffi::c_void; pub const FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS_ALL: FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = 3i32; pub const FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS_AUTO_RESOLVE: FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = 1i32; pub const FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS_NON_AUTO_RESOLVE: FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = 2i32; diff --git a/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs index 2251e6e8b2..7b2b7f4063 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs @@ -1,21 +1,18 @@ -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn ADsBuildEnumerator(padscontainer : IADsContainer, ppenumvariant : *mut super::super::System::Ole:: IEnumVARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn ADsBuildVarArrayInt(lpdwobjecttypes : *mut u32, dwobjecttypes : u32, pvar : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn ADsBuildVarArrayStr(lpppathnames : *const ::windows_sys::core::PCWSTR, dwpathnames : u32, pvar : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("activeds.dll" "system" fn ADsBuildEnumerator(padscontainer : * mut::core::ffi::c_void, ppenumvariant : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn ADsBuildVarArrayInt(lpdwobjecttypes : *mut u32, dwobjecttypes : u32, pvar : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn ADsBuildVarArrayStr(lpppathnames : *const ::windows_sys::core::PCWSTR, dwpathnames : u32, pvar : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("activeds.dll" "system" fn ADsDecodeBinaryData(szsrcdata : ::windows_sys::core::PCWSTR, ppbdestdata : *mut *mut u8, pdwdestlen : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("activeds.dll" "system" fn ADsEncodeBinaryData(pbsrcdata : *mut u8, dwsrclen : u32, ppszdestdata : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn ADsEnumerateNext(penumvariant : super::super::System::Ole:: IEnumVARIANT, celements : u32, pvar : *mut super::super::System::Variant:: VARIANT, pcelementsfetched : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Ole")] -::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_System_Ole\"`"] fn ADsFreeEnumerator(penumvariant : super::super::System::Ole:: IEnumVARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn ADsEnumerateNext(penumvariant : * mut::core::ffi::c_void, celements : u32, pvar : *mut super::super::System::Variant:: VARIANT, pcelementsfetched : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("activeds.dll" "system" fn ADsFreeEnumerator(penumvariant : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("activeds.dll" "system" fn ADsGetLastError(lperror : *mut u32, lperrorbuf : ::windows_sys::core::PWSTR, dwerrorbuflen : u32, lpnamebuf : ::windows_sys::core::PWSTR, dwnamebuflen : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("activeds.dll" "system" fn ADsGetObject(lpszpathname : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, ppobject : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("activeds.dll" "system" fn ADsOpenObject(lpszpathname : ::windows_sys::core::PCWSTR, lpszusername : ::windows_sys::core::PCWSTR, lpszpassword : ::windows_sys::core::PCWSTR, dwreserved : ADS_AUTHENTICATION_ENUM, riid : *const ::windows_sys::core::GUID, ppobject : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("dsprop.dll" "system" fn ADsPropCheckIfWritable(pwzattr : ::windows_sys::core::PCWSTR, pwritableattrs : *const ADS_ATTR_INFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("dsprop.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn ADsPropCreateNotifyObj(pappthddataobj : super::super::System::Com:: IDataObject, pwzadsobjname : ::windows_sys::core::PCWSTR, phnotifyobj : *mut super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("dsprop.dll" "system" fn ADsPropCreateNotifyObj(pappthddataobj : * mut::core::ffi::c_void, pwzadsobjname : ::windows_sys::core::PCWSTR, phnotifyobj : *mut super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("dsprop.dll" "system" fn ADsPropGetInitInfo(hnotifyobj : super::super::Foundation:: HWND, pinitparams : *mut ADSPROPINITPARAMS) -> super::super::Foundation:: BOOL); ::windows_targets::link!("dsprop.dll" "system" fn ADsPropSendErrorMessage(hnotifyobj : super::super::Foundation:: HWND, perror : *mut ADSPROPERROR) -> super::super::Foundation:: BOOL); ::windows_targets::link!("dsprop.dll" "system" fn ADsPropSetHwnd(hnotifyobj : super::super::Foundation:: HWND, hpage : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL); @@ -23,12 +20,12 @@ ::windows_targets::link!("dsprop.dll" "system" fn ADsPropShowErrorDialog(hnotifyobj : super::super::Foundation:: HWND, hpage : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL); ::windows_targets::link!("activeds.dll" "system" fn ADsSetLastError(dwerr : u32, pszerror : ::windows_sys::core::PCWSTR, pszprovider : ::windows_sys::core::PCWSTR)); ::windows_targets::link!("activeds.dll" "system" fn AdsFreeAdsValues(padsvalues : *mut ADSVALUE, dwnumvalues : u32)); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn AdsTypeToPropVariant(padsvalues : *mut ADSVALUE, dwnumvalues : u32, pvariant : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn AdsTypeToPropVariant(padsvalues : *mut ADSVALUE, dwnumvalues : u32, pvariant : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("activeds.dll" "system" fn AllocADsMem(cb : u32) -> *mut ::core::ffi::c_void); ::windows_targets::link!("activeds.dll" "system" fn AllocADsStr(pstr : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR); -#[cfg(all(feature = "Win32_Security", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_Security\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn BinarySDToSecurityDescriptor(psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, pvarsec : *mut super::super::System::Variant:: VARIANT, pszservername : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, password : ::windows_sys::core::PCWSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Security", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_Security\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn BinarySDToSecurityDescriptor(psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, pvarsec : *mut super::super::System::Variant:: VARIANT, pszservername : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, password : ::windows_sys::core::PCWSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ntdsapi.dll" "system" fn DsAddSidHistoryA(hds : super::super::Foundation:: HANDLE, flags : u32, srcdomain : ::windows_sys::core::PCSTR, srcprincipal : ::windows_sys::core::PCSTR, srcdomaincontroller : ::windows_sys::core::PCSTR, srcdomaincreds : *const ::core::ffi::c_void, dstdomain : ::windows_sys::core::PCSTR, dstprincipal : ::windows_sys::core::PCSTR) -> u32); ::windows_targets::link!("ntdsapi.dll" "system" fn DsAddSidHistoryW(hds : super::super::Foundation:: HANDLE, flags : u32, srcdomain : ::windows_sys::core::PCWSTR, srcprincipal : ::windows_sys::core::PCWSTR, srcdomaincontroller : ::windows_sys::core::PCWSTR, srcdomaincreds : *const ::core::ffi::c_void, dstdomain : ::windows_sys::core::PCWSTR, dstprincipal : ::windows_sys::core::PCWSTR) -> u32); #[cfg(feature = "Win32_Networking_WinSock")] @@ -171,90 +168,12 @@ ::windows_targets::link!("ntdsapi.dll" "system" fn DsWriteAccountSpnW(hds : super::super::Foundation:: HANDLE, operation : DS_SPN_WRITE_OP, pszaccount : ::windows_sys::core::PCWSTR, cspn : u32, rpszspn : *const ::windows_sys::core::PCWSTR) -> u32); ::windows_targets::link!("activeds.dll" "system" fn FreeADsMem(pmem : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); ::windows_targets::link!("activeds.dll" "system" fn FreeADsStr(pstr : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn PropVariantToAdsType(pvariant : *mut super::super::System::Variant:: VARIANT, dwnumvariant : u32, ppadsvalues : *mut *mut ADSVALUE, pdwnumvalues : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn PropVariantToAdsType(pvariant : *mut super::super::System::Variant:: VARIANT, dwnumvariant : u32, ppadsvalues : *mut *mut ADSVALUE, pdwnumvalues : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("activeds.dll" "system" fn ReallocADsMem(poldmem : *mut ::core::ffi::c_void, cbold : u32, cbnew : u32) -> *mut ::core::ffi::c_void); ::windows_targets::link!("activeds.dll" "system" fn ReallocADsStr(ppstr : *mut ::windows_sys::core::PWSTR, pstr : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_Security", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_Security\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn SecurityDescriptorToBinarySD(vvarsecdes : super::super::System::Variant:: VARIANT, ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR, pdwsdlength : *mut u32, pszservername : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, password : ::windows_sys::core::PCWSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); -pub type IADs = *mut ::core::ffi::c_void; -pub type IADsADSystemInfo = *mut ::core::ffi::c_void; -pub type IADsAccessControlEntry = *mut ::core::ffi::c_void; -pub type IADsAccessControlList = *mut ::core::ffi::c_void; -pub type IADsAcl = *mut ::core::ffi::c_void; -pub type IADsAggregatee = *mut ::core::ffi::c_void; -pub type IADsAggregator = *mut ::core::ffi::c_void; -pub type IADsBackLink = *mut ::core::ffi::c_void; -pub type IADsCaseIgnoreList = *mut ::core::ffi::c_void; -pub type IADsClass = *mut ::core::ffi::c_void; -pub type IADsCollection = *mut ::core::ffi::c_void; -pub type IADsComputer = *mut ::core::ffi::c_void; -pub type IADsComputerOperations = *mut ::core::ffi::c_void; -pub type IADsContainer = *mut ::core::ffi::c_void; -pub type IADsDNWithBinary = *mut ::core::ffi::c_void; -pub type IADsDNWithString = *mut ::core::ffi::c_void; -pub type IADsDeleteOps = *mut ::core::ffi::c_void; -pub type IADsDomain = *mut ::core::ffi::c_void; -pub type IADsEmail = *mut ::core::ffi::c_void; -pub type IADsExtension = *mut ::core::ffi::c_void; -pub type IADsFaxNumber = *mut ::core::ffi::c_void; -pub type IADsFileService = *mut ::core::ffi::c_void; -pub type IADsFileServiceOperations = *mut ::core::ffi::c_void; -pub type IADsFileShare = *mut ::core::ffi::c_void; -pub type IADsGroup = *mut ::core::ffi::c_void; -pub type IADsHold = *mut ::core::ffi::c_void; -pub type IADsLargeInteger = *mut ::core::ffi::c_void; -pub type IADsLocality = *mut ::core::ffi::c_void; -pub type IADsMembers = *mut ::core::ffi::c_void; -pub type IADsNameTranslate = *mut ::core::ffi::c_void; -pub type IADsNamespaces = *mut ::core::ffi::c_void; -pub type IADsNetAddress = *mut ::core::ffi::c_void; -pub type IADsO = *mut ::core::ffi::c_void; -pub type IADsOU = *mut ::core::ffi::c_void; -pub type IADsObjectOptions = *mut ::core::ffi::c_void; -pub type IADsOctetList = *mut ::core::ffi::c_void; -pub type IADsOpenDSObject = *mut ::core::ffi::c_void; -pub type IADsPath = *mut ::core::ffi::c_void; -pub type IADsPathname = *mut ::core::ffi::c_void; -pub type IADsPostalAddress = *mut ::core::ffi::c_void; -pub type IADsPrintJob = *mut ::core::ffi::c_void; -pub type IADsPrintJobOperations = *mut ::core::ffi::c_void; -pub type IADsPrintQueue = *mut ::core::ffi::c_void; -pub type IADsPrintQueueOperations = *mut ::core::ffi::c_void; -pub type IADsProperty = *mut ::core::ffi::c_void; -pub type IADsPropertyEntry = *mut ::core::ffi::c_void; -pub type IADsPropertyList = *mut ::core::ffi::c_void; -pub type IADsPropertyValue = *mut ::core::ffi::c_void; -pub type IADsPropertyValue2 = *mut ::core::ffi::c_void; -pub type IADsReplicaPointer = *mut ::core::ffi::c_void; -pub type IADsResource = *mut ::core::ffi::c_void; -pub type IADsSecurityDescriptor = *mut ::core::ffi::c_void; -pub type IADsSecurityUtility = *mut ::core::ffi::c_void; -pub type IADsService = *mut ::core::ffi::c_void; -pub type IADsServiceOperations = *mut ::core::ffi::c_void; -pub type IADsSession = *mut ::core::ffi::c_void; -pub type IADsSyntax = *mut ::core::ffi::c_void; -pub type IADsTimestamp = *mut ::core::ffi::c_void; -pub type IADsTypedName = *mut ::core::ffi::c_void; -pub type IADsUser = *mut ::core::ffi::c_void; -pub type IADsWinNTSystemInfo = *mut ::core::ffi::c_void; -pub type ICommonQuery = *mut ::core::ffi::c_void; -pub type IDirectoryObject = *mut ::core::ffi::c_void; -pub type IDirectorySchemaMgmt = *mut ::core::ffi::c_void; -pub type IDirectorySearch = *mut ::core::ffi::c_void; -pub type IDsAdminCreateObj = *mut ::core::ffi::c_void; -pub type IDsAdminNewObj = *mut ::core::ffi::c_void; -pub type IDsAdminNewObjExt = *mut ::core::ffi::c_void; -pub type IDsAdminNewObjPrimarySite = *mut ::core::ffi::c_void; -pub type IDsAdminNotifyHandler = *mut ::core::ffi::c_void; -pub type IDsBrowseDomainTree = *mut ::core::ffi::c_void; -pub type IDsDisplaySpecifier = *mut ::core::ffi::c_void; -pub type IDsObjectPicker = *mut ::core::ffi::c_void; -pub type IDsObjectPickerCredentials = *mut ::core::ffi::c_void; -pub type IPersistQuery = *mut ::core::ffi::c_void; -pub type IPrivateDispatch = *mut ::core::ffi::c_void; -pub type IPrivateUnknown = *mut ::core::ffi::c_void; -pub type IQueryForm = *mut ::core::ffi::c_void; +#[cfg(all(feature = "Win32_Security", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("activeds.dll" "system" #[doc = "Required features: `\"Win32_Security\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn SecurityDescriptorToBinarySD(vvarsecdes : super::super::System::Variant:: VARIANT, ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR, pdwsdlength : *mut u32, pszservername : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, password : ::windows_sys::core::PCWSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); pub const ACTRL_DS_CONTROL_ACCESS: u32 = 256u32; pub const ACTRL_DS_CREATE_CHILD: u32 = 1u32; pub const ACTRL_DS_DELETE_CHILD: u32 = 2u32; @@ -1365,7 +1284,7 @@ pub struct ADSPROPINITPARAMS { pub dwSize: u32, pub dwFlags: u32, pub hr: ::windows_sys::core::HRESULT, - pub pDsObj: IDirectoryObject, + pub pDsObj: *mut ::core::ffi::c_void, pub pwzCN: ::windows_sys::core::PWSTR, pub pWritableAttrs: *mut ADS_ATTR_INFO, } @@ -2941,8 +2860,8 @@ impl ::core::clone::Clone for DS_SCHEMA_GUID_MAPW { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DS_SELECTION { pub pwzName: ::windows_sys::core::PWSTR, pub pwzADsPath: ::windows_sys::core::PWSTR, @@ -2951,25 +2870,25 @@ pub struct DS_SELECTION { pub pvarFetchedAttributes: *mut super::super::System::Variant::VARIANT, pub flScopeType: u32, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DS_SELECTION {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DS_SELECTION { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DS_SELECTION_LIST { pub cItems: u32, pub cFetchedAttributes: u32, pub aDsSelection: [DS_SELECTION; 1], } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DS_SELECTION_LIST {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DS_SELECTION_LIST { fn clone(&self) -> Self { *self @@ -2987,35 +2906,27 @@ impl ::core::clone::Clone for DS_SITE_COST_INFO { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] -#[cfg(feature = "Win32_System_Com_StructuredStorage")] pub struct OPENQUERYWINDOW { pub cbStruct: u32, pub dwFlags: u32, pub clsidHandler: ::windows_sys::core::GUID, pub pHandlerParameters: *mut ::core::ffi::c_void, pub clsidDefaultForm: ::windows_sys::core::GUID, - pub pPersistQuery: IPersistQuery, + pub pPersistQuery: *mut ::core::ffi::c_void, pub Anonymous: OPENQUERYWINDOW_0, } -#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::marker::Copy for OPENQUERYWINDOW {} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::clone::Clone for OPENQUERYWINDOW { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] -#[cfg(feature = "Win32_System_Com_StructuredStorage")] pub union OPENQUERYWINDOW_0 { pub pFormParameters: *mut ::core::ffi::c_void, - pub ppbFormParameters: super::super::System::Com::StructuredStorage::IPropertyBag, + pub ppbFormParameters: *mut ::core::ffi::c_void, } -#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::marker::Copy for OPENQUERYWINDOW_0 {} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::clone::Clone for OPENQUERYWINDOW_0 { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/Networking/Clustering/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/Clustering/mod.rs index 3f6e261d09..a7acf8864e 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/Clustering/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/Clustering/mod.rs @@ -461,63 +461,6 @@ ::windows_targets::link!("clusapi.dll" "system" fn SetClusterServiceAccountPassword(lpszclustername : ::windows_sys::core::PCWSTR, lpsznewpassword : ::windows_sys::core::PCWSTR, dwflags : u32, lpreturnstatusbuffer : *mut CLUSTER_SET_PASSWORD_STATUS, lpcbreturnstatusbuffersize : *mut u32) -> u32); ::windows_targets::link!("clusapi.dll" "system" fn SetGroupDependencyExpression(hgroup : HGROUP, lpszdependencyexpression : ::windows_sys::core::PCWSTR) -> u32); ::windows_targets::link!("clusapi.dll" "system" fn SetGroupDependencyExpressionEx(hgroup : HGROUP, lpszdependencyexpression : ::windows_sys::core::PCWSTR, lpszreason : ::windows_sys::core::PCWSTR) -> u32); -pub type IGetClusterDataInfo = *mut ::core::ffi::c_void; -pub type IGetClusterGroupInfo = *mut ::core::ffi::c_void; -pub type IGetClusterNetInterfaceInfo = *mut ::core::ffi::c_void; -pub type IGetClusterNetworkInfo = *mut ::core::ffi::c_void; -pub type IGetClusterNodeInfo = *mut ::core::ffi::c_void; -pub type IGetClusterObjectInfo = *mut ::core::ffi::c_void; -pub type IGetClusterResourceInfo = *mut ::core::ffi::c_void; -pub type IGetClusterUIInfo = *mut ::core::ffi::c_void; -pub type ISClusApplication = *mut ::core::ffi::c_void; -pub type ISClusCryptoKeys = *mut ::core::ffi::c_void; -pub type ISClusDisk = *mut ::core::ffi::c_void; -pub type ISClusDisks = *mut ::core::ffi::c_void; -pub type ISClusNetInterface = *mut ::core::ffi::c_void; -pub type ISClusNetInterfaces = *mut ::core::ffi::c_void; -pub type ISClusNetwork = *mut ::core::ffi::c_void; -pub type ISClusNetworkNetInterfaces = *mut ::core::ffi::c_void; -pub type ISClusNetworks = *mut ::core::ffi::c_void; -pub type ISClusNode = *mut ::core::ffi::c_void; -pub type ISClusNodeNetInterfaces = *mut ::core::ffi::c_void; -pub type ISClusNodes = *mut ::core::ffi::c_void; -pub type ISClusPartition = *mut ::core::ffi::c_void; -pub type ISClusPartitionEx = *mut ::core::ffi::c_void; -pub type ISClusPartitions = *mut ::core::ffi::c_void; -pub type ISClusProperties = *mut ::core::ffi::c_void; -pub type ISClusProperty = *mut ::core::ffi::c_void; -pub type ISClusPropertyValue = *mut ::core::ffi::c_void; -pub type ISClusPropertyValueData = *mut ::core::ffi::c_void; -pub type ISClusPropertyValues = *mut ::core::ffi::c_void; -pub type ISClusRefObject = *mut ::core::ffi::c_void; -pub type ISClusRegistryKeys = *mut ::core::ffi::c_void; -pub type ISClusResDependencies = *mut ::core::ffi::c_void; -pub type ISClusResDependents = *mut ::core::ffi::c_void; -pub type ISClusResGroup = *mut ::core::ffi::c_void; -pub type ISClusResGroupPreferredOwnerNodes = *mut ::core::ffi::c_void; -pub type ISClusResGroupResources = *mut ::core::ffi::c_void; -pub type ISClusResGroups = *mut ::core::ffi::c_void; -pub type ISClusResPossibleOwnerNodes = *mut ::core::ffi::c_void; -pub type ISClusResType = *mut ::core::ffi::c_void; -pub type ISClusResTypePossibleOwnerNodes = *mut ::core::ffi::c_void; -pub type ISClusResTypeResources = *mut ::core::ffi::c_void; -pub type ISClusResTypes = *mut ::core::ffi::c_void; -pub type ISClusResource = *mut ::core::ffi::c_void; -pub type ISClusResources = *mut ::core::ffi::c_void; -pub type ISClusScsiAddress = *mut ::core::ffi::c_void; -pub type ISClusVersion = *mut ::core::ffi::c_void; -pub type ISCluster = *mut ::core::ffi::c_void; -pub type ISClusterNames = *mut ::core::ffi::c_void; -pub type ISDomainNames = *mut ::core::ffi::c_void; -pub type IWCContextMenuCallback = *mut ::core::ffi::c_void; -pub type IWCPropertySheetCallback = *mut ::core::ffi::c_void; -pub type IWCWizard97Callback = *mut ::core::ffi::c_void; -pub type IWCWizardCallback = *mut ::core::ffi::c_void; -pub type IWEExtendContextMenu = *mut ::core::ffi::c_void; -pub type IWEExtendPropertySheet = *mut ::core::ffi::c_void; -pub type IWEExtendWizard = *mut ::core::ffi::c_void; -pub type IWEExtendWizard97 = *mut ::core::ffi::c_void; -pub type IWEInvokeCommand = *mut ::core::ffi::c_void; pub const BitLockerDecrypted: i32 = 4i32; pub const BitLockerDecrypting: i32 = 16i32; pub const BitLockerEnabled: i32 = 1i32; diff --git a/crates/libs/sys/src/Windows/Win32/Networking/WinHttp/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/WinHttp/mod.rs index 2b4407a5b9..1a5523fe30 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/WinHttp/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/WinHttp/mod.rs @@ -54,8 +54,6 @@ ::windows_targets::link!("winhttp.dll" "system" fn WinHttpWebSocketShutdown(hwebsocket : *const ::core::ffi::c_void, usstatus : u16, pvreason : *const ::core::ffi::c_void, dwreasonlength : u32) -> u32); ::windows_targets::link!("winhttp.dll" "system" fn WinHttpWriteData(hrequest : *mut ::core::ffi::c_void, lpbuffer : *const ::core::ffi::c_void, dwnumberofbytestowrite : u32, lpdwnumberofbyteswritten : *mut u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("winhttp.dll" "system" fn WinHttpWriteProxySettings(hsession : *const ::core::ffi::c_void, fforceupdate : super::super::Foundation:: BOOL, pwinhttpproxysettings : *const WINHTTP_PROXY_SETTINGS) -> u32); -pub type IWinHttpRequest = *mut ::core::ffi::c_void; -pub type IWinHttpRequestEvents = *mut ::core::ffi::c_void; pub const API_GET_PROXY_FOR_URL: u32 = 6u32; pub const API_GET_PROXY_SETTINGS: u32 = 7u32; pub const API_QUERY_DATA_AVAILABLE: u32 = 2u32; diff --git a/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs index 47e1794d6f..554a845b77 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs @@ -304,11 +304,6 @@ ::windows_targets::link!("wininet.dll" "system" fn UrlCacheServer() -> u32); ::windows_targets::link!("wininet.dll" "system" fn UrlCacheSetGlobalLimit(limittype : URL_CACHE_LIMIT_TYPE, ulllimit : u64) -> u32); ::windows_targets::link!("wininet.dll" "system" fn UrlCacheUpdateEntryExtraData(happcache : *const ::core::ffi::c_void, pcwszurl : ::windows_sys::core::PCWSTR, pbextradata : *const u8, cbextradata : u32) -> u32); -pub type IDialBranding = *mut ::core::ffi::c_void; -pub type IDialEngine = *mut ::core::ffi::c_void; -pub type IDialEventSink = *mut ::core::ffi::c_void; -pub type IProofOfPossessionCookieInfoManager = *mut ::core::ffi::c_void; -pub type IProofOfPossessionCookieInfoManager2 = *mut ::core::ffi::c_void; pub const ANY_CACHE_ENTRY: u32 = 4294967295u32; pub const APP_CACHE_ENTRY_TYPE_EXPLICIT: u32 = 2u32; pub const APP_CACHE_ENTRY_TYPE_FALLBACK: u32 = 4u32; diff --git a/crates/libs/sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs index b19ffad25b..4779abf8b0 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs @@ -204,7 +204,6 @@ ::windows_targets::link!("webservices.dll" "system" fn WsWriteXmlBufferToBytes(writer : *const WS_XML_WRITER, xmlbuffer : *const WS_XML_BUFFER, encoding : *const WS_XML_WRITER_ENCODING, properties : *const WS_XML_WRITER_PROPERTY, propertycount : u32, heap : *const WS_HEAP, bytes : *mut *mut ::core::ffi::c_void, bytecount : *mut u32, error : *const WS_ERROR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("webservices.dll" "system" fn WsWriteXmlnsAttribute(writer : *const WS_XML_WRITER, prefix : *const WS_XML_STRING, ns : *const WS_XML_STRING, singlequote : super::super::Foundation:: BOOL, error : *const WS_ERROR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("webservices.dll" "system" fn WsXmlStringEquals(string1 : *const WS_XML_STRING, string2 : *const WS_XML_STRING, error : *const WS_ERROR) -> ::windows_sys::core::HRESULT); -pub type IContentPrefetcherTaskTrigger = *mut ::core::ffi::c_void; pub const CTAPCBOR_HYBRID_STORAGE_LINKED_DATA_CURRENT_VERSION: u32 = 1u32; pub const CTAPCBOR_HYBRID_STORAGE_LINKED_DATA_VERSION_1: u32 = 1u32; pub const WEBAUTHN_API_CURRENT_VERSION: u32 = 7u32; diff --git a/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs index 7a1d870138..e77628aeda 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs @@ -259,7 +259,6 @@ ::windows_targets::link!("secur32.dll" "system" fn TranslateNameW(lpaccountname : ::windows_sys::core::PCWSTR, accountnameformat : EXTENDED_NAME_FORMAT, desirednameformat : EXTENDED_NAME_FORMAT, lptranslatedname : ::windows_sys::core::PWSTR, nsize : *mut u32) -> super::super::super::Foundation:: BOOLEAN); #[cfg(feature = "Win32_Security_Credentials")] ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn VerifySignature(phcontext : *const super::super::Credentials:: SecHandle, pmessage : *const SecBufferDesc, messageseqno : u32, pfqop : *mut u32) -> ::windows_sys::core::HRESULT); -pub type ICcgDomainAuthCredentials = *mut ::core::ffi::c_void; pub const ACCOUNT_ADJUST_PRIVILEGES: i32 = 2i32; pub const ACCOUNT_ADJUST_QUOTAS: i32 = 4i32; pub const ACCOUNT_ADJUST_SYSTEM_ACCESS: i32 = 8i32; diff --git a/crates/libs/sys/src/Windows/Win32/Security/Authorization/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Authorization/mod.rs index cc95d21e29..c7b4ebe56c 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Authorization/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Authorization/mod.rs @@ -89,40 +89,6 @@ ::windows_targets::link!("advapi32.dll" "system" fn TreeResetNamedSecurityInfoW(pobjectname : ::windows_sys::core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, keepexplicit : super::super::Foundation:: BOOL, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); ::windows_targets::link!("advapi32.dll" "system" fn TreeSetNamedSecurityInfoA(pobjectname : ::windows_sys::core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, dwaction : TREE_SEC_INFO, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); ::windows_targets::link!("advapi32.dll" "system" fn TreeSetNamedSecurityInfoW(pobjectname : ::windows_sys::core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, dwaction : TREE_SEC_INFO, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); -pub type IAzApplication = *mut ::core::ffi::c_void; -pub type IAzApplication2 = *mut ::core::ffi::c_void; -pub type IAzApplication3 = *mut ::core::ffi::c_void; -pub type IAzApplicationGroup = *mut ::core::ffi::c_void; -pub type IAzApplicationGroup2 = *mut ::core::ffi::c_void; -pub type IAzApplicationGroups = *mut ::core::ffi::c_void; -pub type IAzApplications = *mut ::core::ffi::c_void; -pub type IAzAuthorizationStore = *mut ::core::ffi::c_void; -pub type IAzAuthorizationStore2 = *mut ::core::ffi::c_void; -pub type IAzAuthorizationStore3 = *mut ::core::ffi::c_void; -pub type IAzBizRuleContext = *mut ::core::ffi::c_void; -pub type IAzBizRuleInterfaces = *mut ::core::ffi::c_void; -pub type IAzBizRuleParameters = *mut ::core::ffi::c_void; -pub type IAzClientContext = *mut ::core::ffi::c_void; -pub type IAzClientContext2 = *mut ::core::ffi::c_void; -pub type IAzClientContext3 = *mut ::core::ffi::c_void; -pub type IAzNameResolver = *mut ::core::ffi::c_void; -pub type IAzObjectPicker = *mut ::core::ffi::c_void; -pub type IAzOperation = *mut ::core::ffi::c_void; -pub type IAzOperation2 = *mut ::core::ffi::c_void; -pub type IAzOperations = *mut ::core::ffi::c_void; -pub type IAzPrincipalLocator = *mut ::core::ffi::c_void; -pub type IAzRole = *mut ::core::ffi::c_void; -pub type IAzRoleAssignment = *mut ::core::ffi::c_void; -pub type IAzRoleAssignments = *mut ::core::ffi::c_void; -pub type IAzRoleDefinition = *mut ::core::ffi::c_void; -pub type IAzRoleDefinitions = *mut ::core::ffi::c_void; -pub type IAzRoles = *mut ::core::ffi::c_void; -pub type IAzScope = *mut ::core::ffi::c_void; -pub type IAzScope2 = *mut ::core::ffi::c_void; -pub type IAzScopes = *mut ::core::ffi::c_void; -pub type IAzTask = *mut ::core::ffi::c_void; -pub type IAzTask2 = *mut ::core::ffi::c_void; -pub type IAzTasks = *mut ::core::ffi::c_void; pub const ACCCTRL_DEFAULT_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Windows NT Access Provider"); pub const ACCCTRL_DEFAULT_PROVIDERA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Windows NT Access Provider"); pub const ACCCTRL_DEFAULT_PROVIDERW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Windows NT Access Provider"); diff --git a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs index bdda4d04e6..25adf2b4fc 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs @@ -28,153 +28,6 @@ #[cfg(feature = "Win32_Security_Authentication_Identity")] ::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Security_Authentication_Identity\"`"] fn PstMapCertificate(pcert : *const super:: CERT_CONTEXT, ptokeninformationtype : *mut super::super::Authentication::Identity:: LSA_TOKEN_INFORMATION_TYPE, pptokeninformation : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); ::windows_targets::link!("certpoleng.dll" "system" fn PstValidate(ptargetname : *const super::super::super::Foundation:: UNICODE_STRING, bisclient : super::super::super::Foundation:: BOOL, prequestedissuancepolicy : *const super:: CERT_USAGE_MATCH, phadditionalcertstore : *const super:: HCERTSTORE, pcert : *const super:: CERT_CONTEXT, pprovguid : *mut ::windows_sys::core::GUID) -> super::super::super::Foundation:: NTSTATUS); -pub type IAlternativeName = *mut ::core::ffi::c_void; -pub type IAlternativeNames = *mut ::core::ffi::c_void; -pub type IBinaryConverter = *mut ::core::ffi::c_void; -pub type IBinaryConverter2 = *mut ::core::ffi::c_void; -pub type ICEnroll = *mut ::core::ffi::c_void; -pub type ICEnroll2 = *mut ::core::ffi::c_void; -pub type ICEnroll3 = *mut ::core::ffi::c_void; -pub type ICEnroll4 = *mut ::core::ffi::c_void; -pub type ICertAdmin = *mut ::core::ffi::c_void; -pub type ICertAdmin2 = *mut ::core::ffi::c_void; -pub type ICertConfig = *mut ::core::ffi::c_void; -pub type ICertConfig2 = *mut ::core::ffi::c_void; -pub type ICertEncodeAltName = *mut ::core::ffi::c_void; -pub type ICertEncodeAltName2 = *mut ::core::ffi::c_void; -pub type ICertEncodeBitString = *mut ::core::ffi::c_void; -pub type ICertEncodeBitString2 = *mut ::core::ffi::c_void; -pub type ICertEncodeCRLDistInfo = *mut ::core::ffi::c_void; -pub type ICertEncodeCRLDistInfo2 = *mut ::core::ffi::c_void; -pub type ICertEncodeDateArray = *mut ::core::ffi::c_void; -pub type ICertEncodeDateArray2 = *mut ::core::ffi::c_void; -pub type ICertEncodeLongArray = *mut ::core::ffi::c_void; -pub type ICertEncodeLongArray2 = *mut ::core::ffi::c_void; -pub type ICertEncodeStringArray = *mut ::core::ffi::c_void; -pub type ICertEncodeStringArray2 = *mut ::core::ffi::c_void; -pub type ICertExit = *mut ::core::ffi::c_void; -pub type ICertExit2 = *mut ::core::ffi::c_void; -pub type ICertGetConfig = *mut ::core::ffi::c_void; -pub type ICertManageModule = *mut ::core::ffi::c_void; -pub type ICertPolicy = *mut ::core::ffi::c_void; -pub type ICertPolicy2 = *mut ::core::ffi::c_void; -pub type ICertProperties = *mut ::core::ffi::c_void; -pub type ICertProperty = *mut ::core::ffi::c_void; -pub type ICertPropertyArchived = *mut ::core::ffi::c_void; -pub type ICertPropertyArchivedKeyHash = *mut ::core::ffi::c_void; -pub type ICertPropertyAutoEnroll = *mut ::core::ffi::c_void; -pub type ICertPropertyBackedUp = *mut ::core::ffi::c_void; -pub type ICertPropertyDescription = *mut ::core::ffi::c_void; -pub type ICertPropertyEnrollment = *mut ::core::ffi::c_void; -pub type ICertPropertyEnrollmentPolicyServer = *mut ::core::ffi::c_void; -pub type ICertPropertyFriendlyName = *mut ::core::ffi::c_void; -pub type ICertPropertyKeyProvInfo = *mut ::core::ffi::c_void; -pub type ICertPropertyRenewal = *mut ::core::ffi::c_void; -pub type ICertPropertyRequestOriginator = *mut ::core::ffi::c_void; -pub type ICertPropertySHA1Hash = *mut ::core::ffi::c_void; -pub type ICertRequest = *mut ::core::ffi::c_void; -pub type ICertRequest2 = *mut ::core::ffi::c_void; -pub type ICertRequest3 = *mut ::core::ffi::c_void; -pub type ICertRequestD = *mut ::core::ffi::c_void; -pub type ICertRequestD2 = *mut ::core::ffi::c_void; -pub type ICertServerExit = *mut ::core::ffi::c_void; -pub type ICertServerPolicy = *mut ::core::ffi::c_void; -pub type ICertView = *mut ::core::ffi::c_void; -pub type ICertView2 = *mut ::core::ffi::c_void; -pub type ICertificateAttestationChallenge = *mut ::core::ffi::c_void; -pub type ICertificateAttestationChallenge2 = *mut ::core::ffi::c_void; -pub type ICertificatePolicies = *mut ::core::ffi::c_void; -pub type ICertificatePolicy = *mut ::core::ffi::c_void; -pub type ICertificationAuthorities = *mut ::core::ffi::c_void; -pub type ICertificationAuthority = *mut ::core::ffi::c_void; -pub type ICryptAttribute = *mut ::core::ffi::c_void; -pub type ICryptAttributes = *mut ::core::ffi::c_void; -pub type ICspAlgorithm = *mut ::core::ffi::c_void; -pub type ICspAlgorithms = *mut ::core::ffi::c_void; -pub type ICspInformation = *mut ::core::ffi::c_void; -pub type ICspInformations = *mut ::core::ffi::c_void; -pub type ICspStatus = *mut ::core::ffi::c_void; -pub type ICspStatuses = *mut ::core::ffi::c_void; -pub type IEnroll = *mut ::core::ffi::c_void; -pub type IEnroll2 = *mut ::core::ffi::c_void; -pub type IEnroll4 = *mut ::core::ffi::c_void; -pub type IEnumCERTVIEWATTRIBUTE = *mut ::core::ffi::c_void; -pub type IEnumCERTVIEWCOLUMN = *mut ::core::ffi::c_void; -pub type IEnumCERTVIEWEXTENSION = *mut ::core::ffi::c_void; -pub type IEnumCERTVIEWROW = *mut ::core::ffi::c_void; -pub type INDESPolicy = *mut ::core::ffi::c_void; -pub type IOCSPAdmin = *mut ::core::ffi::c_void; -pub type IOCSPCAConfiguration = *mut ::core::ffi::c_void; -pub type IOCSPCAConfigurationCollection = *mut ::core::ffi::c_void; -pub type IOCSPProperty = *mut ::core::ffi::c_void; -pub type IOCSPPropertyCollection = *mut ::core::ffi::c_void; -pub type IObjectId = *mut ::core::ffi::c_void; -pub type IObjectIds = *mut ::core::ffi::c_void; -pub type IPolicyQualifier = *mut ::core::ffi::c_void; -pub type IPolicyQualifiers = *mut ::core::ffi::c_void; -pub type ISignerCertificate = *mut ::core::ffi::c_void; -pub type ISignerCertificates = *mut ::core::ffi::c_void; -pub type ISmimeCapabilities = *mut ::core::ffi::c_void; -pub type ISmimeCapability = *mut ::core::ffi::c_void; -pub type IX500DistinguishedName = *mut ::core::ffi::c_void; -pub type IX509Attribute = *mut ::core::ffi::c_void; -pub type IX509AttributeArchiveKey = *mut ::core::ffi::c_void; -pub type IX509AttributeArchiveKeyHash = *mut ::core::ffi::c_void; -pub type IX509AttributeClientId = *mut ::core::ffi::c_void; -pub type IX509AttributeCspProvider = *mut ::core::ffi::c_void; -pub type IX509AttributeExtensions = *mut ::core::ffi::c_void; -pub type IX509AttributeOSVersion = *mut ::core::ffi::c_void; -pub type IX509AttributeRenewalCertificate = *mut ::core::ffi::c_void; -pub type IX509Attributes = *mut ::core::ffi::c_void; -pub type IX509CertificateRequest = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestCertificate = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestCertificate2 = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestCmc = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestCmc2 = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestPkcs10 = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestPkcs10V2 = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestPkcs10V3 = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestPkcs10V4 = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestPkcs7 = *mut ::core::ffi::c_void; -pub type IX509CertificateRequestPkcs7V2 = *mut ::core::ffi::c_void; -pub type IX509CertificateRevocationList = *mut ::core::ffi::c_void; -pub type IX509CertificateRevocationListEntries = *mut ::core::ffi::c_void; -pub type IX509CertificateRevocationListEntry = *mut ::core::ffi::c_void; -pub type IX509CertificateTemplate = *mut ::core::ffi::c_void; -pub type IX509CertificateTemplateWritable = *mut ::core::ffi::c_void; -pub type IX509CertificateTemplates = *mut ::core::ffi::c_void; -pub type IX509EndorsementKey = *mut ::core::ffi::c_void; -pub type IX509Enrollment = *mut ::core::ffi::c_void; -pub type IX509Enrollment2 = *mut ::core::ffi::c_void; -pub type IX509EnrollmentHelper = *mut ::core::ffi::c_void; -pub type IX509EnrollmentPolicyServer = *mut ::core::ffi::c_void; -pub type IX509EnrollmentStatus = *mut ::core::ffi::c_void; -pub type IX509EnrollmentWebClassFactory = *mut ::core::ffi::c_void; -pub type IX509Extension = *mut ::core::ffi::c_void; -pub type IX509ExtensionAlternativeNames = *mut ::core::ffi::c_void; -pub type IX509ExtensionAuthorityKeyIdentifier = *mut ::core::ffi::c_void; -pub type IX509ExtensionBasicConstraints = *mut ::core::ffi::c_void; -pub type IX509ExtensionCertificatePolicies = *mut ::core::ffi::c_void; -pub type IX509ExtensionEnhancedKeyUsage = *mut ::core::ffi::c_void; -pub type IX509ExtensionKeyUsage = *mut ::core::ffi::c_void; -pub type IX509ExtensionMSApplicationPolicies = *mut ::core::ffi::c_void; -pub type IX509ExtensionSmimeCapabilities = *mut ::core::ffi::c_void; -pub type IX509ExtensionSubjectKeyIdentifier = *mut ::core::ffi::c_void; -pub type IX509ExtensionTemplate = *mut ::core::ffi::c_void; -pub type IX509ExtensionTemplateName = *mut ::core::ffi::c_void; -pub type IX509Extensions = *mut ::core::ffi::c_void; -pub type IX509MachineEnrollmentFactory = *mut ::core::ffi::c_void; -pub type IX509NameValuePair = *mut ::core::ffi::c_void; -pub type IX509NameValuePairs = *mut ::core::ffi::c_void; -pub type IX509PolicyServerListManager = *mut ::core::ffi::c_void; -pub type IX509PolicyServerUrl = *mut ::core::ffi::c_void; -pub type IX509PrivateKey = *mut ::core::ffi::c_void; -pub type IX509PrivateKey2 = *mut ::core::ffi::c_void; -pub type IX509PublicKey = *mut ::core::ffi::c_void; -pub type IX509SCEPEnrollment = *mut ::core::ffi::c_void; -pub type IX509SCEPEnrollment2 = *mut ::core::ffi::c_void; -pub type IX509SCEPEnrollmentHelper = *mut ::core::ffi::c_void; -pub type IX509SignatureInformation = *mut ::core::ffi::c_void; pub const AlgorithmFlagsNone: AlgorithmFlags = 0i32; pub const AlgorithmFlagsWrap: AlgorithmFlags = 1i32; pub const AllowNoOutstandingRequest: InstallResponseRestrictionFlags = 1i32; diff --git a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs index db162276d8..1792514094 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs @@ -420,12 +420,6 @@ pub mod UI; ::windows_targets::link!("infocardapi.dll" "system" fn TransformBlock(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata : u32, pindata : *const u8, pcboutdata : *mut u32, ppoutdata : *mut *mut u8) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("infocardapi.dll" "system" fn TransformFinalBlock(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata : u32, pindata : *const u8, pcboutdata : *mut u32, ppoutdata : *mut *mut u8) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("infocardapi.dll" "system" fn VerifyHash(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, cbhash : u32, phash : *const u8, hashalgoid : ::windows_sys::core::PCWSTR, cbsig : u32, psig : *const u8, pfverified : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -pub type ICertSrvSetup = *mut ::core::ffi::c_void; -pub type ICertSrvSetupKeyInformation = *mut ::core::ffi::c_void; -pub type ICertSrvSetupKeyInformationCollection = *mut ::core::ffi::c_void; -pub type ICertificateEnrollmentPolicyServerSetup = *mut ::core::ffi::c_void; -pub type ICertificateEnrollmentServerSetup = *mut ::core::ffi::c_void; -pub type IMSCEPSetup = *mut ::core::ffi::c_void; pub const ALG_CLASS_ALL: u32 = 57344u32; pub const ALG_CLASS_ANY: u32 = 0u32; pub const ALG_CLASS_DATA_ENCRYPT: u32 = 24576u32; diff --git a/crates/libs/sys/src/Windows/Win32/Security/DirectoryServices/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/DirectoryServices/mod.rs index 6acd295c9b..272a53ea4a 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/DirectoryServices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/DirectoryServices/mod.rs @@ -1,7 +1,5 @@ -#[cfg(feature = "Win32_Security_Authorization_UI")] -::windows_targets::link!("dssec.dll" "system" #[doc = "Required features: `\"Win32_Security_Authorization_UI\"`"] fn DSCreateISecurityInfoObject(pwszobjectpath : ::windows_sys::core::PCWSTR, pwszobjectclass : ::windows_sys::core::PCWSTR, dwflags : u32, ppsi : *mut super::Authorization::UI:: ISecurityInformation, pfnreadsd : PFNREADOBJECTSECURITY, pfnwritesd : PFNWRITEOBJECTSECURITY, lpcontext : super::super::Foundation:: LPARAM) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Security_Authorization_UI")] -::windows_targets::link!("dssec.dll" "system" #[doc = "Required features: `\"Win32_Security_Authorization_UI\"`"] fn DSCreateISecurityInfoObjectEx(pwszobjectpath : ::windows_sys::core::PCWSTR, pwszobjectclass : ::windows_sys::core::PCWSTR, pwszserver : ::windows_sys::core::PCWSTR, pwszusername : ::windows_sys::core::PCWSTR, pwszpassword : ::windows_sys::core::PCWSTR, dwflags : u32, ppsi : *mut super::Authorization::UI:: ISecurityInformation, pfnreadsd : PFNREADOBJECTSECURITY, pfnwritesd : PFNWRITEOBJECTSECURITY, lpcontext : super::super::Foundation:: LPARAM) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("dssec.dll" "system" fn DSCreateISecurityInfoObject(pwszobjectpath : ::windows_sys::core::PCWSTR, pwszobjectclass : ::windows_sys::core::PCWSTR, dwflags : u32, ppsi : *mut * mut::core::ffi::c_void, pfnreadsd : PFNREADOBJECTSECURITY, pfnwritesd : PFNWRITEOBJECTSECURITY, lpcontext : super::super::Foundation:: LPARAM) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("dssec.dll" "system" fn DSCreateISecurityInfoObjectEx(pwszobjectpath : ::windows_sys::core::PCWSTR, pwszobjectclass : ::windows_sys::core::PCWSTR, pwszserver : ::windows_sys::core::PCWSTR, pwszusername : ::windows_sys::core::PCWSTR, pwszpassword : ::windows_sys::core::PCWSTR, dwflags : u32, ppsi : *mut * mut::core::ffi::c_void, pfnreadsd : PFNREADOBJECTSECURITY, pfnwritesd : PFNWRITEOBJECTSECURITY, lpcontext : super::super::Foundation:: LPARAM) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Controls")] ::windows_targets::link!("dssec.dll" "system" #[doc = "Required features: `\"Win32_UI_Controls\"`"] fn DSCreateSecurityPage(pwszobjectpath : ::windows_sys::core::PCWSTR, pwszobjectclass : ::windows_sys::core::PCWSTR, dwflags : u32, phpage : *mut super::super::UI::Controls:: HPROPSHEETPAGE, pfnreadsd : PFNREADOBJECTSECURITY, pfnwritesd : PFNWRITEOBJECTSECURITY, lpcontext : super::super::Foundation:: LPARAM) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("dssec.dll" "system" fn DSEditSecurity(hwndowner : super::super::Foundation:: HWND, pwszobjectpath : ::windows_sys::core::PCWSTR, pwszobjectclass : ::windows_sys::core::PCWSTR, dwflags : u32, pwszcaption : ::windows_sys::core::PCWSTR, pfnreadsd : PFNREADOBJECTSECURITY, pfnwritesd : PFNWRITEOBJECTSECURITY, lpcontext : super::super::Foundation:: LPARAM) -> ::windows_sys::core::HRESULT); @@ -12,12 +10,8 @@ pub const DSSI_NO_EDIT_SACL: u32 = 4u32; pub const DSSI_NO_FILTER: u32 = 32u32; pub const DSSI_NO_READONLY_MESSAGE: u32 = 64u32; pub const DSSI_READ_ONLY: u32 = 1u32; -#[doc = "Required features: `\"Win32_Security_Authorization_UI\"`"] -#[cfg(feature = "Win32_Security_Authorization_UI")] -pub type PFNDSCREATEISECINFO = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_Security_Authorization_UI\"`"] -#[cfg(feature = "Win32_Security_Authorization_UI")] -pub type PFNDSCREATEISECINFOEX = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PFNDSCREATEISECINFO = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PFNDSCREATEISECINFOEX = ::core::option::Option ::windows_sys::core::HRESULT>; #[doc = "Required features: `\"Win32_UI_Controls\"`"] #[cfg(feature = "Win32_UI_Controls")] pub type PFNDSCREATESECPAGE = ::core::option::Option ::windows_sys::core::HRESULT>; diff --git a/crates/libs/sys/src/Windows/Win32/Security/EnterpriseData/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/EnterpriseData/mod.rs index f2e7240b28..903e9831f2 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/EnterpriseData/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/EnterpriseData/mod.rs @@ -12,9 +12,6 @@ ::windows_targets::link!("srpapi.dll" "system" fn SrpIsTokenService(tokenhandle : super::super::Foundation:: HANDLE, istokenservice : *mut u8) -> super::super::Foundation:: NTSTATUS); ::windows_targets::link!("srpapi.dll" "system" fn SrpSetTokenEnterpriseId(tokenhandle : super::super::Foundation:: HANDLE, enterpriseid : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("efswrt.dll" "system" fn UnprotectFile(fileorfolderpath : ::windows_sys::core::PCWSTR, options : *const FILE_UNPROTECT_OPTIONS) -> ::windows_sys::core::HRESULT); -pub type IProtectionPolicyManagerInterop = *mut ::core::ffi::c_void; -pub type IProtectionPolicyManagerInterop2 = *mut ::core::ffi::c_void; -pub type IProtectionPolicyManagerInterop3 = *mut ::core::ffi::c_void; pub const ENTERPRISE_POLICY_ALLOWED: ENTERPRISE_DATA_POLICIES = 1i32; pub const ENTERPRISE_POLICY_ENLIGHTENED: ENTERPRISE_DATA_POLICIES = 2i32; pub const ENTERPRISE_POLICY_EXEMPT: ENTERPRISE_DATA_POLICIES = 4i32; diff --git a/crates/libs/sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs index 7135fd883b..9e75cbeea9 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs @@ -1,11 +1,8 @@ ::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerBeginSession(dwflags : u32, eaptype : EAP_METHOD_TYPE, pattributearray : *const EAP_ATTRIBUTES, htokenimpersonateuser : super::super::Foundation:: HANDLE, dwsizeofconnectiondata : u32, pconnectiondata : *const u8, dwsizeofuserdata : u32, puserdata : *const u8, dwmaxsendpacketsize : u32, pconnectionid : *const ::windows_sys::core::GUID, func : NotificationHandler, pcontextdata : *mut ::core::ffi::c_void, psessionid : *mut u32, ppeaperror : *mut *mut EAP_ERROR) -> u32); ::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerClearConnection(pconnectionid : *mut ::windows_sys::core::GUID, ppeaperror : *mut *mut EAP_ERROR) -> u32); -#[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] -::windows_targets::link!("eappcfg.dll" "system" #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`"] fn EapHostPeerConfigBlob2Xml(dwflags : u32, eapmethodtype : EAP_METHOD_TYPE, dwsizeofconfigin : u32, pconfigin : *const u8, ppconfigdoc : *mut super::super::Data::Xml::MsXml:: IXMLDOMDocument2, ppeaperror : *mut *mut EAP_ERROR) -> u32); -#[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] -::windows_targets::link!("eappcfg.dll" "system" #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`"] fn EapHostPeerConfigXml2Blob(dwflags : u32, pconfigdoc : super::super::Data::Xml::MsXml:: IXMLDOMNode, pdwsizeofconfigout : *mut u32, ppconfigout : *mut *mut u8, peapmethodtype : *mut EAP_METHOD_TYPE, ppeaperror : *mut *mut EAP_ERROR) -> u32); -#[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] -::windows_targets::link!("eappcfg.dll" "system" #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`"] fn EapHostPeerCredentialsXml2Blob(dwflags : u32, pcredentialsdoc : super::super::Data::Xml::MsXml:: IXMLDOMNode, dwsizeofconfigin : u32, pconfigin : *const u8, pdwsizeofcredentialsout : *mut u32, ppcredentialsout : *mut *mut u8, peapmethodtype : *mut EAP_METHOD_TYPE, ppeaperror : *mut *mut EAP_ERROR) -> u32); +::windows_targets::link!("eappcfg.dll" "system" fn EapHostPeerConfigBlob2Xml(dwflags : u32, eapmethodtype : EAP_METHOD_TYPE, dwsizeofconfigin : u32, pconfigin : *const u8, ppconfigdoc : *mut * mut::core::ffi::c_void, ppeaperror : *mut *mut EAP_ERROR) -> u32); +::windows_targets::link!("eappcfg.dll" "system" fn EapHostPeerConfigXml2Blob(dwflags : u32, pconfigdoc : * mut::core::ffi::c_void, pdwsizeofconfigout : *mut u32, ppconfigout : *mut *mut u8, peapmethodtype : *mut EAP_METHOD_TYPE, ppeaperror : *mut *mut EAP_ERROR) -> u32); +::windows_targets::link!("eappcfg.dll" "system" fn EapHostPeerCredentialsXml2Blob(dwflags : u32, pcredentialsdoc : * mut::core::ffi::c_void, dwsizeofconfigin : u32, pconfigin : *const u8, pdwsizeofcredentialsout : *mut u32, ppcredentialsout : *mut *mut u8, peapmethodtype : *mut EAP_METHOD_TYPE, ppeaperror : *mut *mut EAP_ERROR) -> u32); ::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerEndSession(sessionhandle : u32, ppeaperror : *mut *mut EAP_ERROR) -> u32); ::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerFreeEapError(peaperror : *mut EAP_ERROR)); ::windows_targets::link!("eappcfg.dll" "system" fn EapHostPeerFreeErrorMemory(peaperror : *mut EAP_ERROR)); @@ -33,12 +30,6 @@ ::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerSetResponseAttributes(sessionhandle : u32, pattribs : *const EAP_ATTRIBUTES, peapoutput : *mut EapHostPeerResponseAction, ppeaperror : *mut *mut EAP_ERROR) -> u32); ::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerSetUIContext(sessionhandle : u32, dwsizeofuicontextdata : u32, puicontextdata : *const u8, peapoutput : *mut EapHostPeerResponseAction, ppeaperror : *mut *mut EAP_ERROR) -> u32); ::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerUninitialize()); -pub type IAccountingProviderConfig = *mut ::core::ffi::c_void; -pub type IAuthenticationProviderConfig = *mut ::core::ffi::c_void; -pub type IEAPProviderConfig = *mut ::core::ffi::c_void; -pub type IEAPProviderConfig2 = *mut ::core::ffi::c_void; -pub type IEAPProviderConfig3 = *mut ::core::ffi::c_void; -pub type IRouterProtocolConfig = *mut ::core::ffi::c_void; pub const CERTIFICATE_HASH_LENGTH: u32 = 20u32; pub const EAPACTION_Authenticate: PPP_EAP_ACTION = 1i32; pub const EAPACTION_Done: PPP_EAP_ACTION = 2i32; diff --git a/crates/libs/sys/src/Windows/Win32/Security/Isolation/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Isolation/mod.rs index 38b7d01fc6..47f822dece 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Isolation/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Isolation/mod.rs @@ -10,9 +10,6 @@ ::windows_targets::link!("api-ms-win-security-isolatedcontainer-l1-1-0.dll" "system" fn IsProcessInIsolatedContainer(isprocessinisolatedcontainer : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("isolatedwindowsenvironmentutils.dll" "system" fn IsProcessInIsolatedWindowsEnvironment(isprocessinisolatedwindowsenvironment : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("api-ms-win-security-isolatedcontainer-l1-1-1.dll" "system" fn IsProcessInWDAGContainer(reserved : *const ::core::ffi::c_void, isprocessinwdagcontainer : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -pub type IIsolatedAppLauncher = *mut ::core::ffi::c_void; -pub type IIsolatedProcessLauncher = *mut ::core::ffi::c_void; -pub type IIsolatedProcessLauncher2 = *mut ::core::ffi::c_void; pub const IsolatedAppLauncher: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbc812430_e75e_4fd1_9641_1f9f1e2d9a1f); pub const WDAG_CLIPBOARD_TAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CrossIsolatedEnvironmentContent"); #[repr(C)] diff --git a/crates/libs/sys/src/Windows/Win32/Storage/FileHistory/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/FileHistory/mod.rs index 54802a45ba..b2c361e0d4 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/FileHistory/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/FileHistory/mod.rs @@ -12,10 +12,6 @@ ::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"Win32_System_WindowsProgramming\"`"] fn FhServiceStopBackup(pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE, stoptracking : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_WindowsProgramming")] ::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"Win32_System_WindowsProgramming\"`"] fn FhServiceUnblockBackup(pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT); -pub type IFhConfigMgr = *mut ::core::ffi::c_void; -pub type IFhReassociation = *mut ::core::ffi::c_void; -pub type IFhScopeIterator = *mut ::core::ffi::c_void; -pub type IFhTarget = *mut ::core::ffi::c_void; pub const BackupCancelled: FhBackupStopReason = 4i32; pub const BackupInvalidStopReason: FhBackupStopReason = 0i32; pub const BackupLimitUserBusyMachineOnAC: FhBackupStopReason = 1i32; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs index 9a57c97d4d..13cc908858 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs @@ -469,11 +469,6 @@ #[cfg(feature = "Win32_System_IO")] ::windows_targets::link!("clfsw32.dll" "system" #[doc = "Required features: `\"Win32_System_IO\"`"] fn WriteLogRestartArea(pvmarshal : *mut ::core::ffi::c_void, pvrestartbuffer : *mut ::core::ffi::c_void, cbrestartbuffer : u32, plsnbase : *mut CLS_LSN, fflags : CLFS_FLAG, pcbwritten : *mut u32, plsnnext : *mut CLS_LSN, poverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); ::windows_targets::link!("kernel32.dll" "system" fn WriteTapemark(hdevice : super::super::Foundation:: HANDLE, dwtapemarktype : TAPEMARK_TYPE, dwtapemarkcount : u32, bimmediate : super::super::Foundation:: BOOL) -> u32); -pub type IDiskQuotaControl = *mut ::core::ffi::c_void; -pub type IDiskQuotaEvents = *mut ::core::ffi::c_void; -pub type IDiskQuotaUser = *mut ::core::ffi::c_void; -pub type IDiskQuotaUserBatch = *mut ::core::ffi::c_void; -pub type IEnumDiskQuotaUsers = *mut ::core::ffi::c_void; pub const ACCESS_ALL: SHARE_INFO_PERMISSIONS = 32768u32; pub const ACCESS_ATRIB: SHARE_INFO_PERMISSIONS = 32u32; pub const ACCESS_CREATE: SHARE_INFO_PERMISSIONS = 4u32; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Imapi/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Imapi/mod.rs index 8e06c7ad05..d1b61d16e6 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Imapi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Imapi/mod.rs @@ -2,70 +2,11 @@ #[cfg(feature = "Win32_System_AddressBook")] ::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_AddressBook\"`"] fn GetAttribIMsgOnIStg(lpobject : *mut ::core::ffi::c_void, lpproptagarray : *mut super::super::System::AddressBook:: SPropTagArray, lpppropattrarray : *mut *mut SPropAttrArray) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mapi32.dll" "system" fn MapStorageSCode(stgscode : i32) -> i32); -#[cfg(all(feature = "Win32_System_AddressBook", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn OpenIMsgOnIStg(lpmsgsess : LPMSGSESS, lpallocatebuffer : super::super::System::AddressBook:: LPALLOCATEBUFFER, lpallocatemore : super::super::System::AddressBook:: LPALLOCATEMORE, lpfreebuffer : super::super::System::AddressBook:: LPFREEBUFFER, lpmalloc : super::super::System::Com:: IMalloc, lpmapisup : *mut ::core::ffi::c_void, lpstg : super::super::System::Com::StructuredStorage:: IStorage, lpfmsgcallrelease : *mut MSGCALLRELEASE, ulcallerdata : u32, ulflags : u32, lppmsg : *mut super::super::System::AddressBook:: IMessage) -> i32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OpenIMsgSession(lpmalloc : super::super::System::Com:: IMalloc, ulflags : u32, lppmsgsess : *mut LPMSGSESS) -> i32); +#[cfg(feature = "Win32_System_AddressBook")] +::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_AddressBook\"`"] fn OpenIMsgOnIStg(lpmsgsess : LPMSGSESS, lpallocatebuffer : super::super::System::AddressBook:: LPALLOCATEBUFFER, lpallocatemore : super::super::System::AddressBook:: LPALLOCATEMORE, lpfreebuffer : super::super::System::AddressBook:: LPFREEBUFFER, lpmalloc : * mut::core::ffi::c_void, lpmapisup : *mut ::core::ffi::c_void, lpstg : * mut::core::ffi::c_void, lpfmsgcallrelease : *mut MSGCALLRELEASE, ulcallerdata : u32, ulflags : u32, lppmsg : *mut * mut::core::ffi::c_void) -> i32); +::windows_targets::link!("mapi32.dll" "system" fn OpenIMsgSession(lpmalloc : * mut::core::ffi::c_void, ulflags : u32, lppmsgsess : *mut LPMSGSESS) -> i32); #[cfg(feature = "Win32_System_AddressBook")] ::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_AddressBook\"`"] fn SetAttribIMsgOnIStg(lpobject : *mut ::core::ffi::c_void, lpproptags : *mut super::super::System::AddressBook:: SPropTagArray, lppropattrs : *mut SPropAttrArray, lpppropproblems : *mut *mut super::super::System::AddressBook:: SPropProblemArray) -> ::windows_sys::core::HRESULT); -pub type DDiscFormat2DataEvents = *mut ::core::ffi::c_void; -pub type DDiscFormat2EraseEvents = *mut ::core::ffi::c_void; -pub type DDiscFormat2RawCDEvents = *mut ::core::ffi::c_void; -pub type DDiscFormat2TrackAtOnceEvents = *mut ::core::ffi::c_void; -pub type DDiscMaster2Events = *mut ::core::ffi::c_void; -pub type DFileSystemImageEvents = *mut ::core::ffi::c_void; -pub type DFileSystemImageImportEvents = *mut ::core::ffi::c_void; -pub type DWriteEngine2Events = *mut ::core::ffi::c_void; -pub type IBlockRange = *mut ::core::ffi::c_void; -pub type IBlockRangeList = *mut ::core::ffi::c_void; -pub type IBootOptions = *mut ::core::ffi::c_void; -pub type IBurnVerification = *mut ::core::ffi::c_void; -pub type IDiscFormat2 = *mut ::core::ffi::c_void; -pub type IDiscFormat2Data = *mut ::core::ffi::c_void; -pub type IDiscFormat2DataEventArgs = *mut ::core::ffi::c_void; -pub type IDiscFormat2Erase = *mut ::core::ffi::c_void; -pub type IDiscFormat2RawCD = *mut ::core::ffi::c_void; -pub type IDiscFormat2RawCDEventArgs = *mut ::core::ffi::c_void; -pub type IDiscFormat2TrackAtOnce = *mut ::core::ffi::c_void; -pub type IDiscFormat2TrackAtOnceEventArgs = *mut ::core::ffi::c_void; -pub type IDiscMaster = *mut ::core::ffi::c_void; -pub type IDiscMaster2 = *mut ::core::ffi::c_void; -pub type IDiscMasterProgressEvents = *mut ::core::ffi::c_void; -pub type IDiscRecorder = *mut ::core::ffi::c_void; -pub type IDiscRecorder2 = *mut ::core::ffi::c_void; -pub type IDiscRecorder2Ex = *mut ::core::ffi::c_void; -pub type IEnumDiscMasterFormats = *mut ::core::ffi::c_void; -pub type IEnumDiscRecorders = *mut ::core::ffi::c_void; -pub type IEnumFsiItems = *mut ::core::ffi::c_void; -pub type IEnumProgressItems = *mut ::core::ffi::c_void; -pub type IFileSystemImage = *mut ::core::ffi::c_void; -pub type IFileSystemImage2 = *mut ::core::ffi::c_void; -pub type IFileSystemImage3 = *mut ::core::ffi::c_void; -pub type IFileSystemImageResult = *mut ::core::ffi::c_void; -pub type IFileSystemImageResult2 = *mut ::core::ffi::c_void; -pub type IFsiDirectoryItem = *mut ::core::ffi::c_void; -pub type IFsiDirectoryItem2 = *mut ::core::ffi::c_void; -pub type IFsiFileItem = *mut ::core::ffi::c_void; -pub type IFsiFileItem2 = *mut ::core::ffi::c_void; -pub type IFsiItem = *mut ::core::ffi::c_void; -pub type IFsiNamedStreams = *mut ::core::ffi::c_void; -pub type IIsoImageManager = *mut ::core::ffi::c_void; -pub type IJolietDiscMaster = *mut ::core::ffi::c_void; -pub type IMultisession = *mut ::core::ffi::c_void; -pub type IMultisessionRandomWrite = *mut ::core::ffi::c_void; -pub type IMultisessionSequential = *mut ::core::ffi::c_void; -pub type IMultisessionSequential2 = *mut ::core::ffi::c_void; -pub type IProgressItem = *mut ::core::ffi::c_void; -pub type IProgressItems = *mut ::core::ffi::c_void; -pub type IRawCDImageCreator = *mut ::core::ffi::c_void; -pub type IRawCDImageTrackInfo = *mut ::core::ffi::c_void; -pub type IRedbookDiscMaster = *mut ::core::ffi::c_void; -pub type IStreamConcatenate = *mut ::core::ffi::c_void; -pub type IStreamInterleave = *mut ::core::ffi::c_void; -pub type IStreamPseudoRandomBased = *mut ::core::ffi::c_void; -pub type IWriteEngine2 = *mut ::core::ffi::c_void; -pub type IWriteEngine2EventArgs = *mut ::core::ffi::c_void; -pub type IWriteSpeedDescriptor = *mut ::core::ffi::c_void; pub const BlockRange: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb507ca27_2204_11dd_966a_001aa01bbc58); pub const BlockRangeList: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb507ca28_2204_11dd_966a_001aa01bbc58); pub const BootOptions: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c941fce_975b_59be_a960_9a2a262853a5); @@ -768,6 +709,4 @@ impl ::core::clone::Clone for tagIMMPID_GUIDLIST_ITEM { *self } } -#[doc = "Required features: `\"Win32_System_AddressBook\"`"] -#[cfg(feature = "Win32_System_AddressBook")] -pub type MSGCALLRELEASE = ::core::option::Option; +pub type MSGCALLRELEASE = ::core::option::Option; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/IndexServer/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/IndexServer/mod.rs index b93af1eda2..888958944e 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/IndexServer/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/IndexServer/mod.rs @@ -1,11 +1,7 @@ -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("query.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn BindIFilterFromStorage(pstg : super::super::System::Com::StructuredStorage:: IStorage, punkouter : ::windows_sys::core::IUnknown, ppiunk : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("query.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn BindIFilterFromStream(pstm : super::super::System::Com:: IStream, punkouter : ::windows_sys::core::IUnknown, ppiunk : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("query.dll" "system" fn BindIFilterFromStorage(pstg : * mut::core::ffi::c_void, punkouter : ::windows_sys::core::IUnknown, ppiunk : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("query.dll" "system" fn BindIFilterFromStream(pstm : * mut::core::ffi::c_void, punkouter : ::windows_sys::core::IUnknown, ppiunk : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("query.dll" "system" fn LoadIFilter(pwcspath : ::windows_sys::core::PCWSTR, punkouter : ::windows_sys::core::IUnknown, ppiunk : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("query.dll" "system" fn LoadIFilterEx(pwcspath : ::windows_sys::core::PCWSTR, dwflags : u32, riid : *const ::windows_sys::core::GUID, ppiunk : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -pub type IFilter = *mut ::core::ffi::c_void; -pub type IPhraseSink = *mut ::core::ffi::c_void; pub const CHUNK_EOC: CHUNK_BREAKTYPE = 4i32; pub const CHUNK_EOP: CHUNK_BREAKTYPE = 3i32; pub const CHUNK_EOS: CHUNK_BREAKTYPE = 2i32; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/OfflineFiles/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/OfflineFiles/mod.rs index eb94288bac..89888c258e 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/OfflineFiles/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/OfflineFiles/mod.rs @@ -2,41 +2,6 @@ ::windows_targets::link!("cscapi.dll" "system" fn OfflineFilesQueryStatus(pbactive : *mut super::super::Foundation:: BOOL, pbenabled : *mut super::super::Foundation:: BOOL) -> u32); ::windows_targets::link!("cscapi.dll" "system" fn OfflineFilesQueryStatusEx(pbactive : *mut super::super::Foundation:: BOOL, pbenabled : *mut super::super::Foundation:: BOOL, pbavailable : *mut super::super::Foundation:: BOOL) -> u32); ::windows_targets::link!("cscapi.dll" "system" fn OfflineFilesStart() -> u32); -pub type IEnumOfflineFilesItems = *mut ::core::ffi::c_void; -pub type IEnumOfflineFilesSettings = *mut ::core::ffi::c_void; -pub type IOfflineFilesCache = *mut ::core::ffi::c_void; -pub type IOfflineFilesCache2 = *mut ::core::ffi::c_void; -pub type IOfflineFilesChangeInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesConnectionInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesDirectoryItem = *mut ::core::ffi::c_void; -pub type IOfflineFilesDirtyInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesErrorInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesEvents = *mut ::core::ffi::c_void; -pub type IOfflineFilesEvents2 = *mut ::core::ffi::c_void; -pub type IOfflineFilesEvents3 = *mut ::core::ffi::c_void; -pub type IOfflineFilesEvents4 = *mut ::core::ffi::c_void; -pub type IOfflineFilesEventsFilter = *mut ::core::ffi::c_void; -pub type IOfflineFilesFileItem = *mut ::core::ffi::c_void; -pub type IOfflineFilesFileSysInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesGhostInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesItem = *mut ::core::ffi::c_void; -pub type IOfflineFilesItemContainer = *mut ::core::ffi::c_void; -pub type IOfflineFilesItemFilter = *mut ::core::ffi::c_void; -pub type IOfflineFilesPinInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesPinInfo2 = *mut ::core::ffi::c_void; -pub type IOfflineFilesProgress = *mut ::core::ffi::c_void; -pub type IOfflineFilesServerItem = *mut ::core::ffi::c_void; -pub type IOfflineFilesSetting = *mut ::core::ffi::c_void; -pub type IOfflineFilesShareInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesShareItem = *mut ::core::ffi::c_void; -pub type IOfflineFilesSimpleProgress = *mut ::core::ffi::c_void; -pub type IOfflineFilesSuspend = *mut ::core::ffi::c_void; -pub type IOfflineFilesSuspendInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesSyncConflictHandler = *mut ::core::ffi::c_void; -pub type IOfflineFilesSyncErrorInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesSyncErrorItemInfo = *mut ::core::ffi::c_void; -pub type IOfflineFilesSyncProgress = *mut ::core::ffi::c_void; -pub type IOfflineFilesTransparentCacheInfo = *mut ::core::ffi::c_void; pub const OFFLINEFILES_CACHING_MODE_AUTO_DOC: OFFLINEFILES_CACHING_MODE = 3i32; pub const OFFLINEFILES_CACHING_MODE_AUTO_PROGANDDOC: OFFLINEFILES_CACHING_MODE = 4i32; pub const OFFLINEFILES_CACHING_MODE_MANUAL: OFFLINEFILES_CACHING_MODE = 2i32; diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs index 0f0fff9f4f..0b30ca4d51 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs @@ -63,92 +63,6 @@ ::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-1.dll" "system" fn VerifyPackageFullName(packagefullname : ::windows_sys::core::PCWSTR) -> super::super::super::Foundation:: WIN32_ERROR); ::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-1.dll" "system" fn VerifyPackageId(packageid : *const PACKAGE_ID) -> super::super::super::Foundation:: WIN32_ERROR); ::windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-1.dll" "system" fn VerifyPackageRelativeApplicationId(packagerelativeapplicationid : ::windows_sys::core::PCWSTR) -> super::super::super::Foundation:: WIN32_ERROR); -pub type IAppxAppInstallerReader = *mut ::core::ffi::c_void; -pub type IAppxBlockMapBlock = *mut ::core::ffi::c_void; -pub type IAppxBlockMapBlocksEnumerator = *mut ::core::ffi::c_void; -pub type IAppxBlockMapFile = *mut ::core::ffi::c_void; -pub type IAppxBlockMapFilesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxBlockMapReader = *mut ::core::ffi::c_void; -pub type IAppxBundleFactory = *mut ::core::ffi::c_void; -pub type IAppxBundleFactory2 = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestOptionalBundleInfo = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestOptionalBundleInfoEnumerator = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfo = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfo2 = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfo3 = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfo4 = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfoEnumerator = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestReader = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestReader2 = *mut ::core::ffi::c_void; -pub type IAppxBundleReader = *mut ::core::ffi::c_void; -pub type IAppxBundleWriter = *mut ::core::ffi::c_void; -pub type IAppxBundleWriter2 = *mut ::core::ffi::c_void; -pub type IAppxBundleWriter3 = *mut ::core::ffi::c_void; -pub type IAppxBundleWriter4 = *mut ::core::ffi::c_void; -pub type IAppxContentGroup = *mut ::core::ffi::c_void; -pub type IAppxContentGroupFilesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxContentGroupMapReader = *mut ::core::ffi::c_void; -pub type IAppxContentGroupMapWriter = *mut ::core::ffi::c_void; -pub type IAppxContentGroupsEnumerator = *mut ::core::ffi::c_void; -pub type IAppxDigestProvider = *mut ::core::ffi::c_void; -pub type IAppxEncryptedBundleWriter = *mut ::core::ffi::c_void; -pub type IAppxEncryptedBundleWriter2 = *mut ::core::ffi::c_void; -pub type IAppxEncryptedBundleWriter3 = *mut ::core::ffi::c_void; -pub type IAppxEncryptedPackageWriter = *mut ::core::ffi::c_void; -pub type IAppxEncryptedPackageWriter2 = *mut ::core::ffi::c_void; -pub type IAppxEncryptionFactory = *mut ::core::ffi::c_void; -pub type IAppxEncryptionFactory2 = *mut ::core::ffi::c_void; -pub type IAppxEncryptionFactory3 = *mut ::core::ffi::c_void; -pub type IAppxEncryptionFactory4 = *mut ::core::ffi::c_void; -pub type IAppxEncryptionFactory5 = *mut ::core::ffi::c_void; -pub type IAppxFactory = *mut ::core::ffi::c_void; -pub type IAppxFactory2 = *mut ::core::ffi::c_void; -pub type IAppxFactory3 = *mut ::core::ffi::c_void; -pub type IAppxFile = *mut ::core::ffi::c_void; -pub type IAppxFilesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestApplication = *mut ::core::ffi::c_void; -pub type IAppxManifestApplicationsEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestCapabilitiesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestDeviceCapabilitiesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestDriverConstraint = *mut ::core::ffi::c_void; -pub type IAppxManifestDriverConstraintsEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestDriverDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestDriverDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestHostRuntimeDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestHostRuntimeDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestHostRuntimeDependency2 = *mut ::core::ffi::c_void; -pub type IAppxManifestMainPackageDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestMainPackageDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestOSPackageDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestOSPackageDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestOptionalPackageInfo = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageDependency2 = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageDependency3 = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageId = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageId2 = *mut ::core::ffi::c_void; -pub type IAppxManifestProperties = *mut ::core::ffi::c_void; -pub type IAppxManifestQualifiedResource = *mut ::core::ffi::c_void; -pub type IAppxManifestQualifiedResourcesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestReader = *mut ::core::ffi::c_void; -pub type IAppxManifestReader2 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader3 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader4 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader5 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader6 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader7 = *mut ::core::ffi::c_void; -pub type IAppxManifestResourcesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestTargetDeviceFamiliesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestTargetDeviceFamily = *mut ::core::ffi::c_void; -pub type IAppxPackageEditor = *mut ::core::ffi::c_void; -pub type IAppxPackageReader = *mut ::core::ffi::c_void; -pub type IAppxPackageWriter = *mut ::core::ffi::c_void; -pub type IAppxPackageWriter2 = *mut ::core::ffi::c_void; -pub type IAppxPackageWriter3 = *mut ::core::ffi::c_void; -pub type IAppxPackagingDiagnosticEventSink = *mut ::core::ffi::c_void; -pub type IAppxPackagingDiagnosticEventSinkManager = *mut ::core::ffi::c_void; -pub type IAppxSourceContentGroupMapReader = *mut ::core::ffi::c_void; pub const APPLICATION_USER_MODEL_ID_MAX_LENGTH: u32 = 130u32; pub const APPLICATION_USER_MODEL_ID_MIN_LENGTH: u32 = 20u32; pub const APPX_BUNDLE_FOOTPRINT_FILE_TYPE_BLOCKMAP: APPX_BUNDLE_FOOTPRINT_FILE_TYPE = 1i32; @@ -355,34 +269,26 @@ impl ::core::clone::Clone for APPX_ENCRYPTED_EXEMPTIONS { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct APPX_ENCRYPTED_PACKAGE_SETTINGS { pub keyLength: u32, pub encryptionAlgorithm: ::windows_sys::core::PCWSTR, pub useDiffusion: super::super::super::Foundation::BOOL, - pub blockMapHashAlgorithm: super::super::super::System::Com::IUri, + pub blockMapHashAlgorithm: *mut ::core::ffi::c_void, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for APPX_ENCRYPTED_PACKAGE_SETTINGS {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for APPX_ENCRYPTED_PACKAGE_SETTINGS { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct APPX_ENCRYPTED_PACKAGE_SETTINGS2 { pub keyLength: u32, pub encryptionAlgorithm: ::windows_sys::core::PCWSTR, - pub blockMapHashAlgorithm: super::super::super::System::Com::IUri, + pub blockMapHashAlgorithm: *mut ::core::ffi::c_void, pub options: u32, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for APPX_ENCRYPTED_PACKAGE_SETTINGS2 {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for APPX_ENCRYPTED_PACKAGE_SETTINGS2 { fn clone(&self) -> Self { *self @@ -402,32 +308,24 @@ impl ::core::clone::Clone for APPX_KEY_INFO { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct APPX_PACKAGE_SETTINGS { pub forceZip32: super::super::super::Foundation::BOOL, - pub hashMethod: super::super::super::System::Com::IUri, + pub hashMethod: *mut ::core::ffi::c_void, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for APPX_PACKAGE_SETTINGS {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for APPX_PACKAGE_SETTINGS { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct APPX_PACKAGE_WRITER_PAYLOAD_STREAM { - pub inputStream: super::super::super::System::Com::IStream, + pub inputStream: *mut ::core::ffi::c_void, pub fileName: ::windows_sys::core::PCWSTR, pub contentType: ::windows_sys::core::PCWSTR, pub compressionOption: APPX_COMPRESSION_OPTION, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for APPX_PACKAGE_WRITER_PAYLOAD_STREAM {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for APPX_PACKAGE_WRITER_PAYLOAD_STREAM { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Xps/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Xps/mod.rs index 48d2170b51..2894814f0f 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Xps/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Xps/mod.rs @@ -22,74 +22,6 @@ ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn StartDocW(hdc : super::super::Graphics::Gdi:: HDC, lpdi : *const DOCINFOW) -> i32); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn StartPage(hdc : super::super::Graphics::Gdi:: HDC) -> i32); -pub type IXpsDocumentPackageTarget = *mut ::core::ffi::c_void; -pub type IXpsDocumentPackageTarget3D = *mut ::core::ffi::c_void; -pub type IXpsOMBrush = *mut ::core::ffi::c_void; -pub type IXpsOMCanvas = *mut ::core::ffi::c_void; -pub type IXpsOMColorProfileResource = *mut ::core::ffi::c_void; -pub type IXpsOMColorProfileResourceCollection = *mut ::core::ffi::c_void; -pub type IXpsOMCoreProperties = *mut ::core::ffi::c_void; -pub type IXpsOMDashCollection = *mut ::core::ffi::c_void; -pub type IXpsOMDictionary = *mut ::core::ffi::c_void; -pub type IXpsOMDocument = *mut ::core::ffi::c_void; -pub type IXpsOMDocumentCollection = *mut ::core::ffi::c_void; -pub type IXpsOMDocumentSequence = *mut ::core::ffi::c_void; -pub type IXpsOMDocumentStructureResource = *mut ::core::ffi::c_void; -pub type IXpsOMFontResource = *mut ::core::ffi::c_void; -pub type IXpsOMFontResourceCollection = *mut ::core::ffi::c_void; -pub type IXpsOMGeometry = *mut ::core::ffi::c_void; -pub type IXpsOMGeometryFigure = *mut ::core::ffi::c_void; -pub type IXpsOMGeometryFigureCollection = *mut ::core::ffi::c_void; -pub type IXpsOMGlyphs = *mut ::core::ffi::c_void; -pub type IXpsOMGlyphsEditor = *mut ::core::ffi::c_void; -pub type IXpsOMGradientBrush = *mut ::core::ffi::c_void; -pub type IXpsOMGradientStop = *mut ::core::ffi::c_void; -pub type IXpsOMGradientStopCollection = *mut ::core::ffi::c_void; -pub type IXpsOMImageBrush = *mut ::core::ffi::c_void; -pub type IXpsOMImageResource = *mut ::core::ffi::c_void; -pub type IXpsOMImageResourceCollection = *mut ::core::ffi::c_void; -pub type IXpsOMLinearGradientBrush = *mut ::core::ffi::c_void; -pub type IXpsOMMatrixTransform = *mut ::core::ffi::c_void; -pub type IXpsOMNameCollection = *mut ::core::ffi::c_void; -pub type IXpsOMObjectFactory = *mut ::core::ffi::c_void; -pub type IXpsOMObjectFactory1 = *mut ::core::ffi::c_void; -pub type IXpsOMPackage = *mut ::core::ffi::c_void; -pub type IXpsOMPackage1 = *mut ::core::ffi::c_void; -pub type IXpsOMPackageTarget = *mut ::core::ffi::c_void; -pub type IXpsOMPackageWriter = *mut ::core::ffi::c_void; -pub type IXpsOMPackageWriter3D = *mut ::core::ffi::c_void; -pub type IXpsOMPage = *mut ::core::ffi::c_void; -pub type IXpsOMPage1 = *mut ::core::ffi::c_void; -pub type IXpsOMPageReference = *mut ::core::ffi::c_void; -pub type IXpsOMPageReferenceCollection = *mut ::core::ffi::c_void; -pub type IXpsOMPart = *mut ::core::ffi::c_void; -pub type IXpsOMPartResources = *mut ::core::ffi::c_void; -pub type IXpsOMPartUriCollection = *mut ::core::ffi::c_void; -pub type IXpsOMPath = *mut ::core::ffi::c_void; -pub type IXpsOMPrintTicketResource = *mut ::core::ffi::c_void; -pub type IXpsOMRadialGradientBrush = *mut ::core::ffi::c_void; -pub type IXpsOMRemoteDictionaryResource = *mut ::core::ffi::c_void; -pub type IXpsOMRemoteDictionaryResource1 = *mut ::core::ffi::c_void; -pub type IXpsOMRemoteDictionaryResourceCollection = *mut ::core::ffi::c_void; -pub type IXpsOMResource = *mut ::core::ffi::c_void; -pub type IXpsOMShareable = *mut ::core::ffi::c_void; -pub type IXpsOMSignatureBlockResource = *mut ::core::ffi::c_void; -pub type IXpsOMSignatureBlockResourceCollection = *mut ::core::ffi::c_void; -pub type IXpsOMSolidColorBrush = *mut ::core::ffi::c_void; -pub type IXpsOMStoryFragmentsResource = *mut ::core::ffi::c_void; -pub type IXpsOMThumbnailGenerator = *mut ::core::ffi::c_void; -pub type IXpsOMTileBrush = *mut ::core::ffi::c_void; -pub type IXpsOMVisual = *mut ::core::ffi::c_void; -pub type IXpsOMVisualBrush = *mut ::core::ffi::c_void; -pub type IXpsOMVisualCollection = *mut ::core::ffi::c_void; -pub type IXpsSignature = *mut ::core::ffi::c_void; -pub type IXpsSignatureBlock = *mut ::core::ffi::c_void; -pub type IXpsSignatureBlockCollection = *mut ::core::ffi::c_void; -pub type IXpsSignatureCollection = *mut ::core::ffi::c_void; -pub type IXpsSignatureManager = *mut ::core::ffi::c_void; -pub type IXpsSignatureRequest = *mut ::core::ffi::c_void; -pub type IXpsSignatureRequestCollection = *mut ::core::ffi::c_void; -pub type IXpsSigningOptions = *mut ::core::ffi::c_void; pub const DC_BINNAMES: PRINTER_DEVICE_CAPABILITIES = 12u16; pub const DC_BINS: PRINTER_DEVICE_CAPABILITIES = 6u16; pub const DC_COLLATE: PRINTER_DEVICE_CAPABILITIES = 22u16; diff --git a/crates/libs/sys/src/Windows/Win32/System/AddressBook/mod.rs b/crates/libs/sys/src/Windows/Win32/System/AddressBook/mod.rs index 8d2c3edf35..fc966d44ce 100644 --- a/crates/libs/sys/src/Windows/Win32/System/AddressBook/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/AddressBook/mod.rs @@ -1,8 +1,7 @@ -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn BuildDisplayTable(lpallocatebuffer : LPALLOCATEBUFFER, lpallocatemore : LPALLOCATEMORE, lpfreebuffer : LPFREEBUFFER, lpmalloc : super::Com:: IMalloc, hinstance : super::super::Foundation:: HINSTANCE, cpages : u32, lppage : *mut DTPAGE, ulflags : u32, lpptable : *mut IMAPITable, lpptbldata : *mut ITableData) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" fn BuildDisplayTable(lpallocatebuffer : LPALLOCATEBUFFER, lpallocatemore : LPALLOCATEMORE, lpfreebuffer : LPFREEBUFFER, lpmalloc : * mut::core::ffi::c_void, hinstance : super::super::Foundation:: HINSTANCE, cpages : u32, lppage : *mut DTPAGE, ulflags : u32, lpptable : *mut * mut::core::ffi::c_void, lpptbldata : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mapi32.dll" "system" fn ChangeIdleRoutine(ftg : *mut ::core::ffi::c_void, lpfnidle : PFNIDLE, lpvidleparam : *mut ::core::ffi::c_void, priidle : i16, csecidle : u32, iroidle : u16, ircidle : u16)); -::windows_targets::link!("mapi32.dll" "system" fn CreateIProp(lpinterface : *mut ::windows_sys::core::GUID, lpallocatebuffer : LPALLOCATEBUFFER, lpallocatemore : LPALLOCATEMORE, lpfreebuffer : LPFREEBUFFER, lpvreserved : *mut ::core::ffi::c_void, lpppropdata : *mut IPropData) -> i32); -::windows_targets::link!("rtm.dll" "system" fn CreateTable(lpinterface : *mut ::windows_sys::core::GUID, lpallocatebuffer : LPALLOCATEBUFFER, lpallocatemore : LPALLOCATEMORE, lpfreebuffer : LPFREEBUFFER, lpvreserved : *mut ::core::ffi::c_void, ultabletype : u32, ulproptagindexcolumn : u32, lpsproptagarraycolumns : *mut SPropTagArray, lpptabledata : *mut ITableData) -> i32); +::windows_targets::link!("mapi32.dll" "system" fn CreateIProp(lpinterface : *mut ::windows_sys::core::GUID, lpallocatebuffer : LPALLOCATEBUFFER, lpallocatemore : LPALLOCATEMORE, lpfreebuffer : LPFREEBUFFER, lpvreserved : *mut ::core::ffi::c_void, lpppropdata : *mut * mut::core::ffi::c_void) -> i32); +::windows_targets::link!("rtm.dll" "system" fn CreateTable(lpinterface : *mut ::windows_sys::core::GUID, lpallocatebuffer : LPALLOCATEBUFFER, lpallocatemore : LPALLOCATEMORE, lpfreebuffer : LPFREEBUFFER, lpvreserved : *mut ::core::ffi::c_void, ultabletype : u32, ulproptagindexcolumn : u32, lpsproptagarraycolumns : *mut SPropTagArray, lpptabledata : *mut * mut::core::ffi::c_void) -> i32); ::windows_targets::link!("mapi32.dll" "system" fn DeinitMapiUtil()); ::windows_targets::link!("mapi32.dll" "system" fn DeregisterIdleRoutine(ftg : *mut ::core::ffi::c_void)); ::windows_targets::link!("mapi32.dll" "system" fn EnableIdleRoutine(ftg : *mut ::core::ffi::c_void, fenable : super::super::Foundation:: BOOL)); @@ -11,7 +10,7 @@ ::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn FPropCompareProp(lpspropvalue1 : *mut SPropValue, ulrelop : u32, lpspropvalue2 : *mut SPropValue) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn FPropContainsProp(lpspropvaluedst : *mut SPropValue, lpspropvaluesrc : *mut SPropValue, ulfuzzylevel : u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("mapi32.dll" "system" fn FPropExists(lpmapiprop : IMAPIProp, ulproptag : u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("mapi32.dll" "system" fn FPropExists(lpmapiprop : * mut::core::ffi::c_void, ulproptag : u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn FreePadrlist(lpadrlist : *mut ADRLIST)); #[cfg(feature = "Win32_System_Com")] @@ -22,35 +21,32 @@ ::windows_targets::link!("mapi32.dll" "system" fn FtNegFt(ft : super::super::Foundation:: FILETIME) -> super::super::Foundation:: FILETIME); ::windows_targets::link!("mapi32.dll" "system" fn FtSubFt(ftminuend : super::super::Foundation:: FILETIME, ftsubtrahend : super::super::Foundation:: FILETIME) -> super::super::Foundation:: FILETIME); ::windows_targets::link!("mapi32.dll" "system" fn FtgRegisterIdleRoutine(lpfnidle : PFNIDLE, lpvidleparam : *mut ::core::ffi::c_void, priidle : i16, csecidle : u32, iroidle : u16) -> *mut ::core::ffi::c_void); -::windows_targets::link!("mapi32.dll" "system" fn HrAddColumns(lptbl : IMAPITable, lpproptagcolumnsnew : *mut SPropTagArray, lpallocatebuffer : LPALLOCATEBUFFER, lpfreebuffer : LPFREEBUFFER) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("mapi32.dll" "system" fn HrAddColumnsEx(lptbl : IMAPITable, lpproptagcolumnsnew : *mut SPropTagArray, lpallocatebuffer : LPALLOCATEBUFFER, lpfreebuffer : LPFREEBUFFER, lpfnfiltercolumns : isize) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" fn HrAddColumns(lptbl : * mut::core::ffi::c_void, lpproptagcolumnsnew : *mut SPropTagArray, lpallocatebuffer : LPALLOCATEBUFFER, lpfreebuffer : LPFREEBUFFER) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" fn HrAddColumnsEx(lptbl : * mut::core::ffi::c_void, lpproptagcolumnsnew : *mut SPropTagArray, lpallocatebuffer : LPALLOCATEBUFFER, lpfreebuffer : LPFREEBUFFER, lpfnfiltercolumns : isize) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HrAllocAdviseSink(lpfncallback : LPNOTIFCALLBACK, lpvcontext : *mut ::core::ffi::c_void, lppadvisesink : *mut IMAPIAdviseSink) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HrAllocAdviseSink(lpfncallback : LPNOTIFCALLBACK, lpvcontext : *mut ::core::ffi::c_void, lppadvisesink : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mapi32.dll" "system" fn HrDispatchNotifications(ulflags : u32) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HrGetOneProp(lpmapiprop : IMAPIProp, ulproptag : u32, lppprop : *mut *mut SPropValue) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn HrIStorageFromStream(lpunkin : ::windows_sys::core::IUnknown, lpinterface : *mut ::windows_sys::core::GUID, ulflags : u32, lppstorageout : *mut super::Com::StructuredStorage:: IStorage) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HrGetOneProp(lpmapiprop : * mut::core::ffi::c_void, ulproptag : u32, lppprop : *mut *mut SPropValue) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" fn HrIStorageFromStream(lpunkin : ::windows_sys::core::IUnknown, lpinterface : *mut ::windows_sys::core::GUID, ulflags : u32, lppstorageout : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HrQueryAllRows(lptable : IMAPITable, lpproptags : *mut SPropTagArray, lprestriction : *mut SRestriction, lpsortorderset : *mut SSortOrderSet, crowsmax : i32, lpprows : *mut *mut SRowSet) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HrQueryAllRows(lptable : * mut::core::ffi::c_void, lpproptags : *mut SPropTagArray, lprestriction : *mut SRestriction, lpsortorderset : *mut SSortOrderSet, crowsmax : i32, lpprows : *mut *mut SRowSet) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HrSetOneProp(lpmapiprop : IMAPIProp, lpprop : *mut SPropValue) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("mapi32.dll" "system" fn HrThisThreadAdviseSink(lpadvisesink : IMAPIAdviseSink, lppadvisesink : *mut IMAPIAdviseSink) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HrSetOneProp(lpmapiprop : * mut::core::ffi::c_void, lpprop : *mut SPropValue) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" fn HrThisThreadAdviseSink(lpadvisesink : * mut::core::ffi::c_void, lppadvisesink : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn LPropCompareProp(lpspropvaluea : *mut SPropValue, lpspropvalueb : *mut SPropValue) -> i32); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn LpValFindProp(ulproptag : u32, cvalues : u32, lpproparray : *mut SPropValue) -> *mut SPropValue); ::windows_targets::link!("mapi32.dll" "system" fn MAPIDeinitIdle()); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn MAPIGetDefaultMalloc() -> super::Com:: IMalloc); +::windows_targets::link!("mapi32.dll" "system" fn MAPIGetDefaultMalloc() -> * mut::core::ffi::c_void); ::windows_targets::link!("mapi32.dll" "system" fn MAPIInitIdle(lpvreserved : *mut ::core::ffi::c_void) -> i32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OpenStreamOnFile(lpallocatebuffer : LPALLOCATEBUFFER, lpfreebuffer : LPFREEBUFFER, ulflags : u32, lpszfilename : *const i8, lpszprefix : *const i8, lppstream : *mut super::Com:: IStream) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" fn OpenStreamOnFile(lpallocatebuffer : LPALLOCATEBUFFER, lpfreebuffer : LPFREEBUFFER, ulflags : u32, lpszfilename : *const i8, lpszprefix : *const i8, lppstream : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn PpropFindProp(lpproparray : *mut SPropValue, cvalues : u32, ulproptag : u32) -> *mut SPropValue); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn PropCopyMore(lpspropvaluedest : *mut SPropValue, lpspropvaluesrc : *mut SPropValue, lpfallocmore : LPALLOCATEMORE, lpvobject : *mut ::core::ffi::c_void) -> i32); -::windows_targets::link!("mapi32.dll" "system" fn RTFSync(lpmessage : IMessage, ulflags : u32, lpfmessageupdated : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" fn RTFSync(lpmessage : * mut::core::ffi::c_void, ulflags : u32, lpfmessageupdated : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn ScCopyNotifications(cnotification : i32, lpnotifications : *mut NOTIFICATION, lpvdst : *mut ::core::ffi::c_void, lpcb : *mut u32) -> i32); #[cfg(feature = "Win32_System_Com")] @@ -77,30 +73,8 @@ #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn UlPropSize(lpspropvalue : *mut SPropValue) -> u32); ::windows_targets::link!("mapi32.dll" "system" fn UlRelease(lpunk : *mut ::core::ffi::c_void) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("mapi32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn WrapCompressedRTFStream(lpcompressedrtfstream : super::Com:: IStream, ulflags : u32, lpuncompressedrtfstream : *mut super::Com:: IStream) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mapi32.dll" "system" fn WrapCompressedRTFStream(lpcompressedrtfstream : * mut::core::ffi::c_void, ulflags : u32, lpuncompressedrtfstream : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mapi32.dll" "system" fn WrapStoreEntryID(ulflags : u32, lpszdllname : *const i8, cborigentry : u32, lporigentry : *const ENTRYID, lpcbwrappedentry : *mut u32, lppwrappedentry : *mut *mut ENTRYID) -> ::windows_sys::core::HRESULT); -pub type IABContainer = *mut ::core::ffi::c_void; -pub type IAddrBook = *mut ::core::ffi::c_void; -pub type IAttach = *mut ::core::ffi::c_void; -pub type IDistList = *mut ::core::ffi::c_void; -pub type IMAPIAdviseSink = *mut ::core::ffi::c_void; -pub type IMAPIContainer = *mut ::core::ffi::c_void; -pub type IMAPIControl = *mut ::core::ffi::c_void; -pub type IMAPIFolder = *mut ::core::ffi::c_void; -pub type IMAPIProgress = *mut ::core::ffi::c_void; -pub type IMAPIProp = *mut ::core::ffi::c_void; -pub type IMAPIStatus = *mut ::core::ffi::c_void; -pub type IMAPITable = *mut ::core::ffi::c_void; -pub type IMailUser = *mut ::core::ffi::c_void; -pub type IMessage = *mut ::core::ffi::c_void; -pub type IMsgStore = *mut ::core::ffi::c_void; -pub type IProfSect = *mut ::core::ffi::c_void; -pub type IPropData = *mut ::core::ffi::c_void; -pub type IProviderAdmin = *mut ::core::ffi::c_void; -pub type ITableData = *mut ::core::ffi::c_void; -pub type IWABExtInit = *mut ::core::ffi::c_void; -pub type IWABObject = *mut ::core::ffi::c_void; pub const E_IMAPI_BURN_VERIFICATION_FAILED: ::windows_sys::core::HRESULT = -1062600697i32; pub const E_IMAPI_DF2DATA_CLIENT_NAME_IS_NOT_VALID: ::windows_sys::core::HRESULT = -1062599672i32; pub const E_IMAPI_DF2DATA_INVALID_MEDIA_STATE: ::windows_sys::core::HRESULT = -1062599678i32; @@ -1303,9 +1277,9 @@ impl ::core::clone::Clone for TABLE_NOTIFICATION { #[repr(C)] pub struct WABEXTDISPLAY { pub cbSize: u32, - pub lpWABObject: IWABObject, - pub lpAdrBook: IAddrBook, - pub lpPropObj: IMAPIProp, + pub lpWABObject: *mut ::core::ffi::c_void, + pub lpAdrBook: *mut ::core::ffi::c_void, + pub lpPropObj: *mut ::core::ffi::c_void, pub fReadOnly: super::super::Foundation::BOOL, pub fDataChanged: super::super::Foundation::BOOL, pub ulFlags: u32, @@ -1321,7 +1295,7 @@ impl ::core::clone::Clone for WABEXTDISPLAY { #[repr(C)] pub struct WABIMPORTPARAM { pub cbSize: u32, - pub lpAdrBook: IAddrBook, + pub lpAdrBook: *mut ::core::ffi::c_void, pub hWnd: super::super::Foundation::HWND, pub ulFlags: u32, pub lpszFileName: ::windows_sys::core::PSTR, @@ -1387,7 +1361,7 @@ impl ::core::clone::Clone for __UPV { *self } } -pub type CALLERRELEASE = ::core::option::Option; +pub type CALLERRELEASE = ::core::option::Option; pub type LPALLOCATEBUFFER = ::core::option::Option i32>; pub type LPALLOCATEMORE = ::core::option::Option i32>; pub type LPCREATECONVERSATIONINDEX = ::core::option::Option i32>; @@ -1399,12 +1373,10 @@ pub type LPFREEBUFFER = ::core::option::Option i32>; -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] -pub type LPOPENSTREAMONFILE = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type LPWABALLOCATEBUFFER = ::core::option::Option i32>; -pub type LPWABALLOCATEMORE = ::core::option::Option i32>; -pub type LPWABFREEBUFFER = ::core::option::Option u32>; -pub type LPWABOPEN = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type LPWABOPENEX = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type LPOPENSTREAMONFILE = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type LPWABALLOCATEBUFFER = ::core::option::Option i32>; +pub type LPWABALLOCATEMORE = ::core::option::Option i32>; +pub type LPWABFREEBUFFER = ::core::option::Option u32>; +pub type LPWABOPEN = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type LPWABOPENEX = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PFNIDLE = ::core::option::Option super::super::Foundation::BOOL>; diff --git a/crates/libs/sys/src/Windows/Win32/System/Antimalware/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Antimalware/mod.rs index a0047fa711..ada18c0cb6 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Antimalware/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Antimalware/mod.rs @@ -6,12 +6,6 @@ ::windows_targets::link!("amsi.dll" "system" fn AmsiScanString(amsicontext : HAMSICONTEXT, string : ::windows_sys::core::PCWSTR, contentname : ::windows_sys::core::PCWSTR, amsisession : HAMSISESSION, result : *mut AMSI_RESULT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("amsi.dll" "system" fn AmsiUninitialize(amsicontext : HAMSICONTEXT)); ::windows_targets::link!("kernel32.dll" "system" fn InstallELAMCertificateInfo(elamfile : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -pub type IAmsiStream = *mut ::core::ffi::c_void; -pub type IAntimalware = *mut ::core::ffi::c_void; -pub type IAntimalware2 = *mut ::core::ffi::c_void; -pub type IAntimalwareProvider = *mut ::core::ffi::c_void; -pub type IAntimalwareProvider2 = *mut ::core::ffi::c_void; -pub type IAntimalwareUacProvider = *mut ::core::ffi::c_void; pub const AMSI_ATTRIBUTE_ALL_ADDRESS: AMSI_ATTRIBUTE = 8i32; pub const AMSI_ATTRIBUTE_ALL_SIZE: AMSI_ATTRIBUTE = 7i32; pub const AMSI_ATTRIBUTE_APP_NAME: AMSI_ATTRIBUTE = 0i32; diff --git a/crates/libs/sys/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs b/crates/libs/sys/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs index e3f45e1cec..159e1df1cf 100644 --- a/crates/libs/sys/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs @@ -339,45 +339,6 @@ ::windows_targets::link!("mspatcha.dll" "system" fn TestApplyPatchToFileByHandles(patchfilehandle : super::super::Foundation:: HANDLE, oldfilehandle : super::super::Foundation:: HANDLE, applyoptionflags : u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("mspatcha.dll" "system" fn TestApplyPatchToFileW(patchfilename : ::windows_sys::core::PCWSTR, oldfilename : ::windows_sys::core::PCWSTR, applyoptionflags : u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("kernel32.dll" "system" fn ZombifyActCtx(hactctx : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -pub type IAssemblyCache = *mut ::core::ffi::c_void; -pub type IAssemblyCacheItem = *mut ::core::ffi::c_void; -pub type IAssemblyName = *mut ::core::ffi::c_void; -pub type IEnumMsmDependency = *mut ::core::ffi::c_void; -pub type IEnumMsmError = *mut ::core::ffi::c_void; -pub type IEnumMsmString = *mut ::core::ffi::c_void; -pub type IMsmDependencies = *mut ::core::ffi::c_void; -pub type IMsmDependency = *mut ::core::ffi::c_void; -pub type IMsmError = *mut ::core::ffi::c_void; -pub type IMsmErrors = *mut ::core::ffi::c_void; -pub type IMsmGetFiles = *mut ::core::ffi::c_void; -pub type IMsmMerge = *mut ::core::ffi::c_void; -pub type IMsmStrings = *mut ::core::ffi::c_void; -pub type IPMApplicationInfo = *mut ::core::ffi::c_void; -pub type IPMApplicationInfoEnumerator = *mut ::core::ffi::c_void; -pub type IPMBackgroundServiceAgentInfo = *mut ::core::ffi::c_void; -pub type IPMBackgroundServiceAgentInfoEnumerator = *mut ::core::ffi::c_void; -pub type IPMBackgroundWorkerInfo = *mut ::core::ffi::c_void; -pub type IPMBackgroundWorkerInfoEnumerator = *mut ::core::ffi::c_void; -pub type IPMDeploymentManager = *mut ::core::ffi::c_void; -pub type IPMEnumerationManager = *mut ::core::ffi::c_void; -pub type IPMExtensionCachedFileUpdaterInfo = *mut ::core::ffi::c_void; -pub type IPMExtensionContractInfo = *mut ::core::ffi::c_void; -pub type IPMExtensionFileExtensionInfo = *mut ::core::ffi::c_void; -pub type IPMExtensionFileOpenPickerInfo = *mut ::core::ffi::c_void; -pub type IPMExtensionFileSavePickerInfo = *mut ::core::ffi::c_void; -pub type IPMExtensionInfo = *mut ::core::ffi::c_void; -pub type IPMExtensionInfoEnumerator = *mut ::core::ffi::c_void; -pub type IPMExtensionProtocolInfo = *mut ::core::ffi::c_void; -pub type IPMExtensionShareTargetInfo = *mut ::core::ffi::c_void; -pub type IPMLiveTileJobInfo = *mut ::core::ffi::c_void; -pub type IPMLiveTileJobInfoEnumerator = *mut ::core::ffi::c_void; -pub type IPMTaskInfo = *mut ::core::ffi::c_void; -pub type IPMTaskInfoEnumerator = *mut ::core::ffi::c_void; -pub type IPMTileInfo = *mut ::core::ffi::c_void; -pub type IPMTileInfoEnumerator = *mut ::core::ffi::c_void; -pub type IPMTilePropertyEnumerator = *mut ::core::ffi::c_void; -pub type IPMTilePropertyInfo = *mut ::core::ffi::c_void; -pub type IValidate = *mut ::core::ffi::c_void; pub const ACTCTX_COMPATIBILITY_ELEMENT_TYPE_MAXVERSIONTESTED: ACTCTX_COMPATIBILITY_ELEMENT_TYPE = 3i32; pub const ACTCTX_COMPATIBILITY_ELEMENT_TYPE_MITIGATION: ACTCTX_COMPATIBILITY_ELEMENT_TYPE = 2i32; pub const ACTCTX_COMPATIBILITY_ELEMENT_TYPE_OS: ACTCTX_COMPATIBILITY_ELEMENT_TYPE = 1i32; diff --git a/crates/libs/sys/src/Windows/Win32/System/ClrHosting/mod.rs b/crates/libs/sys/src/Windows/Win32/System/ClrHosting/mod.rs index 4da418ce22..beebde7df3 100644 --- a/crates/libs/sys/src/Windows/Win32/System/ClrHosting/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/ClrHosting/mod.rs @@ -3,8 +3,7 @@ ::windows_targets::link!("mscoree.dll" "system" fn ClrCreateManagedInstance(ptypename : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, ppobject : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mscoree.dll" "system" fn CorBindToCurrentRuntime(pwszfilename : ::windows_sys::core::PCWSTR, rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mscoree.dll" "system" fn CorBindToRuntime(pwszversion : ::windows_sys::core::PCWSTR, pwszbuildflavor : ::windows_sys::core::PCWSTR, rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("mscoree.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn CorBindToRuntimeByCfg(pcfgstream : super::Com:: IStream, reserved : u32, startupflags : u32, rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mscoree.dll" "system" fn CorBindToRuntimeByCfg(pcfgstream : * mut::core::ffi::c_void, reserved : u32, startupflags : u32, rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mscoree.dll" "system" fn CorBindToRuntimeEx(pwszversion : ::windows_sys::core::PCWSTR, pwszbuildflavor : ::windows_sys::core::PCWSTR, startupflags : u32, rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mscoree.dll" "system" fn CorBindToRuntimeHost(pwszversion : ::windows_sys::core::PCWSTR, pwszbuildflavor : ::windows_sys::core::PCWSTR, pwszhostconfigfile : ::windows_sys::core::PCWSTR, preserved : *mut ::core::ffi::c_void, startupflags : u32, rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mscoree.dll" "system" fn CorExitProcess(exitcode : i32)); @@ -27,73 +26,6 @@ ::windows_targets::link!("mscoree.dll" "system" fn LoadStringRCEx(lcid : u32, iresouceid : u32, szbuffer : ::windows_sys::core::PWSTR, imax : i32, bquiet : i32, pcwchused : *mut i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mscoree.dll" "system" fn LockClrVersion(hostcallback : FLockClrVersionCallback, pbeginhostsetup : *mut FLockClrVersionCallback, pendhostsetup : *mut FLockClrVersionCallback) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mscoree.dll" "system" fn RunDll32ShimW(hwnd : super::super::Foundation:: HWND, hinst : super::super::Foundation:: HINSTANCE, lpszcmdline : ::windows_sys::core::PCWSTR, ncmdshow : i32) -> ::windows_sys::core::HRESULT); -pub type IActionOnCLREvent = *mut ::core::ffi::c_void; -pub type IApartmentCallback = *mut ::core::ffi::c_void; -pub type IAppDomainBinding = *mut ::core::ffi::c_void; -pub type ICLRAppDomainResourceMonitor = *mut ::core::ffi::c_void; -pub type ICLRAssemblyIdentityManager = *mut ::core::ffi::c_void; -pub type ICLRAssemblyReferenceList = *mut ::core::ffi::c_void; -pub type ICLRControl = *mut ::core::ffi::c_void; -pub type ICLRDebugManager = *mut ::core::ffi::c_void; -pub type ICLRDebugging = *mut ::core::ffi::c_void; -pub type ICLRDebuggingLibraryProvider = *mut ::core::ffi::c_void; -pub type ICLRDomainManager = *mut ::core::ffi::c_void; -pub type ICLRErrorReportingManager = *mut ::core::ffi::c_void; -pub type ICLRGCManager = *mut ::core::ffi::c_void; -pub type ICLRGCManager2 = *mut ::core::ffi::c_void; -pub type ICLRHostBindingPolicyManager = *mut ::core::ffi::c_void; -pub type ICLRHostProtectionManager = *mut ::core::ffi::c_void; -pub type ICLRIoCompletionManager = *mut ::core::ffi::c_void; -pub type ICLRMemoryNotificationCallback = *mut ::core::ffi::c_void; -pub type ICLRMetaHost = *mut ::core::ffi::c_void; -pub type ICLRMetaHostPolicy = *mut ::core::ffi::c_void; -pub type ICLROnEventManager = *mut ::core::ffi::c_void; -pub type ICLRPolicyManager = *mut ::core::ffi::c_void; -pub type ICLRProbingAssemblyEnum = *mut ::core::ffi::c_void; -pub type ICLRProfiling = *mut ::core::ffi::c_void; -pub type ICLRReferenceAssemblyEnum = *mut ::core::ffi::c_void; -pub type ICLRRuntimeHost = *mut ::core::ffi::c_void; -pub type ICLRRuntimeInfo = *mut ::core::ffi::c_void; -pub type ICLRStrongName = *mut ::core::ffi::c_void; -pub type ICLRStrongName2 = *mut ::core::ffi::c_void; -pub type ICLRStrongName3 = *mut ::core::ffi::c_void; -pub type ICLRSyncManager = *mut ::core::ffi::c_void; -pub type ICLRTask = *mut ::core::ffi::c_void; -pub type ICLRTask2 = *mut ::core::ffi::c_void; -pub type ICLRTaskManager = *mut ::core::ffi::c_void; -pub type ICatalogServices = *mut ::core::ffi::c_void; -pub type ICorConfiguration = *mut ::core::ffi::c_void; -pub type ICorRuntimeHost = *mut ::core::ffi::c_void; -pub type ICorThreadpool = *mut ::core::ffi::c_void; -pub type IDebuggerInfo = *mut ::core::ffi::c_void; -pub type IDebuggerThreadControl = *mut ::core::ffi::c_void; -pub type IGCHost = *mut ::core::ffi::c_void; -pub type IGCHost2 = *mut ::core::ffi::c_void; -pub type IGCHostControl = *mut ::core::ffi::c_void; -pub type IGCThreadControl = *mut ::core::ffi::c_void; -pub type IHostAssemblyManager = *mut ::core::ffi::c_void; -pub type IHostAssemblyStore = *mut ::core::ffi::c_void; -pub type IHostAutoEvent = *mut ::core::ffi::c_void; -pub type IHostControl = *mut ::core::ffi::c_void; -pub type IHostCrst = *mut ::core::ffi::c_void; -pub type IHostGCManager = *mut ::core::ffi::c_void; -pub type IHostIoCompletionManager = *mut ::core::ffi::c_void; -pub type IHostMalloc = *mut ::core::ffi::c_void; -pub type IHostManualEvent = *mut ::core::ffi::c_void; -pub type IHostMemoryManager = *mut ::core::ffi::c_void; -pub type IHostPolicyManager = *mut ::core::ffi::c_void; -pub type IHostSecurityContext = *mut ::core::ffi::c_void; -pub type IHostSecurityManager = *mut ::core::ffi::c_void; -pub type IHostSemaphore = *mut ::core::ffi::c_void; -pub type IHostSyncManager = *mut ::core::ffi::c_void; -pub type IHostTask = *mut ::core::ffi::c_void; -pub type IHostTaskManager = *mut ::core::ffi::c_void; -pub type IHostThreadpoolManager = *mut ::core::ffi::c_void; -pub type IManagedObject = *mut ::core::ffi::c_void; -pub type IObjectHandle = *mut ::core::ffi::c_void; -pub type ITypeName = *mut ::core::ffi::c_void; -pub type ITypeNameBuilder = *mut ::core::ffi::c_void; -pub type ITypeNameFactory = *mut ::core::ffi::c_void; pub const APPDOMAIN_FORCE_TRIVIAL_WAIT_OPERATIONS: APPDOMAIN_SECURITY_FLAGS = 8i32; pub const APPDOMAIN_SECURITY_DEFAULT: APPDOMAIN_SECURITY_FLAGS = 0i32; pub const APPDOMAIN_SECURITY_FORBID_CROSSAD_REVERSE_PINVOKE: APPDOMAIN_SECURITY_FLAGS = 2i32; @@ -440,4 +372,4 @@ pub type CreateInterfaceFnPtr = ::core::option::Option ::windows_sys::core::HRESULT>; pub type FLockClrVersionCallback = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PTLS_CALLBACK_FUNCTION = ::core::option::Option; -pub type RuntimeLoadedCallbackFnPtr = ::core::option::Option; +pub type RuntimeLoadedCallbackFnPtr = ::core::option::Option; diff --git a/crates/libs/sys/src/Windows/Win32/System/Com/Marshal/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Com/Marshal/mod.rs index f994313986..39f68f6a3a 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Com/Marshal/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Com/Marshal/mod.rs @@ -15,14 +15,14 @@ ::windows_targets::link!("ole32.dll" "system" fn CLIPFORMAT_UserUnmarshal(param0 : *const u32, param1 : *const u8, param2 : *mut u16) -> *mut u8); ::windows_targets::link!("ole32.dll" "system" fn CLIPFORMAT_UserUnmarshal64(param0 : *const u32, param1 : *const u8, param2 : *mut u16) -> *mut u8); ::windows_targets::link!("ole32.dll" "system" fn CoGetMarshalSizeMax(pulsize : *mut u32, riid : *const ::windows_sys::core::GUID, punk : ::windows_sys::core::IUnknown, dwdestcontext : u32, pvdestcontext : *const ::core::ffi::c_void, mshlflags : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoGetStandardMarshal(riid : *const ::windows_sys::core::GUID, punk : ::windows_sys::core::IUnknown, dwdestcontext : u32, pvdestcontext : *const ::core::ffi::c_void, mshlflags : u32, ppmarshal : *mut IMarshal) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoGetStandardMarshal(riid : *const ::windows_sys::core::GUID, punk : ::windows_sys::core::IUnknown, dwdestcontext : u32, pvdestcontext : *const ::core::ffi::c_void, mshlflags : u32, ppmarshal : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoGetStdMarshalEx(punkouter : ::windows_sys::core::IUnknown, smexflags : u32, ppunkinner : *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoMarshalHresult(pstm : super:: IStream, hresult : ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoMarshalInterThreadInterfaceInStream(riid : *const ::windows_sys::core::GUID, punk : ::windows_sys::core::IUnknown, ppstm : *mut super:: IStream) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoMarshalInterface(pstm : super:: IStream, riid : *const ::windows_sys::core::GUID, punk : ::windows_sys::core::IUnknown, dwdestcontext : u32, pvdestcontext : *const ::core::ffi::c_void, mshlflags : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoReleaseMarshalData(pstm : super:: IStream) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoUnmarshalHresult(pstm : super:: IStream, phresult : *mut ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoUnmarshalInterface(pstm : super:: IStream, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoMarshalHresult(pstm : * mut::core::ffi::c_void, hresult : ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoMarshalInterThreadInterfaceInStream(riid : *const ::windows_sys::core::GUID, punk : ::windows_sys::core::IUnknown, ppstm : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoMarshalInterface(pstm : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, punk : ::windows_sys::core::IUnknown, dwdestcontext : u32, pvdestcontext : *const ::core::ffi::c_void, mshlflags : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoReleaseMarshalData(pstm : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoUnmarshalHresult(pstm : * mut::core::ffi::c_void, phresult : *mut ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoUnmarshalInterface(pstm : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_WindowsAndMessaging")] ::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn HACCEL_UserFree(param0 : *const u32, param1 : *const super::super::super::UI::WindowsAndMessaging:: HACCEL)); #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -151,25 +151,22 @@ ::windows_targets::link!("ole32.dll" "system" fn SNB_UserSize64(param0 : *const u32, param1 : u32, param2 : *const *const *const u16) -> u32); ::windows_targets::link!("ole32.dll" "system" fn SNB_UserUnmarshal(param0 : *const u32, param1 : *const u8, param2 : *mut *mut *mut u16) -> *mut u8); ::windows_targets::link!("ole32.dll" "system" fn SNB_UserUnmarshal64(param0 : *const u32, param1 : *const u8, param2 : *mut *mut *mut u16) -> *mut u8); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn STGMEDIUM_UserFree(param0 : *const u32, param1 : *const super:: STGMEDIUM)); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn STGMEDIUM_UserFree64(param0 : *const u32, param1 : *const super:: STGMEDIUM)); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn STGMEDIUM_UserMarshal(param0 : *const u32, param1 : *mut u8, param2 : *const super:: STGMEDIUM) -> *mut u8); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn STGMEDIUM_UserMarshal64(param0 : *const u32, param1 : *mut u8, param2 : *const super:: STGMEDIUM) -> *mut u8); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn STGMEDIUM_UserSize(param0 : *const u32, param1 : u32, param2 : *const super:: STGMEDIUM) -> u32); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn STGMEDIUM_UserSize64(param0 : *const u32, param1 : u32, param2 : *const super:: STGMEDIUM) -> u32); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn STGMEDIUM_UserUnmarshal(param0 : *const u32, param1 : *const u8, param2 : *mut super:: STGMEDIUM) -> *mut u8); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn STGMEDIUM_UserUnmarshal64(param0 : *const u32, param1 : *const u8, param2 : *mut super:: STGMEDIUM) -> *mut u8); -pub type IMarshal = *mut ::core::ffi::c_void; -pub type IMarshal2 = *mut ::core::ffi::c_void; -pub type IMarshalingStream = *mut ::core::ffi::c_void; +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn STGMEDIUM_UserFree(param0 : *const u32, param1 : *const super:: STGMEDIUM)); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn STGMEDIUM_UserFree64(param0 : *const u32, param1 : *const super:: STGMEDIUM)); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn STGMEDIUM_UserMarshal(param0 : *const u32, param1 : *mut u8, param2 : *const super:: STGMEDIUM) -> *mut u8); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn STGMEDIUM_UserMarshal64(param0 : *const u32, param1 : *mut u8, param2 : *const super:: STGMEDIUM) -> *mut u8); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn STGMEDIUM_UserSize(param0 : *const u32, param1 : u32, param2 : *const super:: STGMEDIUM) -> u32); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn STGMEDIUM_UserSize64(param0 : *const u32, param1 : u32, param2 : *const super:: STGMEDIUM) -> u32); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn STGMEDIUM_UserUnmarshal(param0 : *const u32, param1 : *const u8, param2 : *mut super:: STGMEDIUM) -> *mut u8); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn STGMEDIUM_UserUnmarshal64(param0 : *const u32, param1 : *const u8, param2 : *mut super:: STGMEDIUM) -> *mut u8); pub const SMEXF_HANDLER: STDMSHLFLAGS = 2i32; pub const SMEXF_SERVER: STDMSHLFLAGS = 1i32; pub type STDMSHLFLAGS = i32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Com/StructuredStorage/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Com/StructuredStorage/mod.rs index 227b3c7980..c523ec6088 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Com/StructuredStorage/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Com/StructuredStorage/mod.rs @@ -1,16 +1,16 @@ #[cfg(feature = "Win32_System_Variant")] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn ClearPropVariantArray(rgpropvar : *mut PROPVARIANT, cvars : u32)); ::windows_targets::link!("ole32.dll" "system" fn CoGetInstanceFromFile(pserverinfo : *const super:: COSERVERINFO, pclsid : *const ::windows_sys::core::GUID, punkouter : ::windows_sys::core::IUnknown, dwclsctx : super:: CLSCTX, grfmode : u32, pwszname : ::windows_sys::core::PCWSTR, dwcount : u32, presults : *mut super:: MULTI_QI) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoGetInstanceFromIStorage(pserverinfo : *const super:: COSERVERINFO, pclsid : *const ::windows_sys::core::GUID, punkouter : ::windows_sys::core::IUnknown, dwclsctx : super:: CLSCTX, pstg : IStorage, dwcount : u32, presults : *mut super:: MULTI_QI) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoGetInterfaceAndReleaseStream(pstm : super:: IStream, iid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CreateILockBytesOnHGlobal(hglobal : super::super::super::Foundation:: HGLOBAL, fdeleteonrelease : super::super::super::Foundation:: BOOL, pplkbyt : *mut ILockBytes) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CreateStreamOnHGlobal(hglobal : super::super::super::Foundation:: HGLOBAL, fdeleteonrelease : super::super::super::Foundation:: BOOL, ppstm : *mut super:: IStream) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoGetInstanceFromIStorage(pserverinfo : *const super:: COSERVERINFO, pclsid : *const ::windows_sys::core::GUID, punkouter : ::windows_sys::core::IUnknown, dwclsctx : super:: CLSCTX, pstg : * mut::core::ffi::c_void, dwcount : u32, presults : *mut super:: MULTI_QI) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoGetInterfaceAndReleaseStream(pstm : * mut::core::ffi::c_void, iid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CreateILockBytesOnHGlobal(hglobal : super::super::super::Foundation:: HGLOBAL, fdeleteonrelease : super::super::super::Foundation:: BOOL, pplkbyt : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CreateStreamOnHGlobal(hglobal : super::super::super::Foundation:: HGLOBAL, fdeleteonrelease : super::super::super::Foundation:: BOOL, ppstm : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn FmtIdToPropStgName(pfmtid : *const ::windows_sys::core::GUID, oszname : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Variant")] ::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn FreePropVariantArray(cvariants : u32, rgvars : *mut PROPVARIANT) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn GetConvertStg(pstg : IStorage) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn GetHGlobalFromILockBytes(plkbyt : ILockBytes, phglobal : *mut super::super::super::Foundation:: HGLOBAL) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn GetHGlobalFromStream(pstm : super:: IStream, phglobal : *mut super::super::super::Foundation:: HGLOBAL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn GetConvertStg(pstg : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn GetHGlobalFromILockBytes(plkbyt : * mut::core::ffi::c_void, phglobal : *mut super::super::super::Foundation:: HGLOBAL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn GetHGlobalFromStream(pstm : * mut::core::ffi::c_void, phglobal : *mut super::super::super::Foundation:: HGLOBAL) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Variant")] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn InitPropVariantFromBooleanVector(prgf : *const super::super::super::Foundation:: BOOL, celems : u32, ppropvar : *mut PROPVARIANT) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Variant")] @@ -47,12 +47,12 @@ ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn InitPropVariantFromUInt64Vector(prgn : *const u64, celems : u32, ppropvar : *mut PROPVARIANT) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Variant")] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn InitPropVariantVectorFromPropVariant(propvarsingle : *const PROPVARIANT, ppropvarvector : *mut PROPVARIANT) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn OleConvertIStorageToOLESTREAM(pstg : IStorage, lpolestream : *mut OLESTREAM) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleConvertIStorageToOLESTREAM(pstg : * mut::core::ffi::c_void, lpolestream : *mut OLESTREAM) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Graphics_Gdi")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn OleConvertIStorageToOLESTREAMEx(pstg : IStorage, cfformat : u16, lwidth : i32, lheight : i32, dwsize : u32, pmedium : *const super:: STGMEDIUM, polestm : *mut OLESTREAM) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn OleConvertOLESTREAMToIStorage(lpolestream : *const OLESTREAM, pstg : IStorage, ptd : *const super:: DVTARGETDEVICE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn OleConvertIStorageToOLESTREAMEx(pstg : * mut::core::ffi::c_void, cfformat : u16, lwidth : i32, lheight : i32, dwsize : u32, pmedium : *const super:: STGMEDIUM, polestm : *mut OLESTREAM) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleConvertOLESTREAMToIStorage(lpolestream : *const OLESTREAM, pstg : * mut::core::ffi::c_void, ptd : *const super:: DVTARGETDEVICE) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Graphics_Gdi")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn OleConvertOLESTREAMToIStorageEx(polestm : *const OLESTREAM, pstg : IStorage, pcfformat : *mut u16, plwwidth : *mut i32, plheight : *mut i32, pdwsize : *mut u32, pmedium : *mut super:: STGMEDIUM) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn OleConvertOLESTREAMToIStorageEx(polestm : *const OLESTREAM, pstg : * mut::core::ffi::c_void, pcfformat : *mut u16, plwwidth : *mut i32, plheight : *mut i32, pdwsize : *mut u32, pmedium : *mut super:: STGMEDIUM) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn PropStgNameToFmtId(oszname : ::windows_sys::core::PCWSTR, pfmtid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Variant")] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn PropVariantChangeType(ppropvardest : *mut PROPVARIANT, propvarsrc : *const PROPVARIANT, flags : PROPVAR_CHANGE_FLAGS, vt : super::super::Variant:: VARENUM) -> ::windows_sys::core::HRESULT); @@ -170,60 +170,46 @@ ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn PropVariantToUInt64VectorAlloc(propvar : *const PROPVARIANT, pprgn : *mut *mut u64, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Variant")] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn PropVariantToUInt64WithDefault(propvarin : *const PROPVARIANT, ulldefault : u64) -> u64); -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn PropVariantToVariant(ppropvar : *const PROPVARIANT, pvar : *mut super::super::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Variant")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn PropVariantToVariant(ppropvar : *const PROPVARIANT, pvar : *mut super::super::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Variant")] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn PropVariantToWinRTPropertyValue(propvar : *const PROPVARIANT, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn ReadClassStg(pstg : IStorage, pclsid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn ReadClassStm(pstm : super:: IStream, pclsid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn ReadFmtUserTypeStg(pstg : IStorage, pcf : *mut u16, lplpszusertype : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn SetConvertStg(pstg : IStorage, fconvert : super::super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn ReadClassStg(pstg : * mut::core::ffi::c_void, pclsid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn ReadClassStm(pstm : * mut::core::ffi::c_void, pclsid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn ReadFmtUserTypeStg(pstg : * mut::core::ffi::c_void, pcf : *mut u16, lplpszusertype : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn SetConvertStg(pstg : * mut::core::ffi::c_void, fconvert : super::super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Variant")] ::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn StgConvertVariantToProperty(pvar : *const PROPVARIANT, codepage : u16, pprop : *mut SERIALIZEDPROPERTYVALUE, pcb : *mut u32, pid : u32, freserved : super::super::super::Foundation:: BOOLEAN, pcindirect : *mut u32) -> *mut SERIALIZEDPROPERTYVALUE); -::windows_targets::link!("ole32.dll" "system" fn StgCreateDocfile(pwcsname : ::windows_sys::core::PCWSTR, grfmode : super:: STGM, reserved : u32, ppstgopen : *mut IStorage) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn StgCreateDocfileOnILockBytes(plkbyt : ILockBytes, grfmode : super:: STGM, reserved : u32, ppstgopen : *mut IStorage) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn StgCreatePropSetStg(pstorage : IStorage, dwreserved : u32, pppropsetstg : *mut IPropertySetStorage) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn StgCreatePropStg(punk : ::windows_sys::core::IUnknown, fmtid : *const ::windows_sys::core::GUID, pclsid : *const ::windows_sys::core::GUID, grfflags : u32, dwreserved : u32, pppropstg : *mut IPropertyStorage) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn StgCreateDocfile(pwcsname : ::windows_sys::core::PCWSTR, grfmode : super:: STGM, reserved : u32, ppstgopen : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn StgCreateDocfileOnILockBytes(plkbyt : * mut::core::ffi::c_void, grfmode : super:: STGM, reserved : u32, ppstgopen : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn StgCreatePropSetStg(pstorage : * mut::core::ffi::c_void, dwreserved : u32, pppropsetstg : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn StgCreatePropStg(punk : ::windows_sys::core::IUnknown, fmtid : *const ::windows_sys::core::GUID, pclsid : *const ::windows_sys::core::GUID, grfflags : u32, dwreserved : u32, pppropstg : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Security")] ::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn StgCreateStorageEx(pwcsname : ::windows_sys::core::PCWSTR, grfmode : super:: STGM, stgfmt : STGFMT, grfattrs : u32, pstgoptions : *mut STGOPTIONS, psecuritydescriptor : super::super::super::Security:: PSECURITY_DESCRIPTOR, riid : *const ::windows_sys::core::GUID, ppobjectopen : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Variant")] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn StgDeserializePropVariant(pprop : *const SERIALIZEDPROPERTYVALUE, cbmax : u32, ppropvar : *mut PROPVARIANT) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn StgGetIFillLockBytesOnFile(pwcsname : ::windows_sys::core::PCWSTR, ppflb : *mut IFillLockBytes) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn StgGetIFillLockBytesOnILockBytes(pilb : ILockBytes, ppflb : *mut IFillLockBytes) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn StgGetIFillLockBytesOnFile(pwcsname : ::windows_sys::core::PCWSTR, ppflb : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn StgGetIFillLockBytesOnILockBytes(pilb : * mut::core::ffi::c_void, ppflb : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn StgIsStorageFile(pwcsname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn StgIsStorageILockBytes(plkbyt : ILockBytes) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn StgOpenAsyncDocfileOnIFillLockBytes(pflb : IFillLockBytes, grfmode : u32, asyncflags : u32, ppstgopen : *mut IStorage) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("dflayout.dll" "system" fn StgOpenLayoutDocfile(pwcsdfname : ::windows_sys::core::PCWSTR, grfmode : u32, reserved : u32, ppstgopen : *mut IStorage) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn StgOpenPropStg(punk : ::windows_sys::core::IUnknown, fmtid : *const ::windows_sys::core::GUID, grfflags : u32, dwreserved : u32, pppropstg : *mut IPropertyStorage) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn StgOpenStorage(pwcsname : ::windows_sys::core::PCWSTR, pstgpriority : IStorage, grfmode : super:: STGM, snbexclude : *const *const u16, reserved : u32, ppstgopen : *mut IStorage) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn StgIsStorageILockBytes(plkbyt : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn StgOpenAsyncDocfileOnIFillLockBytes(pflb : * mut::core::ffi::c_void, grfmode : u32, asyncflags : u32, ppstgopen : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("dflayout.dll" "system" fn StgOpenLayoutDocfile(pwcsdfname : ::windows_sys::core::PCWSTR, grfmode : u32, reserved : u32, ppstgopen : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn StgOpenPropStg(punk : ::windows_sys::core::IUnknown, fmtid : *const ::windows_sys::core::GUID, grfflags : u32, dwreserved : u32, pppropstg : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn StgOpenStorage(pwcsname : ::windows_sys::core::PCWSTR, pstgpriority : * mut::core::ffi::c_void, grfmode : super:: STGM, snbexclude : *const *const u16, reserved : u32, ppstgopen : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Security")] ::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn StgOpenStorageEx(pwcsname : ::windows_sys::core::PCWSTR, grfmode : super:: STGM, stgfmt : STGFMT, grfattrs : u32, pstgoptions : *mut STGOPTIONS, psecuritydescriptor : super::super::super::Security:: PSECURITY_DESCRIPTOR, riid : *const ::windows_sys::core::GUID, ppobjectopen : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn StgOpenStorageOnILockBytes(plkbyt : ILockBytes, pstgpriority : IStorage, grfmode : super:: STGM, snbexclude : *const *const u16, reserved : u32, ppstgopen : *mut IStorage) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn StgOpenStorageOnILockBytes(plkbyt : * mut::core::ffi::c_void, pstgpriority : * mut::core::ffi::c_void, grfmode : super:: STGM, snbexclude : *const *const u16, reserved : u32, ppstgopen : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn StgPropertyLengthAsVariant(pprop : *const SERIALIZEDPROPERTYVALUE, cbprop : u32, codepage : u16, breserved : u8) -> u32); #[cfg(feature = "Win32_System_Variant")] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn StgSerializePropVariant(ppropvar : *const PROPVARIANT, ppprop : *mut *mut SERIALIZEDPROPERTYVALUE, pcb : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn StgSetTimes(lpszname : ::windows_sys::core::PCWSTR, pctime : *const super::super::super::Foundation:: FILETIME, patime : *const super::super::super::Foundation:: FILETIME, pmtime : *const super::super::super::Foundation:: FILETIME) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn VariantToPropVariant(pvar : *const super::super::Variant:: VARIANT, ppropvar : *mut PROPVARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Variant")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn VariantToPropVariant(pvar : *const super::super::Variant:: VARIANT, ppropvar : *mut PROPVARIANT) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Variant")] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Variant\"`"] fn WinRTPropertyValueToPropVariant(punkpropertyvalue : ::windows_sys::core::IUnknown, ppropvar : *mut PROPVARIANT) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn WriteClassStg(pstg : IStorage, rclsid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn WriteClassStm(pstm : super:: IStream, rclsid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn WriteFmtUserTypeStg(pstg : IStorage, cf : u16, lpszusertype : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -pub type IDirectWriterLock = *mut ::core::ffi::c_void; -pub type IEnumSTATPROPSETSTG = *mut ::core::ffi::c_void; -pub type IEnumSTATPROPSTG = *mut ::core::ffi::c_void; -pub type IEnumSTATSTG = *mut ::core::ffi::c_void; -pub type IFillLockBytes = *mut ::core::ffi::c_void; -pub type ILayoutStorage = *mut ::core::ffi::c_void; -pub type ILockBytes = *mut ::core::ffi::c_void; -pub type IPersistStorage = *mut ::core::ffi::c_void; -pub type IPropertyBag = *mut ::core::ffi::c_void; -pub type IPropertyBag2 = *mut ::core::ffi::c_void; -pub type IPropertySetStorage = *mut ::core::ffi::c_void; -pub type IPropertyStorage = *mut ::core::ffi::c_void; -pub type IRootStorage = *mut ::core::ffi::c_void; -pub type IStorage = *mut ::core::ffi::c_void; +::windows_targets::link!("ole32.dll" "system" fn WriteClassStg(pstg : * mut::core::ffi::c_void, rclsid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn WriteClassStm(pstm : * mut::core::ffi::c_void, rclsid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn WriteFmtUserTypeStg(pstg : * mut::core::ffi::c_void, cf : u16, lpszusertype : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); pub const CCH_MAX_PROPSTG_NAME: u32 = 31u32; pub const CWCSTORAGENAME: u32 = 32u32; pub const PIDDI_THUMBNAIL: i32 = 2i32; @@ -746,9 +732,9 @@ pub union PROPVARIANT_0_0_0 { pub pszVal: ::windows_sys::core::PSTR, pub pwszVal: ::windows_sys::core::PWSTR, pub punkVal: ::windows_sys::core::IUnknown, - pub pdispVal: super::IDispatch, - pub pStream: super::IStream, - pub pStorage: IStorage, + pub pdispVal: *mut ::core::ffi::c_void, + pub pStream: *mut ::core::ffi::c_void, + pub pStorage: *mut ::core::ffi::c_void, pub pVersionedStream: *mut VERSIONEDSTREAM, pub parray: *mut super::SAFEARRAY, pub cac: CAC, @@ -790,7 +776,7 @@ pub union PROPVARIANT_0_0_0 { pub pdate: *mut f64, pub pbstrVal: *mut ::windows_sys::core::BSTR, pub ppunkVal: *mut ::windows_sys::core::IUnknown, - pub ppdispVal: *mut super::IDispatch, + pub ppdispVal: *mut *mut ::core::ffi::c_void, pub pparray: *mut *mut super::SAFEARRAY, pub pvarVal: *mut PROPVARIANT, } @@ -873,7 +859,7 @@ impl ::core::clone::Clone for STGOPTIONS { #[repr(C)] pub struct VERSIONEDSTREAM { pub guidVersion: ::windows_sys::core::GUID, - pub pStream: super::IStream, + pub pStream: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for VERSIONEDSTREAM {} impl ::core::clone::Clone for VERSIONEDSTREAM { diff --git a/crates/libs/sys/src/Windows/Win32/System/Com/Urlmon/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Com/Urlmon/mod.rs index 30d546d924..56d2455826 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Com/Urlmon/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Com/Urlmon/mod.rs @@ -1,126 +1,79 @@ -::windows_targets::link!("urlmon.dll" "system" fn CoGetClassObjectFromURL(rclassid : *const ::windows_sys::core::GUID, szcode : ::windows_sys::core::PCWSTR, dwfileversionms : u32, dwfileversionls : u32, sztype : ::windows_sys::core::PCWSTR, pbindctx : super:: IBindCtx, dwclscontext : super:: CLSCTX, pvreserved : *const ::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CoInternetCombineIUri(pbaseuri : super:: IUri, prelativeuri : super:: IUri, dwcombineflags : u32, ppcombineduri : *mut super:: IUri, dwreserved : usize) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CoGetClassObjectFromURL(rclassid : *const ::windows_sys::core::GUID, szcode : ::windows_sys::core::PCWSTR, dwfileversionms : u32, dwfileversionls : u32, sztype : ::windows_sys::core::PCWSTR, pbindctx : * mut::core::ffi::c_void, dwclscontext : super:: CLSCTX, pvreserved : *const ::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CoInternetCombineIUri(pbaseuri : * mut::core::ffi::c_void, prelativeuri : * mut::core::ffi::c_void, dwcombineflags : u32, ppcombineduri : *mut * mut::core::ffi::c_void, dwreserved : usize) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn CoInternetCombineUrl(pwzbaseurl : ::windows_sys::core::PCWSTR, pwzrelativeurl : ::windows_sys::core::PCWSTR, dwcombineflags : u32, pszresult : ::windows_sys::core::PWSTR, cchresult : u32, pcchresult : *mut u32, dwreserved : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CoInternetCombineUrlEx(pbaseuri : super:: IUri, pwzrelativeurl : ::windows_sys::core::PCWSTR, dwcombineflags : u32, ppcombineduri : *mut super:: IUri, dwreserved : usize) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CoInternetCombineUrlEx(pbaseuri : * mut::core::ffi::c_void, pwzrelativeurl : ::windows_sys::core::PCWSTR, dwcombineflags : u32, ppcombineduri : *mut * mut::core::ffi::c_void, dwreserved : usize) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn CoInternetCompareUrl(pwzurl1 : ::windows_sys::core::PCWSTR, pwzurl2 : ::windows_sys::core::PCWSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CoInternetCreateSecurityManager(psp : super:: IServiceProvider, ppsm : *mut IInternetSecurityManager, dwreserved : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CoInternetCreateZoneManager(psp : super:: IServiceProvider, ppzm : *mut IInternetZoneManager, dwreserved : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CoInternetCreateSecurityManager(psp : * mut::core::ffi::c_void, ppsm : *mut * mut::core::ffi::c_void, dwreserved : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CoInternetCreateZoneManager(psp : * mut::core::ffi::c_void, ppzm : *mut * mut::core::ffi::c_void, dwreserved : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn CoInternetGetProtocolFlags(pwzurl : ::windows_sys::core::PCWSTR, pdwflags : *mut u32, dwreserved : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn CoInternetGetSecurityUrl(pwszurl : ::windows_sys::core::PCWSTR, ppwszsecurl : *mut ::windows_sys::core::PWSTR, psuaction : PSUACTION, dwreserved : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CoInternetGetSecurityUrlEx(puri : super:: IUri, ppsecuri : *mut super:: IUri, psuaction : PSUACTION, dwreserved : usize) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CoInternetGetSession(dwsessionmode : u32, ppiinternetsession : *mut IInternetSession, dwreserved : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CoInternetGetSecurityUrlEx(puri : * mut::core::ffi::c_void, ppsecuri : *mut * mut::core::ffi::c_void, psuaction : PSUACTION, dwreserved : usize) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CoInternetGetSession(dwsessionmode : u32, ppiinternetsession : *mut * mut::core::ffi::c_void, dwreserved : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn CoInternetIsFeatureEnabled(featureentry : INTERNETFEATURELIST, dwflags : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CoInternetIsFeatureEnabledForIUri(featureentry : INTERNETFEATURELIST, dwflags : u32, piuri : super:: IUri, psecmgr : IInternetSecurityManagerEx2) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CoInternetIsFeatureEnabledForUrl(featureentry : INTERNETFEATURELIST, dwflags : u32, szurl : ::windows_sys::core::PCWSTR, psecmgr : IInternetSecurityManager) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CoInternetIsFeatureZoneElevationEnabled(szfromurl : ::windows_sys::core::PCWSTR, sztourl : ::windows_sys::core::PCWSTR, psecmgr : IInternetSecurityManager, dwflags : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CoInternetParseIUri(piuri : super:: IUri, parseaction : PARSEACTION, dwflags : u32, pwzresult : ::windows_sys::core::PWSTR, cchresult : u32, pcchresult : *mut u32, dwreserved : usize) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CoInternetIsFeatureEnabledForIUri(featureentry : INTERNETFEATURELIST, dwflags : u32, piuri : * mut::core::ffi::c_void, psecmgr : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CoInternetIsFeatureEnabledForUrl(featureentry : INTERNETFEATURELIST, dwflags : u32, szurl : ::windows_sys::core::PCWSTR, psecmgr : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CoInternetIsFeatureZoneElevationEnabled(szfromurl : ::windows_sys::core::PCWSTR, sztourl : ::windows_sys::core::PCWSTR, psecmgr : * mut::core::ffi::c_void, dwflags : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CoInternetParseIUri(piuri : * mut::core::ffi::c_void, parseaction : PARSEACTION, dwflags : u32, pwzresult : ::windows_sys::core::PWSTR, cchresult : u32, pcchresult : *mut u32, dwreserved : usize) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn CoInternetParseUrl(pwzurl : ::windows_sys::core::PCWSTR, parseaction : PARSEACTION, dwflags : u32, pszresult : ::windows_sys::core::PWSTR, cchresult : u32, pcchresult : *mut u32, dwreserved : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn CoInternetQueryInfo(pwzurl : ::windows_sys::core::PCWSTR, queryoptions : QUERYOPTION, dwqueryflags : u32, pvbuffer : *mut ::core::ffi::c_void, cbbuffer : u32, pcbbuffer : *mut u32, dwreserved : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn CoInternetSetFeatureEnabled(featureentry : INTERNETFEATURELIST, dwflags : u32, fenable : super::super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn CompareSecurityIds(pbsecurityid1 : *const u8, dwlen1 : u32, pbsecurityid2 : *const u8, dwlen2 : u32, dwreserved : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn CompatFlagsFromClsid(pclsid : *const ::windows_sys::core::GUID, pdwcompatflags : *mut u32, pdwmiscstatusflags : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("urlmon.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn CopyBindInfo(pcbisrc : *const super:: BINDINFO, pbidest : *mut super:: BINDINFO) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("urlmon.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn CopyStgMedium(pcstgmedsrc : *const super:: STGMEDIUM, pstgmeddest : *mut super:: STGMEDIUM) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CreateAsyncBindCtx(reserved : u32, pbscb : super:: IBindStatusCallback, pefetc : super:: IEnumFORMATETC, ppbc : *mut super:: IBindCtx) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CreateAsyncBindCtxEx(pbc : super:: IBindCtx, dwoptions : u32, pbscb : super:: IBindStatusCallback, penum : super:: IEnumFORMATETC, ppbc : *mut super:: IBindCtx, reserved : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CreateFormatEnumerator(cfmtetc : u32, rgfmtetc : *const super:: FORMATETC, ppenumfmtetc : *mut super:: IEnumFORMATETC) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CreateURLMoniker(pmkctx : super:: IMoniker, szurl : ::windows_sys::core::PCWSTR, ppmk : *mut super:: IMoniker) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CreateURLMonikerEx(pmkctx : super:: IMoniker, szurl : ::windows_sys::core::PCWSTR, ppmk : *mut super:: IMoniker, dwflags : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CreateURLMonikerEx2(pmkctx : super:: IMoniker, puri : super:: IUri, ppmk : *mut super:: IMoniker, dwflags : u32) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))] +::windows_targets::link!("urlmon.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`"] fn CopyBindInfo(pcbisrc : *const super:: BINDINFO, pbidest : *mut super:: BINDINFO) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("urlmon.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn CopyStgMedium(pcstgmedsrc : *const super:: STGMEDIUM, pstgmeddest : *mut super:: STGMEDIUM) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CreateAsyncBindCtx(reserved : u32, pbscb : * mut::core::ffi::c_void, pefetc : * mut::core::ffi::c_void, ppbc : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CreateAsyncBindCtxEx(pbc : * mut::core::ffi::c_void, dwoptions : u32, pbscb : * mut::core::ffi::c_void, penum : * mut::core::ffi::c_void, ppbc : *mut * mut::core::ffi::c_void, reserved : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CreateFormatEnumerator(cfmtetc : u32, rgfmtetc : *const super:: FORMATETC, ppenumfmtetc : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CreateURLMoniker(pmkctx : * mut::core::ffi::c_void, szurl : ::windows_sys::core::PCWSTR, ppmk : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CreateURLMonikerEx(pmkctx : * mut::core::ffi::c_void, szurl : ::windows_sys::core::PCWSTR, ppmk : *mut * mut::core::ffi::c_void, dwflags : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CreateURLMonikerEx2(pmkctx : * mut::core::ffi::c_void, puri : * mut::core::ffi::c_void, ppmk : *mut * mut::core::ffi::c_void, dwflags : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn FaultInIEFeature(hwnd : super::super::super::Foundation:: HWND, pclassspec : *const super:: uCLSSPEC, pquery : *mut super:: QUERYCONTEXT, dwflags : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn FindMediaType(rgsztypes : ::windows_sys::core::PCSTR, rgcftypes : *mut u16) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn FindMediaTypeClass(pbc : super:: IBindCtx, sztype : ::windows_sys::core::PCSTR, pclsid : *mut ::windows_sys::core::GUID, reserved : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn FindMimeFromData(pbc : super:: IBindCtx, pwzurl : ::windows_sys::core::PCWSTR, pbuffer : *const ::core::ffi::c_void, cbsize : u32, pwzmimeproposed : ::windows_sys::core::PCWSTR, dwmimeflags : u32, ppwzmimeout : *mut ::windows_sys::core::PWSTR, dwreserved : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn GetClassFileOrMime(pbc : super:: IBindCtx, szfilename : ::windows_sys::core::PCWSTR, pbuffer : *const ::core::ffi::c_void, cbsize : u32, szmime : ::windows_sys::core::PCWSTR, dwreserved : u32, pclsid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn FindMediaTypeClass(pbc : * mut::core::ffi::c_void, sztype : ::windows_sys::core::PCSTR, pclsid : *mut ::windows_sys::core::GUID, reserved : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn FindMimeFromData(pbc : * mut::core::ffi::c_void, pwzurl : ::windows_sys::core::PCWSTR, pbuffer : *const ::core::ffi::c_void, cbsize : u32, pwzmimeproposed : ::windows_sys::core::PCWSTR, dwmimeflags : u32, ppwzmimeout : *mut ::windows_sys::core::PWSTR, dwreserved : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn GetClassFileOrMime(pbc : * mut::core::ffi::c_void, szfilename : ::windows_sys::core::PCWSTR, pbuffer : *const ::core::ffi::c_void, cbsize : u32, szmime : ::windows_sys::core::PCWSTR, dwreserved : u32, pclsid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn GetClassURL(szurl : ::windows_sys::core::PCWSTR, pclsid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn GetComponentIDFromCLSSPEC(pclassspec : *const super:: uCLSSPEC, ppszcomponentid : *mut ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn GetSoftwareUpdateInfo(szdistunit : ::windows_sys::core::PCWSTR, psdi : *mut SOFTDISTINFO) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn HlinkGoBack(punk : ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn HlinkGoForward(punk : ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn HlinkNavigateMoniker(punk : ::windows_sys::core::IUnknown, pmktarget : super:: IMoniker) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn HlinkNavigateMoniker(punk : ::windows_sys::core::IUnknown, pmktarget : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn HlinkNavigateString(punk : ::windows_sys::core::IUnknown, sztarget : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn HlinkSimpleNavigateToMoniker(pmktarget : super:: IMoniker, szlocation : ::windows_sys::core::PCWSTR, sztargetframename : ::windows_sys::core::PCWSTR, punk : ::windows_sys::core::IUnknown, pbc : super:: IBindCtx, param5 : super:: IBindStatusCallback, grfhlnf : u32, dwreserved : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn HlinkSimpleNavigateToString(sztarget : ::windows_sys::core::PCWSTR, szlocation : ::windows_sys::core::PCWSTR, sztargetframename : ::windows_sys::core::PCWSTR, punk : ::windows_sys::core::IUnknown, pbc : super:: IBindCtx, param5 : super:: IBindStatusCallback, grfhlnf : u32, dwreserved : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn HlinkSimpleNavigateToMoniker(pmktarget : * mut::core::ffi::c_void, szlocation : ::windows_sys::core::PCWSTR, sztargetframename : ::windows_sys::core::PCWSTR, punk : ::windows_sys::core::IUnknown, pbc : * mut::core::ffi::c_void, param5 : * mut::core::ffi::c_void, grfhlnf : u32, dwreserved : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn HlinkSimpleNavigateToString(sztarget : ::windows_sys::core::PCWSTR, szlocation : ::windows_sys::core::PCWSTR, sztargetframename : ::windows_sys::core::PCWSTR, punk : ::windows_sys::core::IUnknown, pbc : * mut::core::ffi::c_void, param5 : * mut::core::ffi::c_void, grfhlnf : u32, dwreserved : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn IEGetUserPrivateNamespaceName() -> ::windows_sys::core::PWSTR); ::windows_targets::link!("urlmon.dll" "system" fn IEInstallScope(pdwscope : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn IsAsyncMoniker(pmk : super:: IMoniker) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn IsAsyncMoniker(pmk : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn IsLoggingEnabledA(pszurl : ::windows_sys::core::PCSTR) -> super::super::super::Foundation:: BOOL); ::windows_targets::link!("urlmon.dll" "system" fn IsLoggingEnabledW(pwszurl : ::windows_sys::core::PCWSTR) -> super::super::super::Foundation:: BOOL); -::windows_targets::link!("urlmon.dll" "system" fn IsValidURL(pbc : super:: IBindCtx, szurl : ::windows_sys::core::PCWSTR, dwreserved : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn MkParseDisplayNameEx(pbc : super:: IBindCtx, szdisplayname : ::windows_sys::core::PCWSTR, pcheaten : *mut u32, ppmk : *mut super:: IMoniker) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn IsValidURL(pbc : * mut::core::ffi::c_void, szurl : ::windows_sys::core::PCWSTR, dwreserved : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn MkParseDisplayNameEx(pbc : * mut::core::ffi::c_void, szdisplayname : ::windows_sys::core::PCWSTR, pcheaten : *mut u32, ppmk : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn ObtainUserAgentString(dwoption : u32, pszuaout : ::windows_sys::core::PSTR, cbsize : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn RegisterBindStatusCallback(pbc : super:: IBindCtx, pbscb : super:: IBindStatusCallback, ppbscbprev : *mut super:: IBindStatusCallback, dwreserved : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn RegisterFormatEnumerator(pbc : super:: IBindCtx, pefetc : super:: IEnumFORMATETC, reserved : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn RegisterMediaTypeClass(pbc : super:: IBindCtx, ctypes : u32, rgsztypes : *const ::windows_sys::core::PCSTR, rgclsid : *const ::windows_sys::core::GUID, reserved : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn RegisterBindStatusCallback(pbc : * mut::core::ffi::c_void, pbscb : * mut::core::ffi::c_void, ppbscbprev : *mut * mut::core::ffi::c_void, dwreserved : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn RegisterFormatEnumerator(pbc : * mut::core::ffi::c_void, pefetc : * mut::core::ffi::c_void, reserved : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn RegisterMediaTypeClass(pbc : * mut::core::ffi::c_void, ctypes : u32, rgsztypes : *const ::windows_sys::core::PCSTR, rgclsid : *const ::windows_sys::core::GUID, reserved : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn RegisterMediaTypes(ctypes : u32, rgsztypes : *const ::windows_sys::core::PCSTR, rgcftypes : *mut u16) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("urlmon.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn ReleaseBindInfo(pbindinfo : *mut super:: BINDINFO)); -::windows_targets::link!("urlmon.dll" "system" fn RevokeBindStatusCallback(pbc : super:: IBindCtx, pbscb : super:: IBindStatusCallback) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn RevokeFormatEnumerator(pbc : super:: IBindCtx, pefetc : super:: IEnumFORMATETC) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))] +::windows_targets::link!("urlmon.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`"] fn ReleaseBindInfo(pbindinfo : *mut super:: BINDINFO)); +::windows_targets::link!("urlmon.dll" "system" fn RevokeBindStatusCallback(pbc : * mut::core::ffi::c_void, pbscb : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn RevokeFormatEnumerator(pbc : * mut::core::ffi::c_void, pefetc : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn SetAccessForIEAppContainer(hobject : super::super::super::Foundation:: HANDLE, ieobjecttype : IEObjectType, dwaccessmask : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn SetSoftwareUpdateAdvertisementState(szdistunit : ::windows_sys::core::PCWSTR, dwadstate : u32, dwadvertisedversionms : u32, dwadvertisedversionls : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn URLDownloadToCacheFileA(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCSTR, param2 : ::windows_sys::core::PSTR, cchfilename : u32, param4 : u32, param5 : super:: IBindStatusCallback) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn URLDownloadToCacheFileW(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCWSTR, param2 : ::windows_sys::core::PWSTR, cchfilename : u32, param4 : u32, param5 : super:: IBindStatusCallback) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn URLDownloadToFileA(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCSTR, param2 : ::windows_sys::core::PCSTR, param3 : u32, param4 : super:: IBindStatusCallback) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn URLDownloadToFileW(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCWSTR, param2 : ::windows_sys::core::PCWSTR, param3 : u32, param4 : super:: IBindStatusCallback) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn URLOpenBlockingStreamA(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCSTR, param2 : *mut super:: IStream, param3 : u32, param4 : super:: IBindStatusCallback) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn URLOpenBlockingStreamW(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCWSTR, param2 : *mut super:: IStream, param3 : u32, param4 : super:: IBindStatusCallback) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn URLOpenPullStreamA(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCSTR, param2 : u32, param3 : super:: IBindStatusCallback) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn URLOpenPullStreamW(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCWSTR, param2 : u32, param3 : super:: IBindStatusCallback) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn URLOpenStreamA(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCSTR, param2 : u32, param3 : super:: IBindStatusCallback) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn URLOpenStreamW(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCWSTR, param2 : u32, param3 : super:: IBindStatusCallback) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn URLDownloadToCacheFileA(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCSTR, param2 : ::windows_sys::core::PSTR, cchfilename : u32, param4 : u32, param5 : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn URLDownloadToCacheFileW(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCWSTR, param2 : ::windows_sys::core::PWSTR, cchfilename : u32, param4 : u32, param5 : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn URLDownloadToFileA(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCSTR, param2 : ::windows_sys::core::PCSTR, param3 : u32, param4 : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn URLDownloadToFileW(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCWSTR, param2 : ::windows_sys::core::PCWSTR, param3 : u32, param4 : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn URLOpenBlockingStreamA(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCSTR, param2 : *mut * mut::core::ffi::c_void, param3 : u32, param4 : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn URLOpenBlockingStreamW(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCWSTR, param2 : *mut * mut::core::ffi::c_void, param3 : u32, param4 : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn URLOpenPullStreamA(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCSTR, param2 : u32, param3 : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn URLOpenPullStreamW(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCWSTR, param2 : u32, param3 : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn URLOpenStreamA(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCSTR, param2 : u32, param3 : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn URLOpenStreamW(param0 : ::windows_sys::core::IUnknown, param1 : ::windows_sys::core::PCWSTR, param2 : u32, param3 : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn UrlMkGetSessionOption(dwoption : u32, pbuffer : *mut ::core::ffi::c_void, dwbufferlength : u32, pdwbufferlengthout : *mut u32, dwreserved : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn UrlMkSetSessionOption(dwoption : u32, pbuffer : *const ::core::ffi::c_void, dwbufferlength : u32, dwreserved : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("urlmon.dll" "system" fn WriteHitLogging(lplogginginfo : *const HIT_LOGGING_INFO) -> super::super::super::Foundation:: BOOL); -pub type IBindCallbackRedirect = *mut ::core::ffi::c_void; -pub type IBindHttpSecurity = *mut ::core::ffi::c_void; -pub type IBindProtocol = *mut ::core::ffi::c_void; -pub type ICatalogFileInfo = *mut ::core::ffi::c_void; -pub type ICodeInstall = *mut ::core::ffi::c_void; -pub type IDataFilter = *mut ::core::ffi::c_void; -pub type IEncodingFilterFactory = *mut ::core::ffi::c_void; -pub type IGetBindHandle = *mut ::core::ffi::c_void; -pub type IHttpNegotiate = *mut ::core::ffi::c_void; -pub type IHttpNegotiate2 = *mut ::core::ffi::c_void; -pub type IHttpNegotiate3 = *mut ::core::ffi::c_void; -pub type IHttpSecurity = *mut ::core::ffi::c_void; -pub type IInternet = *mut ::core::ffi::c_void; -pub type IInternetBindInfo = *mut ::core::ffi::c_void; -pub type IInternetBindInfoEx = *mut ::core::ffi::c_void; -pub type IInternetHostSecurityManager = *mut ::core::ffi::c_void; -pub type IInternetPriority = *mut ::core::ffi::c_void; -pub type IInternetProtocol = *mut ::core::ffi::c_void; -pub type IInternetProtocolEx = *mut ::core::ffi::c_void; -pub type IInternetProtocolInfo = *mut ::core::ffi::c_void; -pub type IInternetProtocolRoot = *mut ::core::ffi::c_void; -pub type IInternetProtocolSink = *mut ::core::ffi::c_void; -pub type IInternetProtocolSinkStackable = *mut ::core::ffi::c_void; -pub type IInternetSecurityManager = *mut ::core::ffi::c_void; -pub type IInternetSecurityManagerEx = *mut ::core::ffi::c_void; -pub type IInternetSecurityManagerEx2 = *mut ::core::ffi::c_void; -pub type IInternetSecurityMgrSite = *mut ::core::ffi::c_void; -pub type IInternetSession = *mut ::core::ffi::c_void; -pub type IInternetThreadSwitch = *mut ::core::ffi::c_void; -pub type IInternetZoneManager = *mut ::core::ffi::c_void; -pub type IInternetZoneManagerEx = *mut ::core::ffi::c_void; -pub type IInternetZoneManagerEx2 = *mut ::core::ffi::c_void; -pub type IMonikerProp = *mut ::core::ffi::c_void; -pub type IPersistMoniker = *mut ::core::ffi::c_void; -pub type ISoftDistExt = *mut ::core::ffi::c_void; -pub type IUriBuilderFactory = *mut ::core::ffi::c_void; -pub type IUriContainer = *mut ::core::ffi::c_void; -pub type IWinInetCacheHints = *mut ::core::ffi::c_void; -pub type IWinInetCacheHints2 = *mut ::core::ffi::c_void; -pub type IWinInetFileStream = *mut ::core::ffi::c_void; -pub type IWinInetHttpInfo = *mut ::core::ffi::c_void; -pub type IWinInetHttpTimeouts = *mut ::core::ffi::c_void; -pub type IWinInetInfo = *mut ::core::ffi::c_void; -pub type IWindowForBindingUI = *mut ::core::ffi::c_void; -pub type IWrappedProtocol = *mut ::core::ffi::c_void; -pub type IZoneIdentifier = *mut ::core::ffi::c_void; -pub type IZoneIdentifier2 = *mut ::core::ffi::c_void; pub const AUTHENTICATEF_BASIC: AUTHENTICATEF = 2i32; pub const AUTHENTICATEF_HTTP: AUTHENTICATEF = 4i32; pub const AUTHENTICATEF_PROXY: AUTHENTICATEF = 1i32; @@ -894,8 +847,8 @@ impl ::core::clone::Clone for PROTOCOLDATA { #[repr(C)] pub struct PROTOCOLFILTERDATA { pub cbSize: u32, - pub pProtocolSink: IInternetProtocolSink, - pub pProtocol: IInternetProtocol, + pub pProtocolSink: *mut ::core::ffi::c_void, + pub pProtocol: *mut ::core::ffi::c_void, pub pUnk: ::windows_sys::core::IUnknown, pub dwFilterFlags: u32, } @@ -989,7 +942,7 @@ impl ::core::clone::Clone for SOFTDISTINFO { #[repr(C)] pub struct StartParam { pub iid: ::windows_sys::core::GUID, - pub pIBindCtx: super::IBindCtx, + pub pIBindCtx: *mut ::core::ffi::c_void, pub pItf: ::windows_sys::core::IUnknown, } impl ::core::marker::Copy for StartParam {} diff --git a/crates/libs/sys/src/Windows/Win32/System/Com/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Com/mod.rs index 1d861edbf1..d20affea47 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Com/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Com/mod.rs @@ -7,7 +7,7 @@ pub mod StructuredStorage; #[cfg(feature = "Win32_System_Com_Urlmon")] #[doc = "Required features: `\"Win32_System_Com_Urlmon\"`"] pub mod Urlmon; -::windows_targets::link!("ole32.dll" "system" fn BindMoniker(pmk : IMoniker, grfopt : u32, iidresult : *const ::windows_sys::core::GUID, ppvresult : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn BindMoniker(pmk : * mut::core::ffi::c_void, grfopt : u32, iidresult : *const ::windows_sys::core::GUID, ppvresult : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CLSIDFromProgID(lpszprogid : ::windows_sys::core::PCWSTR, lpclsid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CLSIDFromProgIDEx(lpszprogid : ::windows_sys::core::PCWSTR, lpclsid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CLSIDFromString(lpsz : ::windows_sys::core::PCWSTR, pclsid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); @@ -42,7 +42,7 @@ pub mod Urlmon; ::windows_targets::link!("ole32.dll" "system" fn CoGetContextToken(ptoken : *mut usize) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoGetCurrentLogicalThreadId(pguid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoGetCurrentProcess() -> u32); -::windows_targets::link!("ole32.dll" "system" fn CoGetMalloc(dwmemcontext : u32, ppmalloc : *mut IMalloc) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoGetMalloc(dwmemcontext : u32, ppmalloc : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoGetObject(pszname : ::windows_sys::core::PCWSTR, pbindoptions : *const BIND_OPTS, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoGetObjectContext(riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoGetPSClsid(riid : *const ::windows_sys::core::GUID, pclsid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); @@ -55,7 +55,7 @@ pub mod Urlmon; ::windows_targets::link!("ole32.dll" "system" fn CoInitializeEx(pvreserved : *const ::core::ffi::c_void, dwcoinit : u32) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Security")] ::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn CoInitializeSecurity(psecdesc : super::super::Security:: PSECURITY_DESCRIPTOR, cauthsvc : i32, asauthsvc : *const SOLE_AUTHENTICATION_SERVICE, preserved1 : *const ::core::ffi::c_void, dwauthnlevel : RPC_C_AUTHN_LEVEL, dwimplevel : RPC_C_IMP_LEVEL, pauthlist : *const ::core::ffi::c_void, dwcapabilities : u32, preserved3 : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoInstall(pbc : IBindCtx, dwflags : u32, pclassspec : *const uCLSSPEC, pquery : *const QUERYCONTEXT, pszcodebase : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoInstall(pbc : * mut::core::ffi::c_void, dwflags : u32, pclassspec : *const uCLSSPEC, pquery : *const QUERYCONTEXT, pszcodebase : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoInvalidateRemoteMachineBindings(pszmachinename : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoIsHandlerConnected(punk : ::windows_sys::core::IUnknown) -> super::super::Foundation:: BOOL); ::windows_targets::link!("ole32.dll" "system" fn CoIsOle1Class(rclsid : *const ::windows_sys::core::GUID) -> super::super::Foundation:: BOOL); @@ -64,14 +64,14 @@ pub mod Urlmon; ::windows_targets::link!("ole32.dll" "system" fn CoQueryAuthenticationServices(pcauthsvc : *mut u32, asauthsvc : *mut *mut SOLE_AUTHENTICATION_SERVICE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoQueryClientBlanket(pauthnsvc : *mut u32, pauthzsvc : *mut u32, pserverprincname : *mut ::windows_sys::core::PWSTR, pauthnlevel : *mut u32, pimplevel : *mut u32, pprivs : *mut *mut ::core::ffi::c_void, pcapabilities : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoQueryProxyBlanket(pproxy : ::windows_sys::core::IUnknown, pwauthnsvc : *mut u32, pauthzsvc : *mut u32, pserverprincname : *mut ::windows_sys::core::PWSTR, pauthnlevel : *mut u32, pimplevel : *mut u32, pauthinfo : *mut *mut ::core::ffi::c_void, pcapabilites : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoRegisterActivationFilter(pactivationfilter : IActivationFilter) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoRegisterChannelHook(extensionuuid : *const ::windows_sys::core::GUID, pchannelhook : IChannelHook) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoRegisterActivationFilter(pactivationfilter : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoRegisterChannelHook(extensionuuid : *const ::windows_sys::core::GUID, pchannelhook : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoRegisterClassObject(rclsid : *const ::windows_sys::core::GUID, punk : ::windows_sys::core::IUnknown, dwclscontext : CLSCTX, flags : u32, lpdwregister : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoRegisterDeviceCatalog(deviceinstanceid : ::windows_sys::core::PCWSTR, cookie : *mut CO_DEVICE_CATALOG_COOKIE) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoRegisterInitializeSpy(pspy : IInitializeSpy, pulicookie : *mut u64) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoRegisterMallocSpy(pmallocspy : IMallocSpy) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoRegisterInitializeSpy(pspy : * mut::core::ffi::c_void, pulicookie : *mut u64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoRegisterMallocSpy(pmallocspy : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoRegisterPSClsid(riid : *const ::windows_sys::core::GUID, rclsid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CoRegisterSurrogate(psurrogate : ISurrogate) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CoRegisterSurrogate(psurrogate : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoReleaseServerProcess() -> u32); ::windows_targets::link!("ole32.dll" "system" fn CoResumeClassObjects() -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoRevertToSelf() -> ::windows_sys::core::HRESULT); @@ -91,149 +91,34 @@ pub mod Urlmon; ::windows_targets::link!("ole32.dll" "system" fn CoUninitialize()); ::windows_targets::link!("ole32.dll" "system" fn CoWaitForMultipleHandles(dwflags : u32, dwtimeout : u32, chandles : u32, phandles : *const super::super::Foundation:: HANDLE, lpdwindex : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CoWaitForMultipleObjects(dwflags : u32, dwtimeout : u32, chandles : u32, phandles : *const super::super::Foundation:: HANDLE, lpdwindex : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CreateAntiMoniker(ppmk : *mut IMoniker) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CreateBindCtx(reserved : u32, ppbc : *mut IBindCtx) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CreateClassMoniker(rclsid : *const ::windows_sys::core::GUID, ppmk : *mut IMoniker) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CreateDataAdviseHolder(ppdaholder : *mut IDataAdviseHolder) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CreateAntiMoniker(ppmk : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CreateBindCtx(reserved : u32, ppbc : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CreateClassMoniker(rclsid : *const ::windows_sys::core::GUID, ppmk : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CreateDataAdviseHolder(ppdaholder : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn CreateDataCache(punkouter : ::windows_sys::core::IUnknown, rclsid : *const ::windows_sys::core::GUID, iid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CreateFileMoniker(lpszpathname : ::windows_sys::core::PCWSTR, ppmk : *mut IMoniker) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CreateGenericComposite(pmkfirst : IMoniker, pmkrest : IMoniker, ppmkcomposite : *mut IMoniker) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CreateIUriBuilder(piuri : IUri, dwflags : u32, dwreserved : usize, ppiuribuilder : *mut IUriBuilder) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CreateItemMoniker(lpszdelim : ::windows_sys::core::PCWSTR, lpszitem : ::windows_sys::core::PCWSTR, ppmk : *mut IMoniker) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CreateObjrefMoniker(punk : ::windows_sys::core::IUnknown, ppmk : *mut IMoniker) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CreatePointerMoniker(punk : ::windows_sys::core::IUnknown, ppmk : *mut IMoniker) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CreateStdProgressIndicator(hwndparent : super::super::Foundation:: HWND, psztitle : ::windows_sys::core::PCWSTR, pibsccaller : IBindStatusCallback, ppibsc : *mut IBindStatusCallback) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CreateUri(pwzuri : ::windows_sys::core::PCWSTR, dwflags : URI_CREATE_FLAGS, dwreserved : usize, ppuri : *mut IUri) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CreateUriFromMultiByteString(pszansiinputuri : ::windows_sys::core::PCSTR, dwencodingflags : u32, dwcodepage : u32, dwcreateflags : u32, dwreserved : usize, ppuri : *mut IUri) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("urlmon.dll" "system" fn CreateUriWithFragment(pwzuri : ::windows_sys::core::PCWSTR, pwzfragment : ::windows_sys::core::PCWSTR, dwflags : u32, dwreserved : usize, ppuri : *mut IUri) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CreateFileMoniker(lpszpathname : ::windows_sys::core::PCWSTR, ppmk : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CreateGenericComposite(pmkfirst : * mut::core::ffi::c_void, pmkrest : * mut::core::ffi::c_void, ppmkcomposite : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CreateIUriBuilder(piuri : * mut::core::ffi::c_void, dwflags : u32, dwreserved : usize, ppiuribuilder : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CreateItemMoniker(lpszdelim : ::windows_sys::core::PCWSTR, lpszitem : ::windows_sys::core::PCWSTR, ppmk : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CreateObjrefMoniker(punk : ::windows_sys::core::IUnknown, ppmk : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CreatePointerMoniker(punk : ::windows_sys::core::IUnknown, ppmk : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CreateStdProgressIndicator(hwndparent : super::super::Foundation:: HWND, psztitle : ::windows_sys::core::PCWSTR, pibsccaller : * mut::core::ffi::c_void, ppibsc : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CreateUri(pwzuri : ::windows_sys::core::PCWSTR, dwflags : URI_CREATE_FLAGS, dwreserved : usize, ppuri : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CreateUriFromMultiByteString(pszansiinputuri : ::windows_sys::core::PCSTR, dwencodingflags : u32, dwcodepage : u32, dwcreateflags : u32, dwreserved : usize, ppuri : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("urlmon.dll" "system" fn CreateUriWithFragment(pwzuri : ::windows_sys::core::PCWSTR, pwzfragment : ::windows_sys::core::PCWSTR, dwflags : u32, dwreserved : usize, ppuri : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn DcomChannelSetHResult(pvreserved : *const ::core::ffi::c_void, pulreserved : *const u32, appshr : ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn GetClassFile(szfilename : ::windows_sys::core::PCWSTR, pclsid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn GetErrorInfo(dwreserved : u32, pperrinfo : *mut IErrorInfo) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn GetRunningObjectTable(reserved : u32, pprot : *mut IRunningObjectTable) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn GetErrorInfo(dwreserved : u32, pperrinfo : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn GetRunningObjectTable(reserved : u32, pprot : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn IIDFromString(lpsz : ::windows_sys::core::PCWSTR, lpiid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn MkParseDisplayName(pbc : IBindCtx, szusername : ::windows_sys::core::PCWSTR, pcheaten : *mut u32, ppmk : *mut IMoniker) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn MonikerCommonPrefixWith(pmkthis : IMoniker, pmkother : IMoniker, ppmkcommon : *mut IMoniker) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn MonikerRelativePathTo(pmksrc : IMoniker, pmkdest : IMoniker, ppmkrelpath : *mut IMoniker, dwreserved : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn MkParseDisplayName(pbc : * mut::core::ffi::c_void, szusername : ::windows_sys::core::PCWSTR, pcheaten : *mut u32, ppmk : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn MonikerCommonPrefixWith(pmkthis : * mut::core::ffi::c_void, pmkother : * mut::core::ffi::c_void, ppmkcommon : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn MonikerRelativePathTo(pmksrc : * mut::core::ffi::c_void, pmkdest : * mut::core::ffi::c_void, ppmkrelpath : *mut * mut::core::ffi::c_void, dwreserved : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn ProgIDFromCLSID(clsid : *const ::windows_sys::core::GUID, lplpszprogid : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn SetErrorInfo(dwreserved : u32, perrinfo : IErrorInfo) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn SetErrorInfo(dwreserved : u32, perrinfo : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn StringFromCLSID(rclsid : *const ::windows_sys::core::GUID, lplpsz : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn StringFromGUID2(rguid : *const ::windows_sys::core::GUID, lpsz : ::windows_sys::core::PWSTR, cchmax : i32) -> i32); ::windows_targets::link!("ole32.dll" "system" fn StringFromIID(rclsid : *const ::windows_sys::core::GUID, lplpsz : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -pub type AsyncIAdviseSink = *mut ::core::ffi::c_void; -pub type AsyncIAdviseSink2 = *mut ::core::ffi::c_void; -pub type AsyncIMultiQI = *mut ::core::ffi::c_void; -pub type AsyncIPipeByte = *mut ::core::ffi::c_void; -pub type AsyncIPipeDouble = *mut ::core::ffi::c_void; -pub type AsyncIPipeLong = *mut ::core::ffi::c_void; -pub type AsyncIUnknown = *mut ::core::ffi::c_void; -pub type IActivationFilter = *mut ::core::ffi::c_void; -pub type IAddrExclusionControl = *mut ::core::ffi::c_void; -pub type IAddrTrackingControl = *mut ::core::ffi::c_void; -pub type IAdviseSink = *mut ::core::ffi::c_void; -pub type IAdviseSink2 = *mut ::core::ffi::c_void; -pub type IAgileObject = *mut ::core::ffi::c_void; -pub type IAsyncManager = *mut ::core::ffi::c_void; -pub type IAsyncRpcChannelBuffer = *mut ::core::ffi::c_void; -pub type IAuthenticate = *mut ::core::ffi::c_void; -pub type IAuthenticateEx = *mut ::core::ffi::c_void; -pub type IBindCtx = *mut ::core::ffi::c_void; -pub type IBindHost = *mut ::core::ffi::c_void; -pub type IBindStatusCallback = *mut ::core::ffi::c_void; -pub type IBindStatusCallbackEx = *mut ::core::ffi::c_void; -pub type IBinding = *mut ::core::ffi::c_void; -pub type IBlockingLock = *mut ::core::ffi::c_void; -pub type ICallFactory = *mut ::core::ffi::c_void; -pub type ICancelMethodCalls = *mut ::core::ffi::c_void; -pub type ICatInformation = *mut ::core::ffi::c_void; -pub type ICatRegister = *mut ::core::ffi::c_void; -pub type IChannelHook = *mut ::core::ffi::c_void; -pub type IClassActivator = *mut ::core::ffi::c_void; -pub type IClassFactory = *mut ::core::ffi::c_void; -pub type IClientSecurity = *mut ::core::ffi::c_void; -pub type IComThreadingInfo = *mut ::core::ffi::c_void; -pub type IConnectionPoint = *mut ::core::ffi::c_void; -pub type IConnectionPointContainer = *mut ::core::ffi::c_void; -pub type IContext = *mut ::core::ffi::c_void; -pub type IContextCallback = *mut ::core::ffi::c_void; -pub type IDataAdviseHolder = *mut ::core::ffi::c_void; -pub type IDataObject = *mut ::core::ffi::c_void; -pub type IDispatch = *mut ::core::ffi::c_void; -pub type IEnumCATEGORYINFO = *mut ::core::ffi::c_void; -pub type IEnumConnectionPoints = *mut ::core::ffi::c_void; -pub type IEnumConnections = *mut ::core::ffi::c_void; -pub type IEnumContextProps = *mut ::core::ffi::c_void; -pub type IEnumFORMATETC = *mut ::core::ffi::c_void; -pub type IEnumGUID = *mut ::core::ffi::c_void; -pub type IEnumMoniker = *mut ::core::ffi::c_void; -pub type IEnumSTATDATA = *mut ::core::ffi::c_void; -pub type IEnumString = *mut ::core::ffi::c_void; -pub type IEnumUnknown = *mut ::core::ffi::c_void; -pub type IErrorInfo = *mut ::core::ffi::c_void; -pub type IErrorLog = *mut ::core::ffi::c_void; -pub type IExternalConnection = *mut ::core::ffi::c_void; -pub type IFastRundown = *mut ::core::ffi::c_void; -pub type IForegroundTransfer = *mut ::core::ffi::c_void; -pub type IGlobalInterfaceTable = *mut ::core::ffi::c_void; -pub type IGlobalOptions = *mut ::core::ffi::c_void; -pub type IInitializeSpy = *mut ::core::ffi::c_void; -pub type IInternalUnknown = *mut ::core::ffi::c_void; -pub type IMachineGlobalObjectTable = *mut ::core::ffi::c_void; -pub type IMalloc = *mut ::core::ffi::c_void; -pub type IMallocSpy = *mut ::core::ffi::c_void; -pub type IMoniker = *mut ::core::ffi::c_void; -pub type IMultiQI = *mut ::core::ffi::c_void; -pub type INoMarshal = *mut ::core::ffi::c_void; -pub type IOplockStorage = *mut ::core::ffi::c_void; -pub type IPSFactoryBuffer = *mut ::core::ffi::c_void; -pub type IPersist = *mut ::core::ffi::c_void; -pub type IPersistFile = *mut ::core::ffi::c_void; -pub type IPersistMemory = *mut ::core::ffi::c_void; -pub type IPersistStream = *mut ::core::ffi::c_void; -pub type IPersistStreamInit = *mut ::core::ffi::c_void; -pub type IPipeByte = *mut ::core::ffi::c_void; -pub type IPipeDouble = *mut ::core::ffi::c_void; -pub type IPipeLong = *mut ::core::ffi::c_void; -pub type IProcessInitControl = *mut ::core::ffi::c_void; -pub type IProcessLock = *mut ::core::ffi::c_void; -pub type IProgressNotify = *mut ::core::ffi::c_void; -pub type IROTData = *mut ::core::ffi::c_void; -pub type IReleaseMarshalBuffers = *mut ::core::ffi::c_void; -pub type IRpcChannelBuffer = *mut ::core::ffi::c_void; -pub type IRpcChannelBuffer2 = *mut ::core::ffi::c_void; -pub type IRpcChannelBuffer3 = *mut ::core::ffi::c_void; -pub type IRpcHelper = *mut ::core::ffi::c_void; -pub type IRpcOptions = *mut ::core::ffi::c_void; -pub type IRpcProxyBuffer = *mut ::core::ffi::c_void; -pub type IRpcStubBuffer = *mut ::core::ffi::c_void; -pub type IRpcSyntaxNegotiate = *mut ::core::ffi::c_void; -pub type IRunnableObject = *mut ::core::ffi::c_void; -pub type IRunningObjectTable = *mut ::core::ffi::c_void; -pub type ISequentialStream = *mut ::core::ffi::c_void; -pub type IServerSecurity = *mut ::core::ffi::c_void; -pub type IServiceProvider = *mut ::core::ffi::c_void; -pub type IStdMarshalInfo = *mut ::core::ffi::c_void; -pub type IStream = *mut ::core::ffi::c_void; -pub type ISupportAllowLowerTrustActivation = *mut ::core::ffi::c_void; -pub type ISupportErrorInfo = *mut ::core::ffi::c_void; -pub type ISurrogate = *mut ::core::ffi::c_void; -pub type ISurrogateService = *mut ::core::ffi::c_void; -pub type ISynchronize = *mut ::core::ffi::c_void; -pub type ISynchronizeContainer = *mut ::core::ffi::c_void; -pub type ISynchronizeEvent = *mut ::core::ffi::c_void; -pub type ISynchronizeHandle = *mut ::core::ffi::c_void; -pub type ISynchronizeMutex = *mut ::core::ffi::c_void; -pub type ITimeAndNoticeControl = *mut ::core::ffi::c_void; -pub type ITypeComp = *mut ::core::ffi::c_void; -pub type ITypeInfo = *mut ::core::ffi::c_void; -pub type ITypeInfo2 = *mut ::core::ffi::c_void; -pub type ITypeLib = *mut ::core::ffi::c_void; -pub type ITypeLib2 = *mut ::core::ffi::c_void; -pub type ITypeLibRegistration = *mut ::core::ffi::c_void; -pub type ITypeLibRegistrationReader = *mut ::core::ffi::c_void; -pub type IUri = *mut ::core::ffi::c_void; -pub type IUriBuilder = *mut ::core::ffi::c_void; -pub type IUrlMon = *mut ::core::ffi::c_void; -pub type IWaitMultiple = *mut ::core::ffi::c_void; pub const ADVFCACHE_FORCEBUILTIN: ADVF = 16i32; pub const ADVFCACHE_NOHANDLER: ADVF = 8i32; pub const ADVFCACHE_ONSAVE: ADVF = 32i32; @@ -766,8 +651,8 @@ impl ::core::clone::Clone for AUTHENTICATEINFO { } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`"] -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))] pub struct BINDINFO { pub cbSize: u32, pub szExtraInfo: ::windows_sys::core::PWSTR, @@ -784,9 +669,9 @@ pub struct BINDINFO { pub pUnk: ::windows_sys::core::IUnknown, pub dwReserved: u32, } -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))] impl ::core::marker::Copy for BINDINFO {} -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))] impl ::core::clone::Clone for BINDINFO { fn clone(&self) -> Self { *self @@ -798,7 +683,7 @@ impl ::core::clone::Clone for BINDINFO { pub union BINDPTR { pub lpfuncdesc: *mut FUNCDESC, pub lpvardesc: *mut VARDESC, - pub lptcomp: ITypeComp, + pub lptcomp: *mut ::core::ffi::c_void, } #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for BINDPTR {} @@ -963,30 +848,30 @@ impl ::core::clone::Clone for CSPLATFORM { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Variant\"`"] +#[cfg(feature = "Win32_System_Variant")] pub struct CUSTDATA { pub cCustData: u32, pub prgCustData: *mut CUSTDATAITEM, } -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(feature = "Win32_System_Variant")] impl ::core::marker::Copy for CUSTDATA {} -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(feature = "Win32_System_Variant")] impl ::core::clone::Clone for CUSTDATA { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Variant\"`"] +#[cfg(feature = "Win32_System_Variant")] pub struct CUSTDATAITEM { pub guid: ::windows_sys::core::GUID, pub varValue: super::Variant::VARIANT, } -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(feature = "Win32_System_Variant")] impl ::core::marker::Copy for CUSTDATAITEM {} -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(feature = "Win32_System_Variant")] impl ::core::clone::Clone for CUSTDATAITEM { fn clone(&self) -> Self { *self @@ -1039,17 +924,17 @@ impl ::core::clone::Clone for ContextProperty { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Variant\"`"] +#[cfg(feature = "Win32_System_Variant")] pub struct DISPPARAMS { pub rgvarg: *mut super::Variant::VARIANT, pub rgdispidNamedArgs: *mut i32, pub cArgs: u32, pub cNamedArgs: u32, } -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(feature = "Win32_System_Variant")] impl ::core::marker::Copy for DISPPARAMS {} -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(feature = "Win32_System_Variant")] impl ::core::clone::Clone for DISPPARAMS { fn clone(&self) -> Self { *self @@ -1165,16 +1050,16 @@ impl ::core::clone::Clone for FLAGGED_WORD_BLOB { } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] +#[cfg(feature = "Win32_Graphics_Gdi")] pub struct FLAG_STGMEDIUM { pub ContextFlags: i32, pub fPassOwnership: i32, pub Stgmed: STGMEDIUM, } -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::marker::Copy for FLAG_STGMEDIUM {} -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::clone::Clone for FLAG_STGMEDIUM { fn clone(&self) -> Self { *self @@ -1423,7 +1308,7 @@ impl ::core::clone::Clone for SOLE_AUTHENTICATION_SERVICE { pub struct STATDATA { pub formatetc: FORMATETC, pub advf: u32, - pub pAdvSink: IAdviseSink, + pub pAdvSink: *mut ::core::ffi::c_void, pub dwConnection: u32, } impl ::core::marker::Copy for STATDATA {} @@ -1453,36 +1338,36 @@ impl ::core::clone::Clone for STATSTG { } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] +#[cfg(feature = "Win32_Graphics_Gdi")] pub struct STGMEDIUM { pub tymed: u32, pub u: STGMEDIUM_0, pub pUnkForRelease: ::windows_sys::core::IUnknown, } -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::marker::Copy for STGMEDIUM {} -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::clone::Clone for STGMEDIUM { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] +#[cfg(feature = "Win32_Graphics_Gdi")] pub union STGMEDIUM_0 { pub hBitmap: super::super::Graphics::Gdi::HBITMAP, pub hMetaFilePict: *mut ::core::ffi::c_void, pub hEnhMetaFile: super::super::Graphics::Gdi::HENHMETAFILE, pub hGlobal: super::super::Foundation::HGLOBAL, pub lpszFileName: ::windows_sys::core::PWSTR, - pub pstm: IStream, - pub pstg: StructuredStorage::IStorage, + pub pstm: *mut ::core::ffi::c_void, + pub pstg: *mut ::core::ffi::c_void, } -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::marker::Copy for STGMEDIUM_0 {} -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::clone::Clone for STGMEDIUM_0 { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/System/ComponentServices/mod.rs b/crates/libs/sys/src/Windows/Win32/System/ComponentServices/mod.rs index 403cbeeca8..23c55d6b88 100644 --- a/crates/libs/sys/src/Windows/Win32/System/ComponentServices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/ComponentServices/mod.rs @@ -3,134 +3,11 @@ #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn CoGetDefaultContext(apttype : super::Com:: APTTYPE, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("comsvcs.dll" "system" fn CoLeaveServiceDomain(punkstatus : ::windows_sys::core::IUnknown)); -::windows_targets::link!("mtxdm.dll" "cdecl" fn GetDispenserManager(param0 : *mut IDispenserManager) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mtxdm.dll" "cdecl" fn GetDispenserManager(param0 : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("comsvcs.dll" "system" fn GetManagedExtensions(dwexts : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("comsvcs.dll" "system" fn MTSCreateActivity(riid : *const ::windows_sys::core::GUID, ppobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("comsvcs.dll" "cdecl" fn RecycleSurrogate(lreasoncode : i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("comsvcs.dll" "cdecl" fn SafeRef(rid : *const ::windows_sys::core::GUID, punk : ::windows_sys::core::IUnknown) -> *mut ::core::ffi::c_void); -pub type ContextInfo = *mut ::core::ffi::c_void; -pub type ContextInfo2 = *mut ::core::ffi::c_void; -pub type IAppDomainHelper = *mut ::core::ffi::c_void; -pub type IAssemblyLocator = *mut ::core::ffi::c_void; -pub type IAsyncErrorNotify = *mut ::core::ffi::c_void; -pub type ICOMAdminCatalog = *mut ::core::ffi::c_void; -pub type ICOMAdminCatalog2 = *mut ::core::ffi::c_void; -pub type ICOMLBArguments = *mut ::core::ffi::c_void; -pub type ICatalogCollection = *mut ::core::ffi::c_void; -pub type ICatalogObject = *mut ::core::ffi::c_void; -pub type ICheckSxsConfig = *mut ::core::ffi::c_void; -pub type IComActivityEvents = *mut ::core::ffi::c_void; -pub type IComApp2Events = *mut ::core::ffi::c_void; -pub type IComAppEvents = *mut ::core::ffi::c_void; -pub type IComCRMEvents = *mut ::core::ffi::c_void; -pub type IComExceptionEvents = *mut ::core::ffi::c_void; -pub type IComIdentityEvents = *mut ::core::ffi::c_void; -pub type IComInstance2Events = *mut ::core::ffi::c_void; -pub type IComInstanceEvents = *mut ::core::ffi::c_void; -pub type IComLTxEvents = *mut ::core::ffi::c_void; -pub type IComMethod2Events = *mut ::core::ffi::c_void; -pub type IComMethodEvents = *mut ::core::ffi::c_void; -pub type IComMtaThreadPoolKnobs = *mut ::core::ffi::c_void; -pub type IComObjectConstruction2Events = *mut ::core::ffi::c_void; -pub type IComObjectConstructionEvents = *mut ::core::ffi::c_void; -pub type IComObjectEvents = *mut ::core::ffi::c_void; -pub type IComObjectPool2Events = *mut ::core::ffi::c_void; -pub type IComObjectPoolEvents = *mut ::core::ffi::c_void; -pub type IComObjectPoolEvents2 = *mut ::core::ffi::c_void; -pub type IComQCEvents = *mut ::core::ffi::c_void; -pub type IComResourceEvents = *mut ::core::ffi::c_void; -pub type IComSecurityEvents = *mut ::core::ffi::c_void; -pub type IComStaThreadPoolKnobs = *mut ::core::ffi::c_void; -pub type IComStaThreadPoolKnobs2 = *mut ::core::ffi::c_void; -pub type IComThreadEvents = *mut ::core::ffi::c_void; -pub type IComTrackingInfoCollection = *mut ::core::ffi::c_void; -pub type IComTrackingInfoEvents = *mut ::core::ffi::c_void; -pub type IComTrackingInfoObject = *mut ::core::ffi::c_void; -pub type IComTrackingInfoProperties = *mut ::core::ffi::c_void; -pub type IComTransaction2Events = *mut ::core::ffi::c_void; -pub type IComTransactionEvents = *mut ::core::ffi::c_void; -pub type IComUserEvent = *mut ::core::ffi::c_void; -pub type IContextProperties = *mut ::core::ffi::c_void; -pub type IContextSecurityPerimeter = *mut ::core::ffi::c_void; -pub type IContextState = *mut ::core::ffi::c_void; -pub type ICreateWithLocalTransaction = *mut ::core::ffi::c_void; -pub type ICreateWithTipTransactionEx = *mut ::core::ffi::c_void; -pub type ICreateWithTransactionEx = *mut ::core::ffi::c_void; -pub type ICrmCompensator = *mut ::core::ffi::c_void; -pub type ICrmCompensatorVariants = *mut ::core::ffi::c_void; -pub type ICrmFormatLogRecords = *mut ::core::ffi::c_void; -pub type ICrmLogControl = *mut ::core::ffi::c_void; -pub type ICrmMonitor = *mut ::core::ffi::c_void; -pub type ICrmMonitorClerks = *mut ::core::ffi::c_void; -pub type ICrmMonitorLogRecords = *mut ::core::ffi::c_void; -pub type IDispenserDriver = *mut ::core::ffi::c_void; -pub type IDispenserManager = *mut ::core::ffi::c_void; -pub type IEnumNames = *mut ::core::ffi::c_void; -pub type IEventServerTrace = *mut ::core::ffi::c_void; -pub type IGetAppTrackerData = *mut ::core::ffi::c_void; -pub type IGetContextProperties = *mut ::core::ffi::c_void; -pub type IGetSecurityCallContext = *mut ::core::ffi::c_void; -pub type IHolder = *mut ::core::ffi::c_void; -pub type ILBEvents = *mut ::core::ffi::c_void; -pub type IMTSActivity = *mut ::core::ffi::c_void; -pub type IMTSCall = *mut ::core::ffi::c_void; -pub type IMTSLocator = *mut ::core::ffi::c_void; -pub type IManagedActivationEvents = *mut ::core::ffi::c_void; -pub type IManagedObjectInfo = *mut ::core::ffi::c_void; -pub type IManagedPoolAction = *mut ::core::ffi::c_void; -pub type IManagedPooledObj = *mut ::core::ffi::c_void; -pub type IMessageMover = *mut ::core::ffi::c_void; -pub type IMtsEventInfo = *mut ::core::ffi::c_void; -pub type IMtsEvents = *mut ::core::ffi::c_void; -pub type IMtsGrp = *mut ::core::ffi::c_void; -pub type IObjPool = *mut ::core::ffi::c_void; -pub type IObjectConstruct = *mut ::core::ffi::c_void; -pub type IObjectConstructString = *mut ::core::ffi::c_void; -pub type IObjectContext = *mut ::core::ffi::c_void; -pub type IObjectContextActivity = *mut ::core::ffi::c_void; -pub type IObjectContextInfo = *mut ::core::ffi::c_void; -pub type IObjectContextInfo2 = *mut ::core::ffi::c_void; -pub type IObjectContextTip = *mut ::core::ffi::c_void; -pub type IObjectControl = *mut ::core::ffi::c_void; -pub type IPlaybackControl = *mut ::core::ffi::c_void; -pub type IPoolManager = *mut ::core::ffi::c_void; -pub type IProcessInitializer = *mut ::core::ffi::c_void; -pub type ISecurityCallContext = *mut ::core::ffi::c_void; -pub type ISecurityCallersColl = *mut ::core::ffi::c_void; -pub type ISecurityIdentityColl = *mut ::core::ffi::c_void; -pub type ISecurityProperty = *mut ::core::ffi::c_void; -pub type ISelectCOMLBServer = *mut ::core::ffi::c_void; -pub type ISendMethodEvents = *mut ::core::ffi::c_void; -pub type IServiceActivity = *mut ::core::ffi::c_void; -pub type IServiceCall = *mut ::core::ffi::c_void; -pub type IServiceComTIIntrinsicsConfig = *mut ::core::ffi::c_void; -pub type IServiceIISIntrinsicsConfig = *mut ::core::ffi::c_void; -pub type IServiceInheritanceConfig = *mut ::core::ffi::c_void; -pub type IServicePartitionConfig = *mut ::core::ffi::c_void; -pub type IServicePool = *mut ::core::ffi::c_void; -pub type IServicePoolConfig = *mut ::core::ffi::c_void; -pub type IServiceSxsConfig = *mut ::core::ffi::c_void; -pub type IServiceSynchronizationConfig = *mut ::core::ffi::c_void; -pub type IServiceSysTxnConfig = *mut ::core::ffi::c_void; -pub type IServiceThreadPoolConfig = *mut ::core::ffi::c_void; -pub type IServiceTrackerConfig = *mut ::core::ffi::c_void; -pub type IServiceTransactionConfig = *mut ::core::ffi::c_void; -pub type IServiceTransactionConfigBase = *mut ::core::ffi::c_void; -pub type ISharedProperty = *mut ::core::ffi::c_void; -pub type ISharedPropertyGroup = *mut ::core::ffi::c_void; -pub type ISharedPropertyGroupManager = *mut ::core::ffi::c_void; -pub type ISystemAppEventData = *mut ::core::ffi::c_void; -pub type IThreadPoolKnobs = *mut ::core::ffi::c_void; -pub type ITransactionContext = *mut ::core::ffi::c_void; -pub type ITransactionContextEx = *mut ::core::ffi::c_void; -pub type ITransactionProperty = *mut ::core::ffi::c_void; -pub type ITransactionProxy = *mut ::core::ffi::c_void; -pub type ITransactionResourcePool = *mut ::core::ffi::c_void; -pub type ITransactionStatus = *mut ::core::ffi::c_void; -pub type ITxProxyHolder = *mut ::core::ffi::c_void; -pub type ObjectContext = *mut ::core::ffi::c_void; -pub type ObjectControl = *mut ::core::ffi::c_void; -pub type SecurityProperty = *mut ::core::ffi::c_void; pub const APPTYPE_LIBRARY: COMPLUS_APPTYPE = 0i32; pub const APPTYPE_SERVER: COMPLUS_APPTYPE = 1i32; pub const APPTYPE_SWC: COMPLUS_APPTYPE = 2i32; diff --git a/crates/libs/sys/src/Windows/Win32/System/DeploymentServices/mod.rs b/crates/libs/sys/src/Windows/Win32/System/DeploymentServices/mod.rs index f4ffbf585f..57f8120af1 100644 --- a/crates/libs/sys/src/Windows/Win32/System/DeploymentServices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/DeploymentServices/mod.rs @@ -93,31 +93,6 @@ ::windows_targets::link!("wdsmc.dll" "system" fn WdsTransportServerRegisterCallback(hprovider : super::super::Foundation:: HANDLE, callbackid : TRANSPORTPROVIDER_CALLBACK_ID, pfncallback : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wdsmc.dll" "cdecl" fn WdsTransportServerTrace(hprovider : super::super::Foundation:: HANDLE, severity : u32, pwszformat : ::windows_sys::core::PCWSTR, ...) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wdsmc.dll" "system" fn WdsTransportServerTraceV(hprovider : super::super::Foundation:: HANDLE, severity : u32, pwszformat : ::windows_sys::core::PCWSTR, params : *const i8) -> ::windows_sys::core::HRESULT); -pub type IWdsTransportCacheable = *mut ::core::ffi::c_void; -pub type IWdsTransportClient = *mut ::core::ffi::c_void; -pub type IWdsTransportCollection = *mut ::core::ffi::c_void; -pub type IWdsTransportConfigurationManager = *mut ::core::ffi::c_void; -pub type IWdsTransportConfigurationManager2 = *mut ::core::ffi::c_void; -pub type IWdsTransportContent = *mut ::core::ffi::c_void; -pub type IWdsTransportContentProvider = *mut ::core::ffi::c_void; -pub type IWdsTransportDiagnosticsPolicy = *mut ::core::ffi::c_void; -pub type IWdsTransportManager = *mut ::core::ffi::c_void; -pub type IWdsTransportMulticastSessionPolicy = *mut ::core::ffi::c_void; -pub type IWdsTransportNamespace = *mut ::core::ffi::c_void; -pub type IWdsTransportNamespaceAutoCast = *mut ::core::ffi::c_void; -pub type IWdsTransportNamespaceManager = *mut ::core::ffi::c_void; -pub type IWdsTransportNamespaceScheduledCast = *mut ::core::ffi::c_void; -pub type IWdsTransportNamespaceScheduledCastAutoStart = *mut ::core::ffi::c_void; -pub type IWdsTransportNamespaceScheduledCastManualStart = *mut ::core::ffi::c_void; -pub type IWdsTransportServer = *mut ::core::ffi::c_void; -pub type IWdsTransportServer2 = *mut ::core::ffi::c_void; -pub type IWdsTransportServicePolicy = *mut ::core::ffi::c_void; -pub type IWdsTransportServicePolicy2 = *mut ::core::ffi::c_void; -pub type IWdsTransportSession = *mut ::core::ffi::c_void; -pub type IWdsTransportSetupManager = *mut ::core::ffi::c_void; -pub type IWdsTransportSetupManager2 = *mut ::core::ffi::c_void; -pub type IWdsTransportTftpClient = *mut ::core::ffi::c_void; -pub type IWdsTransportTftpManager = *mut ::core::ffi::c_void; pub const CPU_ARCHITECTURE_AMD64: CPU_ARCHITECTURE = 9u32; pub const CPU_ARCHITECTURE_IA64: CPU_ARCHITECTURE = 6u32; pub const CPU_ARCHITECTURE_INTEL: CPU_ARCHITECTURE = 0u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs index a6cd409eab..350c700790 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs @@ -1,128 +1,8 @@ -::windows_targets::link!("dbgmodel.dll" "system" fn CreateDataModelManager(debughost : IDebugHost, manager : *mut IDataModelManager) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("dbgmodel.dll" "system" fn CreateDataModelManager(debughost : * mut::core::ffi::c_void, manager : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("dbgeng.dll" "system" fn DebugConnect(remoteoptions : ::windows_sys::core::PCSTR, interfaceid : *const ::windows_sys::core::GUID, interface : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("dbgeng.dll" "system" fn DebugConnectWide(remoteoptions : ::windows_sys::core::PCWSTR, interfaceid : *const ::windows_sys::core::GUID, interface : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("dbgeng.dll" "system" fn DebugCreate(interfaceid : *const ::windows_sys::core::GUID, interface : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("dbgeng.dll" "system" fn DebugCreateEx(interfaceid : *const ::windows_sys::core::GUID, dbgengoptions : u32, interface : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -pub type DebugBaseEventCallbacks = *mut ::core::ffi::c_void; -pub type DebugBaseEventCallbacksWide = *mut ::core::ffi::c_void; -pub type ICodeAddressConcept = *mut ::core::ffi::c_void; -pub type IComparableConcept = *mut ::core::ffi::c_void; -pub type IDataModelConcept = *mut ::core::ffi::c_void; -pub type IDataModelManager = *mut ::core::ffi::c_void; -pub type IDataModelManager2 = *mut ::core::ffi::c_void; -pub type IDataModelNameBinder = *mut ::core::ffi::c_void; -pub type IDataModelScript = *mut ::core::ffi::c_void; -pub type IDataModelScriptClient = *mut ::core::ffi::c_void; -pub type IDataModelScriptDebug = *mut ::core::ffi::c_void; -pub type IDataModelScriptDebug2 = *mut ::core::ffi::c_void; -pub type IDataModelScriptDebugBreakpoint = *mut ::core::ffi::c_void; -pub type IDataModelScriptDebugBreakpointEnumerator = *mut ::core::ffi::c_void; -pub type IDataModelScriptDebugClient = *mut ::core::ffi::c_void; -pub type IDataModelScriptDebugStack = *mut ::core::ffi::c_void; -pub type IDataModelScriptDebugStackFrame = *mut ::core::ffi::c_void; -pub type IDataModelScriptDebugVariableSetEnumerator = *mut ::core::ffi::c_void; -pub type IDataModelScriptHostContext = *mut ::core::ffi::c_void; -pub type IDataModelScriptManager = *mut ::core::ffi::c_void; -pub type IDataModelScriptProvider = *mut ::core::ffi::c_void; -pub type IDataModelScriptProviderEnumerator = *mut ::core::ffi::c_void; -pub type IDataModelScriptTemplate = *mut ::core::ffi::c_void; -pub type IDataModelScriptTemplateEnumerator = *mut ::core::ffi::c_void; -pub type IDebugAdvanced = *mut ::core::ffi::c_void; -pub type IDebugAdvanced2 = *mut ::core::ffi::c_void; -pub type IDebugAdvanced3 = *mut ::core::ffi::c_void; -pub type IDebugAdvanced4 = *mut ::core::ffi::c_void; -pub type IDebugBreakpoint = *mut ::core::ffi::c_void; -pub type IDebugBreakpoint2 = *mut ::core::ffi::c_void; -pub type IDebugBreakpoint3 = *mut ::core::ffi::c_void; -pub type IDebugClient = *mut ::core::ffi::c_void; -pub type IDebugClient2 = *mut ::core::ffi::c_void; -pub type IDebugClient3 = *mut ::core::ffi::c_void; -pub type IDebugClient4 = *mut ::core::ffi::c_void; -pub type IDebugClient5 = *mut ::core::ffi::c_void; -pub type IDebugClient6 = *mut ::core::ffi::c_void; -pub type IDebugClient7 = *mut ::core::ffi::c_void; -pub type IDebugClient8 = *mut ::core::ffi::c_void; -pub type IDebugControl = *mut ::core::ffi::c_void; -pub type IDebugControl2 = *mut ::core::ffi::c_void; -pub type IDebugControl3 = *mut ::core::ffi::c_void; -pub type IDebugControl4 = *mut ::core::ffi::c_void; -pub type IDebugControl5 = *mut ::core::ffi::c_void; -pub type IDebugControl6 = *mut ::core::ffi::c_void; -pub type IDebugControl7 = *mut ::core::ffi::c_void; -pub type IDebugDataSpaces = *mut ::core::ffi::c_void; -pub type IDebugDataSpaces2 = *mut ::core::ffi::c_void; -pub type IDebugDataSpaces3 = *mut ::core::ffi::c_void; -pub type IDebugDataSpaces4 = *mut ::core::ffi::c_void; -pub type IDebugEventCallbacks = *mut ::core::ffi::c_void; -pub type IDebugEventCallbacksWide = *mut ::core::ffi::c_void; -pub type IDebugEventContextCallbacks = *mut ::core::ffi::c_void; -pub type IDebugFAEntryTags = *mut ::core::ffi::c_void; -pub type IDebugFailureAnalysis = *mut ::core::ffi::c_void; -pub type IDebugFailureAnalysis2 = *mut ::core::ffi::c_void; -pub type IDebugFailureAnalysis3 = *mut ::core::ffi::c_void; -pub type IDebugHost = *mut ::core::ffi::c_void; -pub type IDebugHostBaseClass = *mut ::core::ffi::c_void; -pub type IDebugHostConstant = *mut ::core::ffi::c_void; -pub type IDebugHostContext = *mut ::core::ffi::c_void; -pub type IDebugHostData = *mut ::core::ffi::c_void; -pub type IDebugHostErrorSink = *mut ::core::ffi::c_void; -pub type IDebugHostEvaluator = *mut ::core::ffi::c_void; -pub type IDebugHostEvaluator2 = *mut ::core::ffi::c_void; -pub type IDebugHostExtensibility = *mut ::core::ffi::c_void; -pub type IDebugHostField = *mut ::core::ffi::c_void; -pub type IDebugHostMemory = *mut ::core::ffi::c_void; -pub type IDebugHostMemory2 = *mut ::core::ffi::c_void; -pub type IDebugHostModule = *mut ::core::ffi::c_void; -pub type IDebugHostModule2 = *mut ::core::ffi::c_void; -pub type IDebugHostModuleSignature = *mut ::core::ffi::c_void; -pub type IDebugHostPublic = *mut ::core::ffi::c_void; -pub type IDebugHostScriptHost = *mut ::core::ffi::c_void; -pub type IDebugHostStatus = *mut ::core::ffi::c_void; -pub type IDebugHostSymbol = *mut ::core::ffi::c_void; -pub type IDebugHostSymbol2 = *mut ::core::ffi::c_void; -pub type IDebugHostSymbolEnumerator = *mut ::core::ffi::c_void; -pub type IDebugHostSymbols = *mut ::core::ffi::c_void; -pub type IDebugHostType = *mut ::core::ffi::c_void; -pub type IDebugHostType2 = *mut ::core::ffi::c_void; -pub type IDebugHostTypeSignature = *mut ::core::ffi::c_void; -pub type IDebugInputCallbacks = *mut ::core::ffi::c_void; -pub type IDebugOutputCallbacks = *mut ::core::ffi::c_void; -pub type IDebugOutputCallbacks2 = *mut ::core::ffi::c_void; -pub type IDebugOutputCallbacksWide = *mut ::core::ffi::c_void; -pub type IDebugOutputStream = *mut ::core::ffi::c_void; -pub type IDebugPlmClient = *mut ::core::ffi::c_void; -pub type IDebugPlmClient2 = *mut ::core::ffi::c_void; -pub type IDebugPlmClient3 = *mut ::core::ffi::c_void; -pub type IDebugRegisters = *mut ::core::ffi::c_void; -pub type IDebugRegisters2 = *mut ::core::ffi::c_void; -pub type IDebugSymbolGroup = *mut ::core::ffi::c_void; -pub type IDebugSymbolGroup2 = *mut ::core::ffi::c_void; -pub type IDebugSymbols = *mut ::core::ffi::c_void; -pub type IDebugSymbols2 = *mut ::core::ffi::c_void; -pub type IDebugSymbols3 = *mut ::core::ffi::c_void; -pub type IDebugSymbols4 = *mut ::core::ffi::c_void; -pub type IDebugSymbols5 = *mut ::core::ffi::c_void; -pub type IDebugSystemObjects = *mut ::core::ffi::c_void; -pub type IDebugSystemObjects2 = *mut ::core::ffi::c_void; -pub type IDebugSystemObjects3 = *mut ::core::ffi::c_void; -pub type IDebugSystemObjects4 = *mut ::core::ffi::c_void; -pub type IDynamicConceptProviderConcept = *mut ::core::ffi::c_void; -pub type IDynamicKeyProviderConcept = *mut ::core::ffi::c_void; -pub type IEquatableConcept = *mut ::core::ffi::c_void; -pub type IHostDataModelAccess = *mut ::core::ffi::c_void; -pub type IIndexableConcept = *mut ::core::ffi::c_void; -pub type IIterableConcept = *mut ::core::ffi::c_void; -pub type IKeyEnumerator = *mut ::core::ffi::c_void; -pub type IKeyStore = *mut ::core::ffi::c_void; -pub type IModelIterator = *mut ::core::ffi::c_void; -pub type IModelKeyReference = *mut ::core::ffi::c_void; -pub type IModelKeyReference2 = *mut ::core::ffi::c_void; -pub type IModelMethod = *mut ::core::ffi::c_void; -pub type IModelObject = *mut ::core::ffi::c_void; -pub type IModelPropertyAccessor = *mut ::core::ffi::c_void; -pub type IPreferredRuntimeTypeConcept = *mut ::core::ffi::c_void; -pub type IRawEnumerator = *mut ::core::ffi::c_void; -pub type IStringDisplayableConcept = *mut ::core::ffi::c_void; pub const ADDRESS_TYPE_INDEX_NOT_FOUND: u32 = 11u32; pub const Ambiguous: SignatureComparison = 1i32; pub const CANNOT_ALLOCATE_MEMORY: u32 = 9u32; @@ -4519,58 +4399,58 @@ impl ::core::clone::Clone for XML_DRIVER_NODE_INFO { } pub type ENTRY_CALLBACK = ::core::option::Option ::windows_sys::core::HRESULT>; pub type EXTDLL_ITERATERTLBALANCEDNODES = ::core::option::Option; -pub type EXTDLL_QUERYDATABYTAG = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type EXTDLL_QUERYDATABYTAGEX = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type EXTDLL_QUERYDATABYTAG = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type EXTDLL_QUERYDATABYTAGEX = ::core::option::Option ::windows_sys::core::HRESULT>; pub type EXTS_JOB_PROCESS_CALLBACK = ::core::option::Option super::super::super::super::Foundation::BOOLEAN>; pub type EXTS_TABLE_ENTRY_CALLBACK = ::core::option::Option super::super::super::super::Foundation::BOOLEAN>; -pub type EXT_ANALYSIS_PLUGIN = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type EXT_ANALYZER = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type EXT_ANALYSIS_PLUGIN = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type EXT_ANALYZER = ::core::option::Option ::windows_sys::core::HRESULT>; pub type EXT_DECODE_ERROR = ::core::option::Option; -pub type EXT_GET_DEBUG_FAILURE_ANALYSIS = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type EXT_GET_DEBUG_FAILURE_ANALYSIS = ::core::option::Option ::windows_sys::core::HRESULT>; pub type EXT_GET_ENVIRONMENT_VARIABLE = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type EXT_GET_FAILURE_ANALYSIS = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type EXT_GET_FA_ENTRIES_DATA = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type EXT_GET_HANDLE_TRACE = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type EXT_RELOAD_TRIAGER = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type EXT_TARGET_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type EXT_TRIAGE_FOLLOWUP = ::core::option::Option u32>; -pub type EXT_XML_DATA = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type EXT_GET_FAILURE_ANALYSIS = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type EXT_GET_FA_ENTRIES_DATA = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type EXT_GET_HANDLE_TRACE = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type EXT_RELOAD_TRIAGER = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type EXT_TARGET_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type EXT_TRIAGE_FOLLOWUP = ::core::option::Option u32>; +pub type EXT_XML_DATA = ::core::option::Option ::windows_sys::core::HRESULT>; pub type KDEXTS_LOCK_CALLBACKROUTINE = ::core::option::Option ::windows_sys::core::HRESULT>; pub type KDEXT_DUMP_HANDLE_CALLBACK = ::core::option::Option super::super::super::super::Foundation::BOOLEAN>; -pub type PDEBUG_EXTENSION_CALL = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PDEBUG_EXTENSION_CALL = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PDEBUG_EXTENSION_CANUNLOAD = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PDEBUG_EXTENSION_INITIALIZE = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PDEBUG_EXTENSION_KNOWN_STRUCT = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PDEBUG_EXTENSION_KNOWN_STRUCT_EX = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PDEBUG_EXTENSION_KNOWN_STRUCT_EX = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PDEBUG_EXTENSION_NOTIFY = ::core::option::Option; -pub type PDEBUG_EXTENSION_PROVIDE_VALUE = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PDEBUG_EXTENSION_QUERY_VALUE_NAMES = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PDEBUG_EXTENSION_PROVIDE_VALUE = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PDEBUG_EXTENSION_QUERY_VALUE_NAMES = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PDEBUG_EXTENSION_UNINITIALIZE = ::core::option::Option; pub type PDEBUG_EXTENSION_UNLOAD = ::core::option::Option; pub type PDEBUG_STACK_PROVIDER_BEGINTHREADSTACKRECONSTRUCTION = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PDEBUG_STACK_PROVIDER_ENDTHREADSTACKRECONSTRUCTION = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PDEBUG_STACK_PROVIDER_FREESTACKSYMFRAMES = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PDEBUG_STACK_PROVIDER_RECONSTRUCTSTACK = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PENUMERATE_HANDLES = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PENUMERATE_HASH_TABLE = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PENUMERATE_JOB_PROCESSES = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PENUMERATE_SYSTEM_LOCKS = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PFIND_FILELOCK_OWNERINFO = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PFIND_MATCHING_PROCESS = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PFIND_MATCHING_THREAD = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PGET_CPU_MICROCODE_VERSION = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PGET_CPU_PSPEED_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PGET_DEVICE_OBJECT_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PGET_DRIVER_OBJECT_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PGET_FULL_IMAGE_NAME = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PGET_IRP_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PGET_PNP_TRIAGE_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PGET_POOL_DATA = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PGET_POOL_REGION = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PENUMERATE_HANDLES = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PENUMERATE_HASH_TABLE = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PENUMERATE_JOB_PROCESSES = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PENUMERATE_SYSTEM_LOCKS = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PFIND_FILELOCK_OWNERINFO = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PFIND_MATCHING_PROCESS = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PFIND_MATCHING_THREAD = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PGET_CPU_MICROCODE_VERSION = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PGET_CPU_PSPEED_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PGET_DEVICE_OBJECT_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PGET_DRIVER_OBJECT_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PGET_FULL_IMAGE_NAME = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PGET_IRP_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PGET_PNP_TRIAGE_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PGET_POOL_DATA = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PGET_POOL_REGION = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PGET_POOL_TAG_DESCRIPTION = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PGET_PROCESS_COMMIT = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PGET_SMBIOS_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; -pub type PKDEXTS_GET_PTE_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PGET_PROCESS_COMMIT = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PGET_SMBIOS_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PKDEXTS_GET_PTE_INFO = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PSYM_DUMP_FIELD_CALLBACK = ::core::option::Option u32>; pub type PWINDBG_CHECK_CONTROL_C = ::core::option::Option u32>; pub type PWINDBG_CHECK_VERSION = ::core::option::Option u32>; @@ -4619,4 +4499,4 @@ pub type PWINDBG_STACKTRACE_ROUTINE64 = ::core::option::Option u32>; pub type PWINDBG_WRITE_PROCESS_MEMORY_ROUTINE32 = ::core::option::Option u32>; pub type PWINDBG_WRITE_PROCESS_MEMORY_ROUTINE64 = ::core::option::Option u32>; -pub type fnDebugFailureAnalysisCreateInstance = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type fnDebugFailureAnalysisCreateInstance = ::core::option::Option ::windows_sys::core::HRESULT>; diff --git a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs index aad2236af0..c83b122b83 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs @@ -425,17 +425,6 @@ pub mod Extensions; ::windows_targets::link!("kernel32.dll" "system" fn Wow64GetThreadSelectorEntry(hthread : super::super::super::Foundation:: HANDLE, dwselector : u32, lpselectorentry : *mut WOW64_LDT_ENTRY) -> super::super::super::Foundation:: BOOL); ::windows_targets::link!("kernel32.dll" "system" fn Wow64SetThreadContext(hthread : super::super::super::Foundation:: HANDLE, lpcontext : *const WOW64_CONTEXT) -> super::super::super::Foundation:: BOOL); ::windows_targets::link!("kernel32.dll" "system" fn WriteProcessMemory(hprocess : super::super::super::Foundation:: HANDLE, lpbaseaddress : *const ::core::ffi::c_void, lpbuffer : *const ::core::ffi::c_void, nsize : usize, lpnumberofbyteswritten : *mut usize) -> super::super::super::Foundation:: BOOL); -pub type IDebugExtendedProperty = *mut ::core::ffi::c_void; -pub type IDebugProperty = *mut ::core::ffi::c_void; -pub type IDebugPropertyEnumType_All = *mut ::core::ffi::c_void; -pub type IDebugPropertyEnumType_Arguments = *mut ::core::ffi::c_void; -pub type IDebugPropertyEnumType_Locals = *mut ::core::ffi::c_void; -pub type IDebugPropertyEnumType_LocalsPlusArgs = *mut ::core::ffi::c_void; -pub type IDebugPropertyEnumType_Registers = *mut ::core::ffi::c_void; -pub type IEnumDebugExtendedPropertyInfo = *mut ::core::ffi::c_void; -pub type IEnumDebugPropertyInfo = *mut ::core::ffi::c_void; -pub type IObjectSafety = *mut ::core::ffi::c_void; -pub type IPerPropertyBrowsing2 = *mut ::core::ffi::c_void; pub const ABNORMAL_RESET_DETECTED: BUGCHECK_ERROR = 327u32; pub const ACPI_BIOS_ERROR: BUGCHECK_ERROR = 165u32; pub const ACPI_BIOS_FATAL_ERROR: BUGCHECK_ERROR = 224u32; @@ -2925,7 +2914,7 @@ pub struct DebugPropertyInfo { pub m_bstrValue: ::windows_sys::core::BSTR, pub m_bstrFullName: ::windows_sys::core::BSTR, pub m_dwAttrib: u32, - pub m_pDebugProp: IDebugProperty, + pub m_pDebugProp: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for DebugPropertyInfo {} impl ::core::clone::Clone for DebugPropertyInfo { @@ -3026,8 +3015,8 @@ impl ::core::clone::Clone for EXIT_THREAD_DEBUG_INFO { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct ExtendedDebugPropertyInfo { pub dwValidFields: u32, pub pszName: ::windows_sys::core::PWSTR, @@ -3035,16 +3024,16 @@ pub struct ExtendedDebugPropertyInfo { pub pszValue: ::windows_sys::core::PWSTR, pub pszFullName: ::windows_sys::core::PWSTR, pub dwAttrib: u32, - pub pDebugProp: IDebugProperty, + pub pDebugProp: *mut ::core::ffi::c_void, pub nDISPID: u32, pub nType: u32, pub varValue: super::super::Variant::VARIANT, - pub plbValue: super::super::Com::StructuredStorage::ILockBytes, - pub pDebugExtProp: IDebugExtendedProperty, + pub plbValue: *mut ::core::ffi::c_void, + pub pDebugExtProp: *mut ::core::ffi::c_void, } -#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for ExtendedDebugPropertyInfo {} -#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for ExtendedDebugPropertyInfo { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Etw/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Etw/mod.rs index 1b1fc12866..a703a7487c 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Etw/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Etw/mod.rs @@ -92,9 +92,6 @@ ::windows_targets::link!("advapi32.dll" "system" fn UnregisterTraceGuids(registrationhandle : u64) -> u32); ::windows_targets::link!("advapi32.dll" "system" fn UpdateTraceA(tracehandle : CONTROLTRACE_HANDLE, instancename : ::windows_sys::core::PCSTR, properties : *mut EVENT_TRACE_PROPERTIES) -> super::super::super::Foundation:: WIN32_ERROR); ::windows_targets::link!("advapi32.dll" "system" fn UpdateTraceW(tracehandle : CONTROLTRACE_HANDLE, instancename : ::windows_sys::core::PCWSTR, properties : *mut EVENT_TRACE_PROPERTIES) -> super::super::super::Foundation:: WIN32_ERROR); -pub type ITraceEvent = *mut ::core::ffi::c_void; -pub type ITraceEventCallback = *mut ::core::ffi::c_void; -pub type ITraceRelogger = *mut ::core::ffi::c_void; pub const ALPCGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x45d8cccd_539f_4b72_a8b7_5c683142609a); pub const CLSID_TraceRelogger: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7b40792d_05ff_44c4_9058_f440c71f17d4); pub const CTraceRelogger: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7b40792d_05ff_44c4_9058_f440c71f17d4); diff --git a/crates/libs/sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs b/crates/libs/sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs index 076ab34ce9..3ded3a9cbc 100644 --- a/crates/libs/sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs @@ -2,72 +2,6 @@ ::windows_targets::link!("xolehlp.dll" "cdecl" fn DtcGetTransactionManagerC(i_pszhost : ::windows_sys::core::PCSTR, i_psztmname : ::windows_sys::core::PCSTR, i_riid : *const ::windows_sys::core::GUID, i_dwreserved1 : u32, i_wcbreserved2 : u16, i_pvreserved2 : *const ::core::ffi::c_void, o_ppvobject : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("xolehlp.dll" "cdecl" fn DtcGetTransactionManagerExA(i_pszhost : ::windows_sys::core::PCSTR, i_psztmname : ::windows_sys::core::PCSTR, i_riid : *const ::windows_sys::core::GUID, i_grfoptions : u32, i_pvconfigparams : *mut ::core::ffi::c_void, o_ppvobject : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("xolehlp.dll" "cdecl" fn DtcGetTransactionManagerExW(i_pwszhost : ::windows_sys::core::PCWSTR, i_pwsztmname : ::windows_sys::core::PCWSTR, i_riid : *const ::windows_sys::core::GUID, i_grfoptions : u32, i_pvconfigparams : *mut ::core::ffi::c_void, o_ppvobject : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -pub type IDtcLuConfigure = *mut ::core::ffi::c_void; -pub type IDtcLuRecovery = *mut ::core::ffi::c_void; -pub type IDtcLuRecoveryFactory = *mut ::core::ffi::c_void; -pub type IDtcLuRecoveryInitiatedByDtc = *mut ::core::ffi::c_void; -pub type IDtcLuRecoveryInitiatedByDtcStatusWork = *mut ::core::ffi::c_void; -pub type IDtcLuRecoveryInitiatedByDtcTransWork = *mut ::core::ffi::c_void; -pub type IDtcLuRecoveryInitiatedByLu = *mut ::core::ffi::c_void; -pub type IDtcLuRecoveryInitiatedByLuWork = *mut ::core::ffi::c_void; -pub type IDtcLuRmEnlistment = *mut ::core::ffi::c_void; -pub type IDtcLuRmEnlistmentFactory = *mut ::core::ffi::c_void; -pub type IDtcLuRmEnlistmentSink = *mut ::core::ffi::c_void; -pub type IDtcLuSubordinateDtc = *mut ::core::ffi::c_void; -pub type IDtcLuSubordinateDtcFactory = *mut ::core::ffi::c_void; -pub type IDtcLuSubordinateDtcSink = *mut ::core::ffi::c_void; -pub type IDtcNetworkAccessConfig = *mut ::core::ffi::c_void; -pub type IDtcNetworkAccessConfig2 = *mut ::core::ffi::c_void; -pub type IDtcNetworkAccessConfig3 = *mut ::core::ffi::c_void; -pub type IDtcToXaHelper = *mut ::core::ffi::c_void; -pub type IDtcToXaHelperFactory = *mut ::core::ffi::c_void; -pub type IDtcToXaHelperSinglePipe = *mut ::core::ffi::c_void; -pub type IDtcToXaMapper = *mut ::core::ffi::c_void; -pub type IGetDispenser = *mut ::core::ffi::c_void; -pub type IKernelTransaction = *mut ::core::ffi::c_void; -pub type ILastResourceManager = *mut ::core::ffi::c_void; -pub type IPrepareInfo = *mut ::core::ffi::c_void; -pub type IPrepareInfo2 = *mut ::core::ffi::c_void; -pub type IRMHelper = *mut ::core::ffi::c_void; -pub type IResourceManager = *mut ::core::ffi::c_void; -pub type IResourceManager2 = *mut ::core::ffi::c_void; -pub type IResourceManagerFactory = *mut ::core::ffi::c_void; -pub type IResourceManagerFactory2 = *mut ::core::ffi::c_void; -pub type IResourceManagerRejoinable = *mut ::core::ffi::c_void; -pub type IResourceManagerSink = *mut ::core::ffi::c_void; -pub type ITipHelper = *mut ::core::ffi::c_void; -pub type ITipPullSink = *mut ::core::ffi::c_void; -pub type ITipTransaction = *mut ::core::ffi::c_void; -pub type ITmNodeName = *mut ::core::ffi::c_void; -pub type ITransaction = *mut ::core::ffi::c_void; -pub type ITransaction2 = *mut ::core::ffi::c_void; -pub type ITransactionCloner = *mut ::core::ffi::c_void; -pub type ITransactionDispenser = *mut ::core::ffi::c_void; -pub type ITransactionEnlistmentAsync = *mut ::core::ffi::c_void; -pub type ITransactionExport = *mut ::core::ffi::c_void; -pub type ITransactionExportFactory = *mut ::core::ffi::c_void; -pub type ITransactionImport = *mut ::core::ffi::c_void; -pub type ITransactionImportWhereabouts = *mut ::core::ffi::c_void; -pub type ITransactionLastEnlistmentAsync = *mut ::core::ffi::c_void; -pub type ITransactionLastResourceAsync = *mut ::core::ffi::c_void; -pub type ITransactionOptions = *mut ::core::ffi::c_void; -pub type ITransactionOutcomeEvents = *mut ::core::ffi::c_void; -pub type ITransactionPhase0EnlistmentAsync = *mut ::core::ffi::c_void; -pub type ITransactionPhase0Factory = *mut ::core::ffi::c_void; -pub type ITransactionPhase0NotifyAsync = *mut ::core::ffi::c_void; -pub type ITransactionReceiver = *mut ::core::ffi::c_void; -pub type ITransactionReceiverFactory = *mut ::core::ffi::c_void; -pub type ITransactionResource = *mut ::core::ffi::c_void; -pub type ITransactionResourceAsync = *mut ::core::ffi::c_void; -pub type ITransactionTransmitter = *mut ::core::ffi::c_void; -pub type ITransactionTransmitterFactory = *mut ::core::ffi::c_void; -pub type ITransactionVoterBallotAsync2 = *mut ::core::ffi::c_void; -pub type ITransactionVoterFactory2 = *mut ::core::ffi::c_void; -pub type ITransactionVoterNotifyAsync2 = *mut ::core::ffi::c_void; -pub type IXAConfig = *mut ::core::ffi::c_void; -pub type IXAObtainRMInfo = *mut ::core::ffi::c_void; -pub type IXATransLookup = *mut ::core::ffi::c_void; -pub type IXATransLookup2 = *mut ::core::ffi::c_void; pub const CLSID_MSDtcTransaction: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x39f8d76b_0928_11d1_97df_00c04fb9618a); pub const CLSID_MSDtcTransactionManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5b18ab61_091d_11d1_97df_00c04fb9618a); pub const CLUSTERRESOURCE_APPLICATIONTYPE: APPLICATIONTYPE = 1i32; diff --git a/crates/libs/sys/src/Windows/Win32/System/EventNotificationService/mod.rs b/crates/libs/sys/src/Windows/Win32/System/EventNotificationService/mod.rs index 662d3a5872..90edfe2b9a 100644 --- a/crates/libs/sys/src/Windows/Win32/System/EventNotificationService/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/EventNotificationService/mod.rs @@ -1,10 +1,6 @@ ::windows_targets::link!("sensapi.dll" "system" fn IsDestinationReachableA(lpszdestination : ::windows_sys::core::PCSTR, lpqocinfo : *mut QOCINFO) -> super::super::Foundation:: BOOL); ::windows_targets::link!("sensapi.dll" "system" fn IsDestinationReachableW(lpszdestination : ::windows_sys::core::PCWSTR, lpqocinfo : *mut QOCINFO) -> super::super::Foundation:: BOOL); ::windows_targets::link!("sensapi.dll" "system" fn IsNetworkAlive(lpdwflags : *mut u32) -> super::super::Foundation:: BOOL); -pub type ISensLogon = *mut ::core::ffi::c_void; -pub type ISensLogon2 = *mut ::core::ffi::c_void; -pub type ISensNetwork = *mut ::core::ffi::c_void; -pub type ISensOnNow = *mut ::core::ffi::c_void; pub const CONNECTION_AOL: u32 = 4u32; pub const CONNECTION_LAN: SENS_CONNECTION_TYPE = 0u32; pub const CONNECTION_WAN: SENS_CONNECTION_TYPE = 1u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs b/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs index f91d372fbf..6fac079475 100644 --- a/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs @@ -28,56 +28,10 @@ #[cfg(feature = "Win32_Security")] ::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn RsopAccessCheckByType(psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, pprincipalselfsid : super::super::Foundation:: PSID, prsoptoken : *const ::core::ffi::c_void, dwdesiredaccessmask : u32, pobjecttypelist : *const super::super::Security:: OBJECT_TYPE_LIST, objecttypelistlength : u32, pgenericmapping : *const super::super::Security:: GENERIC_MAPPING, pprivilegeset : *const super::super::Security:: PRIVILEGE_SET, pdwprivilegesetlength : *const u32, pdwgrantedaccessmask : *mut u32, pbaccessstatus : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("userenv.dll" "system" fn RsopFileAccessCheck(pszfilename : ::windows_sys::core::PCWSTR, prsoptoken : *const ::core::ffi::c_void, dwdesiredaccessmask : u32, pdwgrantedaccessmask : *mut u32, pbaccessstatus : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Wmi")] -::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_System_Wmi\"`"] fn RsopResetPolicySettingStatus(dwflags : u32, pservices : super::Wmi:: IWbemServices, psettinginstance : super::Wmi:: IWbemClassObject) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Wmi")] -::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_System_Wmi\"`"] fn RsopSetPolicySettingStatus(dwflags : u32, pservices : super::Wmi:: IWbemServices, psettinginstance : super::Wmi:: IWbemClassObject, ninfo : u32, pstatus : *const POLICYSETTINGSTATUSINFO) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("userenv.dll" "system" fn RsopResetPolicySettingStatus(dwflags : u32, pservices : * mut::core::ffi::c_void, psettinginstance : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("userenv.dll" "system" fn RsopSetPolicySettingStatus(dwflags : u32, pservices : * mut::core::ffi::c_void, psettinginstance : * mut::core::ffi::c_void, ninfo : u32, pstatus : *const POLICYSETTINGSTATUSINFO) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("advapi32.dll" "system" fn UninstallApplication(productcode : ::windows_sys::core::PCWSTR, dwstatus : u32) -> u32); ::windows_targets::link!("userenv.dll" "system" fn UnregisterGPNotification(hevent : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -pub type IGPEInformation = *mut ::core::ffi::c_void; -pub type IGPM = *mut ::core::ffi::c_void; -pub type IGPM2 = *mut ::core::ffi::c_void; -pub type IGPMAsyncCancel = *mut ::core::ffi::c_void; -pub type IGPMAsyncProgress = *mut ::core::ffi::c_void; -pub type IGPMBackup = *mut ::core::ffi::c_void; -pub type IGPMBackupCollection = *mut ::core::ffi::c_void; -pub type IGPMBackupDir = *mut ::core::ffi::c_void; -pub type IGPMBackupDirEx = *mut ::core::ffi::c_void; -pub type IGPMCSECollection = *mut ::core::ffi::c_void; -pub type IGPMClientSideExtension = *mut ::core::ffi::c_void; -pub type IGPMConstants = *mut ::core::ffi::c_void; -pub type IGPMConstants2 = *mut ::core::ffi::c_void; -pub type IGPMDomain = *mut ::core::ffi::c_void; -pub type IGPMDomain2 = *mut ::core::ffi::c_void; -pub type IGPMDomain3 = *mut ::core::ffi::c_void; -pub type IGPMGPO = *mut ::core::ffi::c_void; -pub type IGPMGPO2 = *mut ::core::ffi::c_void; -pub type IGPMGPO3 = *mut ::core::ffi::c_void; -pub type IGPMGPOCollection = *mut ::core::ffi::c_void; -pub type IGPMGPOLink = *mut ::core::ffi::c_void; -pub type IGPMGPOLinksCollection = *mut ::core::ffi::c_void; -pub type IGPMMapEntry = *mut ::core::ffi::c_void; -pub type IGPMMapEntryCollection = *mut ::core::ffi::c_void; -pub type IGPMMigrationTable = *mut ::core::ffi::c_void; -pub type IGPMPermission = *mut ::core::ffi::c_void; -pub type IGPMRSOP = *mut ::core::ffi::c_void; -pub type IGPMResult = *mut ::core::ffi::c_void; -pub type IGPMSOM = *mut ::core::ffi::c_void; -pub type IGPMSOMCollection = *mut ::core::ffi::c_void; -pub type IGPMSearchCriteria = *mut ::core::ffi::c_void; -pub type IGPMSecurityInfo = *mut ::core::ffi::c_void; -pub type IGPMSitesContainer = *mut ::core::ffi::c_void; -pub type IGPMStarterGPO = *mut ::core::ffi::c_void; -pub type IGPMStarterGPOBackup = *mut ::core::ffi::c_void; -pub type IGPMStarterGPOBackupCollection = *mut ::core::ffi::c_void; -pub type IGPMStarterGPOCollection = *mut ::core::ffi::c_void; -pub type IGPMStatusMessage = *mut ::core::ffi::c_void; -pub type IGPMStatusMsgCollection = *mut ::core::ffi::c_void; -pub type IGPMTrustee = *mut ::core::ffi::c_void; -pub type IGPMWMIFilter = *mut ::core::ffi::c_void; -pub type IGPMWMIFilterCollection = *mut ::core::ffi::c_void; -pub type IGroupPolicyObject = *mut ::core::ffi::c_void; -pub type IRSOPInformation = *mut ::core::ffi::c_void; pub const ABSENT: APPSTATE = 0i32; pub const ADMXCOMMENTS_EXTENSION_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6c5a2a86_9eb3_42b9_aa83_a7371ba011b9); pub const APPNAME: INSTALLSPECTYPE = 1i32; @@ -499,31 +453,31 @@ impl ::core::clone::Clone for POLICYSETTINGSTATUSINFO { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Wmi\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Wmi"))] +#[doc = "Required features: `\"Win32_System_Com\"`"] +#[cfg(feature = "Win32_System_Com")] pub struct RSOP_TARGET { pub pwszAccountName: ::windows_sys::core::PWSTR, pub pwszNewSOM: ::windows_sys::core::PWSTR, pub psaSecurityGroups: *mut super::Com::SAFEARRAY, pub pRsopToken: *mut ::core::ffi::c_void, pub pGPOList: *mut GROUP_POLICY_OBJECTA, - pub pWbemServices: super::Wmi::IWbemServices, + pub pWbemServices: *mut ::core::ffi::c_void, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Wmi"))] +#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for RSOP_TARGET {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Wmi"))] +#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for RSOP_TARGET { fn clone(&self) -> Self { *self } } -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Wmi\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Wmi"))] +#[doc = "Required features: `\"Win32_System_Com\"`"] +#[cfg(feature = "Win32_System_Com")] pub type PFNGENERATEGROUPPOLICY = ::core::option::Option u32>; #[doc = "Required features: `\"Win32_System_Registry\"`"] #[cfg(feature = "Win32_System_Registry")] pub type PFNPROCESSGROUPPOLICY = ::core::option::Option u32>; -#[doc = "Required features: `\"Win32_System_Registry\"`, `\"Win32_System_Wmi\"`"] -#[cfg(all(feature = "Win32_System_Registry", feature = "Win32_System_Wmi"))] -pub type PFNPROCESSGROUPPOLICYEX = ::core::option::Option u32>; +#[doc = "Required features: `\"Win32_System_Registry\"`"] +#[cfg(feature = "Win32_System_Registry")] +pub type PFNPROCESSGROUPPOLICYEX = ::core::option::Option u32>; pub type PFNSTATUSMESSAGECALLBACK = ::core::option::Option u32>; diff --git a/crates/libs/sys/src/Windows/Win32/System/Iis/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Iis/mod.rs index 6d1de061ba..7d1fbe7ed5 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Iis/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Iis/mod.rs @@ -2,28 +2,6 @@ ::windows_targets::link!("rpcproxy.dll" "system" fn GetFilterVersion(pver : *mut HTTP_FILTER_VERSION) -> super::super::Foundation:: BOOL); ::windows_targets::link!("rpcproxy.dll" "system" fn HttpExtensionProc(pecb : *const EXTENSION_CONTROL_BLOCK) -> u32); ::windows_targets::link!("rpcproxy.dll" "system" fn HttpFilterProc(pfc : *mut HTTP_FILTER_CONTEXT, notificationtype : u32, pvnotification : *mut ::core::ffi::c_void) -> u32); -pub type AsyncIFtpAuthenticationProvider = *mut ::core::ffi::c_void; -pub type AsyncIFtpAuthorizationProvider = *mut ::core::ffi::c_void; -pub type AsyncIFtpHomeDirectoryProvider = *mut ::core::ffi::c_void; -pub type AsyncIFtpLogProvider = *mut ::core::ffi::c_void; -pub type AsyncIFtpPostprocessProvider = *mut ::core::ffi::c_void; -pub type AsyncIFtpPreprocessProvider = *mut ::core::ffi::c_void; -pub type AsyncIFtpRoleProvider = *mut ::core::ffi::c_void; -pub type AsyncIMSAdminBaseSinkW = *mut ::core::ffi::c_void; -pub type IADMEXT = *mut ::core::ffi::c_void; -pub type IFtpAuthenticationProvider = *mut ::core::ffi::c_void; -pub type IFtpAuthorizationProvider = *mut ::core::ffi::c_void; -pub type IFtpHomeDirectoryProvider = *mut ::core::ffi::c_void; -pub type IFtpLogProvider = *mut ::core::ffi::c_void; -pub type IFtpPostprocessProvider = *mut ::core::ffi::c_void; -pub type IFtpPreprocessProvider = *mut ::core::ffi::c_void; -pub type IFtpProviderConstruct = *mut ::core::ffi::c_void; -pub type IFtpRoleProvider = *mut ::core::ffi::c_void; -pub type IMSAdminBase2W = *mut ::core::ffi::c_void; -pub type IMSAdminBase3W = *mut ::core::ffi::c_void; -pub type IMSAdminBaseSinkW = *mut ::core::ffi::c_void; -pub type IMSAdminBaseW = *mut ::core::ffi::c_void; -pub type IMSImpExpHelpW = *mut ::core::ffi::c_void; pub const ADMINDATA_MAX_NAME_LEN: u32 = 256u32; pub const ALL_METADATA: METADATATYPES = 0i32; pub const APPCTR_MD_ID_BEGIN_RESERVED: u32 = 57344u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Js/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Js/mod.rs index 454fe175ea..f7be855ab9 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Js/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Js/mod.rs @@ -10,11 +10,9 @@ ::windows_targets::link!("chakra.dll" "system" fn JsConvertValueToString(value : *const ::core::ffi::c_void, stringvalue : *mut *mut ::core::ffi::c_void) -> JsErrorCode); ::windows_targets::link!("chakra.dll" "system" fn JsCreateArray(length : u32, result : *mut *mut ::core::ffi::c_void) -> JsErrorCode); #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(feature = "Win32_System_Diagnostics_Debug_ActiveScript")] -::windows_targets::link!("chakra.dll" "system" #[doc = "Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`"] fn JsCreateContext(runtime : *const ::core::ffi::c_void, debugapplication : super::Diagnostics::Debug::ActiveScript:: IDebugApplication64, newcontext : *mut *mut ::core::ffi::c_void) -> JsErrorCode); +::windows_targets::link!("chakra.dll" "system" fn JsCreateContext(runtime : *const ::core::ffi::c_void, debugapplication : * mut::core::ffi::c_void, newcontext : *mut *mut ::core::ffi::c_void) -> JsErrorCode); #[cfg(target_arch = "x86")] -#[cfg(feature = "Win32_System_Diagnostics_Debug_ActiveScript")] -::windows_targets::link!("chakra.dll" "system" #[doc = "Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`"] fn JsCreateContext(runtime : *const ::core::ffi::c_void, debugapplication : super::Diagnostics::Debug::ActiveScript:: IDebugApplication32, newcontext : *mut *mut ::core::ffi::c_void) -> JsErrorCode); +::windows_targets::link!("chakra.dll" "system" fn JsCreateContext(runtime : *const ::core::ffi::c_void, debugapplication : * mut::core::ffi::c_void, newcontext : *mut *mut ::core::ffi::c_void) -> JsErrorCode); ::windows_targets::link!("chakra.dll" "system" fn JsCreateError(message : *const ::core::ffi::c_void, error : *mut *mut ::core::ffi::c_void) -> JsErrorCode); ::windows_targets::link!("chakra.dll" "system" fn JsCreateExternalObject(data : *const ::core::ffi::c_void, finalizecallback : JsFinalizeCallback, object : *mut *mut ::core::ffi::c_void) -> JsErrorCode); ::windows_targets::link!("chakra.dll" "system" fn JsCreateFunction(nativefunction : JsNativeFunction, callbackstate : *const ::core::ffi::c_void, function : *mut *mut ::core::ffi::c_void) -> JsErrorCode); @@ -32,8 +30,7 @@ ::windows_targets::link!("chakra.dll" "system" fn JsDisposeRuntime(runtime : *const ::core::ffi::c_void) -> JsErrorCode); ::windows_targets::link!("chakra.dll" "system" fn JsDoubleToNumber(doublevalue : f64, value : *mut *mut ::core::ffi::c_void) -> JsErrorCode); ::windows_targets::link!("chakra.dll" "system" fn JsEnableRuntimeExecution(runtime : *const ::core::ffi::c_void) -> JsErrorCode); -#[cfg(feature = "Win32_System_Diagnostics_Debug_ActiveScript")] -::windows_targets::link!("chakra.dll" "system" #[doc = "Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`"] fn JsEnumerateHeap(enumerator : *mut super::Diagnostics::Debug::ActiveScript:: IActiveScriptProfilerHeapEnum) -> JsErrorCode); +::windows_targets::link!("chakra.dll" "system" fn JsEnumerateHeap(enumerator : *mut * mut::core::ffi::c_void) -> JsErrorCode); ::windows_targets::link!("chakra.dll" "system" fn JsEquals(object1 : *const ::core::ffi::c_void, object2 : *const ::core::ffi::c_void, result : *mut bool) -> JsErrorCode); ::windows_targets::link!("chakra.dll" "system" fn JsGetAndClearException(exception : *mut *mut ::core::ffi::c_void) -> JsErrorCode); ::windows_targets::link!("chakra.dll" "system" fn JsGetCurrentContext(currentcontext : *mut *mut ::core::ffi::c_void) -> JsErrorCode); @@ -83,20 +80,18 @@ ::windows_targets::link!("chakra.dll" "system" fn JsSetRuntimeMemoryAllocationCallback(runtime : *const ::core::ffi::c_void, callbackstate : *const ::core::ffi::c_void, allocationcallback : JsMemoryAllocationCallback) -> JsErrorCode); ::windows_targets::link!("chakra.dll" "system" fn JsSetRuntimeMemoryLimit(runtime : *const ::core::ffi::c_void, memorylimit : usize) -> JsErrorCode); #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(feature = "Win32_System_Diagnostics_Debug_ActiveScript")] -::windows_targets::link!("chakra.dll" "system" #[doc = "Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`"] fn JsStartDebugging(debugapplication : super::Diagnostics::Debug::ActiveScript:: IDebugApplication64) -> JsErrorCode); +::windows_targets::link!("chakra.dll" "system" fn JsStartDebugging(debugapplication : * mut::core::ffi::c_void) -> JsErrorCode); #[cfg(target_arch = "x86")] +::windows_targets::link!("chakra.dll" "system" fn JsStartDebugging(debugapplication : * mut::core::ffi::c_void) -> JsErrorCode); #[cfg(feature = "Win32_System_Diagnostics_Debug_ActiveScript")] -::windows_targets::link!("chakra.dll" "system" #[doc = "Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`"] fn JsStartDebugging(debugapplication : super::Diagnostics::Debug::ActiveScript:: IDebugApplication32) -> JsErrorCode); -#[cfg(feature = "Win32_System_Diagnostics_Debug_ActiveScript")] -::windows_targets::link!("chakra.dll" "system" #[doc = "Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`"] fn JsStartProfiling(callback : super::Diagnostics::Debug::ActiveScript:: IActiveScriptProfilerCallback, eventmask : super::Diagnostics::Debug::ActiveScript:: PROFILER_EVENT_MASK, context : u32) -> JsErrorCode); +::windows_targets::link!("chakra.dll" "system" #[doc = "Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`"] fn JsStartProfiling(callback : * mut::core::ffi::c_void, eventmask : super::Diagnostics::Debug::ActiveScript:: PROFILER_EVENT_MASK, context : u32) -> JsErrorCode); ::windows_targets::link!("chakra.dll" "system" fn JsStopProfiling(reason : ::windows_sys::core::HRESULT) -> JsErrorCode); ::windows_targets::link!("chakra.dll" "system" fn JsStrictEquals(object1 : *const ::core::ffi::c_void, object2 : *const ::core::ffi::c_void, result : *mut bool) -> JsErrorCode); ::windows_targets::link!("chakra.dll" "system" fn JsStringToPointer(value : *const ::core::ffi::c_void, stringvalue : *mut *mut u16, stringlength : *mut usize) -> JsErrorCode); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("chakra.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn JsValueToVariant(object : *const ::core::ffi::c_void, variant : *mut super::Variant:: VARIANT) -> JsErrorCode); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("chakra.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn JsVariantToValue(variant : *const super::Variant:: VARIANT, value : *mut *mut ::core::ffi::c_void) -> JsErrorCode); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("chakra.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn JsValueToVariant(object : *const ::core::ffi::c_void, variant : *mut super::Variant:: VARIANT) -> JsErrorCode); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("chakra.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn JsVariantToValue(variant : *const super::Variant:: VARIANT, value : *mut *mut ::core::ffi::c_void) -> JsErrorCode); pub const JS_SOURCE_CONTEXT_NONE: u64 = 18446744073709551615u64; pub const JsArray: JsValueType = 8i32; pub const JsBoolean: JsValueType = 4i32; diff --git a/crates/libs/sys/src/Windows/Win32/System/MessageQueuing/mod.rs b/crates/libs/sys/src/Windows/Win32/System/MessageQueuing/mod.rs index 1383b9c7be..423673a09e 100644 --- a/crates/libs/sys/src/Windows/Win32/System/MessageQueuing/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/MessageQueuing/mod.rs @@ -1,6 +1,5 @@ ::windows_targets::link!("mqrt.dll" "system" fn MQADsPathToFormatName(lpwcsadspath : ::windows_sys::core::PCWSTR, lpwcsformatname : ::windows_sys::core::PWSTR, lpdwformatnamelength : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] -::windows_targets::link!("mqrt.dll" "system" #[doc = "Required features: `\"Win32_System_DistributedTransactionCoordinator\"`"] fn MQBeginTransaction(pptransaction : *mut super::DistributedTransactionCoordinator:: ITransaction) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mqrt.dll" "system" fn MQBeginTransaction(pptransaction : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mqrt.dll" "system" fn MQCloseCursor(hcursor : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mqrt.dll" "system" fn MQCloseQueue(hqueue : isize) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mqrt.dll" "system" fn MQCreateCursor(hqueue : isize, phcursor : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); @@ -32,65 +31,21 @@ ::windows_targets::link!("mqrt.dll" "system" fn MQMgmtAction(pcomputername : ::windows_sys::core::PCWSTR, pobjectname : ::windows_sys::core::PCWSTR, paction : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] ::windows_targets::link!("mqrt.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn MQMgmtGetInfo(pcomputername : ::windows_sys::core::PCWSTR, pobjectname : ::windows_sys::core::PCWSTR, pmgmtprops : *mut MQMGMTPROPS) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] -::windows_targets::link!("mqrt.dll" "system" #[doc = "Required features: `\"Win32_System_DistributedTransactionCoordinator\"`"] fn MQMoveMessage(hsourcequeue : isize, hdestinationqueue : isize, ulllookupid : u64, ptransaction : super::DistributedTransactionCoordinator:: ITransaction) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mqrt.dll" "system" fn MQMoveMessage(hsourcequeue : isize, hdestinationqueue : isize, ulllookupid : u64, ptransaction : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mqrt.dll" "system" fn MQOpenQueue(lpwcsformatname : ::windows_sys::core::PCWSTR, dwaccess : u32, dwsharemode : u32, phqueue : *mut isize) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mqrt.dll" "system" fn MQPathNameToFormatName(lpwcspathname : ::windows_sys::core::PCWSTR, lpwcsformatname : ::windows_sys::core::PWSTR, lpdwformatnamelength : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mqrt.dll" "system" fn MQPurgeQueue(hqueue : isize) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_DistributedTransactionCoordinator", feature = "Win32_System_IO", feature = "Win32_System_Variant"))] -::windows_targets::link!("mqrt.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_System_IO\"`, `\"Win32_System_Variant\"`"] fn MQReceiveMessage(hsource : isize, dwtimeout : u32, dwaction : u32, pmessageprops : *mut MQMSGPROPS, lpoverlapped : *mut super::IO:: OVERLAPPED, fnreceivecallback : PMQRECEIVECALLBACK, hcursor : super::super::Foundation:: HANDLE, ptransaction : super::DistributedTransactionCoordinator:: ITransaction) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_DistributedTransactionCoordinator", feature = "Win32_System_IO", feature = "Win32_System_Variant"))] -::windows_targets::link!("mqrt.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_System_IO\"`, `\"Win32_System_Variant\"`"] fn MQReceiveMessageByLookupId(hsource : isize, ulllookupid : u64, dwlookupaction : u32, pmessageprops : *mut MQMSGPROPS, lpoverlapped : *mut super::IO:: OVERLAPPED, fnreceivecallback : PMQRECEIVECALLBACK, ptransaction : super::DistributedTransactionCoordinator:: ITransaction) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_IO", feature = "Win32_System_Variant"))] +::windows_targets::link!("mqrt.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_IO\"`, `\"Win32_System_Variant\"`"] fn MQReceiveMessage(hsource : isize, dwtimeout : u32, dwaction : u32, pmessageprops : *mut MQMSGPROPS, lpoverlapped : *mut super::IO:: OVERLAPPED, fnreceivecallback : PMQRECEIVECALLBACK, hcursor : super::super::Foundation:: HANDLE, ptransaction : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_IO", feature = "Win32_System_Variant"))] +::windows_targets::link!("mqrt.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_IO\"`, `\"Win32_System_Variant\"`"] fn MQReceiveMessageByLookupId(hsource : isize, ulllookupid : u64, dwlookupaction : u32, pmessageprops : *mut MQMSGPROPS, lpoverlapped : *mut super::IO:: OVERLAPPED, fnreceivecallback : PMQRECEIVECALLBACK, ptransaction : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("mqrt.dll" "system" fn MQRegisterCertificate(dwflags : u32, lpcertbuffer : *const ::core::ffi::c_void, dwcertbufferlength : u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_DistributedTransactionCoordinator", feature = "Win32_System_Variant"))] -::windows_targets::link!("mqrt.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_System_Variant\"`"] fn MQSendMessage(hdestinationqueue : isize, pmessageprops : *const MQMSGPROPS, ptransaction : super::DistributedTransactionCoordinator:: ITransaction) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] +::windows_targets::link!("mqrt.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn MQSendMessage(hdestinationqueue : isize, pmessageprops : *const MQMSGPROPS, ptransaction : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] ::windows_targets::link!("mqrt.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn MQSetQueueProperties(lpwcsformatname : ::windows_sys::core::PCWSTR, pqueueprops : *mut MQQUEUEPROPS) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Security")] ::windows_targets::link!("mqrt.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn MQSetQueueSecurity(lpwcsformatname : ::windows_sys::core::PCWSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> ::windows_sys::core::HRESULT); -pub type IMSMQApplication = *mut ::core::ffi::c_void; -pub type IMSMQApplication2 = *mut ::core::ffi::c_void; -pub type IMSMQApplication3 = *mut ::core::ffi::c_void; -pub type IMSMQCollection = *mut ::core::ffi::c_void; -pub type IMSMQCoordinatedTransactionDispenser = *mut ::core::ffi::c_void; -pub type IMSMQCoordinatedTransactionDispenser2 = *mut ::core::ffi::c_void; -pub type IMSMQCoordinatedTransactionDispenser3 = *mut ::core::ffi::c_void; -pub type IMSMQDestination = *mut ::core::ffi::c_void; -pub type IMSMQEvent = *mut ::core::ffi::c_void; -pub type IMSMQEvent2 = *mut ::core::ffi::c_void; -pub type IMSMQEvent3 = *mut ::core::ffi::c_void; -pub type IMSMQManagement = *mut ::core::ffi::c_void; -pub type IMSMQMessage = *mut ::core::ffi::c_void; -pub type IMSMQMessage2 = *mut ::core::ffi::c_void; -pub type IMSMQMessage3 = *mut ::core::ffi::c_void; -pub type IMSMQMessage4 = *mut ::core::ffi::c_void; -pub type IMSMQOutgoingQueueManagement = *mut ::core::ffi::c_void; -pub type IMSMQPrivateDestination = *mut ::core::ffi::c_void; -pub type IMSMQPrivateEvent = *mut ::core::ffi::c_void; -pub type IMSMQQuery = *mut ::core::ffi::c_void; -pub type IMSMQQuery2 = *mut ::core::ffi::c_void; -pub type IMSMQQuery3 = *mut ::core::ffi::c_void; -pub type IMSMQQuery4 = *mut ::core::ffi::c_void; -pub type IMSMQQueue = *mut ::core::ffi::c_void; -pub type IMSMQQueue2 = *mut ::core::ffi::c_void; -pub type IMSMQQueue3 = *mut ::core::ffi::c_void; -pub type IMSMQQueue4 = *mut ::core::ffi::c_void; -pub type IMSMQQueueInfo = *mut ::core::ffi::c_void; -pub type IMSMQQueueInfo2 = *mut ::core::ffi::c_void; -pub type IMSMQQueueInfo3 = *mut ::core::ffi::c_void; -pub type IMSMQQueueInfo4 = *mut ::core::ffi::c_void; -pub type IMSMQQueueInfos = *mut ::core::ffi::c_void; -pub type IMSMQQueueInfos2 = *mut ::core::ffi::c_void; -pub type IMSMQQueueInfos3 = *mut ::core::ffi::c_void; -pub type IMSMQQueueInfos4 = *mut ::core::ffi::c_void; -pub type IMSMQQueueManagement = *mut ::core::ffi::c_void; -pub type IMSMQTransaction = *mut ::core::ffi::c_void; -pub type IMSMQTransaction2 = *mut ::core::ffi::c_void; -pub type IMSMQTransaction3 = *mut ::core::ffi::c_void; -pub type IMSMQTransactionDispenser = *mut ::core::ffi::c_void; -pub type IMSMQTransactionDispenser2 = *mut ::core::ffi::c_void; -pub type IMSMQTransactionDispenser3 = *mut ::core::ffi::c_void; -pub type _DMSMQEventEvents = *mut ::core::ffi::c_void; pub const DEFAULT_M_ACKNOWLEDGE: MQDEFAULT = 0i32; pub const DEFAULT_M_APPSPECIFIC: MQDEFAULT = 0i32; pub const DEFAULT_M_AUTH_LEVEL: MQDEFAULT = 0i32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs index cb6ee956aa..1faf5a9f55 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs @@ -3,30 +3,26 @@ #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn ClearCustData(pcustdata : *mut super::Com:: CUSTDATA)); #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn CreateDispTypeInfo(pidata : *mut INTERFACEDATA, lcid : u32, pptinfo : *mut super::Com:: ITypeInfo) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn CreateErrorInfo(pperrinfo : *mut ICreateErrorInfo) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn CreateOleAdviseHolder(ppoaholder : *mut IOleAdviseHolder) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn CreateDispTypeInfo(pidata : *mut INTERFACEDATA, lcid : u32, pptinfo : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn CreateErrorInfo(pperrinfo : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn CreateOleAdviseHolder(ppoaholder : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn CreateStdDispatch(punkouter : ::windows_sys::core::IUnknown, pvthis : *mut ::core::ffi::c_void, ptinfo : * mut::core::ffi::c_void, ppunkstddisp : *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn CreateStdDispatch(punkouter : ::windows_sys::core::IUnknown, pvthis : *mut ::core::ffi::c_void, ptinfo : super::Com:: ITypeInfo, ppunkstddisp : *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn CreateTypeLib(syskind : super::Com:: SYSKIND, szfile : ::windows_sys::core::PCWSTR, ppctlib : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn CreateTypeLib(syskind : super::Com:: SYSKIND, szfile : ::windows_sys::core::PCWSTR, ppctlib : *mut ICreateTypeLib) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn CreateTypeLib2(syskind : super::Com:: SYSKIND, szfile : ::windows_sys::core::PCWSTR, ppctlib : *mut ICreateTypeLib2) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn CreateTypeLib2(syskind : super::Com:: SYSKIND, szfile : ::windows_sys::core::PCWSTR, ppctlib : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn DispCallFunc(pvinstance : *const ::core::ffi::c_void, ovft : usize, cc : super::Com:: CALLCONV, vtreturn : super::Variant:: VARENUM, cactuals : u32, prgvt : *const u16, prgpvarg : *const *const super::Variant:: VARIANT, pvargresult : *mut super::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn DispGetIDsOfNames(ptinfo : super::Com:: ITypeInfo, rgsznames : *const ::windows_sys::core::PCWSTR, cnames : u32, rgdispid : *mut i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn DispGetIDsOfNames(ptinfo : * mut::core::ffi::c_void, rgsznames : *const ::windows_sys::core::PCWSTR, cnames : u32, rgdispid : *mut i32) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn DispGetParam(pdispparams : *const super::Com:: DISPPARAMS, position : u32, vttarg : super::Variant:: VARENUM, pvarresult : *mut super::Variant:: VARIANT, puargerr : *mut u32) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn DispInvoke(_this : *mut ::core::ffi::c_void, ptinfo : super::Com:: ITypeInfo, dispidmember : i32, wflags : u16, pparams : *mut super::Com:: DISPPARAMS, pvarresult : *mut super::Variant:: VARIANT, pexcepinfo : *mut super::Com:: EXCEPINFO, puargerr : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn DoDragDrop(pdataobj : super::Com:: IDataObject, pdropsource : IDropSource, dwokeffects : DROPEFFECT, pdweffect : *mut DROPEFFECT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn DispInvoke(_this : *mut ::core::ffi::c_void, ptinfo : * mut::core::ffi::c_void, dispidmember : i32, wflags : u16, pparams : *mut super::Com:: DISPPARAMS, pvarresult : *mut super::Variant:: VARIANT, pexcepinfo : *mut super::Com:: EXCEPINFO, puargerr : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn DoDragDrop(pdataobj : * mut::core::ffi::c_void, pdropsource : * mut::core::ffi::c_void, dwokeffects : DROPEFFECT, pdweffect : *mut DROPEFFECT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn GetActiveObject(rclsid : *const ::windows_sys::core::GUID, pvreserved : *mut ::core::ffi::c_void, ppunk : *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn GetAltMonthNames(lcid : u32, prgp : *mut *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn GetRecordInfoFromGuids(rguidtypelib : *const ::windows_sys::core::GUID, uvermajor : u32, uverminor : u32, lcid : u32, rguidtypeinfo : *const ::windows_sys::core::GUID, pprecinfo : *mut IRecordInfo) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn GetRecordInfoFromTypeInfo(ptypeinfo : super::Com:: ITypeInfo, pprecinfo : *mut IRecordInfo) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn GetRecordInfoFromGuids(rguidtypelib : *const ::windows_sys::core::GUID, uvermajor : u32, uverminor : u32, lcid : u32, rguidtypeinfo : *const ::windows_sys::core::GUID, pprecinfo : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn GetRecordInfoFromTypeInfo(ptypeinfo : * mut::core::ffi::c_void, pprecinfo : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn HRGN_UserFree(param0 : *const u32, param1 : *const super::super::Graphics::Gdi:: HRGN)); #[cfg(feature = "Win32_Graphics_Gdi")] @@ -49,123 +45,104 @@ ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn LHashValOfNameSys(syskind : super::Com:: SYSKIND, lcid : u32, szname : ::windows_sys::core::PCWSTR) -> u32); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn LHashValOfNameSysA(syskind : super::Com:: SYSKIND, lcid : u32, szname : ::windows_sys::core::PCSTR) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn LoadRegTypeLib(rguid : *const ::windows_sys::core::GUID, wvermajor : u16, wverminor : u16, lcid : u32, pptlib : *mut super::Com:: ITypeLib) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn LoadTypeLib(szfile : ::windows_sys::core::PCWSTR, pptlib : *mut super::Com:: ITypeLib) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn LoadTypeLibEx(szfile : ::windows_sys::core::PCWSTR, regkind : REGKIND, pptlib : *mut super::Com:: ITypeLib) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn LoadRegTypeLib(rguid : *const ::windows_sys::core::GUID, wvermajor : u16, wverminor : u16, lcid : u32, pptlib : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn LoadTypeLib(szfile : ::windows_sys::core::PCWSTR, pptlib : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn LoadTypeLibEx(szfile : ::windows_sys::core::PCWSTR, regkind : REGKIND, pptlib : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn OaBuildVersion() -> u32); ::windows_targets::link!("oleaut32.dll" "system" fn OaEnablePerUserTLibRegistration()); ::windows_targets::link!("ole32.dll" "system" fn OleBuildVersion() -> u32); #[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleConvertOLESTREAMToIStorage2(lpolestream : *const super::Com::StructuredStorage:: OLESTREAM, pstg : super::Com::StructuredStorage:: IStorage, ptd : *const super::Com:: DVTARGETDEVICE, opt : u32, pvcallbackcontext : *const ::core::ffi::c_void, pqueryconvertolelinkcallback : OLESTREAMQUERYCONVERTOLELINKCALLBACK) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleConvertOLESTREAMToIStorage2(lpolestream : *const super::Com::StructuredStorage:: OLESTREAM, pstg : * mut::core::ffi::c_void, ptd : *const super::Com:: DVTARGETDEVICE, opt : u32, pvcallbackcontext : *const ::core::ffi::c_void, pqueryconvertolelinkcallback : OLESTREAMQUERYCONVERTOLELINKCALLBACK) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn OleConvertOLESTREAMToIStorageEx2(polestm : *const super::Com::StructuredStorage:: OLESTREAM, pstg : super::Com::StructuredStorage:: IStorage, pcfformat : *mut u16, plwwidth : *mut i32, plheight : *mut i32, pdwsize : *mut u32, pmedium : *mut super::Com:: STGMEDIUM, opt : u32, pvcallbackcontext : *const ::core::ffi::c_void, pqueryconvertolelinkcallback : OLESTREAMQUERYCONVERTOLELINKCALLBACK) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleCreate(rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, renderopt : u32, pformatetc : *const super::Com:: FORMATETC, pclientsite : IOleClientSite, pstg : super::Com::StructuredStorage:: IStorage, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn OleConvertOLESTREAMToIStorageEx2(polestm : *const super::Com::StructuredStorage:: OLESTREAM, pstg : * mut::core::ffi::c_void, pcfformat : *mut u16, plwwidth : *mut i32, plheight : *mut i32, pdwsize : *mut u32, pmedium : *mut super::Com:: STGMEDIUM, opt : u32, pvcallbackcontext : *const ::core::ffi::c_void, pqueryconvertolelinkcallback : OLESTREAMQUERYCONVERTOLELINKCALLBACK) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreate(rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, renderopt : u32, pformatetc : *const super::Com:: FORMATETC, pclientsite : * mut::core::ffi::c_void, pstg : * mut::core::ffi::c_void, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn OleCreateDefaultHandler(clsid : *const ::windows_sys::core::GUID, punkouter : ::windows_sys::core::IUnknown, riid : *const ::windows_sys::core::GUID, lplpobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleCreateEmbeddingHelper(clsid : *const ::windows_sys::core::GUID, punkouter : ::windows_sys::core::IUnknown, flags : EMBDHLP_FLAGS, pcf : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, lplpobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreateEmbeddingHelper(clsid : *const ::windows_sys::core::GUID, punkouter : ::windows_sys::core::IUnknown, flags : EMBDHLP_FLAGS, pcf : super::Com:: IClassFactory, riid : *const ::windows_sys::core::GUID, lplpobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleCreateEx(rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, dwflags : OLECREATE, renderopt : u32, cformats : u32, rgadvf : *const u32, rgformatetc : *const super::Com:: FORMATETC, lpadvisesink : super::Com:: IAdviseSink, rgdwconnection : *mut u32, pclientsite : IOleClientSite, pstg : super::Com::StructuredStorage:: IStorage, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreateEx(rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, dwflags : OLECREATE, renderopt : u32, cformats : u32, rgadvf : *const u32, rgformatetc : *const super::Com:: FORMATETC, lpadvisesink : * mut::core::ffi::c_void, rgdwconnection : *mut u32, pclientsite : * mut::core::ffi::c_void, pstg : * mut::core::ffi::c_void, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreateFontIndirect(lpfontdesc : *const FONTDESC, riid : *const ::windows_sys::core::GUID, lplpvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleCreateFromData(psrcdataobj : super::Com:: IDataObject, riid : *const ::windows_sys::core::GUID, renderopt : u32, pformatetc : *const super::Com:: FORMATETC, pclientsite : IOleClientSite, pstg : super::Com::StructuredStorage:: IStorage, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleCreateFromDataEx(psrcdataobj : super::Com:: IDataObject, riid : *const ::windows_sys::core::GUID, dwflags : OLECREATE, renderopt : u32, cformats : u32, rgadvf : *const u32, rgformatetc : *const super::Com:: FORMATETC, lpadvisesink : super::Com:: IAdviseSink, rgdwconnection : *mut u32, pclientsite : IOleClientSite, pstg : super::Com::StructuredStorage:: IStorage, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleCreateFromFile(rclsid : *const ::windows_sys::core::GUID, lpszfilename : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, renderopt : u32, lpformatetc : *const super::Com:: FORMATETC, pclientsite : IOleClientSite, pstg : super::Com::StructuredStorage:: IStorage, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleCreateFromFileEx(rclsid : *const ::windows_sys::core::GUID, lpszfilename : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, dwflags : OLECREATE, renderopt : u32, cformats : u32, rgadvf : *const u32, rgformatetc : *const super::Com:: FORMATETC, lpadvisesink : super::Com:: IAdviseSink, rgdwconnection : *mut u32, pclientsite : IOleClientSite, pstg : super::Com::StructuredStorage:: IStorage, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleCreateLink(pmklinksrc : super::Com:: IMoniker, riid : *const ::windows_sys::core::GUID, renderopt : u32, lpformatetc : *const super::Com:: FORMATETC, pclientsite : IOleClientSite, pstg : super::Com::StructuredStorage:: IStorage, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleCreateLinkEx(pmklinksrc : super::Com:: IMoniker, riid : *const ::windows_sys::core::GUID, dwflags : OLECREATE, renderopt : u32, cformats : u32, rgadvf : *const u32, rgformatetc : *const super::Com:: FORMATETC, lpadvisesink : super::Com:: IAdviseSink, rgdwconnection : *mut u32, pclientsite : IOleClientSite, pstg : super::Com::StructuredStorage:: IStorage, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleCreateLinkFromData(psrcdataobj : super::Com:: IDataObject, riid : *const ::windows_sys::core::GUID, renderopt : u32, pformatetc : *const super::Com:: FORMATETC, pclientsite : IOleClientSite, pstg : super::Com::StructuredStorage:: IStorage, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleCreateLinkFromDataEx(psrcdataobj : super::Com:: IDataObject, riid : *const ::windows_sys::core::GUID, dwflags : OLECREATE, renderopt : u32, cformats : u32, rgadvf : *const u32, rgformatetc : *const super::Com:: FORMATETC, lpadvisesink : super::Com:: IAdviseSink, rgdwconnection : *mut u32, pclientsite : IOleClientSite, pstg : super::Com::StructuredStorage:: IStorage, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleCreateLinkToFile(lpszfilename : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, renderopt : u32, lpformatetc : *const super::Com:: FORMATETC, pclientsite : IOleClientSite, pstg : super::Com::StructuredStorage:: IStorage, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleCreateLinkToFileEx(lpszfilename : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, dwflags : OLECREATE, renderopt : u32, cformats : u32, rgadvf : *const u32, rgformatetc : *const super::Com:: FORMATETC, lpadvisesink : super::Com:: IAdviseSink, rgdwconnection : *mut u32, pclientsite : IOleClientSite, pstg : super::Com::StructuredStorage:: IStorage, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreateFromData(psrcdataobj : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, renderopt : u32, pformatetc : *const super::Com:: FORMATETC, pclientsite : * mut::core::ffi::c_void, pstg : * mut::core::ffi::c_void, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreateFromDataEx(psrcdataobj : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, dwflags : OLECREATE, renderopt : u32, cformats : u32, rgadvf : *const u32, rgformatetc : *const super::Com:: FORMATETC, lpadvisesink : * mut::core::ffi::c_void, rgdwconnection : *mut u32, pclientsite : * mut::core::ffi::c_void, pstg : * mut::core::ffi::c_void, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreateFromFile(rclsid : *const ::windows_sys::core::GUID, lpszfilename : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, renderopt : u32, lpformatetc : *const super::Com:: FORMATETC, pclientsite : * mut::core::ffi::c_void, pstg : * mut::core::ffi::c_void, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreateFromFileEx(rclsid : *const ::windows_sys::core::GUID, lpszfilename : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, dwflags : OLECREATE, renderopt : u32, cformats : u32, rgadvf : *const u32, rgformatetc : *const super::Com:: FORMATETC, lpadvisesink : * mut::core::ffi::c_void, rgdwconnection : *mut u32, pclientsite : * mut::core::ffi::c_void, pstg : * mut::core::ffi::c_void, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreateLink(pmklinksrc : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, renderopt : u32, lpformatetc : *const super::Com:: FORMATETC, pclientsite : * mut::core::ffi::c_void, pstg : * mut::core::ffi::c_void, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreateLinkEx(pmklinksrc : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, dwflags : OLECREATE, renderopt : u32, cformats : u32, rgadvf : *const u32, rgformatetc : *const super::Com:: FORMATETC, lpadvisesink : * mut::core::ffi::c_void, rgdwconnection : *mut u32, pclientsite : * mut::core::ffi::c_void, pstg : * mut::core::ffi::c_void, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreateLinkFromData(psrcdataobj : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, renderopt : u32, pformatetc : *const super::Com:: FORMATETC, pclientsite : * mut::core::ffi::c_void, pstg : * mut::core::ffi::c_void, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreateLinkFromDataEx(psrcdataobj : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, dwflags : OLECREATE, renderopt : u32, cformats : u32, rgadvf : *const u32, rgformatetc : *const super::Com:: FORMATETC, lpadvisesink : * mut::core::ffi::c_void, rgdwconnection : *mut u32, pclientsite : * mut::core::ffi::c_void, pstg : * mut::core::ffi::c_void, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreateLinkToFile(lpszfilename : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, renderopt : u32, lpformatetc : *const super::Com:: FORMATETC, pclientsite : * mut::core::ffi::c_void, pstg : * mut::core::ffi::c_void, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreateLinkToFileEx(lpszfilename : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, dwflags : OLECREATE, renderopt : u32, cformats : u32, rgadvf : *const u32, rgformatetc : *const super::Com:: FORMATETC, lpadvisesink : * mut::core::ffi::c_void, rgdwconnection : *mut u32, pclientsite : * mut::core::ffi::c_void, pstg : * mut::core::ffi::c_void, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_WindowsAndMessaging")] ::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn OleCreateMenuDescriptor(hmenucombined : super::super::UI::WindowsAndMessaging:: HMENU, lpmenuwidths : *const OLEMENUGROUPWIDTHS) -> isize); #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn OleCreatePictureIndirect(lppictdesc : *const PICTDESC, riid : *const ::windows_sys::core::GUID, fown : super::super::Foundation:: BOOL, lplpvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn OleCreatePropertyFrame(hwndowner : super::super::Foundation:: HWND, x : u32, y : u32, lpszcaption : ::windows_sys::core::PCWSTR, cobjects : u32, ppunk : *const ::windows_sys::core::IUnknown, cpages : u32, ppageclsid : *const ::windows_sys::core::GUID, lcid : u32, dwreserved : u32, pvreserved : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn OleCreatePropertyFrameIndirect(lpparams : *const OCPFIPARAMS) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleCreateStaticFromData(psrcdataobj : super::Com:: IDataObject, iid : *const ::windows_sys::core::GUID, renderopt : u32, pformatetc : *const super::Com:: FORMATETC, pclientsite : IOleClientSite, pstg : super::Com::StructuredStorage:: IStorage, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleCreateStaticFromData(psrcdataobj : * mut::core::ffi::c_void, iid : *const ::windows_sys::core::GUID, renderopt : u32, pformatetc : *const super::Com:: FORMATETC, pclientsite : * mut::core::ffi::c_void, pstg : * mut::core::ffi::c_void, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn OleDestroyMenuDescriptor(holemenu : isize) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleDoAutoConvert(pstg : super::Com::StructuredStorage:: IStorage, pclsidnew : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleDoAutoConvert(pstg : * mut::core::ffi::c_void, pclsidnew : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn OleDraw(punknown : ::windows_sys::core::IUnknown, dwaspect : u32, hdcdraw : super::super::Graphics::Gdi:: HDC, lprcbounds : *const super::super::Foundation:: RECT) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Memory")] ::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Memory\"`"] fn OleDuplicateData(hsrc : super::super::Foundation:: HANDLE, cfformat : CLIPBOARD_FORMAT, uiflags : super::Memory:: GLOBAL_ALLOC_FLAGS) -> super::super::Foundation:: HANDLE); ::windows_targets::link!("ole32.dll" "system" fn OleFlushClipboard() -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn OleGetAutoConvert(clsidold : *const ::windows_sys::core::GUID, pclsidnew : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleGetClipboard(ppdataobj : *mut super::Com:: IDataObject) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleGetClipboardWithEnterpriseInfo(dataobject : *mut super::Com:: IDataObject, dataenterpriseid : *mut ::windows_sys::core::PWSTR, sourcedescription : *mut ::windows_sys::core::PWSTR, targetdescription : *mut ::windows_sys::core::PWSTR, datadescription : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleGetClipboard(ppdataobj : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleGetClipboardWithEnterpriseInfo(dataobject : *mut * mut::core::ffi::c_void, dataenterpriseid : *mut ::windows_sys::core::PWSTR, sourcedescription : *mut ::windows_sys::core::PWSTR, targetdescription : *mut ::windows_sys::core::PWSTR, datadescription : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn OleGetIconOfClass(rclsid : *const ::windows_sys::core::GUID, lpszlabel : ::windows_sys::core::PCWSTR, fusetypeaslabel : super::super::Foundation:: BOOL) -> super::super::Foundation:: HGLOBAL); ::windows_targets::link!("ole32.dll" "system" fn OleGetIconOfFile(lpszpath : ::windows_sys::core::PCWSTR, fusefileaslabel : super::super::Foundation:: BOOL) -> super::super::Foundation:: HGLOBAL); #[cfg(feature = "Win32_UI_WindowsAndMessaging")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn OleIconToCursor(hinstexe : super::super::Foundation:: HINSTANCE, hicon : super::super::UI::WindowsAndMessaging:: HICON) -> super::super::UI::WindowsAndMessaging:: HCURSOR); ::windows_targets::link!("ole32.dll" "system" fn OleInitialize(pvreserved : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleIsCurrentClipboard(pdataobj : super::Com:: IDataObject) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn OleIsRunning(pobject : IOleObject) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleLoad(pstg : super::Com::StructuredStorage:: IStorage, riid : *const ::windows_sys::core::GUID, pclientsite : IOleClientSite, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleLoadFromStream(pstm : super::Com:: IStream, iidinterface : *const ::windows_sys::core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleLoadPicture(lpstream : super::Com:: IStream, lsize : i32, frunmode : super::super::Foundation:: BOOL, riid : *const ::windows_sys::core::GUID, lplpvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleLoadPictureEx(lpstream : super::Com:: IStream, lsize : i32, frunmode : super::super::Foundation:: BOOL, riid : *const ::windows_sys::core::GUID, xsizedesired : u32, ysizedesired : u32, dwflags : LOAD_PICTURE_FLAGS, lplpvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleIsCurrentClipboard(pdataobj : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleIsRunning(pobject : * mut::core::ffi::c_void) -> super::super::Foundation:: BOOL); +::windows_targets::link!("ole32.dll" "system" fn OleLoad(pstg : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, pclientsite : * mut::core::ffi::c_void, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleLoadFromStream(pstm : * mut::core::ffi::c_void, iidinterface : *const ::windows_sys::core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn OleLoadPicture(lpstream : * mut::core::ffi::c_void, lsize : i32, frunmode : super::super::Foundation:: BOOL, riid : *const ::windows_sys::core::GUID, lplpvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn OleLoadPictureEx(lpstream : * mut::core::ffi::c_void, lsize : i32, frunmode : super::super::Foundation:: BOOL, riid : *const ::windows_sys::core::GUID, xsizedesired : u32, ysizedesired : u32, dwflags : LOAD_PICTURE_FLAGS, lplpvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn OleLoadPictureFile(varfilename : super::Variant:: VARIANT, lplpdisppicture : *mut super::Com:: IDispatch) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn OleLoadPictureFile(varfilename : super::Variant:: VARIANT, lplpdisppicture : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn OleLoadPictureFileEx(varfilename : super::Variant:: VARIANT, xsizedesired : u32, ysizedesired : u32, dwflags : LOAD_PICTURE_FLAGS, lplpdisppicture : *mut super::Com:: IDispatch) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn OleLoadPictureFileEx(varfilename : super::Variant:: VARIANT, xsizedesired : u32, ysizedesired : u32, dwflags : LOAD_PICTURE_FLAGS, lplpdisppicture : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn OleLoadPicturePath(szurlorpath : ::windows_sys::core::PCWSTR, punkcaller : ::windows_sys::core::IUnknown, dwreserved : u32, clrreserved : u32, riid : *const ::windows_sys::core::GUID, ppvret : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn OleLockRunning(punknown : ::windows_sys::core::IUnknown, flock : super::super::Foundation:: BOOL, flastunlockcloses : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_WindowsAndMessaging")] ::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn OleMetafilePictFromIconAndLabel(hicon : super::super::UI::WindowsAndMessaging:: HICON, lpszlabel : ::windows_sys::core::PCWSTR, lpszsourcefile : ::windows_sys::core::PCWSTR, iiconindex : u32) -> super::super::Foundation:: HGLOBAL); ::windows_targets::link!("ole32.dll" "system" fn OleNoteObjectVisible(punknown : ::windows_sys::core::IUnknown, fvisible : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleQueryCreateFromData(psrcdataobject : super::Com:: IDataObject) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleQueryLinkFromData(psrcdataobject : super::Com:: IDataObject) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleRegEnumFormatEtc(clsid : *const ::windows_sys::core::GUID, dwdirection : u32, ppenum : *mut super::Com:: IEnumFORMATETC) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn OleRegEnumVerbs(clsid : *const ::windows_sys::core::GUID, ppenum : *mut IEnumOLEVERB) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleQueryCreateFromData(psrcdataobject : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleQueryLinkFromData(psrcdataobject : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleRegEnumFormatEtc(clsid : *const ::windows_sys::core::GUID, dwdirection : u32, ppenum : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleRegEnumVerbs(clsid : *const ::windows_sys::core::GUID, ppenum : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn OleRegGetMiscStatus(clsid : *const ::windows_sys::core::GUID, dwaspect : u32, pdwstatus : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn OleRegGetUserType(clsid : *const ::windows_sys::core::GUID, dwformoftype : u32, pszusertype : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn OleRun(punknown : ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleSave(pps : super::Com::StructuredStorage:: IPersistStorage, pstg : super::Com::StructuredStorage:: IStorage, fsameasload : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleSavePictureFile(lpdisppicture : super::Com:: IDispatch, bstrfilename : ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleSaveToStream(ppstm : super::Com:: IPersistStream, pstm : super::Com:: IStream) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleSave(pps : * mut::core::ffi::c_void, pstg : * mut::core::ffi::c_void, fsameasload : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn OleSavePictureFile(lpdisppicture : * mut::core::ffi::c_void, bstrfilename : ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleSaveToStream(ppstm : * mut::core::ffi::c_void, pstm : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn OleSetAutoConvert(clsidold : *const ::windows_sys::core::GUID, clsidnew : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleSetClipboard(pdataobj : super::Com:: IDataObject) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleSetClipboard(pdataobj : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn OleSetContainedObject(punknown : ::windows_sys::core::IUnknown, fcontained : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn OleSetMenuDescriptor(holemenu : isize, hwndframe : super::super::Foundation:: HWND, hwndactiveobject : super::super::Foundation:: HWND, lpframe : IOleInPlaceFrame, lpactiveobj : IOleInPlaceActiveObject) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" fn OleSetMenuDescriptor(holemenu : isize, hwndframe : super::super::Foundation:: HWND, hwndactiveobject : super::super::Foundation:: HWND, lpframe : * mut::core::ffi::c_void, lpactiveobj : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_WindowsAndMessaging")] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn OleTranslateAccelerator(lpframe : IOleInPlaceFrame, lpframeinfo : *const OLEINPLACEFRAMEINFO, lpmsg : *const super::super::UI::WindowsAndMessaging:: MSG) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn OleTranslateAccelerator(lpframe : * mut::core::ffi::c_void, lpframeinfo : *const OLEINPLACEFRAMEINFO, lpmsg : *const super::super::UI::WindowsAndMessaging:: MSG) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn OleTranslateColor(clr : u32, hpal : super::super::Graphics::Gdi:: HPALETTE, lpcolorref : *mut super::super::Foundation:: COLORREF) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_WindowsAndMessaging")] -::windows_targets::link!("oledlg.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn OleUIAddVerbMenuA(lpoleobj : IOleObject, lpszshorttype : ::windows_sys::core::PCSTR, hmenu : super::super::UI::WindowsAndMessaging:: HMENU, upos : u32, uidverbmin : u32, uidverbmax : u32, baddconvert : super::super::Foundation:: BOOL, idconvert : u32, lphmenu : *mut super::super::UI::WindowsAndMessaging:: HMENU) -> super::super::Foundation:: BOOL); +::windows_targets::link!("oledlg.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn OleUIAddVerbMenuA(lpoleobj : * mut::core::ffi::c_void, lpszshorttype : ::windows_sys::core::PCSTR, hmenu : super::super::UI::WindowsAndMessaging:: HMENU, upos : u32, uidverbmin : u32, uidverbmax : u32, baddconvert : super::super::Foundation:: BOOL, idconvert : u32, lphmenu : *mut super::super::UI::WindowsAndMessaging:: HMENU) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_UI_WindowsAndMessaging")] -::windows_targets::link!("oledlg.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn OleUIAddVerbMenuW(lpoleobj : IOleObject, lpszshorttype : ::windows_sys::core::PCWSTR, hmenu : super::super::UI::WindowsAndMessaging:: HMENU, upos : u32, uidverbmin : u32, uidverbmax : u32, baddconvert : super::super::Foundation:: BOOL, idconvert : u32, lphmenu : *mut super::super::UI::WindowsAndMessaging:: HMENU) -> super::super::Foundation:: BOOL); +::windows_targets::link!("oledlg.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn OleUIAddVerbMenuW(lpoleobj : * mut::core::ffi::c_void, lpszshorttype : ::windows_sys::core::PCWSTR, hmenu : super::super::UI::WindowsAndMessaging:: HMENU, upos : u32, uidverbmin : u32, uidverbmax : u32, baddconvert : super::super::Foundation:: BOOL, idconvert : u32, lphmenu : *mut super::super::UI::WindowsAndMessaging:: HMENU) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Media")] ::windows_targets::link!("oledlg.dll" "system" #[doc = "Required features: `\"Win32_Media\"`"] fn OleUIBusyA(param0 : *const OLEUIBUSYA) -> u32); #[cfg(feature = "Win32_Media")] @@ -181,10 +158,10 @@ ::windows_targets::link!("oledlg.dll" "system" fn OleUIConvertW(param0 : *const OLEUICONVERTW) -> u32); ::windows_targets::link!("oledlg.dll" "system" fn OleUIEditLinksA(param0 : *const OLEUIEDITLINKSA) -> u32); ::windows_targets::link!("oledlg.dll" "system" fn OleUIEditLinksW(param0 : *const OLEUIEDITLINKSW) -> u32); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("oledlg.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleUIInsertObjectA(param0 : *const OLEUIINSERTOBJECTA) -> u32); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("oledlg.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn OleUIInsertObjectW(param0 : *const OLEUIINSERTOBJECTW) -> u32); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oledlg.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleUIInsertObjectA(param0 : *const OLEUIINSERTOBJECTA) -> u32); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oledlg.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleUIInsertObjectW(param0 : *const OLEUIINSERTOBJECTW) -> u32); #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] ::windows_targets::link!("oledlg.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn OleUIObjectPropertiesA(param0 : *const OLEUIOBJECTPROPSA) -> u32); #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] @@ -195,18 +172,16 @@ ::windows_targets::link!("oledlg.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleUIPasteSpecialW(param0 : *const OLEUIPASTESPECIALW) -> u32); ::windows_targets::link!("oledlg.dll" "cdecl" fn OleUIPromptUserA(ntemplate : i32, hwndparent : super::super::Foundation:: HWND, ...) -> i32); ::windows_targets::link!("oledlg.dll" "cdecl" fn OleUIPromptUserW(ntemplate : i32, hwndparent : super::super::Foundation:: HWND, ...) -> i32); -::windows_targets::link!("oledlg.dll" "system" fn OleUIUpdateLinksA(lpoleuilinkcntr : IOleUILinkContainerA, hwndparent : super::super::Foundation:: HWND, lpsztitle : ::windows_sys::core::PCSTR, clinks : i32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("oledlg.dll" "system" fn OleUIUpdateLinksW(lpoleuilinkcntr : IOleUILinkContainerW, hwndparent : super::super::Foundation:: HWND, lpsztitle : ::windows_sys::core::PCWSTR, clinks : i32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("oledlg.dll" "system" fn OleUIUpdateLinksA(lpoleuilinkcntr : * mut::core::ffi::c_void, hwndparent : super::super::Foundation:: HWND, lpsztitle : ::windows_sys::core::PCSTR, clinks : i32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("oledlg.dll" "system" fn OleUIUpdateLinksW(lpoleuilinkcntr : * mut::core::ffi::c_void, hwndparent : super::super::Foundation:: HWND, lpsztitle : ::windows_sys::core::PCWSTR, clinks : i32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("ole32.dll" "system" fn OleUninitialize()); ::windows_targets::link!("oleaut32.dll" "system" fn QueryPathOfRegTypeLib(guid : *const ::windows_sys::core::GUID, wmaj : u16, wmin : u16, lcid : u32, lpbstrpathname : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn RegisterActiveObject(punk : ::windows_sys::core::IUnknown, rclsid : *const ::windows_sys::core::GUID, dwflags : ACTIVEOBJECT_FLAGS, pdwregister : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("ole32.dll" "system" fn RegisterDragDrop(hwnd : super::super::Foundation:: HWND, pdroptarget : IDropTarget) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn RegisterTypeLib(ptlib : super::Com:: ITypeLib, szfullpath : ::windows_sys::core::PCWSTR, szhelpdir : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn RegisterTypeLibForUser(ptlib : super::Com:: ITypeLib, szfullpath : ::windows_sys::core::PCWSTR, szhelpdir : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] -::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] fn ReleaseStgMedium(param0 : *mut super::Com:: STGMEDIUM)); +::windows_targets::link!("ole32.dll" "system" fn RegisterDragDrop(hwnd : super::super::Foundation:: HWND, pdroptarget : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn RegisterTypeLib(ptlib : * mut::core::ffi::c_void, szfullpath : ::windows_sys::core::PCWSTR, szhelpdir : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn RegisterTypeLibForUser(ptlib : * mut::core::ffi::c_void, szfullpath : ::windows_sys::core::PCWSTR, szhelpdir : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] +::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] fn ReleaseStgMedium(param0 : *mut super::Com:: STGMEDIUM)); ::windows_targets::link!("oleaut32.dll" "system" fn RevokeActiveObject(dwregister : u32, pvreserved : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("ole32.dll" "system" fn RevokeDragDrop(hwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] @@ -248,7 +223,7 @@ #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SafeArrayGetLBound(psa : *const super::Com:: SAFEARRAY, ndim : u32, pllbound : *mut i32) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SafeArrayGetRecordInfo(psa : *const super::Com:: SAFEARRAY, prinfo : *mut IRecordInfo) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SafeArrayGetRecordInfo(psa : *const super::Com:: SAFEARRAY, prinfo : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SafeArrayGetUBound(psa : *const super::Com:: SAFEARRAY, ndim : u32, plubound : *mut i32) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] @@ -267,7 +242,7 @@ #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SafeArraySetIID(psa : *const super::Com:: SAFEARRAY, guid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SafeArraySetRecordInfo(psa : *const super::Com:: SAFEARRAY, prinfo : IRecordInfo) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SafeArraySetRecordInfo(psa : *const super::Com:: SAFEARRAY, prinfo : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SafeArrayUnaccessData(psa : *const super::Com:: SAFEARRAY) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] @@ -286,8 +261,7 @@ ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarBoolFromCy(cyin : super::Com:: CY, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromDate(datein : f64, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromDec(pdecin : *const super::super::Foundation:: DECIMAL, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarBoolFromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromI1(cin : i8, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromI2(sin : i16, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromI4(lin : i32, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); @@ -306,8 +280,7 @@ ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarBstrFromCy(cyin : super::Com:: CY, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromDate(datein : f64, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromDec(pdecin : *const super::super::Foundation:: DECIMAL, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarBstrFromDisp(pdispin : super::Com:: IDispatch, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI1(cin : i8, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI2(ival : i16, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI4(lin : i32, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); @@ -339,7 +312,7 @@ #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarCyFromDec(pdecin : *const super::super::Foundation:: DECIMAL, pcyout : *mut super::Com:: CY) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarCyFromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pcyout : *mut super::Com:: CY) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarCyFromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, pcyout : *mut super::Com:: CY) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarCyFromI1(cin : i8, pcyout : *mut super::Com:: CY) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] @@ -380,8 +353,7 @@ #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarDateFromCy(cyin : super::Com:: CY, pdateout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarDateFromDec(pdecin : *const super::super::Foundation:: DECIMAL, pdateout : *mut f64) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarDateFromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pdateout : *mut f64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarDateFromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, pdateout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarDateFromI1(cin : i8, pdateout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarDateFromI2(sin : i16, pdateout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarDateFromI4(lin : i32, pdateout : *mut f64) -> ::windows_sys::core::HRESULT); @@ -405,8 +377,7 @@ #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarDecFromCy(cyin : super::Com:: CY, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarDecFromDate(datein : f64, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarDecFromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarDecFromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarDecFromI1(cin : i8, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarDecFromI2(uiin : i16, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarDecFromI4(lin : i32, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_sys::core::HRESULT); @@ -446,8 +417,7 @@ ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarI1FromCy(cyin : super::Com:: CY, pcout : ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI1FromDate(datein : f64, pcout : ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI1FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pcout : ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarI1FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pcout : ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarI1FromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, pcout : ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI1FromI2(uiin : i16, pcout : ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI1FromI4(lin : i32, pcout : ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI1FromI8(i64in : i64, pcout : ::windows_sys::core::PSTR) -> ::windows_sys::core::HRESULT); @@ -463,8 +433,7 @@ ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarI2FromCy(cyin : super::Com:: CY, psout : *mut i16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI2FromDate(datein : f64, psout : *mut i16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI2FromDec(pdecin : *const super::super::Foundation:: DECIMAL, psout : *mut i16) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarI2FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, psout : *mut i16) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarI2FromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, psout : *mut i16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI2FromI1(cin : i8, psout : *mut i16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI2FromI4(lin : i32, psout : *mut i16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI2FromI8(i64in : i64, psout : *mut i16) -> ::windows_sys::core::HRESULT); @@ -480,8 +449,7 @@ ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarI4FromCy(cyin : super::Com:: CY, plout : *mut i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI4FromDate(datein : f64, plout : *mut i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI4FromDec(pdecin : *const super::super::Foundation:: DECIMAL, plout : *mut i32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarI4FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, plout : *mut i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarI4FromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, plout : *mut i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI4FromI1(cin : i8, plout : *mut i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI4FromI2(sin : i16, plout : *mut i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI4FromI8(i64in : i64, plout : *mut i32) -> ::windows_sys::core::HRESULT); @@ -497,8 +465,7 @@ ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarI8FromCy(cyin : super::Com:: CY, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI8FromDate(datein : f64, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI8FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarI8FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarI8FromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI8FromI1(cin : i8, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI8FromI2(sin : i16, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI8FromR4(fltin : f32, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); @@ -536,8 +503,7 @@ ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarR4FromCy(cyin : super::Com:: CY, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR4FromDate(datein : f64, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR4FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarR4FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarR4FromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR4FromI1(cin : i8, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR4FromI2(sin : i16, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR4FromI4(lin : i32, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); @@ -553,8 +519,7 @@ ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarR8FromCy(cyin : super::Com:: CY, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR8FromDate(datein : f64, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR8FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarR8FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarR8FromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR8FromI1(cin : i8, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR8FromI2(sin : i16, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR8FromI4(lin : i32, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); @@ -577,8 +542,7 @@ ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarUI1FromCy(cyin : super::Com:: CY, pbout : *mut u8) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromDate(datein : f64, pbout : *mut u8) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pbout : *mut u8) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarUI1FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pbout : *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, pbout : *mut u8) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromI1(cin : i8, pbout : *mut u8) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromI2(sin : i16, pbout : *mut u8) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromI4(lin : i32, pbout : *mut u8) -> ::windows_sys::core::HRESULT); @@ -594,8 +558,7 @@ ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarUI2FromCy(cyin : super::Com:: CY, puiout : *mut u16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromDate(datein : f64, puiout : *mut u16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromDec(pdecin : *const super::super::Foundation:: DECIMAL, puiout : *mut u16) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarUI2FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, puiout : *mut u16) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, puiout : *mut u16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromI1(cin : i8, puiout : *mut u16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromI2(uiin : i16, puiout : *mut u16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromI4(lin : i32, puiout : *mut u16) -> ::windows_sys::core::HRESULT); @@ -611,8 +574,7 @@ ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarUI4FromCy(cyin : super::Com:: CY, pulout : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromDate(datein : f64, pulout : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pulout : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarUI4FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pulout : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, pulout : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromI1(cin : i8, pulout : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromI2(uiin : i16, pulout : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromI4(lin : i32, pulout : *mut u32) -> ::windows_sys::core::HRESULT); @@ -628,8 +590,7 @@ ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarUI8FromCy(cyin : super::Com:: CY, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromDate(datein : f64, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarUI8FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromDisp(pdispin : * mut::core::ffi::c_void, lcid : u32, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromI1(cin : i8, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromI2(sin : i16, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromI8(ui64in : i64, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); @@ -645,99 +606,6 @@ ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn VarXor(pvarleft : *const super::Variant:: VARIANT, pvarright : *const super::Variant:: VARIANT, pvarresult : *mut super::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VectorFromBstr(bstr : ::windows_sys::core::BSTR, ppsa : *mut *mut super::Com:: SAFEARRAY) -> ::windows_sys::core::HRESULT); -pub type IAdviseSinkEx = *mut ::core::ffi::c_void; -pub type ICanHandleException = *mut ::core::ffi::c_void; -pub type IClassFactory2 = *mut ::core::ffi::c_void; -pub type IContinue = *mut ::core::ffi::c_void; -pub type IContinueCallback = *mut ::core::ffi::c_void; -pub type ICreateErrorInfo = *mut ::core::ffi::c_void; -pub type ICreateTypeInfo = *mut ::core::ffi::c_void; -pub type ICreateTypeInfo2 = *mut ::core::ffi::c_void; -pub type ICreateTypeLib = *mut ::core::ffi::c_void; -pub type ICreateTypeLib2 = *mut ::core::ffi::c_void; -pub type IDispError = *mut ::core::ffi::c_void; -pub type IDispatchEx = *mut ::core::ffi::c_void; -pub type IDropSource = *mut ::core::ffi::c_void; -pub type IDropSourceNotify = *mut ::core::ffi::c_void; -pub type IDropTarget = *mut ::core::ffi::c_void; -pub type IEnterpriseDropTarget = *mut ::core::ffi::c_void; -pub type IEnumOLEVERB = *mut ::core::ffi::c_void; -pub type IEnumOleDocumentViews = *mut ::core::ffi::c_void; -pub type IEnumOleUndoUnits = *mut ::core::ffi::c_void; -pub type IEnumVARIANT = *mut ::core::ffi::c_void; -pub type IFont = *mut ::core::ffi::c_void; -pub type IFontDisp = *mut ::core::ffi::c_void; -pub type IFontEventsDisp = *mut ::core::ffi::c_void; -pub type IGetOleObject = *mut ::core::ffi::c_void; -pub type IGetVBAObject = *mut ::core::ffi::c_void; -pub type IObjectIdentity = *mut ::core::ffi::c_void; -pub type IObjectWithSite = *mut ::core::ffi::c_void; -pub type IOleAdviseHolder = *mut ::core::ffi::c_void; -pub type IOleCache = *mut ::core::ffi::c_void; -pub type IOleCache2 = *mut ::core::ffi::c_void; -pub type IOleCacheControl = *mut ::core::ffi::c_void; -pub type IOleClientSite = *mut ::core::ffi::c_void; -pub type IOleCommandTarget = *mut ::core::ffi::c_void; -pub type IOleContainer = *mut ::core::ffi::c_void; -pub type IOleControl = *mut ::core::ffi::c_void; -pub type IOleControlSite = *mut ::core::ffi::c_void; -pub type IOleDocument = *mut ::core::ffi::c_void; -pub type IOleDocumentSite = *mut ::core::ffi::c_void; -pub type IOleDocumentView = *mut ::core::ffi::c_void; -pub type IOleInPlaceActiveObject = *mut ::core::ffi::c_void; -pub type IOleInPlaceFrame = *mut ::core::ffi::c_void; -pub type IOleInPlaceObject = *mut ::core::ffi::c_void; -pub type IOleInPlaceObjectWindowless = *mut ::core::ffi::c_void; -pub type IOleInPlaceSite = *mut ::core::ffi::c_void; -pub type IOleInPlaceSiteEx = *mut ::core::ffi::c_void; -pub type IOleInPlaceSiteWindowless = *mut ::core::ffi::c_void; -pub type IOleInPlaceUIWindow = *mut ::core::ffi::c_void; -pub type IOleItemContainer = *mut ::core::ffi::c_void; -pub type IOleLink = *mut ::core::ffi::c_void; -pub type IOleObject = *mut ::core::ffi::c_void; -pub type IOleParentUndoUnit = *mut ::core::ffi::c_void; -pub type IOleUILinkContainerA = *mut ::core::ffi::c_void; -pub type IOleUILinkContainerW = *mut ::core::ffi::c_void; -pub type IOleUILinkInfoA = *mut ::core::ffi::c_void; -pub type IOleUILinkInfoW = *mut ::core::ffi::c_void; -pub type IOleUIObjInfoA = *mut ::core::ffi::c_void; -pub type IOleUIObjInfoW = *mut ::core::ffi::c_void; -pub type IOleUndoManager = *mut ::core::ffi::c_void; -pub type IOleUndoUnit = *mut ::core::ffi::c_void; -pub type IOleWindow = *mut ::core::ffi::c_void; -pub type IParseDisplayName = *mut ::core::ffi::c_void; -pub type IPerPropertyBrowsing = *mut ::core::ffi::c_void; -pub type IPersistPropertyBag = *mut ::core::ffi::c_void; -pub type IPersistPropertyBag2 = *mut ::core::ffi::c_void; -pub type IPicture = *mut ::core::ffi::c_void; -pub type IPicture2 = *mut ::core::ffi::c_void; -pub type IPictureDisp = *mut ::core::ffi::c_void; -pub type IPointerInactive = *mut ::core::ffi::c_void; -pub type IPrint = *mut ::core::ffi::c_void; -pub type IPropertyNotifySink = *mut ::core::ffi::c_void; -pub type IPropertyPage = *mut ::core::ffi::c_void; -pub type IPropertyPage2 = *mut ::core::ffi::c_void; -pub type IPropertyPageSite = *mut ::core::ffi::c_void; -pub type IProtectFocus = *mut ::core::ffi::c_void; -pub type IProtectedModeMenuServices = *mut ::core::ffi::c_void; -pub type IProvideClassInfo = *mut ::core::ffi::c_void; -pub type IProvideClassInfo2 = *mut ::core::ffi::c_void; -pub type IProvideMultipleClassInfo = *mut ::core::ffi::c_void; -pub type IProvideRuntimeContext = *mut ::core::ffi::c_void; -pub type IQuickActivate = *mut ::core::ffi::c_void; -pub type IRecordInfo = *mut ::core::ffi::c_void; -pub type ISimpleFrameSite = *mut ::core::ffi::c_void; -pub type ISpecifyPropertyPages = *mut ::core::ffi::c_void; -pub type ITypeChangeEvents = *mut ::core::ffi::c_void; -pub type ITypeFactory = *mut ::core::ffi::c_void; -pub type ITypeMarshal = *mut ::core::ffi::c_void; -pub type IVBFormat = *mut ::core::ffi::c_void; -pub type IVBGetControl = *mut ::core::ffi::c_void; -pub type IVariantChangeType = *mut ::core::ffi::c_void; -pub type IViewObject = *mut ::core::ffi::c_void; -pub type IViewObject2 = *mut ::core::ffi::c_void; -pub type IViewObjectEx = *mut ::core::ffi::c_void; -pub type IZoomEvents = *mut ::core::ffi::c_void; pub const ACTIVATE_WINDOWLESS: ACTIVATEFLAGS = 1i32; pub const ACTIVEOBJECT_STRONG: ACTIVEOBJECT_FLAGS = 0u32; pub const ACTIVEOBJECT_WEAK: ACTIVEOBJECT_FLAGS = 1u32; @@ -2243,7 +2111,7 @@ pub struct OLEUICHANGESOURCEA { pub hResource: super::super::Foundation::HRSRC, pub lpOFN: *mut super::super::UI::Controls::Dialogs::OPENFILENAMEA, pub dwReserved1: [u32; 4], - pub lpOleUILinkContainer: IOleUILinkContainerA, + pub lpOleUILinkContainer: *mut ::core::ffi::c_void, pub dwLink: u32, pub lpszDisplayName: ::windows_sys::core::PSTR, pub nFileLength: u32, @@ -2273,7 +2141,7 @@ pub struct OLEUICHANGESOURCEW { pub hResource: super::super::Foundation::HRSRC, pub lpOFN: *mut super::super::UI::Controls::Dialogs::OPENFILENAMEW, pub dwReserved1: [u32; 4], - pub lpOleUILinkContainer: IOleUILinkContainerW, + pub lpOleUILinkContainer: *mut ::core::ffi::c_void, pub dwLink: u32, pub lpszDisplayName: ::windows_sys::core::PWSTR, pub nFileLength: u32, @@ -2361,7 +2229,7 @@ pub struct OLEUIEDITLINKSA { pub hInstance: super::super::Foundation::HINSTANCE, pub lpszTemplate: ::windows_sys::core::PCSTR, pub hResource: super::super::Foundation::HRSRC, - pub lpOleUILinkContainer: IOleUILinkContainerA, + pub lpOleUILinkContainer: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for OLEUIEDITLINKSA {} impl ::core::clone::Clone for OLEUIEDITLINKSA { @@ -2380,7 +2248,7 @@ pub struct OLEUIEDITLINKSW { pub hInstance: super::super::Foundation::HINSTANCE, pub lpszTemplate: ::windows_sys::core::PCWSTR, pub hResource: super::super::Foundation::HRSRC, - pub lpOleUILinkContainer: IOleUILinkContainerW, + pub lpOleUILinkContainer: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for OLEUIEDITLINKSW {} impl ::core::clone::Clone for OLEUIEDITLINKSW { @@ -2429,8 +2297,8 @@ impl ::core::clone::Clone for OLEUIGNRLPROPSW { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] -#[cfg(feature = "Win32_System_Com_StructuredStorage")] +#[doc = "Required features: `\"Win32_System_Com\"`"] +#[cfg(feature = "Win32_System_Com")] pub struct OLEUIINSERTOBJECTA { pub cbStruct: u32, pub dwFlags: INSERT_OBJECT_FLAGS, @@ -2449,23 +2317,23 @@ pub struct OLEUIINSERTOBJECTA { pub iid: ::windows_sys::core::GUID, pub oleRender: u32, pub lpFormatEtc: *mut super::Com::FORMATETC, - pub lpIOleClientSite: IOleClientSite, - pub lpIStorage: super::Com::StructuredStorage::IStorage, + pub lpIOleClientSite: *mut ::core::ffi::c_void, + pub lpIStorage: *mut ::core::ffi::c_void, pub ppvObj: *mut *mut ::core::ffi::c_void, pub sc: i32, pub hMetaPict: super::super::Foundation::HGLOBAL, } -#[cfg(feature = "Win32_System_Com_StructuredStorage")] +#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for OLEUIINSERTOBJECTA {} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] +#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for OLEUIINSERTOBJECTA { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] -#[cfg(feature = "Win32_System_Com_StructuredStorage")] +#[doc = "Required features: `\"Win32_System_Com\"`"] +#[cfg(feature = "Win32_System_Com")] pub struct OLEUIINSERTOBJECTW { pub cbStruct: u32, pub dwFlags: INSERT_OBJECT_FLAGS, @@ -2484,15 +2352,15 @@ pub struct OLEUIINSERTOBJECTW { pub iid: ::windows_sys::core::GUID, pub oleRender: u32, pub lpFormatEtc: *mut super::Com::FORMATETC, - pub lpIOleClientSite: IOleClientSite, - pub lpIStorage: super::Com::StructuredStorage::IStorage, + pub lpIOleClientSite: *mut ::core::ffi::c_void, + pub lpIStorage: *mut ::core::ffi::c_void, pub ppvObj: *mut *mut ::core::ffi::c_void, pub sc: i32, pub hMetaPict: super::super::Foundation::HGLOBAL, } -#[cfg(feature = "Win32_System_Com_StructuredStorage")] +#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for OLEUIINSERTOBJECTW {} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] +#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for OLEUIINSERTOBJECTW { fn clone(&self) -> Self { *self @@ -2546,9 +2414,9 @@ pub struct OLEUIOBJECTPROPSA { pub dwFlags: OBJECT_PROPERTIES_FLAGS, pub lpPS: *mut super::super::UI::Controls::PROPSHEETHEADERA_V2, pub dwObject: u32, - pub lpObjInfo: IOleUIObjInfoA, + pub lpObjInfo: *mut ::core::ffi::c_void, pub dwLink: u32, - pub lpLinkInfo: IOleUILinkInfoA, + pub lpLinkInfo: *mut ::core::ffi::c_void, pub lpGP: *mut OLEUIGNRLPROPSA, pub lpVP: *mut OLEUIVIEWPROPSA, pub lpLP: *mut OLEUILINKPROPSA, @@ -2569,9 +2437,9 @@ pub struct OLEUIOBJECTPROPSW { pub dwFlags: OBJECT_PROPERTIES_FLAGS, pub lpPS: *mut super::super::UI::Controls::PROPSHEETHEADERW_V2, pub dwObject: u32, - pub lpObjInfo: IOleUIObjInfoW, + pub lpObjInfo: *mut ::core::ffi::c_void, pub dwLink: u32, - pub lpLinkInfo: IOleUILinkInfoW, + pub lpLinkInfo: *mut ::core::ffi::c_void, pub lpGP: *mut OLEUIGNRLPROPSW, pub lpVP: *mut OLEUIVIEWPROPSW, pub lpLP: *mut OLEUILINKPROPSW, @@ -2633,7 +2501,7 @@ pub struct OLEUIPASTESPECIALA { pub hInstance: super::super::Foundation::HINSTANCE, pub lpszTemplate: ::windows_sys::core::PCSTR, pub hResource: super::super::Foundation::HRSRC, - pub lpSrcDataObj: super::Com::IDataObject, + pub lpSrcDataObj: *mut ::core::ffi::c_void, pub arrPasteEntries: *mut OLEUIPASTEENTRYA, pub cPasteEntries: i32, pub arrLinkTypes: *mut u32, @@ -2666,7 +2534,7 @@ pub struct OLEUIPASTESPECIALW { pub hInstance: super::super::Foundation::HINSTANCE, pub lpszTemplate: ::windows_sys::core::PCWSTR, pub hResource: super::super::Foundation::HRSRC, - pub lpSrcDataObj: super::Com::IDataObject, + pub lpSrcDataObj: *mut ::core::ffi::c_void, pub arrPasteEntries: *mut OLEUIPASTEENTRYW, pub cPasteEntries: i32, pub arrLinkTypes: *mut u32, @@ -2937,29 +2805,29 @@ impl ::core::clone::Clone for PROPPAGEINFO { } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] +#[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] +#[cfg(feature = "Win32_Graphics_Gdi")] pub struct QACONTAINER { pub cbSize: u32, - pub pClientSite: IOleClientSite, - pub pAdviseSink: IAdviseSinkEx, - pub pPropertyNotifySink: IPropertyNotifySink, + pub pClientSite: *mut ::core::ffi::c_void, + pub pAdviseSink: *mut ::core::ffi::c_void, + pub pPropertyNotifySink: *mut ::core::ffi::c_void, pub pUnkEventSink: ::windows_sys::core::IUnknown, pub dwAmbientFlags: u32, pub colorFore: u32, pub colorBack: u32, - pub pFont: IFont, - pub pUndoMgr: IOleUndoManager, + pub pFont: *mut ::core::ffi::c_void, + pub pUndoMgr: *mut ::core::ffi::c_void, pub dwAppearance: u32, pub lcid: i32, pub hpal: super::super::Graphics::Gdi::HPALETTE, - pub pBindHost: super::Com::IBindHost, - pub pOleControlSite: IOleControlSite, - pub pServiceProvider: super::Com::IServiceProvider, + pub pBindHost: *mut ::core::ffi::c_void, + pub pOleControlSite: *mut ::core::ffi::c_void, + pub pServiceProvider: *mut ::core::ffi::c_void, } -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] +#[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::marker::Copy for QACONTAINER {} -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] +#[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::clone::Clone for QACONTAINER { fn clone(&self) -> Self { *self @@ -3045,15 +2913,11 @@ impl ::core::clone::Clone for SAFEARR_BSTR { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct SAFEARR_DISPATCH { pub Size: u32, - pub apDispatch: *mut super::Com::IDispatch, + pub apDispatch: *mut *mut ::core::ffi::c_void, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for SAFEARR_DISPATCH {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for SAFEARR_DISPATCH { fn clone(&self) -> Self { *self @@ -3112,7 +2976,7 @@ impl ::core::clone::Clone for UDATE { pub struct _wireBRECORD { pub fFlags: u32, pub clSize: u32, - pub pRecInfo: IRecordInfo, + pub pRecInfo: *mut ::core::ffi::c_void, pub pRecord: *mut u8, } impl ::core::marker::Copy for _wireBRECORD {} @@ -3176,7 +3040,7 @@ pub union _wireVARIANT_0 { pub date: f64, pub bstrVal: *mut super::Com::FLAGGED_WORD_BLOB, pub punkVal: ::windows_sys::core::IUnknown, - pub pdispVal: super::Com::IDispatch, + pub pdispVal: *mut ::core::ffi::c_void, pub parray: *mut *mut _wireSAFEARRAY, pub brecVal: *mut _wireBRECORD, pub pbVal: *mut u8, @@ -3191,7 +3055,7 @@ pub union _wireVARIANT_0 { pub pdate: *mut f64, pub pbstrVal: *mut *mut super::Com::FLAGGED_WORD_BLOB, pub ppunkVal: *mut ::windows_sys::core::IUnknown, - pub ppdispVal: *mut super::Com::IDispatch, + pub ppdispVal: *mut *mut ::core::ffi::c_void, pub pparray: *mut *mut *mut _wireSAFEARRAY, pub pvarVal: *mut *mut _wireVARIANT, pub cVal: i8, diff --git a/crates/libs/sys/src/Windows/Win32/System/Performance/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Performance/mod.rs index abd177a097..de4314c8e8 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Performance/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Performance/mod.rs @@ -136,39 +136,6 @@ pub mod HardwareCounterProfiling; ::windows_targets::link!("loadperf.dll" "system" fn UnloadPerfCounterTextStringsW(lpcommandline : ::windows_sys::core::PCWSTR, bquietmodearg : super::super::Foundation:: BOOL) -> u32); ::windows_targets::link!("loadperf.dll" "system" fn UpdatePerfNameFilesA(sznewctrfilepath : ::windows_sys::core::PCSTR, sznewhlpfilepath : ::windows_sys::core::PCSTR, szlanguageid : ::windows_sys::core::PCSTR, dwflags : usize) -> u32); ::windows_targets::link!("loadperf.dll" "system" fn UpdatePerfNameFilesW(sznewctrfilepath : ::windows_sys::core::PCWSTR, sznewhlpfilepath : ::windows_sys::core::PCWSTR, szlanguageid : ::windows_sys::core::PCWSTR, dwflags : usize) -> u32); -pub type DICounterItem = *mut ::core::ffi::c_void; -pub type DILogFileItem = *mut ::core::ffi::c_void; -pub type DISystemMonitor = *mut ::core::ffi::c_void; -pub type DISystemMonitorEvents = *mut ::core::ffi::c_void; -pub type DISystemMonitorInternal = *mut ::core::ffi::c_void; -pub type IAlertDataCollector = *mut ::core::ffi::c_void; -pub type IApiTracingDataCollector = *mut ::core::ffi::c_void; -pub type IConfigurationDataCollector = *mut ::core::ffi::c_void; -pub type ICounterItem = *mut ::core::ffi::c_void; -pub type ICounterItem2 = *mut ::core::ffi::c_void; -pub type ICounters = *mut ::core::ffi::c_void; -pub type IDataCollector = *mut ::core::ffi::c_void; -pub type IDataCollectorCollection = *mut ::core::ffi::c_void; -pub type IDataCollectorSet = *mut ::core::ffi::c_void; -pub type IDataCollectorSetCollection = *mut ::core::ffi::c_void; -pub type IDataManager = *mut ::core::ffi::c_void; -pub type IFolderAction = *mut ::core::ffi::c_void; -pub type IFolderActionCollection = *mut ::core::ffi::c_void; -pub type ILogFileItem = *mut ::core::ffi::c_void; -pub type ILogFiles = *mut ::core::ffi::c_void; -pub type IPerformanceCounterDataCollector = *mut ::core::ffi::c_void; -pub type ISchedule = *mut ::core::ffi::c_void; -pub type IScheduleCollection = *mut ::core::ffi::c_void; -pub type ISystemMonitor = *mut ::core::ffi::c_void; -pub type ISystemMonitor2 = *mut ::core::ffi::c_void; -pub type ISystemMonitorEvents = *mut ::core::ffi::c_void; -pub type ITraceDataCollector = *mut ::core::ffi::c_void; -pub type ITraceDataProvider = *mut ::core::ffi::c_void; -pub type ITraceDataProviderCollection = *mut ::core::ffi::c_void; -pub type IValueMap = *mut ::core::ffi::c_void; -pub type IValueMapItem = *mut ::core::ffi::c_void; -pub type _ICounterItemUnion = *mut ::core::ffi::c_void; -pub type _ISystemMonitorUnion = *mut ::core::ffi::c_void; pub const AppearPropPage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe49741e9_93a8_4ab1_8e96_bf4482282e9c); pub const BootTraceSession: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837538_098b_11d8_9414_505054503030); pub const BootTraceSessionCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837539_098b_11d8_9414_505054503030); diff --git a/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs b/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs index 76439bd895..d910c30539 100644 --- a/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -69,108 +69,6 @@ ::windows_targets::link!("wtsapi32.dll" "system" fn WTSVirtualChannelRead(hchannelhandle : super::super::Foundation:: HANDLE, timeout : u32, buffer : ::windows_sys::core::PSTR, buffersize : u32, pbytesread : *mut u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("wtsapi32.dll" "system" fn WTSVirtualChannelWrite(hchannelhandle : super::super::Foundation:: HANDLE, buffer : ::windows_sys::core::PCSTR, length : u32, pbyteswritten : *mut u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("wtsapi32.dll" "system" fn WTSWaitSystemEvent(hserver : super::super::Foundation:: HANDLE, eventmask : u32, peventflags : *mut u32) -> super::super::Foundation:: BOOL); -pub type IADsTSUserEx = *mut ::core::ffi::c_void; -pub type IAudioDeviceEndpoint = *mut ::core::ffi::c_void; -pub type IAudioEndpoint = *mut ::core::ffi::c_void; -pub type IAudioEndpointControl = *mut ::core::ffi::c_void; -pub type IAudioEndpointRT = *mut ::core::ffi::c_void; -pub type IAudioInputEndpointRT = *mut ::core::ffi::c_void; -pub type IAudioOutputEndpointRT = *mut ::core::ffi::c_void; -pub type IRemoteDesktopClient = *mut ::core::ffi::c_void; -pub type IRemoteDesktopClientActions = *mut ::core::ffi::c_void; -pub type IRemoteDesktopClientSettings = *mut ::core::ffi::c_void; -pub type IRemoteDesktopClientTouchPointer = *mut ::core::ffi::c_void; -pub type IRemoteSystemAdditionalInfoProvider = *mut ::core::ffi::c_void; -pub type ITSGAccountingEngine = *mut ::core::ffi::c_void; -pub type ITSGAuthenticateUserSink = *mut ::core::ffi::c_void; -pub type ITSGAuthenticationEngine = *mut ::core::ffi::c_void; -pub type ITSGAuthorizeConnectionSink = *mut ::core::ffi::c_void; -pub type ITSGAuthorizeResourceSink = *mut ::core::ffi::c_void; -pub type ITSGPolicyEngine = *mut ::core::ffi::c_void; -pub type ITsSbBaseNotifySink = *mut ::core::ffi::c_void; -pub type ITsSbClientConnection = *mut ::core::ffi::c_void; -pub type ITsSbClientConnectionPropertySet = *mut ::core::ffi::c_void; -pub type ITsSbEnvironment = *mut ::core::ffi::c_void; -pub type ITsSbEnvironmentPropertySet = *mut ::core::ffi::c_void; -pub type ITsSbFilterPluginStore = *mut ::core::ffi::c_void; -pub type ITsSbGenericNotifySink = *mut ::core::ffi::c_void; -pub type ITsSbGlobalStore = *mut ::core::ffi::c_void; -pub type ITsSbLoadBalanceResult = *mut ::core::ffi::c_void; -pub type ITsSbLoadBalancing = *mut ::core::ffi::c_void; -pub type ITsSbLoadBalancingNotifySink = *mut ::core::ffi::c_void; -pub type ITsSbOrchestration = *mut ::core::ffi::c_void; -pub type ITsSbOrchestrationNotifySink = *mut ::core::ffi::c_void; -pub type ITsSbPlacement = *mut ::core::ffi::c_void; -pub type ITsSbPlacementNotifySink = *mut ::core::ffi::c_void; -pub type ITsSbPlugin = *mut ::core::ffi::c_void; -pub type ITsSbPluginNotifySink = *mut ::core::ffi::c_void; -pub type ITsSbPluginPropertySet = *mut ::core::ffi::c_void; -pub type ITsSbPropertySet = *mut ::core::ffi::c_void; -pub type ITsSbProvider = *mut ::core::ffi::c_void; -pub type ITsSbProvisioning = *mut ::core::ffi::c_void; -pub type ITsSbProvisioningPluginNotifySink = *mut ::core::ffi::c_void; -pub type ITsSbResourceNotification = *mut ::core::ffi::c_void; -pub type ITsSbResourceNotificationEx = *mut ::core::ffi::c_void; -pub type ITsSbResourcePlugin = *mut ::core::ffi::c_void; -pub type ITsSbResourcePluginStore = *mut ::core::ffi::c_void; -pub type ITsSbServiceNotification = *mut ::core::ffi::c_void; -pub type ITsSbSession = *mut ::core::ffi::c_void; -pub type ITsSbTarget = *mut ::core::ffi::c_void; -pub type ITsSbTargetPropertySet = *mut ::core::ffi::c_void; -pub type ITsSbTaskInfo = *mut ::core::ffi::c_void; -pub type ITsSbTaskPlugin = *mut ::core::ffi::c_void; -pub type ITsSbTaskPluginNotifySink = *mut ::core::ffi::c_void; -pub type IWRdsEnhancedFastReconnectArbitrator = *mut ::core::ffi::c_void; -pub type IWRdsGraphicsChannel = *mut ::core::ffi::c_void; -pub type IWRdsGraphicsChannelEvents = *mut ::core::ffi::c_void; -pub type IWRdsGraphicsChannelManager = *mut ::core::ffi::c_void; -pub type IWRdsProtocolConnection = *mut ::core::ffi::c_void; -pub type IWRdsProtocolConnectionCallback = *mut ::core::ffi::c_void; -pub type IWRdsProtocolConnectionSettings = *mut ::core::ffi::c_void; -pub type IWRdsProtocolLicenseConnection = *mut ::core::ffi::c_void; -pub type IWRdsProtocolListener = *mut ::core::ffi::c_void; -pub type IWRdsProtocolListenerCallback = *mut ::core::ffi::c_void; -pub type IWRdsProtocolLogonErrorRedirector = *mut ::core::ffi::c_void; -pub type IWRdsProtocolManager = *mut ::core::ffi::c_void; -pub type IWRdsProtocolSettings = *mut ::core::ffi::c_void; -pub type IWRdsProtocolShadowCallback = *mut ::core::ffi::c_void; -pub type IWRdsProtocolShadowConnection = *mut ::core::ffi::c_void; -pub type IWRdsWddmIddProps = *mut ::core::ffi::c_void; -pub type IWRdsWddmIddProps1 = *mut ::core::ffi::c_void; -pub type IWTSBitmapRenderService = *mut ::core::ffi::c_void; -pub type IWTSBitmapRenderer = *mut ::core::ffi::c_void; -pub type IWTSBitmapRendererCallback = *mut ::core::ffi::c_void; -pub type IWTSListener = *mut ::core::ffi::c_void; -pub type IWTSListenerCallback = *mut ::core::ffi::c_void; -pub type IWTSPlugin = *mut ::core::ffi::c_void; -pub type IWTSPluginServiceProvider = *mut ::core::ffi::c_void; -pub type IWTSProtocolConnection = *mut ::core::ffi::c_void; -pub type IWTSProtocolConnectionCallback = *mut ::core::ffi::c_void; -pub type IWTSProtocolLicenseConnection = *mut ::core::ffi::c_void; -pub type IWTSProtocolListener = *mut ::core::ffi::c_void; -pub type IWTSProtocolListenerCallback = *mut ::core::ffi::c_void; -pub type IWTSProtocolLogonErrorRedirector = *mut ::core::ffi::c_void; -pub type IWTSProtocolManager = *mut ::core::ffi::c_void; -pub type IWTSProtocolShadowCallback = *mut ::core::ffi::c_void; -pub type IWTSProtocolShadowConnection = *mut ::core::ffi::c_void; -pub type IWTSSBPlugin = *mut ::core::ffi::c_void; -pub type IWTSVirtualChannel = *mut ::core::ffi::c_void; -pub type IWTSVirtualChannelCallback = *mut ::core::ffi::c_void; -pub type IWTSVirtualChannelManager = *mut ::core::ffi::c_void; -pub type IWorkspace = *mut ::core::ffi::c_void; -pub type IWorkspace2 = *mut ::core::ffi::c_void; -pub type IWorkspace3 = *mut ::core::ffi::c_void; -pub type IWorkspaceClientExt = *mut ::core::ffi::c_void; -pub type IWorkspaceRegistration = *mut ::core::ffi::c_void; -pub type IWorkspaceRegistration2 = *mut ::core::ffi::c_void; -pub type IWorkspaceReportMessage = *mut ::core::ffi::c_void; -pub type IWorkspaceResTypeRegistry = *mut ::core::ffi::c_void; -pub type IWorkspaceScriptable = *mut ::core::ffi::c_void; -pub type IWorkspaceScriptable2 = *mut ::core::ffi::c_void; -pub type IWorkspaceScriptable3 = *mut ::core::ffi::c_void; -pub type ItsPubPlugin = *mut ::core::ffi::c_void; -pub type ItsPubPlugin2 = *mut ::core::ffi::c_void; -pub type _ITSWkspEvents = *mut ::core::ffi::c_void; pub const AA_AUTH_ANY: AAAuthSchemes = 6i32; pub const AA_AUTH_BASIC: AAAuthSchemes = 1i32; pub const AA_AUTH_CONID: AAAuthSchemes = 10i32; diff --git a/crates/libs/sys/src/Windows/Win32/System/RemoteManagement/mod.rs b/crates/libs/sys/src/Windows/Win32/System/RemoteManagement/mod.rs index 7425c20766..6ca9b50f4c 100644 --- a/crates/libs/sys/src/Windows/Win32/System/RemoteManagement/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/RemoteManagement/mod.rs @@ -31,18 +31,6 @@ ::windows_targets::link!("wsmsvc.dll" "system" fn WSManSendShellInput(shell : WSMAN_SHELL_HANDLE, command : WSMAN_COMMAND_HANDLE, flags : u32, streamid : ::windows_sys::core::PCWSTR, streamdata : *const WSMAN_DATA, endofstream : super::super::Foundation:: BOOL, r#async : *const WSMAN_SHELL_ASYNC, sendoperation : *mut WSMAN_OPERATION_HANDLE)); ::windows_targets::link!("wsmsvc.dll" "system" fn WSManSetSessionOption(session : WSMAN_SESSION_HANDLE, option : WSManSessionOption, data : *const WSMAN_DATA) -> u32); ::windows_targets::link!("wsmsvc.dll" "system" fn WSManSignalShell(shell : WSMAN_SHELL_HANDLE, command : WSMAN_COMMAND_HANDLE, flags : u32, code : ::windows_sys::core::PCWSTR, r#async : *const WSMAN_SHELL_ASYNC, signaloperation : *mut WSMAN_OPERATION_HANDLE)); -pub type IWSMan = *mut ::core::ffi::c_void; -pub type IWSManConnectionOptions = *mut ::core::ffi::c_void; -pub type IWSManConnectionOptionsEx = *mut ::core::ffi::c_void; -pub type IWSManConnectionOptionsEx2 = *mut ::core::ffi::c_void; -pub type IWSManEnumerator = *mut ::core::ffi::c_void; -pub type IWSManEx = *mut ::core::ffi::c_void; -pub type IWSManEx2 = *mut ::core::ffi::c_void; -pub type IWSManEx3 = *mut ::core::ffi::c_void; -pub type IWSManInternal = *mut ::core::ffi::c_void; -pub type IWSManResourceLocator = *mut ::core::ffi::c_void; -pub type IWSManResourceLocatorInternal = *mut ::core::ffi::c_void; -pub type IWSManSession = *mut ::core::ffi::c_void; pub const ERROR_REDIRECT_LOCATION_INVALID: u32 = 2150859191u32; pub const ERROR_REDIRECT_LOCATION_TOO_LONG: u32 = 2150859190u32; pub const ERROR_SERVICE_CBT_HARDENING_INVALID: u32 = 2150859192u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Rpc/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Rpc/mod.rs index 865c7de76f..9061b5ecec 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Rpc/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Rpc/mod.rs @@ -95,333 +95,179 @@ ::windows_targets::link!("rpcrt4.dll" "system" fn NDRSContextUnmarshall(pbuff : *const ::core::ffi::c_void, datarepresentation : u32) -> *mut NDR_SCONTEXT); ::windows_targets::link!("rpcrt4.dll" "system" fn NDRSContextUnmarshall2(bindinghandle : *const ::core::ffi::c_void, pbuff : *const ::core::ffi::c_void, datarepresentation : u32, ctxguard : *const ::core::ffi::c_void, flags : u32) -> *mut NDR_SCONTEXT); ::windows_targets::link!("rpcrt4.dll" "system" fn NDRSContextUnmarshallEx(bindinghandle : *const ::core::ffi::c_void, pbuff : *const ::core::ffi::c_void, datarepresentation : u32) -> *mut NDR_SCONTEXT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "cdecl" #[doc = "Required features: `\"Win32_System_Com\"`"] fn Ndr64AsyncClientCall(pproxyinfo : *mut MIDL_STUBLESS_PROXY_INFO, nprocnum : u32, preturnvalue : *mut ::core::ffi::c_void, ...) -> CLIENT_CALL_RETURN); +::windows_targets::link!("rpcrt4.dll" "cdecl" fn Ndr64AsyncClientCall(pproxyinfo : *mut MIDL_STUBLESS_PROXY_INFO, nprocnum : u32, preturnvalue : *mut ::core::ffi::c_void, ...) -> CLIENT_CALL_RETURN); ::windows_targets::link!("rpcrt4.dll" "system" fn Ndr64AsyncServerCall64(prpcmsg : *mut RPC_MESSAGE)); ::windows_targets::link!("rpcrt4.dll" "system" fn Ndr64AsyncServerCallAll(prpcmsg : *mut RPC_MESSAGE)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "cdecl" #[doc = "Required features: `\"Win32_System_Com\"`"] fn Ndr64DcomAsyncClientCall(pproxyinfo : *mut MIDL_STUBLESS_PROXY_INFO, nprocnum : u32, preturnvalue : *mut ::core::ffi::c_void, ...) -> CLIENT_CALL_RETURN); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn Ndr64DcomAsyncStubCall(pthis : super::Com:: IRpcStubBuffer, pchannel : super::Com:: IRpcChannelBuffer, prpcmsg : *mut RPC_MESSAGE, pdwstubphase : *mut u32) -> i32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrAllocate(pstubmsg : *mut MIDL_STUB_MESSAGE, len : usize) -> *mut ::core::ffi::c_void); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "cdecl" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrAsyncClientCall(pstubdescriptor : *mut MIDL_STUB_DESC, pformat : *mut u8, ...) -> CLIENT_CALL_RETURN); +::windows_targets::link!("rpcrt4.dll" "cdecl" fn Ndr64DcomAsyncClientCall(pproxyinfo : *mut MIDL_STUBLESS_PROXY_INFO, nprocnum : u32, preturnvalue : *mut ::core::ffi::c_void, ...) -> CLIENT_CALL_RETURN); +::windows_targets::link!("rpcrt4.dll" "system" fn Ndr64DcomAsyncStubCall(pthis : * mut::core::ffi::c_void, pchannel : * mut::core::ffi::c_void, prpcmsg : *mut RPC_MESSAGE, pdwstubphase : *mut u32) -> i32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrAllocate(pstubmsg : *mut MIDL_STUB_MESSAGE, len : usize) -> *mut ::core::ffi::c_void); +::windows_targets::link!("rpcrt4.dll" "cdecl" fn NdrAsyncClientCall(pstubdescriptor : *mut MIDL_STUB_DESC, pformat : *mut u8, ...) -> CLIENT_CALL_RETURN); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrAsyncServerCall(prpcmsg : *mut RPC_MESSAGE)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrByteCountPointerBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrByteCountPointerFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrByteCountPointerMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrByteCountPointerUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrClearOutParameters(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8, argaddr : *mut ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "cdecl" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrClientCall2(pstubdescriptor : *mut MIDL_STUB_DESC, pformat : *mut u8, ...) -> CLIENT_CALL_RETURN); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "cdecl" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrClientCall3(pproxyinfo : *mut MIDL_STUBLESS_PROXY_INFO, nprocnum : u32, preturnvalue : *mut ::core::ffi::c_void, ...) -> CLIENT_CALL_RETURN); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrClientContextMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, contexthandle : isize, fcheck : i32)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrClientContextUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pcontexthandle : *mut isize, bindhandle : *mut ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrClientInitialize(prpcmsg : *mut RPC_MESSAGE, pstubmsg : *mut MIDL_STUB_MESSAGE, pstubdescriptor : *mut MIDL_STUB_DESC, procnum : u32)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrClientInitializeNew(prpcmsg : *mut RPC_MESSAGE, pstubmsg : *mut MIDL_STUB_MESSAGE, pstubdescriptor : *mut MIDL_STUB_DESC, procnum : u32)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrComplexArrayBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrComplexArrayFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrComplexArrayMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrComplexArrayMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrComplexArrayUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrComplexStructBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrComplexStructFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrComplexStructMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrComplexStructMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrComplexStructUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantArrayBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantArrayFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantArrayMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantArrayMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantArrayUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantStringBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantStringMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantStringMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantStringUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantStructBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantStructFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantStructMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantStructMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantStructUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantVaryingArrayBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantVaryingArrayFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantVaryingArrayMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantVaryingArrayMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantVaryingArrayUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantVaryingStructBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantVaryingStructFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantVaryingStructMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantVaryingStructMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConformantVaryingStructUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrContextHandleInitialize(pstubmsg : *const MIDL_STUB_MESSAGE, pformat : *const u8) -> *mut NDR_SCONTEXT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrContextHandleSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConvert(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrConvert2(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8, numberparams : i32)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrCorrelationFree(pstubmsg : *mut MIDL_STUB_MESSAGE)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrCorrelationInitialize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut ::core::ffi::c_void, cachesize : u32, flags : u32)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrCorrelationPass(pstubmsg : *mut MIDL_STUB_MESSAGE)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrCreateServerInterfaceFromStub(pstub : super::Com:: IRpcStubBuffer, pserverif : *mut RPC_SERVER_INTERFACE) -> RPC_STATUS); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "cdecl" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrDcomAsyncClientCall(pstubdescriptor : *mut MIDL_STUB_DESC, pformat : *mut u8, ...) -> CLIENT_CALL_RETURN); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrDcomAsyncStubCall(pthis : super::Com:: IRpcStubBuffer, pchannel : super::Com:: IRpcChannelBuffer, prpcmsg : *mut RPC_MESSAGE, pdwstubphase : *mut u32) -> i32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrEncapsulatedUnionBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrEncapsulatedUnionFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrEncapsulatedUnionMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrEncapsulatedUnionMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrEncapsulatedUnionUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrFixedArrayBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrFixedArrayFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrFixedArrayMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrFixedArrayMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrFixedArrayUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrFreeBuffer(pstubmsg : *mut MIDL_STUB_MESSAGE)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrByteCountPointerBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrByteCountPointerFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrByteCountPointerMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrByteCountPointerUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrClearOutParameters(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8, argaddr : *mut ::core::ffi::c_void)); +::windows_targets::link!("rpcrt4.dll" "cdecl" fn NdrClientCall2(pstubdescriptor : *mut MIDL_STUB_DESC, pformat : *mut u8, ...) -> CLIENT_CALL_RETURN); +::windows_targets::link!("rpcrt4.dll" "cdecl" fn NdrClientCall3(pproxyinfo : *mut MIDL_STUBLESS_PROXY_INFO, nprocnum : u32, preturnvalue : *mut ::core::ffi::c_void, ...) -> CLIENT_CALL_RETURN); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrClientContextMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, contexthandle : isize, fcheck : i32)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrClientContextUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pcontexthandle : *mut isize, bindhandle : *mut ::core::ffi::c_void)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrClientInitialize(prpcmsg : *mut RPC_MESSAGE, pstubmsg : *mut MIDL_STUB_MESSAGE, pstubdescriptor : *mut MIDL_STUB_DESC, procnum : u32)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrClientInitializeNew(prpcmsg : *mut RPC_MESSAGE, pstubmsg : *mut MIDL_STUB_MESSAGE, pstubdescriptor : *mut MIDL_STUB_DESC, procnum : u32)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrComplexArrayBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrComplexArrayFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrComplexArrayMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrComplexArrayMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrComplexArrayUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrComplexStructBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrComplexStructFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrComplexStructMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrComplexStructMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrComplexStructUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantArrayBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantArrayFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantArrayMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantArrayMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantArrayUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantStringBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantStringMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantStringMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantStringUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantStructBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantStructFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantStructMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantStructMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantStructUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantVaryingArrayBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantVaryingArrayFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantVaryingArrayMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantVaryingArrayMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantVaryingArrayUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantVaryingStructBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantVaryingStructFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantVaryingStructMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantVaryingStructMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConformantVaryingStructUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrContextHandleInitialize(pstubmsg : *const MIDL_STUB_MESSAGE, pformat : *const u8) -> *mut NDR_SCONTEXT); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrContextHandleSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConvert(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrConvert2(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8, numberparams : i32)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrCorrelationFree(pstubmsg : *mut MIDL_STUB_MESSAGE)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrCorrelationInitialize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut ::core::ffi::c_void, cachesize : u32, flags : u32)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrCorrelationPass(pstubmsg : *mut MIDL_STUB_MESSAGE)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrCreateServerInterfaceFromStub(pstub : * mut::core::ffi::c_void, pserverif : *mut RPC_SERVER_INTERFACE) -> RPC_STATUS); +::windows_targets::link!("rpcrt4.dll" "cdecl" fn NdrDcomAsyncClientCall(pstubdescriptor : *mut MIDL_STUB_DESC, pformat : *mut u8, ...) -> CLIENT_CALL_RETURN); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrDcomAsyncStubCall(pthis : * mut::core::ffi::c_void, pchannel : * mut::core::ffi::c_void, prpcmsg : *mut RPC_MESSAGE, pdwstubphase : *mut u32) -> i32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrEncapsulatedUnionBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrEncapsulatedUnionFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrEncapsulatedUnionMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrEncapsulatedUnionMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrEncapsulatedUnionUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrFixedArrayBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrFixedArrayFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrFixedArrayMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrFixedArrayMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrFixedArrayUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrFreeBuffer(pstubmsg : *mut MIDL_STUB_MESSAGE)); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrFullPointerXlatFree(pxlattables : *mut FULL_PTR_XLAT_TABLES)); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrFullPointerXlatInit(numberofpointers : u32, xlatside : XLAT_SIDE) -> *mut FULL_PTR_XLAT_TABLES); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrGetBuffer(pstubmsg : *mut MIDL_STUB_MESSAGE, bufferlength : u32, handle : *mut ::core::ffi::c_void) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrGetDcomProtocolVersion(pstubmsg : *mut MIDL_STUB_MESSAGE, pversion : *mut RPC_VERSION) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrGetUserMarshalInfo(pflags : *const u32, informationlevel : u32, pmarshalinfo : *mut NDR_USER_MARSHAL_INFO) -> RPC_STATUS); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrInterfacePointerBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrInterfacePointerFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrInterfacePointerMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrInterfacePointerMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrInterfacePointerUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMapCommAndFaultStatus(pstubmsg : *mut MIDL_STUB_MESSAGE, pcommstatus : *mut u32, pfaultstatus : *mut u32, status : RPC_STATUS) -> RPC_STATUS); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "cdecl" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesProcEncodeDecode(handle : *mut ::core::ffi::c_void, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, ...)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "cdecl" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesProcEncodeDecode2(handle : *mut ::core::ffi::c_void, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, ...) -> CLIENT_CALL_RETURN); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "cdecl" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesProcEncodeDecode3(handle : *mut ::core::ffi::c_void, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO, nprocnum : u32, preturnvalue : *mut ::core::ffi::c_void, ...) -> CLIENT_CALL_RETURN); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrGetBuffer(pstubmsg : *mut MIDL_STUB_MESSAGE, bufferlength : u32, handle : *mut ::core::ffi::c_void) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrGetDcomProtocolVersion(pstubmsg : *mut MIDL_STUB_MESSAGE, pversion : *mut RPC_VERSION) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrGetUserMarshalInfo(pflags : *const u32, informationlevel : u32, pmarshalinfo : *mut NDR_USER_MARSHAL_INFO) -> RPC_STATUS); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrInterfacePointerBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrInterfacePointerFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrInterfacePointerMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrInterfacePointerMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrInterfacePointerUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMapCommAndFaultStatus(pstubmsg : *mut MIDL_STUB_MESSAGE, pcommstatus : *mut u32, pfaultstatus : *mut u32, status : RPC_STATUS) -> RPC_STATUS); +::windows_targets::link!("rpcrt4.dll" "cdecl" fn NdrMesProcEncodeDecode(handle : *mut ::core::ffi::c_void, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, ...)); +::windows_targets::link!("rpcrt4.dll" "cdecl" fn NdrMesProcEncodeDecode2(handle : *mut ::core::ffi::c_void, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, ...) -> CLIENT_CALL_RETURN); +::windows_targets::link!("rpcrt4.dll" "cdecl" fn NdrMesProcEncodeDecode3(handle : *mut ::core::ffi::c_void, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO, nprocnum : u32, preturnvalue : *mut ::core::ffi::c_void, ...) -> CLIENT_CALL_RETURN); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesSimpleTypeAlignSize(param0 : *mut ::core::ffi::c_void) -> usize); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesSimpleTypeAlignSizeAll(handle : *mut ::core::ffi::c_void, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO) -> usize); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesSimpleTypeAlignSizeAll(handle : *mut ::core::ffi::c_void, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO) -> usize); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesSimpleTypeDecode(handle : *mut ::core::ffi::c_void, pobject : *mut ::core::ffi::c_void, size : i16)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesSimpleTypeDecodeAll(handle : *mut ::core::ffi::c_void, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO, pobject : *mut ::core::ffi::c_void, size : i16)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesSimpleTypeEncode(handle : *mut ::core::ffi::c_void, pstubdesc : *const MIDL_STUB_DESC, pobject : *const ::core::ffi::c_void, size : i16)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesSimpleTypeEncodeAll(handle : *mut ::core::ffi::c_void, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO, pobject : *const ::core::ffi::c_void, size : i16)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesTypeAlignSize(handle : *mut ::core::ffi::c_void, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, pobject : *const ::core::ffi::c_void) -> usize); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesTypeAlignSize2(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, pobject : *const ::core::ffi::c_void) -> usize); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesTypeAlignSize3(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset : *const *const u32, ntypeindex : u32, pobject : *const ::core::ffi::c_void) -> usize); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesTypeDecode(handle : *mut ::core::ffi::c_void, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, pobject : *mut ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesTypeDecode2(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, pobject : *mut ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesTypeDecode3(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset : *const *const u32, ntypeindex : u32, pobject : *mut ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesTypeEncode(handle : *mut ::core::ffi::c_void, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, pobject : *const ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesTypeEncode2(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, pobject : *const ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesTypeEncode3(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset : *const *const u32, ntypeindex : u32, pobject : *const ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesTypeFree2(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, pobject : *mut ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrMesTypeFree3(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset : *const *const u32, ntypeindex : u32, pobject : *mut ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrNonConformantStringBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrNonConformantStringMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrNonConformantStringMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrNonConformantStringUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrNonEncapsulatedUnionBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrNonEncapsulatedUnionFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrNonEncapsulatedUnionMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrNonEncapsulatedUnionMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrNonEncapsulatedUnionUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrNsGetBuffer(pstubmsg : *mut MIDL_STUB_MESSAGE, bufferlength : u32, handle : *mut ::core::ffi::c_void) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrNsSendReceive(pstubmsg : *mut MIDL_STUB_MESSAGE, pbufferend : *mut u8, pautohandle : *mut *mut ::core::ffi::c_void) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesSimpleTypeDecodeAll(handle : *mut ::core::ffi::c_void, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO, pobject : *mut ::core::ffi::c_void, size : i16)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesSimpleTypeEncode(handle : *mut ::core::ffi::c_void, pstubdesc : *const MIDL_STUB_DESC, pobject : *const ::core::ffi::c_void, size : i16)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesSimpleTypeEncodeAll(handle : *mut ::core::ffi::c_void, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO, pobject : *const ::core::ffi::c_void, size : i16)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesTypeAlignSize(handle : *mut ::core::ffi::c_void, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, pobject : *const ::core::ffi::c_void) -> usize); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesTypeAlignSize2(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, pobject : *const ::core::ffi::c_void) -> usize); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesTypeAlignSize3(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset : *const *const u32, ntypeindex : u32, pobject : *const ::core::ffi::c_void) -> usize); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesTypeDecode(handle : *mut ::core::ffi::c_void, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, pobject : *mut ::core::ffi::c_void)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesTypeDecode2(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, pobject : *mut ::core::ffi::c_void)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesTypeDecode3(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset : *const *const u32, ntypeindex : u32, pobject : *mut ::core::ffi::c_void)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesTypeEncode(handle : *mut ::core::ffi::c_void, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, pobject : *const ::core::ffi::c_void)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesTypeEncode2(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, pobject : *const ::core::ffi::c_void)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesTypeEncode3(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset : *const *const u32, ntypeindex : u32, pobject : *const ::core::ffi::c_void)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesTypeFree2(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pstubdesc : *const MIDL_STUB_DESC, pformatstring : *mut u8, pobject : *mut ::core::ffi::c_void)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrMesTypeFree3(handle : *mut ::core::ffi::c_void, ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO, pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset : *const *const u32, ntypeindex : u32, pobject : *mut ::core::ffi::c_void)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrNonConformantStringBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrNonConformantStringMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrNonConformantStringMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrNonConformantStringUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrNonEncapsulatedUnionBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrNonEncapsulatedUnionFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrNonEncapsulatedUnionMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrNonEncapsulatedUnionMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrNonEncapsulatedUnionUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrNsGetBuffer(pstubmsg : *mut MIDL_STUB_MESSAGE, bufferlength : u32, handle : *mut ::core::ffi::c_void) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrNsSendReceive(pstubmsg : *mut MIDL_STUB_MESSAGE, pbufferend : *mut u8, pautohandle : *mut *mut ::core::ffi::c_void) -> *mut u8); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrOleAllocate(size : usize) -> *mut ::core::ffi::c_void); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrOleFree(nodetofree : *const ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrPartialIgnoreClientBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrPartialIgnoreClientMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrPartialIgnoreServerInitialize(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut ::core::ffi::c_void, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrPartialIgnoreServerUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrPointerBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrPointerFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrPointerMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrPointerMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrPointerUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrRangeUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrPartialIgnoreClientBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut ::core::ffi::c_void)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrPartialIgnoreClientMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut ::core::ffi::c_void)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrPartialIgnoreServerInitialize(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut ::core::ffi::c_void, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrPartialIgnoreServerUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut ::core::ffi::c_void)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrPointerBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrPointerFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrPointerMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrPointerMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrPointerUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrRangeUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrRpcSmClientAllocate(size : usize) -> *mut ::core::ffi::c_void); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrRpcSmClientFree(nodetofree : *const ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrRpcSmSetClientToOsf(pmessage : *mut MIDL_STUB_MESSAGE)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrRpcSmSetClientToOsf(pmessage : *mut MIDL_STUB_MESSAGE)); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrRpcSsDefaultAllocate(size : usize) -> *mut ::core::ffi::c_void); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrRpcSsDefaultFree(nodetofree : *const ::core::ffi::c_void)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrRpcSsDisableAllocate(pmessage : *mut MIDL_STUB_MESSAGE)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrRpcSsEnableAllocate(pmessage : *mut MIDL_STUB_MESSAGE)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrSendReceive(pstubmsg : *mut MIDL_STUB_MESSAGE, pbufferend : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrRpcSsDisableAllocate(pmessage : *mut MIDL_STUB_MESSAGE)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrRpcSsEnableAllocate(pmessage : *mut MIDL_STUB_MESSAGE)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrSendReceive(pstubmsg : *mut MIDL_STUB_MESSAGE, pbufferend : *mut u8) -> *mut u8); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrServerCall2(prpcmsg : *mut RPC_MESSAGE)); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrServerCallAll(prpcmsg : *mut RPC_MESSAGE)); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrServerCallNdr64(prpcmsg : *mut RPC_MESSAGE)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrServerContextMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, contexthandle : *mut NDR_SCONTEXT, rundownroutine : NDR_RUNDOWN)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrServerContextNewMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, contexthandle : *mut NDR_SCONTEXT, rundownroutine : NDR_RUNDOWN, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrServerContextNewUnmarshall(pstubmsg : *const MIDL_STUB_MESSAGE, pformat : *const u8) -> *mut NDR_SCONTEXT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrServerContextUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE) -> *mut NDR_SCONTEXT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrServerInitialize(prpcmsg : *mut RPC_MESSAGE, pstubmsg : *mut MIDL_STUB_MESSAGE, pstubdescriptor : *mut MIDL_STUB_DESC) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrServerInitializeMarshall(prpcmsg : *mut RPC_MESSAGE, pstubmsg : *mut MIDL_STUB_MESSAGE)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrServerInitializeNew(prpcmsg : *mut RPC_MESSAGE, pstubmsg : *mut MIDL_STUB_MESSAGE, pstubdescriptor : *mut MIDL_STUB_DESC) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrServerInitializePartial(prpcmsg : *mut RPC_MESSAGE, pstubmsg : *mut MIDL_STUB_MESSAGE, pstubdescriptor : *mut MIDL_STUB_DESC, requestedbuffersize : u32)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrServerInitializeUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pstubdescriptor : *mut MIDL_STUB_DESC, prpcmsg : *mut RPC_MESSAGE) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrSimpleStructBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrSimpleStructFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrSimpleStructMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrSimpleStructMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrSimpleStructUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrSimpleTypeMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, formatchar : u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrSimpleTypeUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, formatchar : u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrServerContextMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, contexthandle : *mut NDR_SCONTEXT, rundownroutine : NDR_RUNDOWN)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrServerContextNewMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, contexthandle : *mut NDR_SCONTEXT, rundownroutine : NDR_RUNDOWN, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrServerContextNewUnmarshall(pstubmsg : *const MIDL_STUB_MESSAGE, pformat : *const u8) -> *mut NDR_SCONTEXT); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrServerContextUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE) -> *mut NDR_SCONTEXT); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrServerInitialize(prpcmsg : *mut RPC_MESSAGE, pstubmsg : *mut MIDL_STUB_MESSAGE, pstubdescriptor : *mut MIDL_STUB_DESC) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrServerInitializeMarshall(prpcmsg : *mut RPC_MESSAGE, pstubmsg : *mut MIDL_STUB_MESSAGE)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrServerInitializeNew(prpcmsg : *mut RPC_MESSAGE, pstubmsg : *mut MIDL_STUB_MESSAGE, pstubdescriptor : *mut MIDL_STUB_DESC) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrServerInitializePartial(prpcmsg : *mut RPC_MESSAGE, pstubmsg : *mut MIDL_STUB_MESSAGE, pstubdescriptor : *mut MIDL_STUB_DESC, requestedbuffersize : u32)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrServerInitializeUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pstubdescriptor : *mut MIDL_STUB_DESC, prpcmsg : *mut RPC_MESSAGE) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrSimpleStructBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrSimpleStructFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrSimpleStructMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrSimpleStructMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrSimpleStructUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrSimpleTypeMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, formatchar : u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrSimpleTypeUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, formatchar : u8)); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrStubCall2(pthis : *mut ::core::ffi::c_void, pchannel : *mut ::core::ffi::c_void, prpcmsg : *mut RPC_MESSAGE, pdwstubphase : *mut u32) -> i32); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrStubCall3(pthis : *mut ::core::ffi::c_void, pchannel : *mut ::core::ffi::c_void, prpcmsg : *mut RPC_MESSAGE, pdwstubphase : *mut u32) -> i32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrUserMarshalBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrUserMarshalFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrUserMarshalMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrUserMarshalMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrUserMarshalBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrUserMarshalFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrUserMarshalMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrUserMarshalMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); ::windows_targets::link!("rpcrt4.dll" "system" fn NdrUserMarshalSimpleTypeConvert(pflags : *mut u32, pbuffer : *mut u8, formatchar : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrUserMarshalUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrVaryingArrayBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrVaryingArrayFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrVaryingArrayMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrVaryingArrayMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrVaryingArrayUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrXmitOrRepAsBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrXmitOrRepAsFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrXmitOrRepAsMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrXmitOrRepAsMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn NdrXmitOrRepAsUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrUserMarshalUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrVaryingArrayBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrVaryingArrayFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrVaryingArrayMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrVaryingArrayMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrVaryingArrayUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrXmitOrRepAsBufferSize(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrXmitOrRepAsFree(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8)); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrXmitOrRepAsMarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, pmemory : *mut u8, pformat : *mut u8) -> *mut u8); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrXmitOrRepAsMemorySize(pstubmsg : *mut MIDL_STUB_MESSAGE, pformat : *mut u8) -> u32); +::windows_targets::link!("rpcrt4.dll" "system" fn NdrXmitOrRepAsUnmarshall(pstubmsg : *mut MIDL_STUB_MESSAGE, ppmemory : *mut *mut u8, pformat : *mut u8, fmustalloc : u8) -> *mut u8); #[cfg(feature = "Win32_System_IO")] ::windows_targets::link!("rpcrt4.dll" "system" #[doc = "Required features: `\"Win32_System_IO\"`"] fn RpcAsyncAbortCall(pasync : *mut RPC_ASYNC_STATE, exceptioncode : u32) -> RPC_STATUS); #[cfg(feature = "Win32_System_IO")] @@ -1337,8 +1183,6 @@ impl ::core::clone::Clone for MIDL_METHOD_PROPERTY_MAP { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct MIDL_SERVER_INFO { pub pStubDesc: *mut MIDL_STUB_DESC, pub DispatchTable: *const SERVER_ROUTINE, @@ -1349,17 +1193,13 @@ pub struct MIDL_SERVER_INFO { pub nCount: usize, pub pSyntaxInfo: *mut MIDL_SYNTAX_INFO, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MIDL_SERVER_INFO {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MIDL_SERVER_INFO { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct MIDL_STUBLESS_PROXY_INFO { pub pStubDesc: *mut MIDL_STUB_DESC, pub ProcFormatString: *mut u8, @@ -1368,17 +1208,13 @@ pub struct MIDL_STUBLESS_PROXY_INFO { pub nCount: usize, pub pSyntaxInfo: *mut MIDL_SYNTAX_INFO, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MIDL_STUBLESS_PROXY_INFO {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MIDL_STUBLESS_PROXY_INFO { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct MIDL_STUB_DESC { pub RpcInterfaceInformation: *mut ::core::ffi::c_void, pub pfnAllocate: PFN_RPC_ALLOCATE, @@ -1401,33 +1237,25 @@ pub struct MIDL_STUB_DESC { pub ProxyServerInfo: *mut ::core::ffi::c_void, pub pExprInfo: *const NDR_EXPR_DESC, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MIDL_STUB_DESC {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MIDL_STUB_DESC { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub union MIDL_STUB_DESC_0 { pub pAutoHandle: *mut *mut ::core::ffi::c_void, pub pPrimitiveHandle: *mut *mut ::core::ffi::c_void, pub pGenericBindingInfo: *mut GENERIC_BINDING_INFO, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MIDL_STUB_DESC_0 {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MIDL_STUB_DESC_0 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct MIDL_STUB_MESSAGE { pub RpcMsg: *mut RPC_MESSAGE, pub Buffer: *mut u8, @@ -1466,7 +1294,7 @@ pub struct MIDL_STUB_MESSAGE { pub pvDestContext: *mut ::core::ffi::c_void, pub SavedContextHandles: *mut *mut NDR_SCONTEXT, pub ParamNumber: i32, - pub pRpcChannelBuffer: super::Com::IRpcChannelBuffer, + pub pRpcChannelBuffer: *mut ::core::ffi::c_void, pub pArrayInfo: *mut ARRAY_INFO, pub SizePtrCountArray: *mut u32, pub SizePtrOffsetArray: *mut u32, @@ -1489,9 +1317,7 @@ pub struct MIDL_STUB_MESSAGE { pub Reserved51_4: isize, pub Reserved51_5: isize, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MIDL_STUB_MESSAGE {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MIDL_STUB_MESSAGE { fn clone(&self) -> Self { *self @@ -1527,8 +1353,6 @@ impl ::core::clone::Clone for MIDL_TYPE_PICKLING_INFO { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct MIDL_WINRT_TYPE_SERIALIZATION_INFO { pub Version: u32, pub TypeFormatString: *mut u8, @@ -1536,9 +1360,7 @@ pub struct MIDL_WINRT_TYPE_SERIALIZATION_INFO { pub TypeOffset: u16, pub StubDesc: *mut MIDL_STUB_DESC, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for MIDL_WINRT_TYPE_SERIALIZATION_INFO {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for MIDL_WINRT_TYPE_SERIALIZATION_INFO { fn clone(&self) -> Self { *self @@ -2426,48 +2248,36 @@ impl ::core::clone::Clone for NDR_SCONTEXT { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct NDR_USER_MARSHAL_INFO { pub InformationLevel: u32, pub Anonymous: NDR_USER_MARSHAL_INFO_0, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for NDR_USER_MARSHAL_INFO {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for NDR_USER_MARSHAL_INFO { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub union NDR_USER_MARSHAL_INFO_0 { pub Level1: NDR_USER_MARSHAL_INFO_LEVEL1, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for NDR_USER_MARSHAL_INFO_0 {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for NDR_USER_MARSHAL_INFO_0 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct NDR_USER_MARSHAL_INFO_LEVEL1 { pub Buffer: *mut ::core::ffi::c_void, pub BufferSize: u32, pub pfnAllocate: isize, pub pfnFree: isize, - pub pRpcChannelBuffer: super::Com::IRpcChannelBuffer, + pub pRpcChannelBuffer: *mut ::core::ffi::c_void, pub Reserved: [usize; 5], } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for NDR_USER_MARSHAL_INFO_LEVEL1 {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for NDR_USER_MARSHAL_INFO_LEVEL1 { fn clone(&self) -> Self { *self @@ -3666,8 +3476,6 @@ impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_W { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct USER_MARSHAL_CB { pub Flags: u32, pub pStubMsg: *mut MIDL_STUB_MESSAGE, @@ -3677,9 +3485,7 @@ pub struct USER_MARSHAL_CB { pub pFormat: *mut u8, pub pTypeFormat: *mut u8, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for USER_MARSHAL_CB {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for USER_MARSHAL_CB { fn clone(&self) -> Self { *self @@ -3710,17 +3516,13 @@ impl ::core::clone::Clone for UUID_VECTOR { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub struct XMIT_ROUTINE_QUINTUPLE { pub pfnTranslateToXmit: XMIT_HELPER_ROUTINE, pub pfnTranslateFromXmit: XMIT_HELPER_ROUTINE, pub pfnFreeXmit: XMIT_HELPER_ROUTINE, pub pfnFreeInst: XMIT_HELPER_ROUTINE, } -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for XMIT_ROUTINE_QUINTUPLE {} -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for XMIT_ROUTINE_QUINTUPLE { fn clone(&self) -> Self { *self @@ -3732,8 +3534,6 @@ pub type CS_TYPE_FROM_NETCS_ROUTINE = ::core::option::Option; pub type CS_TYPE_NET_SIZE_ROUTINE = ::core::option::Option; pub type CS_TYPE_TO_NETCS_ROUTINE = ::core::option::Option; -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub type EXPR_EVAL = ::core::option::Option; pub type GENERIC_BINDING_ROUTINE = ::core::option::Option *mut ::core::ffi::c_void>; pub type GENERIC_UNBIND_ROUTINE = ::core::option::Option; @@ -3775,13 +3575,9 @@ pub type RPC_OBJECT_INQ_FN = ::core::option::Option; pub type RPC_SETFILTER_FUNC = ::core::option::Option; pub type SERVER_ROUTINE = ::core::option::Option i32>; -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub type STUB_THUNK = ::core::option::Option; pub type USER_MARSHAL_FREEING_ROUTINE = ::core::option::Option; pub type USER_MARSHAL_MARSHALLING_ROUTINE = ::core::option::Option *mut u8>; pub type USER_MARSHAL_SIZING_ROUTINE = ::core::option::Option u32>; pub type USER_MARSHAL_UNMARSHALLING_ROUTINE = ::core::option::Option *mut u8>; -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] pub type XMIT_HELPER_ROUTINE = ::core::option::Option; diff --git a/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs index 0973ffbdd0..38b59cbd25 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs @@ -272,182 +272,6 @@ pub mod Common; ::windows_targets::link!("odbcbcp.dll" "system" fn bcp_writefmtW(param0 : *mut ::core::ffi::c_void, param1 : ::windows_sys::core::PCWSTR) -> i16); ::windows_targets::link!("odbcbcp.dll" "system" fn dbprtypeA(param0 : i32) -> ::windows_sys::core::PSTR); ::windows_targets::link!("odbcbcp.dll" "system" fn dbprtypeW(param0 : i32) -> ::windows_sys::core::PWSTR); -pub type DataSource = *mut ::core::ffi::c_void; -pub type DataSourceListener = *mut ::core::ffi::c_void; -pub type DataSourceObject = *mut ::core::ffi::c_void; -pub type IAccessor = *mut ::core::ffi::c_void; -pub type IAlterIndex = *mut ::core::ffi::c_void; -pub type IAlterTable = *mut ::core::ffi::c_void; -pub type IBindResource = *mut ::core::ffi::c_void; -pub type IChapteredRowset = *mut ::core::ffi::c_void; -pub type IColumnMapper = *mut ::core::ffi::c_void; -pub type IColumnMapperCreator = *mut ::core::ffi::c_void; -pub type IColumnsInfo = *mut ::core::ffi::c_void; -pub type IColumnsInfo2 = *mut ::core::ffi::c_void; -pub type IColumnsRowset = *mut ::core::ffi::c_void; -pub type ICommand = *mut ::core::ffi::c_void; -pub type ICommandCost = *mut ::core::ffi::c_void; -pub type ICommandPersist = *mut ::core::ffi::c_void; -pub type ICommandPrepare = *mut ::core::ffi::c_void; -pub type ICommandProperties = *mut ::core::ffi::c_void; -pub type ICommandStream = *mut ::core::ffi::c_void; -pub type ICommandText = *mut ::core::ffi::c_void; -pub type ICommandValidate = *mut ::core::ffi::c_void; -pub type ICommandWithParameters = *mut ::core::ffi::c_void; -pub type ICondition = *mut ::core::ffi::c_void; -pub type ICondition2 = *mut ::core::ffi::c_void; -pub type IConditionFactory = *mut ::core::ffi::c_void; -pub type IConditionFactory2 = *mut ::core::ffi::c_void; -pub type IConditionGenerator = *mut ::core::ffi::c_void; -pub type IConvertType = *mut ::core::ffi::c_void; -pub type ICreateRow = *mut ::core::ffi::c_void; -pub type IDBAsynchNotify = *mut ::core::ffi::c_void; -pub type IDBAsynchStatus = *mut ::core::ffi::c_void; -pub type IDBBinderProperties = *mut ::core::ffi::c_void; -pub type IDBCreateCommand = *mut ::core::ffi::c_void; -pub type IDBCreateSession = *mut ::core::ffi::c_void; -pub type IDBDataSourceAdmin = *mut ::core::ffi::c_void; -pub type IDBInfo = *mut ::core::ffi::c_void; -pub type IDBInitialize = *mut ::core::ffi::c_void; -pub type IDBPromptInitialize = *mut ::core::ffi::c_void; -pub type IDBProperties = *mut ::core::ffi::c_void; -pub type IDBSchemaCommand = *mut ::core::ffi::c_void; -pub type IDBSchemaRowset = *mut ::core::ffi::c_void; -pub type IDCInfo = *mut ::core::ffi::c_void; -pub type IDataConvert = *mut ::core::ffi::c_void; -pub type IDataInitialize = *mut ::core::ffi::c_void; -pub type IDataSourceLocator = *mut ::core::ffi::c_void; -pub type IEntity = *mut ::core::ffi::c_void; -pub type IEnumItemProperties = *mut ::core::ffi::c_void; -pub type IEnumSearchRoots = *mut ::core::ffi::c_void; -pub type IEnumSearchScopeRules = *mut ::core::ffi::c_void; -pub type IEnumSubscription = *mut ::core::ffi::c_void; -pub type IErrorLookup = *mut ::core::ffi::c_void; -pub type IErrorRecords = *mut ::core::ffi::c_void; -pub type IGetDataSource = *mut ::core::ffi::c_void; -pub type IGetRow = *mut ::core::ffi::c_void; -pub type IGetSession = *mut ::core::ffi::c_void; -pub type IGetSourceRow = *mut ::core::ffi::c_void; -pub type IIndexDefinition = *mut ::core::ffi::c_void; -pub type IInterval = *mut ::core::ffi::c_void; -pub type ILoadFilter = *mut ::core::ffi::c_void; -pub type ILoadFilterWithPrivateComActivation = *mut ::core::ffi::c_void; -pub type IMDDataset = *mut ::core::ffi::c_void; -pub type IMDFind = *mut ::core::ffi::c_void; -pub type IMDRangeRowset = *mut ::core::ffi::c_void; -pub type IMetaData = *mut ::core::ffi::c_void; -pub type IMultipleResults = *mut ::core::ffi::c_void; -pub type INamedEntity = *mut ::core::ffi::c_void; -pub type INamedEntityCollector = *mut ::core::ffi::c_void; -pub type IObjectAccessControl = *mut ::core::ffi::c_void; -pub type IOpLockStatus = *mut ::core::ffi::c_void; -pub type IOpenRowset = *mut ::core::ffi::c_void; -pub type IParentRowset = *mut ::core::ffi::c_void; -pub type IProtocolHandlerSite = *mut ::core::ffi::c_void; -pub type IProvideMoniker = *mut ::core::ffi::c_void; -pub type IQueryParser = *mut ::core::ffi::c_void; -pub type IQueryParserManager = *mut ::core::ffi::c_void; -pub type IQuerySolution = *mut ::core::ffi::c_void; -pub type IReadData = *mut ::core::ffi::c_void; -pub type IRegisterProvider = *mut ::core::ffi::c_void; -pub type IRelationship = *mut ::core::ffi::c_void; -pub type IRichChunk = *mut ::core::ffi::c_void; -pub type IRow = *mut ::core::ffi::c_void; -pub type IRowChange = *mut ::core::ffi::c_void; -pub type IRowPosition = *mut ::core::ffi::c_void; -pub type IRowPositionChange = *mut ::core::ffi::c_void; -pub type IRowSchemaChange = *mut ::core::ffi::c_void; -pub type IRowset = *mut ::core::ffi::c_void; -pub type IRowsetAsynch = *mut ::core::ffi::c_void; -pub type IRowsetBookmark = *mut ::core::ffi::c_void; -pub type IRowsetChange = *mut ::core::ffi::c_void; -pub type IRowsetChangeExtInfo = *mut ::core::ffi::c_void; -pub type IRowsetChapterMember = *mut ::core::ffi::c_void; -pub type IRowsetCopyRows = *mut ::core::ffi::c_void; -pub type IRowsetCurrentIndex = *mut ::core::ffi::c_void; -pub type IRowsetEvents = *mut ::core::ffi::c_void; -pub type IRowsetExactScroll = *mut ::core::ffi::c_void; -pub type IRowsetFastLoad = *mut ::core::ffi::c_void; -pub type IRowsetFind = *mut ::core::ffi::c_void; -pub type IRowsetIdentity = *mut ::core::ffi::c_void; -pub type IRowsetIndex = *mut ::core::ffi::c_void; -pub type IRowsetInfo = *mut ::core::ffi::c_void; -pub type IRowsetKeys = *mut ::core::ffi::c_void; -pub type IRowsetLocate = *mut ::core::ffi::c_void; -pub type IRowsetNewRowAfter = *mut ::core::ffi::c_void; -pub type IRowsetNextRowset = *mut ::core::ffi::c_void; -pub type IRowsetNotify = *mut ::core::ffi::c_void; -pub type IRowsetPrioritization = *mut ::core::ffi::c_void; -pub type IRowsetQueryStatus = *mut ::core::ffi::c_void; -pub type IRowsetRefresh = *mut ::core::ffi::c_void; -pub type IRowsetResynch = *mut ::core::ffi::c_void; -pub type IRowsetScroll = *mut ::core::ffi::c_void; -pub type IRowsetUpdate = *mut ::core::ffi::c_void; -pub type IRowsetView = *mut ::core::ffi::c_void; -pub type IRowsetWatchAll = *mut ::core::ffi::c_void; -pub type IRowsetWatchNotify = *mut ::core::ffi::c_void; -pub type IRowsetWatchRegion = *mut ::core::ffi::c_void; -pub type IRowsetWithParameters = *mut ::core::ffi::c_void; -pub type ISQLErrorInfo = *mut ::core::ffi::c_void; -pub type ISQLGetDiagField = *mut ::core::ffi::c_void; -pub type ISQLRequestDiagFields = *mut ::core::ffi::c_void; -pub type ISQLServerErrorInfo = *mut ::core::ffi::c_void; -pub type ISchemaLocalizerSupport = *mut ::core::ffi::c_void; -pub type ISchemaLock = *mut ::core::ffi::c_void; -pub type ISchemaProvider = *mut ::core::ffi::c_void; -pub type IScopedOperations = *mut ::core::ffi::c_void; -pub type ISearchCatalogManager = *mut ::core::ffi::c_void; -pub type ISearchCatalogManager2 = *mut ::core::ffi::c_void; -pub type ISearchCrawlScopeManager = *mut ::core::ffi::c_void; -pub type ISearchCrawlScopeManager2 = *mut ::core::ffi::c_void; -pub type ISearchItemsChangedSink = *mut ::core::ffi::c_void; -pub type ISearchLanguageSupport = *mut ::core::ffi::c_void; -pub type ISearchManager = *mut ::core::ffi::c_void; -pub type ISearchManager2 = *mut ::core::ffi::c_void; -pub type ISearchNotifyInlineSite = *mut ::core::ffi::c_void; -pub type ISearchPersistentItemsChangedSink = *mut ::core::ffi::c_void; -pub type ISearchProtocol = *mut ::core::ffi::c_void; -pub type ISearchProtocol2 = *mut ::core::ffi::c_void; -pub type ISearchProtocolThreadContext = *mut ::core::ffi::c_void; -pub type ISearchQueryHelper = *mut ::core::ffi::c_void; -pub type ISearchQueryHits = *mut ::core::ffi::c_void; -pub type ISearchRoot = *mut ::core::ffi::c_void; -pub type ISearchScopeRule = *mut ::core::ffi::c_void; -pub type ISearchViewChangedSink = *mut ::core::ffi::c_void; -pub type ISecurityInfo = *mut ::core::ffi::c_void; -pub type IService = *mut ::core::ffi::c_void; -pub type ISessionProperties = *mut ::core::ffi::c_void; -pub type ISimpleCommandCreator = *mut ::core::ffi::c_void; -pub type ISourcesRowset = *mut ::core::ffi::c_void; -pub type IStemmer = *mut ::core::ffi::c_void; -pub type ISubscriptionItem = *mut ::core::ffi::c_void; -pub type ISubscriptionMgr = *mut ::core::ffi::c_void; -pub type ISubscriptionMgr2 = *mut ::core::ffi::c_void; -pub type ITableCreation = *mut ::core::ffi::c_void; -pub type ITableDefinition = *mut ::core::ffi::c_void; -pub type ITableDefinitionWithConstraints = *mut ::core::ffi::c_void; -pub type ITableRename = *mut ::core::ffi::c_void; -pub type ITokenCollection = *mut ::core::ffi::c_void; -pub type ITransactionJoin = *mut ::core::ffi::c_void; -pub type ITransactionLocal = *mut ::core::ffi::c_void; -pub type ITransactionObject = *mut ::core::ffi::c_void; -pub type ITrusteeAdmin = *mut ::core::ffi::c_void; -pub type ITrusteeGroupAdmin = *mut ::core::ffi::c_void; -pub type IUMS = *mut ::core::ffi::c_void; -pub type IUMSInitialize = *mut ::core::ffi::c_void; -pub type IUrlAccessor = *mut ::core::ffi::c_void; -pub type IUrlAccessor2 = *mut ::core::ffi::c_void; -pub type IUrlAccessor3 = *mut ::core::ffi::c_void; -pub type IUrlAccessor4 = *mut ::core::ffi::c_void; -pub type IViewChapter = *mut ::core::ffi::c_void; -pub type IViewFilter = *mut ::core::ffi::c_void; -pub type IViewRowset = *mut ::core::ffi::c_void; -pub type IViewSort = *mut ::core::ffi::c_void; -pub type IWordBreaker = *mut ::core::ffi::c_void; -pub type IWordFormSink = *mut ::core::ffi::c_void; -pub type IWordSink = *mut ::core::ffi::c_void; -pub type OLEDBSimpleProvider = *mut ::core::ffi::c_void; -pub type OLEDBSimpleProviderListener = *mut ::core::ffi::c_void; pub const BCP6xFILEFMT: u32 = 9u32; pub const BCPABORT: u32 = 6u32; pub const BCPBATCH: u32 = 4u32; @@ -5146,15 +4970,13 @@ impl ::core::clone::Clone for DBBINDEXT { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(feature = "Win32_System_Com")] pub struct DBBINDING { pub iOrdinal: usize, pub obValue: usize, pub obLength: usize, pub obStatus: usize, - pub pTypeInfo: super::Com::ITypeInfo, + pub pTypeInfo: *mut ::core::ffi::c_void, pub pObject: *mut DBOBJECT, pub pBindExt: *mut DBBINDEXT, pub dwPart: u32, @@ -5167,25 +4989,21 @@ pub struct DBBINDING { pub bScale: u8, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for DBBINDING {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for DBBINDING { fn clone(&self) -> Self { *self } } #[repr(C, packed(2))] -#[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(target_arch = "x86")] -#[cfg(feature = "Win32_System_Com")] pub struct DBBINDING { pub iOrdinal: usize, pub obValue: usize, pub obLength: usize, pub obStatus: usize, - pub pTypeInfo: super::Com::ITypeInfo, + pub pTypeInfo: *mut ::core::ffi::c_void, pub pObject: *mut DBOBJECT, pub pBindExt: *mut DBBINDEXT, pub dwPart: u32, @@ -5198,10 +5016,8 @@ pub struct DBBINDING { pub bScale: u8, } #[cfg(target_arch = "x86")] -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for DBBINDING {} #[cfg(target_arch = "x86")] -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for DBBINDING { fn clone(&self) -> Self { *self @@ -5258,12 +5074,12 @@ impl ::core::clone::Clone for DBCOLUMNACCESS { } } #[repr(C)] -#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] +#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DBCOLUMNDESC { pub pwszTypeName: ::windows_sys::core::PWSTR, - pub pTypeInfo: super::Com::ITypeInfo, + pub pTypeInfo: *mut ::core::ffi::c_void, pub rgPropertySets: *mut DBPROPSET, pub pclsid: *mut ::windows_sys::core::GUID, pub cPropertySets: u32, @@ -5274,22 +5090,22 @@ pub struct DBCOLUMNDESC { pub bScale: u8, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DBCOLUMNDESC {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DBCOLUMNDESC { fn clone(&self) -> Self { *self } } #[repr(C, packed(2))] -#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] +#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DBCOLUMNDESC { pub pwszTypeName: ::windows_sys::core::PWSTR, - pub pTypeInfo: super::Com::ITypeInfo, + pub pTypeInfo: *mut ::core::ffi::c_void, pub rgPropertySets: *mut DBPROPSET, pub pclsid: *mut ::windows_sys::core::GUID, pub cPropertySets: u32, @@ -5300,22 +5116,22 @@ pub struct DBCOLUMNDESC { pub bScale: u8, } #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DBCOLUMNDESC {} #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DBCOLUMNDESC { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`"] +#[doc = "Required features: `\"Win32_Storage_IndexServer\"`"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] +#[cfg(feature = "Win32_Storage_IndexServer")] pub struct DBCOLUMNINFO { pub pwszName: ::windows_sys::core::PWSTR, - pub pTypeInfo: super::Com::ITypeInfo, + pub pTypeInfo: *mut ::core::ffi::c_void, pub iOrdinal: usize, pub dwFlags: u32, pub ulColumnSize: usize, @@ -5325,22 +5141,22 @@ pub struct DBCOLUMNINFO { pub columnid: super::super::Storage::IndexServer::DBID, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] +#[cfg(feature = "Win32_Storage_IndexServer")] impl ::core::marker::Copy for DBCOLUMNINFO {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] +#[cfg(feature = "Win32_Storage_IndexServer")] impl ::core::clone::Clone for DBCOLUMNINFO { fn clone(&self) -> Self { *self } } #[repr(C, packed(2))] -#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`"] +#[doc = "Required features: `\"Win32_Storage_IndexServer\"`"] #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] +#[cfg(feature = "Win32_Storage_IndexServer")] pub struct DBCOLUMNINFO { pub pwszName: ::windows_sys::core::PWSTR, - pub pTypeInfo: super::Com::ITypeInfo, + pub pTypeInfo: *mut ::core::ffi::c_void, pub iOrdinal: usize, pub dwFlags: u32, pub ulColumnSize: usize, @@ -5350,19 +5166,19 @@ pub struct DBCOLUMNINFO { pub columnid: super::super::Storage::IndexServer::DBID, } #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] +#[cfg(feature = "Win32_Storage_IndexServer")] impl ::core::marker::Copy for DBCOLUMNINFO {} #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] +#[cfg(feature = "Win32_Storage_IndexServer")] impl ::core::clone::Clone for DBCOLUMNINFO { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] +#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DBCONSTRAINTDESC { pub pConstraintID: *mut super::super::Storage::IndexServer::DBID, pub ConstraintType: u32, @@ -5380,19 +5196,19 @@ pub struct DBCONSTRAINTDESC { pub rgReserved: *mut DBPROPSET, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DBCONSTRAINTDESC {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DBCONSTRAINTDESC { fn clone(&self) -> Self { *self } } #[repr(C, packed(2))] -#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] +#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DBCONSTRAINTDESC { pub pConstraintID: *mut super::super::Storage::IndexServer::DBID, pub ConstraintType: u32, @@ -5410,10 +5226,10 @@ pub struct DBCONSTRAINTDESC { pub rgReserved: *mut DBPROPSET, } #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DBCONSTRAINTDESC {} #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DBCONSTRAINTDESC { fn clone(&self) -> Self { *self @@ -5691,48 +5507,40 @@ impl ::core::clone::Clone for DBPARAMBINDINFO { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(feature = "Win32_System_Com")] pub struct DBPARAMINFO { pub dwFlags: u32, pub iOrdinal: usize, pub pwszName: ::windows_sys::core::PWSTR, - pub pTypeInfo: super::Com::ITypeInfo, + pub pTypeInfo: *mut ::core::ffi::c_void, pub ulParamSize: usize, pub wType: u16, pub bPrecision: u8, pub bScale: u8, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for DBPARAMINFO {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for DBPARAMINFO { fn clone(&self) -> Self { *self } } #[repr(C, packed(2))] -#[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(target_arch = "x86")] -#[cfg(feature = "Win32_System_Com")] pub struct DBPARAMINFO { pub dwFlags: u32, pub iOrdinal: usize, pub pwszName: ::windows_sys::core::PWSTR, - pub pTypeInfo: super::Com::ITypeInfo, + pub pTypeInfo: *mut ::core::ffi::c_void, pub ulParamSize: usize, pub wType: u16, pub bPrecision: u8, pub bScale: u8, } #[cfg(target_arch = "x86")] -#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for DBPARAMINFO {} #[cfg(target_arch = "x86")] -#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for DBPARAMINFO { fn clone(&self) -> Self { *self @@ -5769,9 +5577,9 @@ impl ::core::clone::Clone for DBPARAMS { } } #[repr(C)] -#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] +#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DBPROP { pub dwPropertyID: u32, pub dwOptions: u32, @@ -5780,19 +5588,19 @@ pub struct DBPROP { pub vValue: super::Variant::VARIANT, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DBPROP {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DBPROP { fn clone(&self) -> Self { *self } } #[repr(C, packed(2))] -#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] +#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DBPROP { pub dwPropertyID: u32, pub dwOptions: u32, @@ -5801,10 +5609,10 @@ pub struct DBPROP { pub vValue: super::Variant::VARIANT, } #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DBPROP {} #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DBPROP { fn clone(&self) -> Self { *self @@ -5841,9 +5649,9 @@ impl ::core::clone::Clone for DBPROPIDSET { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DBPROPINFO { pub pwszDescription: ::windows_sys::core::PWSTR, pub dwPropertyID: u32, @@ -5852,19 +5660,19 @@ pub struct DBPROPINFO { pub vValues: super::Variant::VARIANT, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DBPROPINFO {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DBPROPINFO { fn clone(&self) -> Self { *self } } #[repr(C, packed(2))] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DBPROPINFO { pub pwszDescription: ::windows_sys::core::PWSTR, pub dwPropertyID: u32, @@ -5873,86 +5681,86 @@ pub struct DBPROPINFO { pub vValues: super::Variant::VARIANT, } #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DBPROPINFO {} #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DBPROPINFO { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DBPROPINFOSET { pub rgPropertyInfos: *mut DBPROPINFO, pub cPropertyInfos: u32, pub guidPropertySet: ::windows_sys::core::GUID, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DBPROPINFOSET {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DBPROPINFOSET { fn clone(&self) -> Self { *self } } #[repr(C, packed(2))] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DBPROPINFOSET { pub rgPropertyInfos: *mut DBPROPINFO, pub cPropertyInfos: u32, pub guidPropertySet: ::windows_sys::core::GUID, } #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DBPROPINFOSET {} #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DBPROPINFOSET { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] +#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DBPROPSET { pub rgProperties: *mut DBPROP, pub cProperties: u32, pub guidPropertySet: ::windows_sys::core::GUID, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DBPROPSET {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DBPROPSET { fn clone(&self) -> Self { *self } } #[repr(C, packed(2))] -#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] +#[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DBPROPSET { pub rgProperties: *mut DBPROP, pub cProperties: u32, pub guidPropertySet: ::windows_sys::core::GUID, } #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DBPROPSET {} #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DBPROPSET { fn clone(&self) -> Self { *self @@ -6117,15 +5925,15 @@ impl ::core::clone::Clone for DB_VARNUMERIC { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct DCINFO { pub eInfoType: u32, pub vData: super::Variant::VARIANT, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for DCINFO {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for DCINFO { fn clone(&self) -> Self { *self @@ -6202,15 +6010,15 @@ impl ::core::clone::Clone for INCREMENTAL_ACCESS_INFO { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct ITEMPROP { pub variantValue: super::Variant::VARIANT, pub pwszName: ::windows_sys::core::PWSTR, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for ITEMPROP {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for ITEMPROP { fn clone(&self) -> Self { *self @@ -6231,16 +6039,16 @@ impl ::core::clone::Clone for ITEM_INFO { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct KAGGETDIAG { pub ulSize: u32, pub vDiagInfo: super::Variant::VARIANT, pub sDiagField: i16, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for KAGGETDIAG {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for KAGGETDIAG { fn clone(&self) -> Self { *self @@ -6465,18 +6273,18 @@ impl ::core::clone::Clone for RESTRICTION_0 { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] +#[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] pub struct RMTPACK { - pub pISeqStream: super::Com::ISequentialStream, + pub pISeqStream: *mut ::core::ffi::c_void, pub cbData: u32, pub cBSTR: u32, pub rgBSTR: *mut ::windows_sys::core::BSTR, pub cVARIANT: u32, pub rgVARIANT: *mut super::Variant::VARIANT, pub cIDISPATCH: u32, - pub rgIDISPATCH: *mut super::Com::IDispatch, + pub rgIDISPATCH: *mut *mut ::core::ffi::c_void, pub cIUNKNOWN: u32, pub rgIUNKNOWN: *mut ::windows_sys::core::IUnknown, pub cPROPVARIANT: u32, @@ -6485,28 +6293,28 @@ pub struct RMTPACK { pub rgArray: *mut super::Variant::VARIANT, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for RMTPACK {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] -#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for RMTPACK { fn clone(&self) -> Self { *self } } #[repr(C, packed(2))] -#[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] +#[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] pub struct RMTPACK { - pub pISeqStream: super::Com::ISequentialStream, + pub pISeqStream: *mut ::core::ffi::c_void, pub cbData: u32, pub cBSTR: u32, pub rgBSTR: *mut ::windows_sys::core::BSTR, pub cVARIANT: u32, pub rgVARIANT: *mut super::Variant::VARIANT, pub cIDISPATCH: u32, - pub rgIDISPATCH: *mut super::Com::IDispatch, + pub rgIDISPATCH: *mut *mut ::core::ffi::c_void, pub cIUNKNOWN: u32, pub rgIUNKNOWN: *mut ::windows_sys::core::IUnknown, pub cPROPVARIANT: u32, @@ -6515,10 +6323,10 @@ pub struct RMTPACK { pub rgArray: *mut super::Variant::VARIANT, } #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for RMTPACK {} #[cfg(target_arch = "x86")] -#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for RMTPACK { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/System/SecurityCenter/mod.rs b/crates/libs/sys/src/Windows/Win32/System/SecurityCenter/mod.rs index 3441d638b6..5fcaff725b 100644 --- a/crates/libs/sys/src/Windows/Win32/System/SecurityCenter/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/SecurityCenter/mod.rs @@ -5,11 +5,6 @@ ::windows_targets::link!("wscapi.dll" "system" #[doc = "Required features: `\"Win32_System_Threading\"`"] fn WscRegisterForChanges(reserved : *mut ::core::ffi::c_void, phcallbackregistration : *mut super::super::Foundation:: HANDLE, lpcallbackaddress : super::Threading:: LPTHREAD_START_ROUTINE, pcontext : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wscapi.dll" "system" fn WscRegisterForUserNotifications() -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wscapi.dll" "system" fn WscUnRegisterChanges(hregistrationhandle : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); -pub type IWSCDefaultProduct = *mut ::core::ffi::c_void; -pub type IWSCProductList = *mut ::core::ffi::c_void; -pub type IWscProduct = *mut ::core::ffi::c_void; -pub type IWscProduct2 = *mut ::core::ffi::c_void; -pub type IWscProduct3 = *mut ::core::ffi::c_void; pub const SECURITY_PRODUCT_TYPE_ANTISPYWARE: SECURITY_PRODUCT_TYPE = 2i32; pub const SECURITY_PRODUCT_TYPE_ANTIVIRUS: SECURITY_PRODUCT_TYPE = 0i32; pub const SECURITY_PRODUCT_TYPE_FIREWALL: SECURITY_PRODUCT_TYPE = 1i32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Threading/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Threading/mod.rs index 3f7fcfa285..ecf4e6b801 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Threading/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Threading/mod.rs @@ -269,26 +269,26 @@ ::windows_targets::link!("rtworkq.dll" "system" fn RtwqAddPeriodicCallback(callback : RTWQPERIODICCALLBACK, context : ::windows_sys::core::IUnknown, key : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqAllocateSerialWorkQueue(workqueueidin : u32, workqueueidout : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqAllocateWorkQueue(workqueuetype : RTWQ_WORKQUEUE_TYPE, workqueueid : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("rtworkq.dll" "system" fn RtwqBeginRegisterWorkQueueWithMMCSS(workqueueid : u32, usageclass : ::windows_sys::core::PCWSTR, dwtaskid : u32, lpriority : i32, donecallback : IRtwqAsyncCallback, donestate : ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("rtworkq.dll" "system" fn RtwqBeginUnregisterWorkQueueWithMMCSS(workqueueid : u32, donecallback : IRtwqAsyncCallback, donestate : ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("rtworkq.dll" "system" fn RtwqBeginRegisterWorkQueueWithMMCSS(workqueueid : u32, usageclass : ::windows_sys::core::PCWSTR, dwtaskid : u32, lpriority : i32, donecallback : * mut::core::ffi::c_void, donestate : ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("rtworkq.dll" "system" fn RtwqBeginUnregisterWorkQueueWithMMCSS(workqueueid : u32, donecallback : * mut::core::ffi::c_void, donestate : ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqCancelDeadline(prequest : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqCancelWorkItem(key : u64) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("rtworkq.dll" "system" fn RtwqCreateAsyncResult(appobject : ::windows_sys::core::IUnknown, callback : IRtwqAsyncCallback, appstate : ::windows_sys::core::IUnknown, asyncresult : *mut IRtwqAsyncResult) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("rtworkq.dll" "system" fn RtwqEndRegisterWorkQueueWithMMCSS(result : IRtwqAsyncResult, taskid : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("rtworkq.dll" "system" fn RtwqCreateAsyncResult(appobject : ::windows_sys::core::IUnknown, callback : * mut::core::ffi::c_void, appstate : ::windows_sys::core::IUnknown, asyncresult : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("rtworkq.dll" "system" fn RtwqEndRegisterWorkQueueWithMMCSS(result : * mut::core::ffi::c_void, taskid : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqGetWorkQueueMMCSSClass(workqueueid : u32, usageclass : ::windows_sys::core::PWSTR, usageclasslength : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqGetWorkQueueMMCSSPriority(workqueueid : u32, priority : *mut i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqGetWorkQueueMMCSSTaskId(workqueueid : u32, taskid : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("rtworkq.dll" "system" fn RtwqInvokeCallback(result : IRtwqAsyncResult) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("rtworkq.dll" "system" fn RtwqInvokeCallback(result : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqJoinWorkQueue(workqueueid : u32, hfile : super::super::Foundation:: HANDLE, out : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqLockPlatform() -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqLockSharedWorkQueue(usageclass : ::windows_sys::core::PCWSTR, basepriority : i32, taskid : *mut u32, id : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqLockWorkQueue(workqueueid : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("rtworkq.dll" "system" fn RtwqPutWaitingWorkItem(hevent : super::super::Foundation:: HANDLE, lpriority : i32, result : IRtwqAsyncResult, key : *mut u64) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("rtworkq.dll" "system" fn RtwqPutWorkItem(dwqueue : u32, lpriority : i32, result : IRtwqAsyncResult) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("rtworkq.dll" "system" fn RtwqRegisterPlatformEvents(platformevents : IRtwqPlatformEvents) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("rtworkq.dll" "system" fn RtwqPutWaitingWorkItem(hevent : super::super::Foundation:: HANDLE, lpriority : i32, result : * mut::core::ffi::c_void, key : *mut u64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("rtworkq.dll" "system" fn RtwqPutWorkItem(dwqueue : u32, lpriority : i32, result : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("rtworkq.dll" "system" fn RtwqRegisterPlatformEvents(platformevents : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqRegisterPlatformWithMMCSS(usageclass : ::windows_sys::core::PCWSTR, taskid : *mut u32, lpriority : i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqRemovePeriodicCallback(dwkey : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("rtworkq.dll" "system" fn RtwqScheduleWorkItem(result : IRtwqAsyncResult, timeout : i64, key : *mut u64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("rtworkq.dll" "system" fn RtwqScheduleWorkItem(result : * mut::core::ffi::c_void, timeout : i64, key : *mut u64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqSetDeadline(workqueueid : u32, deadlineinhns : i64, prequest : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqSetDeadline2(workqueueid : u32, deadlineinhns : i64, predeadlineinhns : i64, prequest : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqSetLongRunning(workqueueid : u32, enable : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); @@ -297,7 +297,7 @@ ::windows_targets::link!("rtworkq.dll" "system" fn RtwqUnjoinWorkQueue(workqueueid : u32, hfile : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqUnlockPlatform() -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqUnlockWorkQueue(workqueueid : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("rtworkq.dll" "system" fn RtwqUnregisterPlatformEvents(platformevents : IRtwqPlatformEvents) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("rtworkq.dll" "system" fn RtwqUnregisterPlatformEvents(platformevents : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("rtworkq.dll" "system" fn RtwqUnregisterPlatformFromMMCSS() -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Kernel")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_System_Kernel\"`"] fn SetCriticalSectionSpinCount(lpcriticalsection : *mut CRITICAL_SECTION, dwspincount : u32) -> u32); @@ -388,10 +388,6 @@ ::windows_targets::link!("kernel32.dll" "system" fn WinExec(lpcmdline : ::windows_sys::core::PCSTR, ucmdshow : u32) -> u32); ::windows_targets::link!("api-ms-win-core-wow64-l1-1-1.dll" "system" fn Wow64SetThreadDefaultGuestMachine(machine : u16) -> u16); ::windows_targets::link!("kernel32.dll" "system" fn Wow64SuspendThread(hthread : super::super::Foundation:: HANDLE) -> u32); -pub type IRtwqAsyncCallback = *mut ::core::ffi::c_void; -pub type IRtwqAsyncResult = *mut ::core::ffi::c_void; -pub type IRtwqPlatformEvents = *mut ::core::ffi::c_void; -pub type RTWQASYNCRESULT = *mut ::core::ffi::c_void; pub const ABOVE_NORMAL_PRIORITY_CLASS: PROCESS_CREATION_FLAGS = 32768u32; pub const ALL_PROCESSOR_GROUPS: u16 = 65535u16; pub const AVRT_PRIORITY_CRITICAL: AVRT_PRIORITY = 2i32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Variant/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Variant/mod.rs index e10cca4c14..810c672f78 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Variant/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Variant/mod.rs @@ -1,171 +1,171 @@ -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn ClearVariantArray(pvars : *mut VARIANT, cvars : u32)); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn ClearVariantArray(pvars : *mut VARIANT, cvars : u32)); ::windows_targets::link!("oleaut32.dll" "system" fn DosDateTimeToVariantTime(wdosdate : u16, wdostime : u16, pvtime : *mut f64) -> i32); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromBooleanArray(prgf : *const super::super::Foundation:: BOOL, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromBuffer(pv : *const ::core::ffi::c_void, cb : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromDoubleArray(prgn : *const f64, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromFileTime(pft : *const super::super::Foundation:: FILETIME, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromFileTimeArray(prgft : *const super::super::Foundation:: FILETIME, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromGUIDAsString(guid : *const ::windows_sys::core::GUID, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromInt16Array(prgn : *const i16, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromInt32Array(prgn : *const i32, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromInt64Array(prgn : *const i64, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromResource(hinst : super::super::Foundation:: HINSTANCE, id : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromStringArray(prgsz : *const ::windows_sys::core::PCWSTR, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromUInt16Array(prgn : *const u16, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromUInt32Array(prgn : *const u32, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromUInt64Array(prgn : *const u64, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn InitVariantFromVariantArrayElem(varin : *const VARIANT, ielem : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromBooleanArray(prgf : *const super::super::Foundation:: BOOL, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromBuffer(pv : *const ::core::ffi::c_void, cb : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromDoubleArray(prgn : *const f64, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromFileTime(pft : *const super::super::Foundation:: FILETIME, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromFileTimeArray(prgft : *const super::super::Foundation:: FILETIME, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromGUIDAsString(guid : *const ::windows_sys::core::GUID, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromInt16Array(prgn : *const i16, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromInt32Array(prgn : *const i32, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromInt64Array(prgn : *const i64, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromResource(hinst : super::super::Foundation:: HINSTANCE, id : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromStringArray(prgsz : *const ::windows_sys::core::PCWSTR, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromUInt16Array(prgn : *const u16, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromUInt32Array(prgn : *const u32, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromUInt64Array(prgn : *const u64, celems : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn InitVariantFromVariantArrayElem(varin : *const VARIANT, ielem : u32, pvar : *mut VARIANT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn SystemTimeToVariantTime(lpsystemtime : *const super::super::Foundation:: SYSTEMTIME, pvtime : *mut f64) -> i32); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VARIANT_UserFree(param0 : *const u32, param1 : *const VARIANT)); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VARIANT_UserFree64(param0 : *const u32, param1 : *const VARIANT)); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VARIANT_UserMarshal(param0 : *const u32, param1 : *mut u8, param2 : *const VARIANT) -> *mut u8); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VARIANT_UserMarshal64(param0 : *const u32, param1 : *mut u8, param2 : *const VARIANT) -> *mut u8); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VARIANT_UserSize(param0 : *const u32, param1 : u32, param2 : *const VARIANT) -> u32); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VARIANT_UserSize64(param0 : *const u32, param1 : u32, param2 : *const VARIANT) -> u32); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VARIANT_UserUnmarshal(param0 : *const u32, param1 : *const u8, param2 : *mut VARIANT) -> *mut u8); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VARIANT_UserUnmarshal64(param0 : *const u32, param1 : *const u8, param2 : *mut VARIANT) -> *mut u8); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantChangeType(pvargdest : *mut VARIANT, pvarsrc : *const VARIANT, wflags : VAR_CHANGE_FLAGS, vt : VARENUM) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantChangeTypeEx(pvargdest : *mut VARIANT, pvarsrc : *const VARIANT, lcid : u32, wflags : VAR_CHANGE_FLAGS, vt : VARENUM) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantClear(pvarg : *mut VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantCompare(var1 : *const VARIANT, var2 : *const VARIANT) -> i32); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantCopy(pvargdest : *mut VARIANT, pvargsrc : *const VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantCopyInd(pvardest : *mut VARIANT, pvargsrc : *const VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantGetBooleanElem(var : *const VARIANT, ielem : u32, pfval : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantGetDoubleElem(var : *const VARIANT, ielem : u32, pnval : *mut f64) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantGetElementCount(varin : *const VARIANT) -> u32); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantGetInt16Elem(var : *const VARIANT, ielem : u32, pnval : *mut i16) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantGetInt32Elem(var : *const VARIANT, ielem : u32, pnval : *mut i32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantGetInt64Elem(var : *const VARIANT, ielem : u32, pnval : *mut i64) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantGetStringElem(var : *const VARIANT, ielem : u32, ppszval : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantGetUInt16Elem(var : *const VARIANT, ielem : u32, pnval : *mut u16) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantGetUInt32Elem(var : *const VARIANT, ielem : u32, pnval : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantGetUInt64Elem(var : *const VARIANT, ielem : u32, pnval : *mut u64) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantInit(pvarg : *mut VARIANT)); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VARIANT_UserFree(param0 : *const u32, param1 : *const VARIANT)); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VARIANT_UserFree64(param0 : *const u32, param1 : *const VARIANT)); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VARIANT_UserMarshal(param0 : *const u32, param1 : *mut u8, param2 : *const VARIANT) -> *mut u8); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VARIANT_UserMarshal64(param0 : *const u32, param1 : *mut u8, param2 : *const VARIANT) -> *mut u8); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VARIANT_UserSize(param0 : *const u32, param1 : u32, param2 : *const VARIANT) -> u32); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VARIANT_UserSize64(param0 : *const u32, param1 : u32, param2 : *const VARIANT) -> u32); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VARIANT_UserUnmarshal(param0 : *const u32, param1 : *const u8, param2 : *mut VARIANT) -> *mut u8); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VARIANT_UserUnmarshal64(param0 : *const u32, param1 : *const u8, param2 : *mut VARIANT) -> *mut u8); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantChangeType(pvargdest : *mut VARIANT, pvarsrc : *const VARIANT, wflags : VAR_CHANGE_FLAGS, vt : VARENUM) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantChangeTypeEx(pvargdest : *mut VARIANT, pvarsrc : *const VARIANT, lcid : u32, wflags : VAR_CHANGE_FLAGS, vt : VARENUM) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantClear(pvarg : *mut VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantCompare(var1 : *const VARIANT, var2 : *const VARIANT) -> i32); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantCopy(pvargdest : *mut VARIANT, pvargsrc : *const VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantCopyInd(pvardest : *mut VARIANT, pvargsrc : *const VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantGetBooleanElem(var : *const VARIANT, ielem : u32, pfval : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantGetDoubleElem(var : *const VARIANT, ielem : u32, pnval : *mut f64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantGetElementCount(varin : *const VARIANT) -> u32); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantGetInt16Elem(var : *const VARIANT, ielem : u32, pnval : *mut i16) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantGetInt32Elem(var : *const VARIANT, ielem : u32, pnval : *mut i32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantGetInt64Elem(var : *const VARIANT, ielem : u32, pnval : *mut i64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantGetStringElem(var : *const VARIANT, ielem : u32, ppszval : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantGetUInt16Elem(var : *const VARIANT, ielem : u32, pnval : *mut u16) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantGetUInt32Elem(var : *const VARIANT, ielem : u32, pnval : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantGetUInt64Elem(var : *const VARIANT, ielem : u32, pnval : *mut u64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantInit(pvarg : *mut VARIANT)); ::windows_targets::link!("oleaut32.dll" "system" fn VariantTimeToDosDateTime(vtime : f64, pwdosdate : *mut u16, pwdostime : *mut u16) -> i32); ::windows_targets::link!("oleaut32.dll" "system" fn VariantTimeToSystemTime(vtime : f64, lpsystemtime : *mut super::super::Foundation:: SYSTEMTIME) -> i32); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToBoolean(varin : *const VARIANT, pfret : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToBooleanArray(var : *const VARIANT, prgf : *mut super::super::Foundation:: BOOL, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToBooleanArrayAlloc(var : *const VARIANT, pprgf : *mut *mut super::super::Foundation:: BOOL, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToBooleanWithDefault(varin : *const VARIANT, fdefault : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToBuffer(varin : *const VARIANT, pv : *mut ::core::ffi::c_void, cb : u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToDosDateTime(varin : *const VARIANT, pwdate : *mut u16, pwtime : *mut u16) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToDouble(varin : *const VARIANT, pdblret : *mut f64) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToDoubleArray(var : *const VARIANT, prgn : *mut f64, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToDoubleArrayAlloc(var : *const VARIANT, pprgn : *mut *mut f64, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToDoubleWithDefault(varin : *const VARIANT, dbldefault : f64) -> f64); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToFileTime(varin : *const VARIANT, stfout : PSTIME_FLAGS, pftout : *mut super::super::Foundation:: FILETIME) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToGUID(varin : *const VARIANT, pguid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToInt16(varin : *const VARIANT, piret : *mut i16) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToInt16Array(var : *const VARIANT, prgn : *mut i16, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToInt16ArrayAlloc(var : *const VARIANT, pprgn : *mut *mut i16, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToInt16WithDefault(varin : *const VARIANT, idefault : i16) -> i16); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToInt32(varin : *const VARIANT, plret : *mut i32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToInt32Array(var : *const VARIANT, prgn : *mut i32, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToInt32ArrayAlloc(var : *const VARIANT, pprgn : *mut *mut i32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToInt32WithDefault(varin : *const VARIANT, ldefault : i32) -> i32); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToInt64(varin : *const VARIANT, pllret : *mut i64) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToInt64Array(var : *const VARIANT, prgn : *mut i64, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToInt64ArrayAlloc(var : *const VARIANT, pprgn : *mut *mut i64, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToInt64WithDefault(varin : *const VARIANT, lldefault : i64) -> i64); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToString(varin : *const VARIANT, pszbuf : ::windows_sys::core::PWSTR, cchbuf : u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToStringAlloc(varin : *const VARIANT, ppszbuf : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToStringArray(var : *const VARIANT, prgsz : *mut ::windows_sys::core::PWSTR, crgsz : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToStringArrayAlloc(var : *const VARIANT, pprgsz : *mut *mut ::windows_sys::core::PWSTR, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToStringWithDefault(varin : *const VARIANT, pszdefault : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PCWSTR); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToUInt16(varin : *const VARIANT, puiret : *mut u16) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToUInt16Array(var : *const VARIANT, prgn : *mut u16, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToUInt16ArrayAlloc(var : *const VARIANT, pprgn : *mut *mut u16, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToUInt16WithDefault(varin : *const VARIANT, uidefault : u16) -> u16); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToUInt32(varin : *const VARIANT, pulret : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToUInt32Array(var : *const VARIANT, prgn : *mut u32, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToUInt32ArrayAlloc(var : *const VARIANT, pprgn : *mut *mut u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToUInt32WithDefault(varin : *const VARIANT, uldefault : u32) -> u32); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToUInt64(varin : *const VARIANT, pullret : *mut u64) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToUInt64Array(var : *const VARIANT, prgn : *mut u64, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToUInt64ArrayAlloc(var : *const VARIANT, pprgn : *mut *mut u64, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn VariantToUInt64WithDefault(varin : *const VARIANT, ulldefault : u64) -> u64); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToBoolean(varin : *const VARIANT, pfret : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToBooleanArray(var : *const VARIANT, prgf : *mut super::super::Foundation:: BOOL, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToBooleanArrayAlloc(var : *const VARIANT, pprgf : *mut *mut super::super::Foundation:: BOOL, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToBooleanWithDefault(varin : *const VARIANT, fdefault : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToBuffer(varin : *const VARIANT, pv : *mut ::core::ffi::c_void, cb : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToDosDateTime(varin : *const VARIANT, pwdate : *mut u16, pwtime : *mut u16) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToDouble(varin : *const VARIANT, pdblret : *mut f64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToDoubleArray(var : *const VARIANT, prgn : *mut f64, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToDoubleArrayAlloc(var : *const VARIANT, pprgn : *mut *mut f64, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToDoubleWithDefault(varin : *const VARIANT, dbldefault : f64) -> f64); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToFileTime(varin : *const VARIANT, stfout : PSTIME_FLAGS, pftout : *mut super::super::Foundation:: FILETIME) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToGUID(varin : *const VARIANT, pguid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToInt16(varin : *const VARIANT, piret : *mut i16) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToInt16Array(var : *const VARIANT, prgn : *mut i16, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToInt16ArrayAlloc(var : *const VARIANT, pprgn : *mut *mut i16, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToInt16WithDefault(varin : *const VARIANT, idefault : i16) -> i16); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToInt32(varin : *const VARIANT, plret : *mut i32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToInt32Array(var : *const VARIANT, prgn : *mut i32, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToInt32ArrayAlloc(var : *const VARIANT, pprgn : *mut *mut i32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToInt32WithDefault(varin : *const VARIANT, ldefault : i32) -> i32); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToInt64(varin : *const VARIANT, pllret : *mut i64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToInt64Array(var : *const VARIANT, prgn : *mut i64, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToInt64ArrayAlloc(var : *const VARIANT, pprgn : *mut *mut i64, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToInt64WithDefault(varin : *const VARIANT, lldefault : i64) -> i64); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToString(varin : *const VARIANT, pszbuf : ::windows_sys::core::PWSTR, cchbuf : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToStringAlloc(varin : *const VARIANT, ppszbuf : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToStringArray(var : *const VARIANT, prgsz : *mut ::windows_sys::core::PWSTR, crgsz : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToStringArrayAlloc(var : *const VARIANT, pprgsz : *mut *mut ::windows_sys::core::PWSTR, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToStringWithDefault(varin : *const VARIANT, pszdefault : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PCWSTR); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToUInt16(varin : *const VARIANT, puiret : *mut u16) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToUInt16Array(var : *const VARIANT, prgn : *mut u16, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToUInt16ArrayAlloc(var : *const VARIANT, pprgn : *mut *mut u16, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToUInt16WithDefault(varin : *const VARIANT, uidefault : u16) -> u16); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToUInt32(varin : *const VARIANT, pulret : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToUInt32Array(var : *const VARIANT, prgn : *mut u32, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToUInt32ArrayAlloc(var : *const VARIANT, pprgn : *mut *mut u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToUInt32WithDefault(varin : *const VARIANT, uldefault : u32) -> u32); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToUInt64(varin : *const VARIANT, pullret : *mut u64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToUInt64Array(var : *const VARIANT, prgn : *mut u64, crgn : u32, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToUInt64ArrayAlloc(var : *const VARIANT, pprgn : *mut *mut u64, pcelem : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VariantToUInt64WithDefault(varin : *const VARIANT, ulldefault : u64) -> u64); pub const DPF_ERROR: DRAWPROGRESSFLAGS = 4i32; pub const DPF_MARQUEE: DRAWPROGRESSFLAGS = 1i32; pub const DPF_MARQUEE_COMPLETE: DRAWPROGRESSFLAGS = 2i32; @@ -239,37 +239,37 @@ pub type PSTIME_FLAGS = i32; pub type VARENUM = u16; pub type VAR_CHANGE_FLAGS = u16; #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[doc = "Required features: `\"Win32_System_Com\"`"] +#[cfg(feature = "Win32_System_Com")] pub struct VARIANT { pub Anonymous: VARIANT_0, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for VARIANT {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for VARIANT { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[doc = "Required features: `\"Win32_System_Com\"`"] +#[cfg(feature = "Win32_System_Com")] pub union VARIANT_0 { pub Anonymous: VARIANT_0_0, pub decVal: super::super::Foundation::DECIMAL, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for VARIANT_0 {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for VARIANT_0 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[doc = "Required features: `\"Win32_System_Com\"`"] +#[cfg(feature = "Win32_System_Com")] pub struct VARIANT_0_0 { pub vt: VARENUM, pub wReserved1: u16, @@ -277,17 +277,17 @@ pub struct VARIANT_0_0 { pub wReserved3: u16, pub Anonymous: VARIANT_0_0_0, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for VARIANT_0_0 {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for VARIANT_0_0 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[doc = "Required features: `\"Win32_System_Com\"`"] +#[cfg(feature = "Win32_System_Com")] pub union VARIANT_0_0_0 { pub llVal: i64, pub lVal: i32, @@ -302,7 +302,7 @@ pub union VARIANT_0_0_0 { pub date: f64, pub bstrVal: ::windows_sys::core::BSTR, pub punkVal: ::windows_sys::core::IUnknown, - pub pdispVal: super::Com::IDispatch, + pub pdispVal: *mut ::core::ffi::c_void, pub parray: *mut super::Com::SAFEARRAY, pub pbVal: *mut u8, pub piVal: *mut i16, @@ -317,7 +317,7 @@ pub union VARIANT_0_0_0 { pub pdate: *mut f64, pub pbstrVal: *mut ::windows_sys::core::BSTR, pub ppunkVal: *mut ::windows_sys::core::IUnknown, - pub ppdispVal: *mut super::Com::IDispatch, + pub ppdispVal: *mut *mut ::core::ffi::c_void, pub pparray: *mut *mut super::Com::SAFEARRAY, pub pvarVal: *mut VARIANT, pub byref: *mut ::core::ffi::c_void, @@ -336,24 +336,24 @@ pub union VARIANT_0_0_0 { pub puintVal: *mut u32, pub Anonymous: VARIANT_0_0_0_0, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for VARIANT_0_0_0 {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for VARIANT_0_0_0 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[doc = "Required features: `\"Win32_System_Com\"`"] +#[cfg(feature = "Win32_System_Com")] pub struct VARIANT_0_0_0_0 { pub pvRecord: *mut ::core::ffi::c_void, - pub pRecInfo: super::Ole::IRecordInfo, + pub pRecInfo: *mut ::core::ffi::c_void, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[cfg(feature = "Win32_System_Com")] impl ::core::marker::Copy for VARIANT_0_0_0_0 {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] +#[cfg(feature = "Win32_System_Com")] impl ::core::clone::Clone for VARIANT_0_0_0_0 { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs b/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs index b4a0e5c544..5b6b362931 100644 --- a/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs @@ -207,8 +207,7 @@ ::windows_targets::link!("dciman32.dll" "system" fn WinWatchOpen(hwnd : super::super::Foundation:: HWND) -> HWINWATCH); ::windows_targets::link!("wldp.dll" "system" fn WldpCanExecuteBuffer(host : *const ::windows_sys::core::GUID, options : WLDP_EXECUTION_EVALUATION_OPTIONS, buffer : *const u8, buffersize : u32, auditinfo : ::windows_sys::core::PCWSTR, result : *mut WLDP_EXECUTION_POLICY) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wldp.dll" "system" fn WldpCanExecuteFile(host : *const ::windows_sys::core::GUID, options : WLDP_EXECUTION_EVALUATION_OPTIONS, filehandle : super::super::Foundation:: HANDLE, auditinfo : ::windows_sys::core::PCWSTR, result : *mut WLDP_EXECUTION_POLICY) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("wldp.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn WldpCanExecuteStream(host : *const ::windows_sys::core::GUID, options : WLDP_EXECUTION_EVALUATION_OPTIONS, stream : super::Com:: IStream, auditinfo : ::windows_sys::core::PCWSTR, result : *mut WLDP_EXECUTION_POLICY) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wldp.dll" "system" fn WldpCanExecuteStream(host : *const ::windows_sys::core::GUID, options : WLDP_EXECUTION_EVALUATION_OPTIONS, stream : * mut::core::ffi::c_void, auditinfo : ::windows_sys::core::PCWSTR, result : *mut WLDP_EXECUTION_POLICY) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wldp.dll" "system" fn WldpGetLockdownPolicy(hostinformation : *const WLDP_HOST_INFORMATION, lockdownstate : *mut u32, lockdownflags : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wldp.dll" "system" fn WldpIsClassInApprovedList(classid : *const ::windows_sys::core::GUID, hostinformation : *const WLDP_HOST_INFORMATION, isapproved : *mut super::super::Foundation:: BOOL, optionalflags : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("wldp.dll" "system" fn WldpIsDynamicCodePolicyEnabled(isenabled : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); @@ -249,16 +248,6 @@ ::windows_targets::link!("kernel32.dll" "system" fn uaw_wcslen(string : *const u16) -> usize); #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] ::windows_targets::link!("kernel32.dll" "system" fn uaw_wcsrchr(string : *const u16, character : u16) -> *mut u16); -pub type ICameraUIControl = *mut ::core::ffi::c_void; -pub type ICameraUIControlEventCallback = *mut ::core::ffi::c_void; -pub type IClipServiceNotificationHelper = *mut ::core::ffi::c_void; -pub type IContainerActivationHelper = *mut ::core::ffi::c_void; -pub type IDefaultBrowserSyncSettings = *mut ::core::ffi::c_void; -pub type IDeleteBrowsingHistory = *mut ::core::ffi::c_void; -pub type IEditionUpgradeBroker = *mut ::core::ffi::c_void; -pub type IEditionUpgradeHelper = *mut ::core::ffi::c_void; -pub type IFClipNotificationHelper = *mut ::core::ffi::c_void; -pub type IWindowsLockModeHelper = *mut ::core::ffi::c_void; pub const AADBE_ADD_ENTRY: u32 = 1u32; pub const AADBE_DEL_ENTRY: u32 = 2u32; pub const ACTCTX_FLAG_APPLICATION_NAME_VALID: u32 = 32u32; @@ -1988,9 +1977,7 @@ pub type PQUERYACTCTXW_FUNC = ::core::option::Option super::super::Foundation::BOOLEAN>; pub type PWLDP_CANEXECUTEBUFFER_API = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PWLDP_CANEXECUTEFILE_API = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] -pub type PWLDP_CANEXECUTESTREAM_API = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PWLDP_CANEXECUTESTREAM_API = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PWLDP_ISAPPAPPROVEDBYPOLICY_API = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PWLDP_ISDYNAMICCODEPOLICYENABLED_API = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PWLDP_ISPRODUCTIONCONFIGURATION_API = ::core::option::Option ::windows_sys::core::HRESULT>; diff --git a/crates/libs/sys/src/Windows/Win32/System/Wmi/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Wmi/mod.rs index 993203fe9d..829812ccb6 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Wmi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Wmi/mod.rs @@ -1,74 +1,4 @@ ::windows_targets::link!("mi.dll" "cdecl" fn MI_Application_InitializeV1(flags : u32, applicationid : *const u16, extendederror : *mut *mut MI_Instance, application : *mut MI_Application) -> MI_Result); -pub type IEnumWbemClassObject = *mut ::core::ffi::c_void; -pub type IMofCompiler = *mut ::core::ffi::c_void; -pub type ISWbemDateTime = *mut ::core::ffi::c_void; -pub type ISWbemEventSource = *mut ::core::ffi::c_void; -pub type ISWbemLastError = *mut ::core::ffi::c_void; -pub type ISWbemLocator = *mut ::core::ffi::c_void; -pub type ISWbemMethod = *mut ::core::ffi::c_void; -pub type ISWbemMethodSet = *mut ::core::ffi::c_void; -pub type ISWbemNamedValue = *mut ::core::ffi::c_void; -pub type ISWbemNamedValueSet = *mut ::core::ffi::c_void; -pub type ISWbemObject = *mut ::core::ffi::c_void; -pub type ISWbemObjectEx = *mut ::core::ffi::c_void; -pub type ISWbemObjectPath = *mut ::core::ffi::c_void; -pub type ISWbemObjectSet = *mut ::core::ffi::c_void; -pub type ISWbemPrivilege = *mut ::core::ffi::c_void; -pub type ISWbemPrivilegeSet = *mut ::core::ffi::c_void; -pub type ISWbemProperty = *mut ::core::ffi::c_void; -pub type ISWbemPropertySet = *mut ::core::ffi::c_void; -pub type ISWbemQualifier = *mut ::core::ffi::c_void; -pub type ISWbemQualifierSet = *mut ::core::ffi::c_void; -pub type ISWbemRefreshableItem = *mut ::core::ffi::c_void; -pub type ISWbemRefresher = *mut ::core::ffi::c_void; -pub type ISWbemSecurity = *mut ::core::ffi::c_void; -pub type ISWbemServices = *mut ::core::ffi::c_void; -pub type ISWbemServicesEx = *mut ::core::ffi::c_void; -pub type ISWbemSink = *mut ::core::ffi::c_void; -pub type ISWbemSinkEvents = *mut ::core::ffi::c_void; -pub type IUnsecuredApartment = *mut ::core::ffi::c_void; -pub type IWMIExtension = *mut ::core::ffi::c_void; -pub type IWbemAddressResolution = *mut ::core::ffi::c_void; -pub type IWbemBackupRestore = *mut ::core::ffi::c_void; -pub type IWbemBackupRestoreEx = *mut ::core::ffi::c_void; -pub type IWbemCallResult = *mut ::core::ffi::c_void; -pub type IWbemClassObject = *mut ::core::ffi::c_void; -pub type IWbemClientConnectionTransport = *mut ::core::ffi::c_void; -pub type IWbemClientTransport = *mut ::core::ffi::c_void; -pub type IWbemConfigureRefresher = *mut ::core::ffi::c_void; -pub type IWbemConnectorLogin = *mut ::core::ffi::c_void; -pub type IWbemConstructClassObject = *mut ::core::ffi::c_void; -pub type IWbemContext = *mut ::core::ffi::c_void; -pub type IWbemDecoupledBasicEventProvider = *mut ::core::ffi::c_void; -pub type IWbemDecoupledRegistrar = *mut ::core::ffi::c_void; -pub type IWbemEventConsumerProvider = *mut ::core::ffi::c_void; -pub type IWbemEventProvider = *mut ::core::ffi::c_void; -pub type IWbemEventProviderQuerySink = *mut ::core::ffi::c_void; -pub type IWbemEventProviderSecurity = *mut ::core::ffi::c_void; -pub type IWbemEventSink = *mut ::core::ffi::c_void; -pub type IWbemHiPerfEnum = *mut ::core::ffi::c_void; -pub type IWbemHiPerfProvider = *mut ::core::ffi::c_void; -pub type IWbemLevel1Login = *mut ::core::ffi::c_void; -pub type IWbemLocator = *mut ::core::ffi::c_void; -pub type IWbemObjectAccess = *mut ::core::ffi::c_void; -pub type IWbemObjectSink = *mut ::core::ffi::c_void; -pub type IWbemObjectSinkEx = *mut ::core::ffi::c_void; -pub type IWbemObjectTextSrc = *mut ::core::ffi::c_void; -pub type IWbemPath = *mut ::core::ffi::c_void; -pub type IWbemPathKeyList = *mut ::core::ffi::c_void; -pub type IWbemPropertyProvider = *mut ::core::ffi::c_void; -pub type IWbemProviderIdentity = *mut ::core::ffi::c_void; -pub type IWbemProviderInit = *mut ::core::ffi::c_void; -pub type IWbemProviderInitSink = *mut ::core::ffi::c_void; -pub type IWbemQualifierSet = *mut ::core::ffi::c_void; -pub type IWbemQuery = *mut ::core::ffi::c_void; -pub type IWbemRefresher = *mut ::core::ffi::c_void; -pub type IWbemServices = *mut ::core::ffi::c_void; -pub type IWbemShutdown = *mut ::core::ffi::c_void; -pub type IWbemStatusCodeText = *mut ::core::ffi::c_void; -pub type IWbemTransport = *mut ::core::ffi::c_void; -pub type IWbemUnboundObjectSink = *mut ::core::ffi::c_void; -pub type IWbemUnsecuredApartment = *mut ::core::ffi::c_void; pub const CIM_BOOLEAN: CIMTYPE_ENUMERATION = 11i32; pub const CIM_CHAR16: CIMTYPE_ENUMERATION = 103i32; pub const CIM_DATETIME: CIMTYPE_ENUMERATION = 101i32; @@ -3177,7 +3107,7 @@ pub struct SWbemAssocQueryInf { pub m_uVersion: u32, pub m_uAnalysisType: u32, pub m_uFeatureMask: u32, - pub m_pPath: IWbemPath, + pub m_pPath: *mut ::core::ffi::c_void, pub m_pszPath: ::windows_sys::core::PWSTR, pub m_pszQueryText: ::windows_sys::core::PWSTR, pub m_pszResultClass: ::windows_sys::core::PWSTR, diff --git a/crates/libs/sys/src/Windows/Win32/UI/Accessibility/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Accessibility/mod.rs index 69d1f0d919..348d3cf020 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Accessibility/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Accessibility/mod.rs @@ -1,11 +1,11 @@ ::windows_targets::link!("oleacc.dll" "system" fn AccNotifyTouchInteraction(hwndapp : super::super::Foundation:: HWND, hwndtarget : super::super::Foundation:: HWND, pttarget : super::super::Foundation:: POINT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleacc.dll" "system" fn AccSetRunningUtilityState(hwndapp : super::super::Foundation:: HWND, dwutilitystatemask : u32, dwutilitystate : ACC_UTILITY_STATE_FLAGS) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("oleacc.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn AccessibleChildren(pacccontainer : IAccessible, ichildstart : i32, cchildren : i32, rgvarchildren : *mut super::super::System::Variant:: VARIANT, pcobtained : *mut i32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("oleacc.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn AccessibleObjectFromEvent(hwnd : super::super::Foundation:: HWND, dwid : u32, dwchildid : u32, ppacc : *mut IAccessible, pvarchild : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("oleacc.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn AccessibleObjectFromPoint(ptscreen : super::super::Foundation:: POINT, ppacc : *mut IAccessible, pvarchild : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("oleacc.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn AccessibleChildren(pacccontainer : * mut::core::ffi::c_void, ichildstart : i32, cchildren : i32, rgvarchildren : *mut super::super::System::Variant:: VARIANT, pcobtained : *mut i32) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("oleacc.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn AccessibleObjectFromEvent(hwnd : super::super::Foundation:: HWND, dwid : u32, dwchildid : u32, ppacc : *mut * mut::core::ffi::c_void, pvarchild : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("oleacc.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn AccessibleObjectFromPoint(ptscreen : super::super::Foundation:: POINT, ppacc : *mut * mut::core::ffi::c_void, pvarchild : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleacc.dll" "system" fn AccessibleObjectFromWindow(hwnd : super::super::Foundation:: HWND, dwid : u32, riid : *const ::windows_sys::core::GUID, ppvobject : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleacc.dll" "system" fn CreateStdAccessibleObject(hwnd : super::super::Foundation:: HWND, idobject : i32, riid : *const ::windows_sys::core::GUID, ppvobject : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleacc.dll" "system" fn CreateStdAccessibleProxyA(hwnd : super::super::Foundation:: HWND, pclassname : ::windows_sys::core::PCSTR, idobject : i32, riid : *const ::windows_sys::core::GUID, ppvobject : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); @@ -21,11 +21,10 @@ ::windows_targets::link!("uiautomationcore.dll" "system" fn GridPattern_GetItem(hobj : HUIAPATTERNOBJECT, row : i32, column : i32, presult : *mut HUIANODE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn InvokePattern_Invoke(hobj : HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("user32.dll" "system" fn IsWinEventHookInstalled(event : u32) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn ItemContainerPattern_FindItemByProperty(hobj : HUIAPATTERNOBJECT, hnodestartafter : HUIANODE, propertyid : i32, value : super::super::System::Variant:: VARIANT, pfound : *mut HUIANODE) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn ItemContainerPattern_FindItemByProperty(hobj : HUIAPATTERNOBJECT, hnodestartafter : HUIANODE, propertyid : i32, value : super::super::System::Variant:: VARIANT, pfound : *mut HUIANODE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn LegacyIAccessiblePattern_DoDefaultAction(hobj : HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn LegacyIAccessiblePattern_GetIAccessible(hobj : HUIAPATTERNOBJECT, paccessible : *mut IAccessible) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("uiautomationcore.dll" "system" fn LegacyIAccessiblePattern_GetIAccessible(hobj : HUIAPATTERNOBJECT, paccessible : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn LegacyIAccessiblePattern_Select(hobj : HUIAPATTERNOBJECT, flagsselect : i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn LegacyIAccessiblePattern_SetValue(hobj : HUIAPATTERNOBJECT, szvalue : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleacc.dll" "system" fn LresultFromObject(riid : *const ::windows_sys::core::GUID, wparam : super::super::Foundation:: WPARAM, punk : ::windows_sys::core::IUnknown) -> super::super::Foundation:: LRESULT); @@ -60,11 +59,11 @@ ::windows_targets::link!("uiautomationcore.dll" "system" fn TextRange_Compare(hobj : HUIATEXTRANGE, range : HUIATEXTRANGE, pretval : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn TextRange_CompareEndpoints(hobj : HUIATEXTRANGE, endpoint : TextPatternRangeEndpoint, targetrange : HUIATEXTRANGE, targetendpoint : TextPatternRangeEndpoint, pretval : *mut i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn TextRange_ExpandToEnclosingUnit(hobj : HUIATEXTRANGE, unit : TextUnit) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn TextRange_FindAttribute(hobj : HUIATEXTRANGE, attributeid : i32, val : super::super::System::Variant:: VARIANT, backward : super::super::Foundation:: BOOL, pretval : *mut HUIATEXTRANGE) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn TextRange_FindAttribute(hobj : HUIATEXTRANGE, attributeid : i32, val : super::super::System::Variant:: VARIANT, backward : super::super::Foundation:: BOOL, pretval : *mut HUIATEXTRANGE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn TextRange_FindText(hobj : HUIATEXTRANGE, text : ::windows_sys::core::BSTR, backward : super::super::Foundation:: BOOL, ignorecase : super::super::Foundation:: BOOL, pretval : *mut HUIATEXTRANGE) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn TextRange_GetAttributeValue(hobj : HUIATEXTRANGE, attributeid : i32, pretval : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn TextRange_GetAttributeValue(hobj : HUIATEXTRANGE, attributeid : i32, pretval : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn TextRange_GetBoundingRectangles(hobj : HUIATEXTRANGE, pretval : *mut *mut super::super::System::Com:: SAFEARRAY) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] @@ -85,15 +84,15 @@ ::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn UiaAddEvent(hnode : HUIANODE, eventid : i32, pcallback : *mut UiaEventCallback, scope : TreeScope, pproperties : *mut i32, cproperties : i32, prequest : *mut UiaCacheRequest, phevent : *mut HUIAEVENT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaClientsAreListening() -> super::super::Foundation:: BOOL); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaDisconnectAllProviders() -> ::windows_sys::core::HRESULT); -::windows_targets::link!("uiautomationcore.dll" "system" fn UiaDisconnectProvider(pprovider : IRawElementProviderSimple) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("uiautomationcore.dll" "system" fn UiaDisconnectProvider(pprovider : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaEventAddWindow(hevent : HUIAEVENT, hwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaEventRemoveWindow(hevent : HUIAEVENT, hwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn UiaFind(hnode : HUIANODE, pparams : *mut UiaFindParams, prequest : *mut UiaCacheRequest, pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY, ppoffsets : *mut *mut super::super::System::Com:: SAFEARRAY, pptreestructures : *mut *mut super::super::System::Com:: SAFEARRAY) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaGetErrorDescription(pdescription : *mut ::windows_sys::core::BSTR) -> super::super::Foundation:: BOOL); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaGetPatternProvider(hnode : HUIANODE, patternid : i32, phobj : *mut HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn UiaGetPropertyValue(hnode : HUIANODE, propertyid : i32, pvalue : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn UiaGetPropertyValue(hnode : HUIANODE, propertyid : i32, pvalue : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaGetReservedMixedAttributeValue(punkmixedattributevalue : *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaGetReservedNotSupportedValue(punknotsupportedvalue : *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaGetRootNode(phnode : *mut HUIANODE) -> ::windows_sys::core::HRESULT); @@ -101,16 +100,16 @@ ::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn UiaGetRuntimeId(hnode : HUIANODE, pruntimeid : *mut *mut super::super::System::Com:: SAFEARRAY) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn UiaGetUpdatedCache(hnode : HUIANODE, prequest : *mut UiaCacheRequest, normalizestate : NormalizeState, pnormalizecondition : *mut UiaCondition, pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY, pptreestructure : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn UiaHPatternObjectFromVariant(pvar : *mut super::super::System::Variant:: VARIANT, phobj : *mut HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn UiaHTextRangeFromVariant(pvar : *mut super::super::System::Variant:: VARIANT, phtextrange : *mut HUIATEXTRANGE) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn UiaHUiaNodeFromVariant(pvar : *mut super::super::System::Variant:: VARIANT, phnode : *mut HUIANODE) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn UiaHPatternObjectFromVariant(pvar : *mut super::super::System::Variant:: VARIANT, phobj : *mut HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn UiaHTextRangeFromVariant(pvar : *mut super::super::System::Variant:: VARIANT, phtextrange : *mut HUIATEXTRANGE) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn UiaHUiaNodeFromVariant(pvar : *mut super::super::System::Variant:: VARIANT, phnode : *mut HUIANODE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaHasServerSideProvider(hwnd : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL); -::windows_targets::link!("uiautomationcore.dll" "system" fn UiaHostProviderFromHwnd(hwnd : super::super::Foundation:: HWND, ppprovider : *mut IRawElementProviderSimple) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn UiaIAccessibleFromProvider(pprovider : IRawElementProviderSimple, dwflags : u32, ppaccessible : *mut IAccessible, pvarchild : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("uiautomationcore.dll" "system" fn UiaHostProviderFromHwnd(hwnd : super::super::Foundation:: HWND, ppprovider : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn UiaIAccessibleFromProvider(pprovider : * mut::core::ffi::c_void, dwflags : u32, ppaccessible : *mut * mut::core::ffi::c_void, pvarchild : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaLookupId(r#type : AutomationIdentifierType, pguid : *const ::windows_sys::core::GUID) -> i32); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn UiaNavigate(hnode : HUIANODE, direction : NavigateDirection, pcondition : *mut UiaCondition, prequest : *mut UiaCacheRequest, pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY, pptreestructure : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); @@ -119,27 +118,26 @@ ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaNodeFromHandle(hwnd : super::super::Foundation:: HWND, phnode : *mut HUIANODE) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn UiaNodeFromPoint(x : f64, y : f64, prequest : *mut UiaCacheRequest, pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY, pptreestructure : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("uiautomationcore.dll" "system" fn UiaNodeFromProvider(pprovider : IRawElementProviderSimple, phnode : *mut HUIANODE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("uiautomationcore.dll" "system" fn UiaNodeFromProvider(pprovider : * mut::core::ffi::c_void, phnode : *mut HUIANODE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaNodeRelease(hnode : HUIANODE) -> super::super::Foundation:: BOOL); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaPatternRelease(hobj : HUIAPATTERNOBJECT) -> super::super::Foundation:: BOOL); -::windows_targets::link!("uiautomationcore.dll" "system" fn UiaProviderForNonClient(hwnd : super::super::Foundation:: HWND, idobject : i32, idchild : i32, ppprovider : *mut IRawElementProviderSimple) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn UiaProviderFromIAccessible(paccessible : IAccessible, idchild : i32, dwflags : u32, ppprovider : *mut IRawElementProviderSimple) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("uiautomationcore.dll" "system" fn UiaRaiseActiveTextPositionChangedEvent(provider : IRawElementProviderSimple, textrange : ITextRangeProvider) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("uiautomationcore.dll" "system" fn UiaRaiseAsyncContentLoadedEvent(pprovider : IRawElementProviderSimple, asynccontentloadedstate : AsyncContentLoadedState, percentcomplete : f64) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("uiautomationcore.dll" "system" fn UiaRaiseAutomationEvent(pprovider : IRawElementProviderSimple, id : UIA_EVENT_ID) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn UiaRaiseAutomationPropertyChangedEvent(pprovider : IRawElementProviderSimple, id : UIA_PROPERTY_ID, oldvalue : super::super::System::Variant:: VARIANT, newvalue : super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn UiaRaiseChangesEvent(pprovider : IRawElementProviderSimple, eventidcount : i32, puiachanges : *mut UiaChangeInfo) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("uiautomationcore.dll" "system" fn UiaRaiseNotificationEvent(provider : IRawElementProviderSimple, notificationkind : NotificationKind, notificationprocessing : NotificationProcessing, displaystring : ::windows_sys::core::BSTR, activityid : ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("uiautomationcore.dll" "system" fn UiaRaiseStructureChangedEvent(pprovider : IRawElementProviderSimple, structurechangetype : StructureChangeType, pruntimeid : *mut i32, cruntimeidlen : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("uiautomationcore.dll" "system" fn UiaProviderForNonClient(hwnd : super::super::Foundation:: HWND, idobject : i32, idchild : i32, ppprovider : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("uiautomationcore.dll" "system" fn UiaProviderFromIAccessible(paccessible : * mut::core::ffi::c_void, idchild : i32, dwflags : u32, ppprovider : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("uiautomationcore.dll" "system" fn UiaRaiseActiveTextPositionChangedEvent(provider : * mut::core::ffi::c_void, textrange : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("uiautomationcore.dll" "system" fn UiaRaiseAsyncContentLoadedEvent(pprovider : * mut::core::ffi::c_void, asynccontentloadedstate : AsyncContentLoadedState, percentcomplete : f64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("uiautomationcore.dll" "system" fn UiaRaiseAutomationEvent(pprovider : * mut::core::ffi::c_void, id : UIA_EVENT_ID) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn UiaRaiseAutomationPropertyChangedEvent(pprovider : * mut::core::ffi::c_void, id : UIA_PROPERTY_ID, oldvalue : super::super::System::Variant:: VARIANT, newvalue : super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn UiaRaiseChangesEvent(pprovider : * mut::core::ffi::c_void, eventidcount : i32, puiachanges : *mut UiaChangeInfo) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("uiautomationcore.dll" "system" fn UiaRaiseNotificationEvent(provider : * mut::core::ffi::c_void, notificationkind : NotificationKind, notificationprocessing : NotificationProcessing, displaystring : ::windows_sys::core::BSTR, activityid : ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("uiautomationcore.dll" "system" fn UiaRaiseStructureChangedEvent(pprovider : * mut::core::ffi::c_void, structurechangetype : StructureChangeType, pruntimeid : *mut i32, cruntimeidlen : i32) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn UiaRaiseTextEditTextChangedEvent(pprovider : IRawElementProviderSimple, texteditchangetype : TextEditChangeType, pchangeddata : *mut super::super::System::Com:: SAFEARRAY) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn UiaRaiseTextEditTextChangedEvent(pprovider : * mut::core::ffi::c_void, texteditchangetype : TextEditChangeType, pchangeddata : *mut super::super::System::Com:: SAFEARRAY) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("uiautomationcore.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn UiaRegisterProviderCallback(pcallback : *mut UiaProviderCallback)); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaRemoveEvent(hevent : HUIAEVENT) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("uiautomationcore.dll" "system" fn UiaReturnRawElementProvider(hwnd : super::super::Foundation:: HWND, wparam : super::super::Foundation:: WPARAM, lparam : super::super::Foundation:: LPARAM, el : IRawElementProviderSimple) -> super::super::Foundation:: LRESULT); +::windows_targets::link!("uiautomationcore.dll" "system" fn UiaReturnRawElementProvider(hwnd : super::super::Foundation:: HWND, wparam : super::super::Foundation:: WPARAM, lparam : super::super::Foundation:: LPARAM, el : * mut::core::ffi::c_void) -> super::super::Foundation:: LRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaSetFocus(hnode : HUIANODE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn UiaTextRangeRelease(hobj : HUIATEXTRANGE) -> super::super::Foundation:: BOOL); ::windows_targets::link!("user32.dll" "system" fn UnhookWinEvent(hwineventhook : HWINEVENTHOOK) -> super::super::Foundation:: BOOL); @@ -149,147 +147,10 @@ ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn UnregisterPointerInputTargetEx(hwnd : super::super::Foundation:: HWND, pointertype : super::WindowsAndMessaging:: POINTER_INPUT_TYPE) -> super::super::Foundation:: BOOL); ::windows_targets::link!("uiautomationcore.dll" "system" fn ValuePattern_SetValue(hobj : HUIAPATTERNOBJECT, pval : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn VirtualizedItemPattern_Realize(hobj : HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleacc.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn WindowFromAccessibleObject(param0 : IAccessible, phwnd : *mut super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleacc.dll" "system" fn WindowFromAccessibleObject(param0 : * mut::core::ffi::c_void, phwnd : *mut super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn WindowPattern_Close(hobj : HUIAPATTERNOBJECT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn WindowPattern_SetWindowVisualState(hobj : HUIAPATTERNOBJECT, state : WindowVisualState) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uiautomationcore.dll" "system" fn WindowPattern_WaitForInputIdle(hobj : HUIAPATTERNOBJECT, milliseconds : i32, presult : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -pub type IAccIdentity = *mut ::core::ffi::c_void; -pub type IAccPropServer = *mut ::core::ffi::c_void; -pub type IAccPropServices = *mut ::core::ffi::c_void; -pub type IAccessible = *mut ::core::ffi::c_void; -pub type IAccessibleEx = *mut ::core::ffi::c_void; -pub type IAccessibleHandler = *mut ::core::ffi::c_void; -pub type IAccessibleHostingElementProviders = *mut ::core::ffi::c_void; -pub type IAccessibleWindowlessSite = *mut ::core::ffi::c_void; -pub type IAnnotationProvider = *mut ::core::ffi::c_void; -pub type ICustomNavigationProvider = *mut ::core::ffi::c_void; -pub type IDockProvider = *mut ::core::ffi::c_void; -pub type IDragProvider = *mut ::core::ffi::c_void; -pub type IDropTargetProvider = *mut ::core::ffi::c_void; -pub type IExpandCollapseProvider = *mut ::core::ffi::c_void; -pub type IGridItemProvider = *mut ::core::ffi::c_void; -pub type IGridProvider = *mut ::core::ffi::c_void; -pub type IInvokeProvider = *mut ::core::ffi::c_void; -pub type IItemContainerProvider = *mut ::core::ffi::c_void; -pub type ILegacyIAccessibleProvider = *mut ::core::ffi::c_void; -pub type IMultipleViewProvider = *mut ::core::ffi::c_void; -pub type IObjectModelProvider = *mut ::core::ffi::c_void; -pub type IProxyProviderWinEventHandler = *mut ::core::ffi::c_void; -pub type IProxyProviderWinEventSink = *mut ::core::ffi::c_void; -pub type IRangeValueProvider = *mut ::core::ffi::c_void; -pub type IRawElementProviderAdviseEvents = *mut ::core::ffi::c_void; -pub type IRawElementProviderFragment = *mut ::core::ffi::c_void; -pub type IRawElementProviderFragmentRoot = *mut ::core::ffi::c_void; -pub type IRawElementProviderHostingAccessibles = *mut ::core::ffi::c_void; -pub type IRawElementProviderHwndOverride = *mut ::core::ffi::c_void; -pub type IRawElementProviderSimple = *mut ::core::ffi::c_void; -pub type IRawElementProviderSimple2 = *mut ::core::ffi::c_void; -pub type IRawElementProviderSimple3 = *mut ::core::ffi::c_void; -pub type IRawElementProviderWindowlessSite = *mut ::core::ffi::c_void; -pub type IRichEditUiaInformation = *mut ::core::ffi::c_void; -pub type IRicheditWindowlessAccessibility = *mut ::core::ffi::c_void; -pub type IScrollItemProvider = *mut ::core::ffi::c_void; -pub type IScrollProvider = *mut ::core::ffi::c_void; -pub type ISelectionItemProvider = *mut ::core::ffi::c_void; -pub type ISelectionProvider = *mut ::core::ffi::c_void; -pub type ISelectionProvider2 = *mut ::core::ffi::c_void; -pub type ISpreadsheetItemProvider = *mut ::core::ffi::c_void; -pub type ISpreadsheetProvider = *mut ::core::ffi::c_void; -pub type IStylesProvider = *mut ::core::ffi::c_void; -pub type ISynchronizedInputProvider = *mut ::core::ffi::c_void; -pub type ITableItemProvider = *mut ::core::ffi::c_void; -pub type ITableProvider = *mut ::core::ffi::c_void; -pub type ITextChildProvider = *mut ::core::ffi::c_void; -pub type ITextEditProvider = *mut ::core::ffi::c_void; -pub type ITextProvider = *mut ::core::ffi::c_void; -pub type ITextProvider2 = *mut ::core::ffi::c_void; -pub type ITextRangeProvider = *mut ::core::ffi::c_void; -pub type ITextRangeProvider2 = *mut ::core::ffi::c_void; -pub type IToggleProvider = *mut ::core::ffi::c_void; -pub type ITransformProvider = *mut ::core::ffi::c_void; -pub type ITransformProvider2 = *mut ::core::ffi::c_void; -pub type IUIAutomation = *mut ::core::ffi::c_void; -pub type IUIAutomation2 = *mut ::core::ffi::c_void; -pub type IUIAutomation3 = *mut ::core::ffi::c_void; -pub type IUIAutomation4 = *mut ::core::ffi::c_void; -pub type IUIAutomation5 = *mut ::core::ffi::c_void; -pub type IUIAutomation6 = *mut ::core::ffi::c_void; -pub type IUIAutomationActiveTextPositionChangedEventHandler = *mut ::core::ffi::c_void; -pub type IUIAutomationAndCondition = *mut ::core::ffi::c_void; -pub type IUIAutomationAnnotationPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationBoolCondition = *mut ::core::ffi::c_void; -pub type IUIAutomationCacheRequest = *mut ::core::ffi::c_void; -pub type IUIAutomationChangesEventHandler = *mut ::core::ffi::c_void; -pub type IUIAutomationCondition = *mut ::core::ffi::c_void; -pub type IUIAutomationCustomNavigationPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationDockPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationDragPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationDropTargetPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationElement = *mut ::core::ffi::c_void; -pub type IUIAutomationElement2 = *mut ::core::ffi::c_void; -pub type IUIAutomationElement3 = *mut ::core::ffi::c_void; -pub type IUIAutomationElement4 = *mut ::core::ffi::c_void; -pub type IUIAutomationElement5 = *mut ::core::ffi::c_void; -pub type IUIAutomationElement6 = *mut ::core::ffi::c_void; -pub type IUIAutomationElement7 = *mut ::core::ffi::c_void; -pub type IUIAutomationElement8 = *mut ::core::ffi::c_void; -pub type IUIAutomationElement9 = *mut ::core::ffi::c_void; -pub type IUIAutomationElementArray = *mut ::core::ffi::c_void; -pub type IUIAutomationEventHandler = *mut ::core::ffi::c_void; -pub type IUIAutomationEventHandlerGroup = *mut ::core::ffi::c_void; -pub type IUIAutomationExpandCollapsePattern = *mut ::core::ffi::c_void; -pub type IUIAutomationFocusChangedEventHandler = *mut ::core::ffi::c_void; -pub type IUIAutomationGridItemPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationGridPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationInvokePattern = *mut ::core::ffi::c_void; -pub type IUIAutomationItemContainerPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationLegacyIAccessiblePattern = *mut ::core::ffi::c_void; -pub type IUIAutomationMultipleViewPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationNotCondition = *mut ::core::ffi::c_void; -pub type IUIAutomationNotificationEventHandler = *mut ::core::ffi::c_void; -pub type IUIAutomationObjectModelPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationOrCondition = *mut ::core::ffi::c_void; -pub type IUIAutomationPatternHandler = *mut ::core::ffi::c_void; -pub type IUIAutomationPatternInstance = *mut ::core::ffi::c_void; -pub type IUIAutomationPropertyChangedEventHandler = *mut ::core::ffi::c_void; -pub type IUIAutomationPropertyCondition = *mut ::core::ffi::c_void; -pub type IUIAutomationProxyFactory = *mut ::core::ffi::c_void; -pub type IUIAutomationProxyFactoryEntry = *mut ::core::ffi::c_void; -pub type IUIAutomationProxyFactoryMapping = *mut ::core::ffi::c_void; -pub type IUIAutomationRangeValuePattern = *mut ::core::ffi::c_void; -pub type IUIAutomationRegistrar = *mut ::core::ffi::c_void; -pub type IUIAutomationScrollItemPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationScrollPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationSelectionItemPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationSelectionPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationSelectionPattern2 = *mut ::core::ffi::c_void; -pub type IUIAutomationSpreadsheetItemPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationSpreadsheetPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationStructureChangedEventHandler = *mut ::core::ffi::c_void; -pub type IUIAutomationStylesPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationSynchronizedInputPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationTableItemPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationTablePattern = *mut ::core::ffi::c_void; -pub type IUIAutomationTextChildPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationTextEditPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationTextEditTextChangedEventHandler = *mut ::core::ffi::c_void; -pub type IUIAutomationTextPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationTextPattern2 = *mut ::core::ffi::c_void; -pub type IUIAutomationTextRange = *mut ::core::ffi::c_void; -pub type IUIAutomationTextRange2 = *mut ::core::ffi::c_void; -pub type IUIAutomationTextRange3 = *mut ::core::ffi::c_void; -pub type IUIAutomationTextRangeArray = *mut ::core::ffi::c_void; -pub type IUIAutomationTogglePattern = *mut ::core::ffi::c_void; -pub type IUIAutomationTransformPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationTransformPattern2 = *mut ::core::ffi::c_void; -pub type IUIAutomationTreeWalker = *mut ::core::ffi::c_void; -pub type IUIAutomationValuePattern = *mut ::core::ffi::c_void; -pub type IUIAutomationVirtualizedItemPattern = *mut ::core::ffi::c_void; -pub type IUIAutomationWindowPattern = *mut ::core::ffi::c_void; -pub type IValueProvider = *mut ::core::ffi::c_void; -pub type IVirtualizedItemProvider = *mut ::core::ffi::c_void; -pub type IWindowProvider = *mut ::core::ffi::c_void; pub const ANNO_CONTAINER: AnnoScope = 1i32; pub const ANNO_THIS: AnnoScope = 0i32; pub const ANRUS_ON_SCREEN_KEYBOARD_ACTIVE: ACC_UTILITY_STATE_FLAGS = 1u32; @@ -1855,7 +1716,7 @@ pub struct UIAutomationPatternInfo { pub pMethods: *mut UIAutomationMethodInfo, pub cEvents: u32, pub pEvents: *mut UIAutomationEventInfo, - pub pPatternHandler: IUIAutomationPatternHandler, + pub pPatternHandler: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for UIAutomationPatternInfo {} impl ::core::clone::Clone for UIAutomationPatternInfo { @@ -1917,33 +1778,33 @@ impl ::core::clone::Clone for UiaCacheRequest { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct UiaChangeInfo { pub uiaId: i32, pub payload: super::super::System::Variant::VARIANT, pub extraInfo: super::super::System::Variant::VARIANT, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for UiaChangeInfo {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for UiaChangeInfo { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct UiaChangesEventArgs { pub Type: EventArgsType, pub EventId: i32, pub EventIdCount: i32, pub pUiaChanges: *mut UiaChangeInfo, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for UiaChangesEventArgs {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for UiaChangesEventArgs { fn clone(&self) -> Self { *self @@ -2006,8 +1867,8 @@ impl ::core::clone::Clone for UiaPoint { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct UiaPropertyChangedEventArgs { pub Type: EventArgsType, pub EventId: UIA_EVENT_ID, @@ -2015,26 +1876,26 @@ pub struct UiaPropertyChangedEventArgs { pub OldValue: super::super::System::Variant::VARIANT, pub NewValue: super::super::System::Variant::VARIANT, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for UiaPropertyChangedEventArgs {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for UiaPropertyChangedEventArgs { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct UiaPropertyCondition { pub ConditionType: ConditionType, pub PropertyId: UIA_PROPERTY_ID, pub Value: super::super::System::Variant::VARIANT, pub Flags: PropertyConditionFlags, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for UiaPropertyCondition {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for UiaPropertyCondition { fn clone(&self) -> Self { *self @@ -2097,12 +1958,12 @@ impl ::core::clone::Clone for UiaWindowClosedEventArgs { *self } } -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -pub type LPFNACCESSIBLECHILDREN = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -pub type LPFNACCESSIBLEOBJECTFROMPOINT = ::core::option::Option ::windows_sys::core::HRESULT>; +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +pub type LPFNACCESSIBLECHILDREN = ::core::option::Option ::windows_sys::core::HRESULT>; +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +pub type LPFNACCESSIBLEOBJECTFROMPOINT = ::core::option::Option ::windows_sys::core::HRESULT>; pub type LPFNACCESSIBLEOBJECTFROMWINDOW = ::core::option::Option ::windows_sys::core::HRESULT>; pub type LPFNCREATESTDACCESSIBLEOBJECT = ::core::option::Option ::windows_sys::core::HRESULT>; pub type LPFNLRESULTFROMOBJECT = ::core::option::Option super::super::Foundation::LRESULT>; diff --git a/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs index 72608de763..0d0d81c730 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs @@ -152,8 +152,6 @@ ::windows_targets::link!("mscms.dll" "system" fn WcsSetDefaultRenderingIntent(scope : WCS_PROFILE_MANAGEMENT_SCOPE, dwrenderingintent : u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("mscms.dll" "system" fn WcsSetUsePerUserProfiles(pdevicename : ::windows_sys::core::PCWSTR, dwdeviceclass : u32, useperuserprofiles : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); ::windows_targets::link!("mscms.dll" "system" fn WcsTranslateColors(hcolortransform : isize, ncolors : u32, ninputchannels : u32, cdtinput : COLORDATATYPE, cbinput : u32, pinputdata : *const ::core::ffi::c_void, noutputchannels : u32, cdtoutput : COLORDATATYPE, cboutput : u32, poutputdata : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -pub type IDeviceModelPlugIn = *mut ::core::ffi::c_void; -pub type IGamutMapModelPlugIn = *mut ::core::ffi::c_void; pub const ATTRIB_MATTE: u32 = 2u32; pub const ATTRIB_TRANSPARENCY: u32 = 1u32; pub const BEST_MODE: u32 = 3u32; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs index ccc9b482bf..d1e271f96f 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs @@ -25,8 +25,6 @@ ::windows_targets::link!("comdlg32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn PrintDlgW(ppd : *mut PRINTDLGW) -> super::super::super::Foundation:: BOOL); ::windows_targets::link!("comdlg32.dll" "system" fn ReplaceTextA(param0 : *mut FINDREPLACEA) -> super::super::super::Foundation:: HWND); ::windows_targets::link!("comdlg32.dll" "system" fn ReplaceTextW(param0 : *mut FINDREPLACEW) -> super::super::super::Foundation:: HWND); -pub type IPrintDialogCallback = *mut ::core::ffi::c_void; -pub type IPrintDialogServices = *mut ::core::ffi::c_void; pub const BOLD_FONTTYPE: CHOOSEFONT_FONT_TYPE = 256u16; pub const CCERR_CHOOSECOLORCODES: COMMON_DLG_ERRORS = 20480u32; pub const CC_ANYCOLOR: CHOOSECOLOR_FLAGS = 256u32; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs index eb653009fb..6691bf6eb4 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs @@ -41,11 +41,9 @@ pub mod Dialogs; ::windows_targets::link!("comctl32.dll" "system" fn DPA_GetSize(hdpa : HDPA) -> u64); ::windows_targets::link!("comctl32.dll" "system" fn DPA_Grow(pdpa : HDPA, cp : i32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("comctl32.dll" "system" fn DPA_InsertPtr(hdpa : HDPA, i : i32, p : *const ::core::ffi::c_void) -> i32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("comctl32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn DPA_LoadStream(phdpa : *mut HDPA, pfn : PFNDPASTREAM, pstream : super::super::System::Com:: IStream, pvinstdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("comctl32.dll" "system" fn DPA_LoadStream(phdpa : *mut HDPA, pfn : PFNDPASTREAM, pstream : * mut::core::ffi::c_void, pvinstdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("comctl32.dll" "system" fn DPA_Merge(hdpadest : HDPA, hdpasrc : HDPA, dwflags : u32, pfncompare : PFNDACOMPARE, pfnmerge : PFNDPAMERGE, lparam : super::super::Foundation:: LPARAM) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("comctl32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn DPA_SaveStream(hdpa : HDPA, pfn : PFNDPASTREAM, pstream : super::super::System::Com:: IStream, pvinstdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("comctl32.dll" "system" fn DPA_SaveStream(hdpa : HDPA, pfn : PFNDPASTREAM, pstream : * mut::core::ffi::c_void, pvinstdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("comctl32.dll" "system" fn DPA_Search(hdpa : HDPA, pfind : *const ::core::ffi::c_void, istart : i32, pfncompare : PFNDACOMPARE, lparam : super::super::Foundation:: LPARAM, options : u32) -> i32); ::windows_targets::link!("comctl32.dll" "system" fn DPA_SetPtr(hdpa : HDPA, i : i32, p : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); ::windows_targets::link!("comctl32.dll" "system" fn DPA_Sort(hdpa : HDPA, pfncompare : PFNDACOMPARE, lparam : super::super::Foundation:: LPARAM) -> super::super::Foundation:: BOOL); @@ -217,10 +215,8 @@ pub mod Dialogs; #[cfg(feature = "Win32_UI_WindowsAndMessaging")] ::windows_targets::link!("comctl32.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn ImageList_LoadImageW(hi : super::super::Foundation:: HINSTANCE, lpbmp : ::windows_sys::core::PCWSTR, cx : i32, cgrow : i32, crmask : super::super::Foundation:: COLORREF, utype : u32, uflags : super::WindowsAndMessaging:: IMAGE_FLAGS) -> HIMAGELIST); ::windows_targets::link!("comctl32.dll" "system" fn ImageList_Merge(himl1 : HIMAGELIST, i1 : i32, himl2 : HIMAGELIST, i2 : i32, dx : i32, dy : i32) -> HIMAGELIST); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("comctl32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn ImageList_Read(pstm : super::super::System::Com:: IStream) -> HIMAGELIST); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("comctl32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn ImageList_ReadEx(dwflags : u32, pstm : super::super::System::Com:: IStream, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("comctl32.dll" "system" fn ImageList_Read(pstm : * mut::core::ffi::c_void) -> HIMAGELIST); +::windows_targets::link!("comctl32.dll" "system" fn ImageList_ReadEx(dwflags : u32, pstm : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("comctl32.dll" "system" fn ImageList_Remove(himl : HIMAGELIST, i : i32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("comctl32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn ImageList_Replace(himl : HIMAGELIST, i : i32, hbmimage : super::super::Graphics::Gdi:: HBITMAP, hbmmask : super::super::Graphics::Gdi:: HBITMAP) -> super::super::Foundation:: BOOL); @@ -231,10 +227,8 @@ pub mod Dialogs; ::windows_targets::link!("comctl32.dll" "system" fn ImageList_SetIconSize(himl : HIMAGELIST, cx : i32, cy : i32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("comctl32.dll" "system" fn ImageList_SetImageCount(himl : HIMAGELIST, unewcount : u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("comctl32.dll" "system" fn ImageList_SetOverlayImage(himl : HIMAGELIST, iimage : i32, ioverlay : i32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("comctl32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn ImageList_Write(himl : HIMAGELIST, pstm : super::super::System::Com:: IStream) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("comctl32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn ImageList_WriteEx(himl : HIMAGELIST, dwflags : IMAGE_LIST_WRITE_STREAM_FLAGS, pstm : super::super::System::Com:: IStream) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("comctl32.dll" "system" fn ImageList_Write(himl : HIMAGELIST, pstm : * mut::core::ffi::c_void) -> super::super::Foundation:: BOOL); +::windows_targets::link!("comctl32.dll" "system" fn ImageList_WriteEx(himl : HIMAGELIST, dwflags : IMAGE_LIST_WRITE_STREAM_FLAGS, pstm : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("comctl32.dll" "system" fn InitCommonControls()); ::windows_targets::link!("comctl32.dll" "system" fn InitCommonControlsEx(picce : *const INITCOMMONCONTROLSEX) -> super::super::Foundation:: BOOL); ::windows_targets::link!("comctl32.dll" "system" fn InitMUILanguage(uilang : u16)); @@ -283,8 +277,6 @@ pub mod Dialogs; ::windows_targets::link!("comctl32.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn TaskDialogIndirect(ptaskconfig : *const TASKDIALOGCONFIG, pnbutton : *mut i32, pnradiobutton : *mut i32, pfverificationflagchecked : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("comctl32.dll" "system" fn UninitializeFlatSB(param0 : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("uxtheme.dll" "system" fn UpdatePanningFeedback(hwnd : super::super::Foundation:: HWND, ltotaloverpanoffsetx : i32, ltotaloverpanoffsety : i32, fininertia : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -pub type IImageList = *mut ::core::ffi::c_void; -pub type IImageList2 = *mut ::core::ffi::c_void; pub const ABS_DOWNDISABLED: ARROWBTNSTATES = 8i32; pub const ABS_DOWNHOT: ARROWBTNSTATES = 6i32; pub const ABS_DOWNHOVER: ARROWBTNSTATES = 18i32; @@ -8784,9 +8776,7 @@ pub type PFNDAENUMCALLBACK = ::core::option::Option i32>; pub type PFNDPAMERGE = ::core::option::Option *mut ::core::ffi::c_void>; pub type PFNDPAMERGECONST = ::core::option::Option *mut ::core::ffi::c_void>; -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] -pub type PFNDPASTREAM = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PFNDPASTREAM = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PFNLVCOMPARE = ::core::option::Option i32>; pub type PFNLVGROUPCOMPARE = ::core::option::Option i32>; pub type PFNPROPSHEETCALLBACK = ::core::option::Option i32>; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Input/Ime/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Input/Ime/mod.rs index 04f093181d..0e205b53ad 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Input/Ime/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Input/Ime/mod.rs @@ -151,23 +151,6 @@ ::windows_targets::link!("imm32.dll" "system" #[doc = "Required features: `\"Win32_UI_TextServices\"`"] fn ImmUnregisterWordA(param0 : super::super::TextServices:: HKL, lpszreading : ::windows_sys::core::PCSTR, param2 : u32, lpszunregister : ::windows_sys::core::PCSTR) -> super::super::super::Foundation:: BOOL); #[cfg(feature = "Win32_UI_TextServices")] ::windows_targets::link!("imm32.dll" "system" #[doc = "Required features: `\"Win32_UI_TextServices\"`"] fn ImmUnregisterWordW(param0 : super::super::TextServices:: HKL, lpszreading : ::windows_sys::core::PCWSTR, param2 : u32, lpszunregister : ::windows_sys::core::PCWSTR) -> super::super::super::Foundation:: BOOL); -pub type IActiveIME = *mut ::core::ffi::c_void; -pub type IActiveIME2 = *mut ::core::ffi::c_void; -pub type IActiveIMMApp = *mut ::core::ffi::c_void; -pub type IActiveIMMIME = *mut ::core::ffi::c_void; -pub type IActiveIMMMessagePumpOwner = *mut ::core::ffi::c_void; -pub type IActiveIMMRegistrar = *mut ::core::ffi::c_void; -pub type IEnumInputContext = *mut ::core::ffi::c_void; -pub type IEnumRegisterWordA = *mut ::core::ffi::c_void; -pub type IEnumRegisterWordW = *mut ::core::ffi::c_void; -pub type IFEClassFactory = *mut ::core::ffi::c_void; -pub type IFECommon = *mut ::core::ffi::c_void; -pub type IFEDictionary = *mut ::core::ffi::c_void; -pub type IFELanguage = *mut ::core::ffi::c_void; -pub type IImePad = *mut ::core::ffi::c_void; -pub type IImePadApplet = *mut ::core::ffi::c_void; -pub type IImePlugInDictDictionaryList = *mut ::core::ffi::c_void; -pub type IImeSpecifyApplets = *mut ::core::ffi::c_void; pub const ATTR_CONVERTED: u32 = 2u32; pub const ATTR_FIXEDCONVERTED: u32 = 5u32; pub const ATTR_INPUT: u32 = 0u32; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Input/Touch/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Input/Touch/mod.rs index 2e437182ea..e9435d4be4 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Input/Touch/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Input/Touch/mod.rs @@ -8,9 +8,6 @@ ::windows_targets::link!("user32.dll" "system" fn RegisterTouchWindow(hwnd : super::super::super::Foundation:: HWND, ulflags : REGISTER_TOUCH_WINDOW_FLAGS) -> super::super::super::Foundation:: BOOL); ::windows_targets::link!("user32.dll" "system" fn SetGestureConfig(hwnd : super::super::super::Foundation:: HWND, dwreserved : u32, cids : u32, pgestureconfig : *const GESTURECONFIG, cbsize : u32) -> super::super::super::Foundation:: BOOL); ::windows_targets::link!("user32.dll" "system" fn UnregisterTouchWindow(hwnd : super::super::super::Foundation:: HWND) -> super::super::super::Foundation:: BOOL); -pub type IInertiaProcessor = *mut ::core::ffi::c_void; -pub type IManipulationProcessor = *mut ::core::ffi::c_void; -pub type _IManipulationEvents = *mut ::core::ffi::c_void; pub const GID_BEGIN: GESTURECONFIG_ID = 1u32; pub const GID_END: GESTURECONFIG_ID = 2u32; pub const GID_PAN: GESTURECONFIG_ID = 4u32; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Shell/Common/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Shell/Common/mod.rs index 41e2f2e8e1..ae81576d07 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Shell/Common/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Shell/Common/mod.rs @@ -1,5 +1,3 @@ -pub type IObjectArray = *mut ::core::ffi::c_void; -pub type IObjectCollection = *mut ::core::ffi::c_void; pub const DEVICE_SCALE_FACTOR_INVALID: DEVICE_SCALE_FACTOR = 0i32; pub const PERCEIVEDFLAG_GDIPLUS: u32 = 16u32; pub const PERCEIVEDFLAG_HARDCODED: u32 = 2u32; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs index e4db820e44..a32236575c 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs @@ -1,14 +1,13 @@ #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn PSCoerceToCanonicalValue(key : *const PROPERTYKEY, ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("propsys.dll" "system" fn PSCreateAdapterFromPropertyStore(pps : IPropertyStore, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("propsys.dll" "system" fn PSCreateDelayedMultiplexPropertyStore(flags : GETPROPERTYSTOREFLAGS, pdpsf : IDelayedPropertyStoreFactory, rgstoreids : *const u32, cstores : u32, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSCreateAdapterFromPropertyStore(pps : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSCreateDelayedMultiplexPropertyStore(flags : GETPROPERTYSTOREFLAGS, pdpsf : * mut::core::ffi::c_void, rgstoreids : *const u32, cstores : u32, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("propsys.dll" "system" fn PSCreateMemoryPropertyStore(riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("propsys.dll" "system" fn PSCreateMultiplexPropertyStore(prgpunkstores : *const ::windows_sys::core::IUnknown, cstores : u32, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn PSCreatePropertyChangeArray(rgpropkey : *const PROPERTYKEY, rgflags : *const PKA_FLAGS, rgpropvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT, cchanges : u32, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("propsys.dll" "system" fn PSCreatePropertyStoreFromObject(punk : ::windows_sys::core::IUnknown, grfmode : u32, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSCreatePropertyStoreFromPropertySetStorage(ppss : super::super::super::System::Com::StructuredStorage:: IPropertySetStorage, grfmode : u32, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSCreatePropertyStoreFromPropertySetStorage(ppss : * mut::core::ffi::c_void, grfmode : u32, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn PSCreateSimplePropertyChange(flags : PKA_FLAGS, key : *const PROPERTYKEY, propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("propsys.dll" "system" fn PSEnumeratePropertyDescriptions(filteron : PROPDESC_ENUMFILTER, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); @@ -16,7 +15,7 @@ ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn PSFormatForDisplay(propkey : *const PROPERTYKEY, propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT, pdfflags : PROPDESC_FORMAT_FLAGS, pwsztext : ::windows_sys::core::PWSTR, cchtext : u32) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn PSFormatForDisplayAlloc(key : *const PROPERTYKEY, propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT, pdff : PROPDESC_FORMAT_FLAGS, ppszdisplay : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("propsys.dll" "system" fn PSFormatPropertyValue(pps : IPropertyStore, ppd : IPropertyDescription, pdff : PROPDESC_FORMAT_FLAGS, ppszdisplay : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSFormatPropertyValue(pps : * mut::core::ffi::c_void, ppd : * mut::core::ffi::c_void, pdff : PROPDESC_FORMAT_FLAGS, ppszdisplay : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn PSGetImageReferenceForValue(propkey : *const PROPERTYKEY, propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT, ppszimageres : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("propsys.dll" "system" fn PSGetItemPropertyHandler(punkitem : ::windows_sys::core::IUnknown, freadwrite : super::super::super::Foundation:: BOOL, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); @@ -32,123 +31,63 @@ ::windows_targets::link!("propsys.dll" "system" fn PSGetPropertyKeyFromName(pszname : ::windows_sys::core::PCWSTR, ppropkey : *mut PROPERTYKEY) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("propsys.dll" "system" fn PSGetPropertySystem(riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn PSGetPropertyValue(pps : IPropertyStore, ppd : IPropertyDescription, ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn PSGetPropertyValue(pps : * mut::core::ffi::c_void, ppd : * mut::core::ffi::c_void, ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("propsys.dll" "system" fn PSLookupPropertyHandlerCLSID(pszfilepath : ::windows_sys::core::PCWSTR, pclsid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_Delete(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadBOOL(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *mut super::super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadBSTR(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadDWORD(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadGUID(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadInt(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *mut i32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadLONG(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *mut i32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadPOINTL(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *mut super::super::super::Foundation:: POINTL) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadPOINTS(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *mut super::super::super::Foundation:: POINTS) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadPropertyKey(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *mut PROPERTYKEY) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadRECTL(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *mut super::super::super::Foundation:: RECTL) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadSHORT(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *mut i16) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadStr(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : ::windows_sys::core::PWSTR, charactercount : i32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadStrAlloc(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadStream(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *mut super::super::super::System::Com:: IStream) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] fn PSPropertyBag_ReadType(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, var : *mut super::super::super::System::Variant:: VARIANT, r#type : super::super::super::System::Variant:: VARENUM) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadULONGLONG(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *mut u64) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_ReadUnknown(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WriteBOOL(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : super::super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WriteBSTR(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WriteDWORD(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WriteGUID(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WriteInt(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : i32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WriteLONG(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : i32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WritePOINTL(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *const super::super::super::Foundation:: POINTL) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WritePOINTS(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *const super::super::super::Foundation:: POINTS) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WritePropertyKey(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *const PROPERTYKEY) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WriteRECTL(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : *const super::super::super::Foundation:: RECTL) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WriteSHORT(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : i16) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WriteStr(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WriteStream(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : super::super::super::System::Com:: IStream) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WriteULONGLONG(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, value : u64) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn PSPropertyBag_WriteUnknown(propbag : super::super::super::System::Com::StructuredStorage:: IPropertyBag, propname : ::windows_sys::core::PCWSTR, punk : ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_Delete(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadBOOL(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *mut super::super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadBSTR(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadDWORD(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadGUID(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadInt(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *mut i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadLONG(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *mut i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadPOINTL(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *mut super::super::super::Foundation:: POINTL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadPOINTS(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *mut super::super::super::Foundation:: POINTS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadPropertyKey(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *mut PROPERTYKEY) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadRECTL(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *mut super::super::super::Foundation:: RECTL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadSHORT(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *mut i16) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadStr(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : ::windows_sys::core::PWSTR, charactercount : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadStrAlloc(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadStream(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] fn PSPropertyBag_ReadType(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, var : *mut super::super::super::System::Variant:: VARIANT, r#type : super::super::super::System::Variant:: VARENUM) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadULONGLONG(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *mut u64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadUnknown(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WriteBOOL(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : super::super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WriteBSTR(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WriteDWORD(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WriteGUID(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WriteInt(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WriteLONG(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WritePOINTL(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *const super::super::super::Foundation:: POINTL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WritePOINTS(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *const super::super::super::Foundation:: POINTS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WritePropertyKey(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *const PROPERTYKEY) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WriteRECTL(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : *const super::super::super::Foundation:: RECTL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WriteSHORT(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : i16) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WriteStr(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WriteStream(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WriteULONGLONG(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, value : u64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WriteUnknown(propbag : * mut::core::ffi::c_void, propname : ::windows_sys::core::PCWSTR, punk : ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("propsys.dll" "system" fn PSPropertyKeyFromString(pszstring : ::windows_sys::core::PCWSTR, pkey : *mut PROPERTYKEY) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("propsys.dll" "system" fn PSRefreshPropertySchema() -> ::windows_sys::core::HRESULT); ::windows_targets::link!("propsys.dll" "system" fn PSRegisterPropertySchema(pszpath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn PSSetPropertyValue(pps : IPropertyStore, ppd : IPropertyDescription, propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn PSSetPropertyValue(pps : * mut::core::ffi::c_void, ppd : * mut::core::ffi::c_void, propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("propsys.dll" "system" fn PSStringFromPropertyKey(pkey : *const PROPERTYKEY, psz : ::windows_sys::core::PWSTR, cch : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("propsys.dll" "system" fn PSUnregisterPropertySchema(pszpath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn PifMgr_CloseProperties(hprops : super::super::super::Foundation:: HANDLE, flopt : u32) -> super::super::super::Foundation:: HANDLE); ::windows_targets::link!("shell32.dll" "system" fn PifMgr_GetProperties(hprops : super::super::super::Foundation:: HANDLE, pszgroup : ::windows_sys::core::PCSTR, lpprops : *mut ::core::ffi::c_void, cbprops : i32, flopt : u32) -> i32); ::windows_targets::link!("shell32.dll" "system" fn PifMgr_OpenProperties(pszapp : ::windows_sys::core::PCWSTR, pszpif : ::windows_sys::core::PCWSTR, hinf : u32, flopt : u32) -> super::super::super::Foundation:: HANDLE); ::windows_targets::link!("shell32.dll" "system" fn PifMgr_SetProperties(hprops : super::super::super::Foundation:: HANDLE, pszgroup : ::windows_sys::core::PCSTR, lpprops : *const ::core::ffi::c_void, cbprops : i32, flopt : u32) -> i32); -::windows_targets::link!("shell32.dll" "system" fn SHAddDefaultPropertiesByExt(pszext : ::windows_sys::core::PCWSTR, ppropstore : IPropertyStore) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHAddDefaultPropertiesByExt(pszext : ::windows_sys::core::PCWSTR, ppropstore : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHGetPropertyStoreForWindow(hwnd : super::super::super::Foundation:: HWND, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHGetPropertyStoreFromIDList(pidl : *const super::Common:: ITEMIDLIST, flags : GETPROPERTYSTOREFLAGS, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHGetPropertyStoreFromParsingName(pszpath : ::windows_sys::core::PCWSTR, pbc : super::super::super::System::Com:: IBindCtx, flags : GETPROPERTYSTOREFLAGS, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn SHPropStgCreate(psstg : super::super::super::System::Com::StructuredStorage:: IPropertySetStorage, fmtid : *const ::windows_sys::core::GUID, pclsid : *const ::windows_sys::core::GUID, grfflags : u32, grfmode : u32, dwdisposition : u32, ppstg : *mut super::super::super::System::Com::StructuredStorage:: IPropertyStorage, pucodepage : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHGetPropertyStoreFromParsingName(pszpath : ::windows_sys::core::PCWSTR, pbc : * mut::core::ffi::c_void, flags : GETPROPERTYSTOREFLAGS, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHPropStgCreate(psstg : * mut::core::ffi::c_void, fmtid : *const ::windows_sys::core::GUID, pclsid : *const ::windows_sys::core::GUID, grfflags : u32, grfmode : u32, dwdisposition : u32, ppstg : *mut * mut::core::ffi::c_void, pucodepage : *mut u32) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn SHPropStgReadMultiple(pps : super::super::super::System::Com::StructuredStorage:: IPropertyStorage, ucodepage : u32, cpspec : u32, rgpspec : *const super::super::super::System::Com::StructuredStorage:: PROPSPEC, rgvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn SHPropStgReadMultiple(pps : * mut::core::ffi::c_void, ucodepage : u32, cpspec : u32, rgpspec : *const super::super::super::System::Com::StructuredStorage:: PROPSPEC, rgvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn SHPropStgWriteMultiple(pps : super::super::super::System::Com::StructuredStorage:: IPropertyStorage, pucodepage : *mut u32, cpspec : u32, rgpspec : *const super::super::super::System::Com::StructuredStorage:: PROPSPEC, rgvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT, propidnamefirst : u32) -> ::windows_sys::core::HRESULT); -pub type ICreateObject = *mut ::core::ffi::c_void; -pub type IDelayedPropertyStoreFactory = *mut ::core::ffi::c_void; -pub type IInitializeWithFile = *mut ::core::ffi::c_void; -pub type IInitializeWithStream = *mut ::core::ffi::c_void; -pub type INamedPropertyStore = *mut ::core::ffi::c_void; -pub type IObjectWithPropertyKey = *mut ::core::ffi::c_void; -pub type IPersistSerializedPropStorage = *mut ::core::ffi::c_void; -pub type IPersistSerializedPropStorage2 = *mut ::core::ffi::c_void; -pub type IPropertyChange = *mut ::core::ffi::c_void; -pub type IPropertyChangeArray = *mut ::core::ffi::c_void; -pub type IPropertyDescription = *mut ::core::ffi::c_void; -pub type IPropertyDescription2 = *mut ::core::ffi::c_void; -pub type IPropertyDescriptionAliasInfo = *mut ::core::ffi::c_void; -pub type IPropertyDescriptionList = *mut ::core::ffi::c_void; -pub type IPropertyDescriptionRelatedPropertyInfo = *mut ::core::ffi::c_void; -pub type IPropertyDescriptionSearchInfo = *mut ::core::ffi::c_void; -pub type IPropertyEnumType = *mut ::core::ffi::c_void; -pub type IPropertyEnumType2 = *mut ::core::ffi::c_void; -pub type IPropertyEnumTypeList = *mut ::core::ffi::c_void; -pub type IPropertyStore = *mut ::core::ffi::c_void; -pub type IPropertyStoreCache = *mut ::core::ffi::c_void; -pub type IPropertyStoreCapabilities = *mut ::core::ffi::c_void; -pub type IPropertyStoreFactory = *mut ::core::ffi::c_void; -pub type IPropertySystem = *mut ::core::ffi::c_void; -pub type IPropertySystemChangeNotify = *mut ::core::ffi::c_void; -pub type IPropertyUI = *mut ::core::ffi::c_void; +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn SHPropStgWriteMultiple(pps : * mut::core::ffi::c_void, pucodepage : *mut u32, cpspec : u32, rgpspec : *const super::super::super::System::Com::StructuredStorage:: PROPSPEC, rgvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT, propidnamefirst : u32) -> ::windows_sys::core::HRESULT); pub const FPSPS_DEFAULT: _PERSIST_SPROPSTORE_FLAGS = 0i32; pub const FPSPS_READONLY: _PERSIST_SPROPSTORE_FLAGS = 1i32; pub const FPSPS_TREAT_NEW_VALUES_AS_DIRTY: _PERSIST_SPROPSTORE_FLAGS = 2i32; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs index 960db765e9..06922e331f 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs @@ -7,8 +7,8 @@ pub mod PropertiesSystem; ::windows_targets::link!("shlwapi.dll" "system" fn AssocCreate(clsid : ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Registry")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn AssocCreateForClasses(rgclasses : *const ASSOCIATIONELEMENT, cclasses : u32, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn AssocGetDetailsOfPropKey(psf : IShellFolder, pidl : *const Common:: ITEMIDLIST, pkey : *const PropertiesSystem:: PROPERTYKEY, pv : *mut super::super::System::Variant:: VARIANT, pffoundpropkey : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn AssocGetDetailsOfPropKey(psf : * mut::core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, pkey : *const PropertiesSystem:: PROPERTYKEY, pv : *mut super::super::System::Variant:: VARIANT, pffoundpropkey : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] ::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn AssocGetPerceivedType(pszext : ::windows_sys::core::PCWSTR, ptype : *mut Common:: PERCEIVED, pflag : *mut u32, ppsztype : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn AssocIsDangerous(pszassoc : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); @@ -22,23 +22,21 @@ pub mod PropertiesSystem; #[cfg(feature = "Win32_System_Registry")] ::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn AssocQueryStringByKeyW(flags : ASSOCF, str : ASSOCSTR, hkassoc : super::super::System::Registry:: HKEY, pszextra : ::windows_sys::core::PCWSTR, pszout : ::windows_sys::core::PWSTR, pcchout : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn AssocQueryStringW(flags : ASSOCF, str : ASSOCSTR, pszassoc : ::windows_sys::core::PCWSTR, pszextra : ::windows_sys::core::PCWSTR, pszout : ::windows_sys::core::PWSTR, pcchout : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Registry", feature = "Win32_UI_Shell_Common"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`"] fn CDefFolderMenu_Create2(pidlfolder : *const Common:: ITEMIDLIST, hwnd : super::super::Foundation:: HWND, cidl : u32, apidl : *const *const Common:: ITEMIDLIST, psf : IShellFolder, pfn : LPFNDFMCALLBACK, nkeys : u32, ahkeys : *const super::super::System::Registry:: HKEY, ppcm : *mut IContextMenu) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] fn CIDLData_CreateFromIDArray(pidlfolder : *const Common:: ITEMIDLIST, cidl : u32, apidl : *const *const Common:: ITEMIDLIST, ppdtobj : *mut super::super::System::Com:: IDataObject) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Registry", feature = "Win32_UI_Shell_Common"))] +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`"] fn CDefFolderMenu_Create2(pidlfolder : *const Common:: ITEMIDLIST, hwnd : super::super::Foundation:: HWND, cidl : u32, apidl : *const *const Common:: ITEMIDLIST, psf : * mut::core::ffi::c_void, pfn : LPFNDFMCALLBACK, nkeys : u32, ahkeys : *const super::super::System::Registry:: HKEY, ppcm : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_UI_Shell_Common")] +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn CIDLData_CreateFromIDArray(pidlfolder : *const Common:: ITEMIDLIST, cidl : u32, apidl : *const *const Common:: ITEMIDLIST, ppdtobj : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn ChrCmpIA(w1 : u16, w2 : u16) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shlwapi.dll" "system" fn ChrCmpIW(w1 : u16, w2 : u16) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shlwapi.dll" "system" fn ColorAdjustLuma(clrrgb : super::super::Foundation:: COLORREF, n : i32, fscale : super::super::Foundation:: BOOL) -> super::super::Foundation:: COLORREF); ::windows_targets::link!("shlwapi.dll" "system" fn ColorHLSToRGB(whue : u16, wluminance : u16, wsaturation : u16) -> super::super::Foundation:: COLORREF); ::windows_targets::link!("shlwapi.dll" "system" fn ColorRGBToHLS(clrrgb : super::super::Foundation:: COLORREF, pwhue : *mut u16, pwluminance : *mut u16, pwsaturation : *mut u16)); ::windows_targets::link!("shell32.dll" "system" fn CommandLineToArgvW(lpcmdline : ::windows_sys::core::PCWSTR, pnumargs : *mut i32) -> *mut ::windows_sys::core::PWSTR); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn ConnectToConnectionPoint(punk : ::windows_sys::core::IUnknown, riidevent : *const ::windows_sys::core::GUID, fconnect : super::super::Foundation:: BOOL, punktarget : ::windows_sys::core::IUnknown, pdwcookie : *mut u32, ppcpout : *mut super::super::System::Com:: IConnectionPoint) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shlwapi.dll" "system" fn ConnectToConnectionPoint(punk : ::windows_sys::core::IUnknown, riidevent : *const ::windows_sys::core::GUID, fconnect : super::super::Foundation:: BOOL, punktarget : ::windows_sys::core::IUnknown, pdwcookie : *mut u32, ppcpout : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("userenv.dll" "system" fn CreateProfile(pszusersid : ::windows_sys::core::PCWSTR, pszusername : ::windows_sys::core::PCWSTR, pszprofilepath : ::windows_sys::core::PWSTR, cchprofilepath : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn DAD_AutoScroll(hwnd : super::super::Foundation:: HWND, pad : *mut AUTO_SCROLL_DATA, pptnow : *const super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shell32.dll" "system" fn DAD_DragEnterEx(hwndtarget : super::super::Foundation:: HWND, ptstart : super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn DAD_DragEnterEx2(hwndtarget : super::super::Foundation:: HWND, ptstart : super::super::Foundation:: POINT, pdtobject : super::super::System::Com:: IDataObject) -> super::super::Foundation:: BOOL); +::windows_targets::link!("shell32.dll" "system" fn DAD_DragEnterEx2(hwndtarget : super::super::Foundation:: HWND, ptstart : super::super::Foundation:: POINT, pdtobject : * mut::core::ffi::c_void) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shell32.dll" "system" fn DAD_DragLeave() -> super::super::Foundation:: BOOL); ::windows_targets::link!("shell32.dll" "system" fn DAD_DragMove(pt : super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_UI_Controls")] @@ -116,47 +114,35 @@ pub mod PropertiesSystem; #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("ole32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn HMONITOR_UserUnmarshal64(param0 : *const u32, param1 : *const u8, param2 : *mut super::super::Graphics::Gdi:: HMONITOR) -> *mut u8); ::windows_targets::link!("shlwapi.dll" "system" fn HashData(pbdata : *const u8, cbdata : u32, pbhash : *mut u8, cbhash : u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("hlink.dll" "system" fn HlinkClone(pihl : IHlink, riid : *const ::windows_sys::core::GUID, pihlsiteforclone : IHlinkSite, dwsitedata : u32, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkClone(pihl : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, pihlsiteforclone : * mut::core::ffi::c_void, dwsitedata : u32, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("hlink.dll" "system" fn HlinkCreateBrowseContext(piunkouter : ::windows_sys::core::IUnknown, riid : *const ::windows_sys::core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("hlink.dll" "system" fn HlinkCreateExtensionServices(pwzadditionalheaders : ::windows_sys::core::PCWSTR, phwnd : super::super::Foundation:: HWND, pszusername : ::windows_sys::core::PCWSTR, pszpassword : ::windows_sys::core::PCWSTR, piunkouter : ::windows_sys::core::IUnknown, riid : *const ::windows_sys::core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkCreateFromData(pidataobj : super::super::System::Com:: IDataObject, pihlsite : IHlinkSite, dwsitedata : u32, piunkouter : ::windows_sys::core::IUnknown, riid : *const ::windows_sys::core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkCreateFromMoniker(pimktrgt : super::super::System::Com:: IMoniker, pwzlocation : ::windows_sys::core::PCWSTR, pwzfriendlyname : ::windows_sys::core::PCWSTR, pihlsite : IHlinkSite, dwsitedata : u32, piunkouter : ::windows_sys::core::IUnknown, riid : *const ::windows_sys::core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("hlink.dll" "system" fn HlinkCreateFromString(pwztarget : ::windows_sys::core::PCWSTR, pwzlocation : ::windows_sys::core::PCWSTR, pwzfriendlyname : ::windows_sys::core::PCWSTR, pihlsite : IHlinkSite, dwsitedata : u32, piunkouter : ::windows_sys::core::IUnknown, riid : *const ::windows_sys::core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("hlink.dll" "system" fn HlinkCreateShortcut(grfhlshortcutf : u32, pihl : IHlink, pwzdir : ::windows_sys::core::PCWSTR, pwzfilename : ::windows_sys::core::PCWSTR, ppwzshortcutfile : *mut ::windows_sys::core::PWSTR, dwreserved : u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkCreateShortcutFromMoniker(grfhlshortcutf : u32, pimktarget : super::super::System::Com:: IMoniker, pwzlocation : ::windows_sys::core::PCWSTR, pwzdir : ::windows_sys::core::PCWSTR, pwzfilename : ::windows_sys::core::PCWSTR, ppwzshortcutfile : *mut ::windows_sys::core::PWSTR, dwreserved : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkCreateFromData(pidataobj : * mut::core::ffi::c_void, pihlsite : * mut::core::ffi::c_void, dwsitedata : u32, piunkouter : ::windows_sys::core::IUnknown, riid : *const ::windows_sys::core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkCreateFromMoniker(pimktrgt : * mut::core::ffi::c_void, pwzlocation : ::windows_sys::core::PCWSTR, pwzfriendlyname : ::windows_sys::core::PCWSTR, pihlsite : * mut::core::ffi::c_void, dwsitedata : u32, piunkouter : ::windows_sys::core::IUnknown, riid : *const ::windows_sys::core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkCreateFromString(pwztarget : ::windows_sys::core::PCWSTR, pwzlocation : ::windows_sys::core::PCWSTR, pwzfriendlyname : ::windows_sys::core::PCWSTR, pihlsite : * mut::core::ffi::c_void, dwsitedata : u32, piunkouter : ::windows_sys::core::IUnknown, riid : *const ::windows_sys::core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkCreateShortcut(grfhlshortcutf : u32, pihl : * mut::core::ffi::c_void, pwzdir : ::windows_sys::core::PCWSTR, pwzfilename : ::windows_sys::core::PCWSTR, ppwzshortcutfile : *mut ::windows_sys::core::PWSTR, dwreserved : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkCreateShortcutFromMoniker(grfhlshortcutf : u32, pimktarget : * mut::core::ffi::c_void, pwzlocation : ::windows_sys::core::PCWSTR, pwzdir : ::windows_sys::core::PCWSTR, pwzfilename : ::windows_sys::core::PCWSTR, ppwzshortcutfile : *mut ::windows_sys::core::PWSTR, dwreserved : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("hlink.dll" "system" fn HlinkCreateShortcutFromString(grfhlshortcutf : u32, pwztarget : ::windows_sys::core::PCWSTR, pwzlocation : ::windows_sys::core::PCWSTR, pwzdir : ::windows_sys::core::PCWSTR, pwzfilename : ::windows_sys::core::PCWSTR, ppwzshortcutfile : *mut ::windows_sys::core::PWSTR, dwreserved : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("hlink.dll" "system" fn HlinkGetSpecialReference(ureference : u32, ppwzreference : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("hlink.dll" "system" fn HlinkGetValueFromParams(pwzparams : ::windows_sys::core::PCWSTR, pwzname : ::windows_sys::core::PCWSTR, ppwzvalue : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("hlink.dll" "system" fn HlinkIsShortcut(pwzfilename : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkNavigate(pihl : * mut::core::ffi::c_void, pihlframe : * mut::core::ffi::c_void, grfhlnf : u32, pbc : * mut::core::ffi::c_void, pibsc : * mut::core::ffi::c_void, pihlbc : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkNavigateToStringReference(pwztarget : ::windows_sys::core::PCWSTR, pwzlocation : ::windows_sys::core::PCWSTR, pihlsite : * mut::core::ffi::c_void, dwsitedata : u32, pihlframe : * mut::core::ffi::c_void, grfhlnf : u32, pibc : * mut::core::ffi::c_void, pibsc : * mut::core::ffi::c_void, pihlbc : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkOnNavigate(pihlframe : * mut::core::ffi::c_void, pihlbc : * mut::core::ffi::c_void, grfhlnf : u32, pimktarget : * mut::core::ffi::c_void, pwzlocation : ::windows_sys::core::PCWSTR, pwzfriendlyname : ::windows_sys::core::PCWSTR, puhlid : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkOnRenameDocument(dwreserved : u32, pihlbc : * mut::core::ffi::c_void, pimkold : * mut::core::ffi::c_void, pimknew : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkParseDisplayName(pibc : * mut::core::ffi::c_void, pwzdisplayname : ::windows_sys::core::PCWSTR, fnoforceabs : super::super::Foundation:: BOOL, pccheaten : *mut u32, ppimk : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkPreprocessMoniker(pibc : * mut::core::ffi::c_void, pimkin : * mut::core::ffi::c_void, ppimkout : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkQueryCreateFromData(pidataobj : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkNavigate(pihl : IHlink, pihlframe : IHlinkFrame, grfhlnf : u32, pbc : super::super::System::Com:: IBindCtx, pibsc : super::super::System::Com:: IBindStatusCallback, pihlbc : IHlinkBrowseContext) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkNavigateToStringReference(pwztarget : ::windows_sys::core::PCWSTR, pwzlocation : ::windows_sys::core::PCWSTR, pihlsite : IHlinkSite, dwsitedata : u32, pihlframe : IHlinkFrame, grfhlnf : u32, pibc : super::super::System::Com:: IBindCtx, pibsc : super::super::System::Com:: IBindStatusCallback, pihlbc : IHlinkBrowseContext) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkOnNavigate(pihlframe : IHlinkFrame, pihlbc : IHlinkBrowseContext, grfhlnf : u32, pimktarget : super::super::System::Com:: IMoniker, pwzlocation : ::windows_sys::core::PCWSTR, pwzfriendlyname : ::windows_sys::core::PCWSTR, puhlid : *mut u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkOnRenameDocument(dwreserved : u32, pihlbc : IHlinkBrowseContext, pimkold : super::super::System::Com:: IMoniker, pimknew : super::super::System::Com:: IMoniker) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkParseDisplayName(pibc : super::super::System::Com:: IBindCtx, pwzdisplayname : ::windows_sys::core::PCWSTR, fnoforceabs : super::super::Foundation:: BOOL, pccheaten : *mut u32, ppimk : *mut super::super::System::Com:: IMoniker) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkPreprocessMoniker(pibc : super::super::System::Com:: IBindCtx, pimkin : super::super::System::Com:: IMoniker, ppimkout : *mut super::super::System::Com:: IMoniker) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkQueryCreateFromData(pidataobj : super::super::System::Com:: IDataObject) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkResolveMonikerForData(pimkreference : super::super::System::Com:: IMoniker, reserved : u32, pibc : super::super::System::Com:: IBindCtx, cfmtetc : u32, rgfmtetc : *mut super::super::System::Com:: FORMATETC, pibsc : super::super::System::Com:: IBindStatusCallback, pimkbase : super::super::System::Com:: IMoniker) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("hlink.dll" "system" fn HlinkResolveShortcut(pwzshortcutfilename : ::windows_sys::core::PCWSTR, pihlsite : IHlinkSite, dwsitedata : u32, piunkouter : ::windows_sys::core::IUnknown, riid : *const ::windows_sys::core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkResolveShortcutToMoniker(pwzshortcutfilename : ::windows_sys::core::PCWSTR, ppimktarget : *mut super::super::System::Com:: IMoniker, ppwzlocation : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkResolveMonikerForData(pimkreference : * mut::core::ffi::c_void, reserved : u32, pibc : * mut::core::ffi::c_void, cfmtetc : u32, rgfmtetc : *mut super::super::System::Com:: FORMATETC, pibsc : * mut::core::ffi::c_void, pimkbase : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkResolveShortcut(pwzshortcutfilename : ::windows_sys::core::PCWSTR, pihlsite : * mut::core::ffi::c_void, dwsitedata : u32, piunkouter : ::windows_sys::core::IUnknown, riid : *const ::windows_sys::core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkResolveShortcutToMoniker(pwzshortcutfilename : ::windows_sys::core::PCWSTR, ppimktarget : *mut * mut::core::ffi::c_void, ppwzlocation : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("hlink.dll" "system" fn HlinkResolveShortcutToString(pwzshortcutfilename : ::windows_sys::core::PCWSTR, ppwztarget : *mut ::windows_sys::core::PWSTR, ppwzlocation : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkResolveStringForData(pwzreference : ::windows_sys::core::PCWSTR, reserved : u32, pibc : super::super::System::Com:: IBindCtx, cfmtetc : u32, rgfmtetc : *mut super::super::System::Com:: FORMATETC, pibsc : super::super::System::Com:: IBindStatusCallback, pimkbase : super::super::System::Com:: IMoniker) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkResolveStringForData(pwzreference : ::windows_sys::core::PCWSTR, reserved : u32, pibc : * mut::core::ffi::c_void, cfmtetc : u32, rgfmtetc : *mut super::super::System::Com:: FORMATETC, pibsc : * mut::core::ffi::c_void, pimkbase : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("hlink.dll" "system" fn HlinkSetSpecialReference(ureference : u32, pwzreference : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("hlink.dll" "system" fn HlinkTranslateURL(pwzurl : ::windows_sys::core::PCWSTR, grfflags : u32, ppwztranslatedurl : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn HlinkUpdateStackItem(pihlframe : IHlinkFrame, pihlbc : IHlinkBrowseContext, uhlid : u32, pimktrgt : super::super::System::Com:: IMoniker, pwzlocation : ::windows_sys::core::PCWSTR, pwzfriendlyname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("hlink.dll" "system" fn HlinkUpdateStackItem(pihlframe : * mut::core::ffi::c_void, pihlbc : * mut::core::ffi::c_void, uhlid : u32, pimktrgt : * mut::core::ffi::c_void, pwzlocation : ::windows_sys::core::PCWSTR, pwzfriendlyname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn ILAppendID(pidl : *const Common:: ITEMIDLIST, pmkid : *const Common:: SHITEMID, fappend : super::super::Foundation:: BOOL) -> *mut Common:: ITEMIDLIST); #[cfg(feature = "Win32_UI_Shell_Common")] @@ -183,30 +169,23 @@ pub mod PropertiesSystem; ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn ILIsEqual(pidl1 : *const Common:: ITEMIDLIST, pidl2 : *const Common:: ITEMIDLIST) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_UI_Shell_Common")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn ILIsParent(pidl1 : *const Common:: ITEMIDLIST, pidl2 : *const Common:: ITEMIDLIST, fimmediate : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] fn ILLoadFromStreamEx(pstm : super::super::System::Com:: IStream, pidl : *mut *mut Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_UI_Shell_Common")] +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn ILLoadFromStreamEx(pstm : * mut::core::ffi::c_void, pidl : *mut *mut Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn ILRemoveLastID(pidl : *mut Common:: ITEMIDLIST) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] fn ILSaveToStream(pstm : super::super::System::Com:: IStream, pidl : *const Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn IStream_Copy(pstmfrom : super::super::System::Com:: IStream, pstmto : super::super::System::Com:: IStream, cb : u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn IStream_Read(pstm : super::super::System::Com:: IStream, pv : *mut ::core::ffi::c_void, cb : u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] fn IStream_ReadPidl(pstm : super::super::System::Com:: IStream, ppidlout : *mut *mut Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn IStream_ReadStr(pstm : super::super::System::Com:: IStream, ppsz : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn IStream_Reset(pstm : super::super::System::Com:: IStream) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn IStream_Size(pstm : super::super::System::Com:: IStream, pui : *mut u64) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn IStream_Write(pstm : super::super::System::Com:: IStream, pv : *const ::core::ffi::c_void, cb : u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] fn IStream_WritePidl(pstm : super::super::System::Com:: IStream, pidlwrite : *const Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn IStream_WriteStr(pstm : super::super::System::Com:: IStream, psz : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_UI_Shell_Common")] +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn ILSaveToStream(pstm : * mut::core::ffi::c_void, pidl : *const Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shlwapi.dll" "system" fn IStream_Copy(pstmfrom : * mut::core::ffi::c_void, pstmto : * mut::core::ffi::c_void, cb : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shlwapi.dll" "system" fn IStream_Read(pstm : * mut::core::ffi::c_void, pv : *mut ::core::ffi::c_void, cb : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_UI_Shell_Common")] +::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn IStream_ReadPidl(pstm : * mut::core::ffi::c_void, ppidlout : *mut *mut Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shlwapi.dll" "system" fn IStream_ReadStr(pstm : * mut::core::ffi::c_void, ppsz : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shlwapi.dll" "system" fn IStream_Reset(pstm : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shlwapi.dll" "system" fn IStream_Size(pstm : * mut::core::ffi::c_void, pui : *mut u64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shlwapi.dll" "system" fn IStream_Write(pstm : * mut::core::ffi::c_void, pv : *const ::core::ffi::c_void, cb : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_UI_Shell_Common")] +::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn IStream_WritePidl(pstm : * mut::core::ffi::c_void, pidlwrite : *const Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shlwapi.dll" "system" fn IStream_WriteStr(pstm : * mut::core::ffi::c_void, psz : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn IUnknown_AtomicRelease(ppunk : *mut *mut ::core::ffi::c_void)); ::windows_targets::link!("shlwapi.dll" "system" fn IUnknown_GetSite(punk : ::windows_sys::core::IUnknown, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn IUnknown_GetWindow(punk : ::windows_sys::core::IUnknown, phwnd : *mut super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT); @@ -217,8 +196,8 @@ pub mod PropertiesSystem; ::windows_targets::link!("shell32.dll" "system" fn InitNetworkAddressControl() -> super::super::Foundation:: BOOL); #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_Common"))] ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`"] fn InitPropVariantFromStrRet(pstrret : *mut Common:: STRRET, pidl : *const Common:: ITEMIDLIST, ppropvar : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_Common"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`"] fn InitVariantFromStrRet(pstrret : *const Common:: STRRET, pidl : *const Common:: ITEMIDLIST, pvar : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_Common"))] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`"] fn InitVariantFromStrRet(pstrret : *const Common:: STRRET, pidl : *const Common:: ITEMIDLIST, pvar : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn IntlStrEqWorkerA(fcasesens : super::super::Foundation:: BOOL, lpstring1 : ::windows_sys::core::PCSTR, lpstring2 : ::windows_sys::core::PCSTR, nchar : i32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shlwapi.dll" "system" fn IntlStrEqWorkerW(fcasesens : super::super::Foundation:: BOOL, lpstring1 : ::windows_sys::core::PCWSTR, lpstring2 : ::windows_sys::core::PCWSTR, nchar : i32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shlwapi.dll" "system" fn IsCharSpaceA(wch : i8) -> super::super::Foundation:: BOOL); @@ -231,10 +210,9 @@ pub mod PropertiesSystem; ::windows_targets::link!("shell32.dll" "system" fn IsUserAnAdmin() -> super::super::Foundation:: BOOL); ::windows_targets::link!("userenv.dll" "system" fn LoadUserProfileA(htoken : super::super::Foundation:: HANDLE, lpprofileinfo : *mut PROFILEINFOA) -> super::super::Foundation:: BOOL); ::windows_targets::link!("userenv.dll" "system" fn LoadUserProfileW(htoken : super::super::Foundation:: HANDLE, lpprofileinfo : *mut PROFILEINFOW) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("hlink.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn OleSaveToStreamEx(piunk : ::windows_sys::core::IUnknown, pistm : super::super::System::Com:: IStream, fcleardirty : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Registry"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`"] fn OpenRegStream(hkey : super::super::System::Registry:: HKEY, pszsubkey : ::windows_sys::core::PCWSTR, pszvalue : ::windows_sys::core::PCWSTR, grfmode : u32) -> super::super::System::Com:: IStream); +::windows_targets::link!("hlink.dll" "system" fn OleSaveToStreamEx(piunk : ::windows_sys::core::IUnknown, pistm : * mut::core::ffi::c_void, fcleardirty : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Registry")] +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn OpenRegStream(hkey : super::super::System::Registry:: HKEY, pszsubkey : ::windows_sys::core::PCWSTR, pszvalue : ::windows_sys::core::PCWSTR, grfmode : u32) -> * mut::core::ffi::c_void); ::windows_targets::link!("shlwapi.dll" "system" fn ParseURLA(pcszurl : ::windows_sys::core::PCSTR, ppu : *mut PARSEDURLA) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn ParseURLW(pcszurl : ::windows_sys::core::PCWSTR, ppu : *mut PARSEDURLW) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn PathAddBackslashA(pszpath : ::windows_sys::core::PSTR) -> ::windows_sys::core::PSTR); @@ -405,15 +383,15 @@ pub mod PropertiesSystem; ::windows_targets::link!("shlwapi.dll" "system" fn SHAnsiToAnsi(pszsrc : ::windows_sys::core::PCSTR, pszdst : ::windows_sys::core::PSTR, cchbuf : i32) -> i32); ::windows_targets::link!("shlwapi.dll" "system" fn SHAnsiToUnicode(pszsrc : ::windows_sys::core::PCSTR, pwszdst : ::windows_sys::core::PWSTR, cwchbuf : i32) -> i32); ::windows_targets::link!("shell32.dll" "system" fn SHAppBarMessage(dwmessage : u32, pdata : *mut APPBARDATA) -> usize); -::windows_targets::link!("shell32.dll" "system" fn SHAssocEnumHandlers(pszextra : ::windows_sys::core::PCWSTR, affilter : ASSOC_FILTER, ppenumhandler : *mut IEnumAssocHandlers) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHAssocEnumHandlers(pszextra : ::windows_sys::core::PCWSTR, affilter : ASSOC_FILTER, ppenumhandler : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHAssocEnumHandlersForProtocolByApplication(protocol : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, enumhandlers : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn SHAutoComplete(hwndedit : super::super::Foundation:: HWND, dwflags : SHELL_AUTOCOMPLETE_FLAGS) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHBindToFolderIDListParent(psfroot : IShellFolder, pidl : *const Common:: ITEMIDLIST, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void, ppidllast : *mut *mut Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] fn SHBindToFolderIDListParentEx(psfroot : IShellFolder, pidl : *const Common:: ITEMIDLIST, ppbc : super::super::System::Com:: IBindCtx, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void, ppidllast : *mut *mut Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] fn SHBindToObject(psf : IShellFolder, pidl : *const Common:: ITEMIDLIST, pbc : super::super::System::Com:: IBindCtx, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHBindToFolderIDListParent(psfroot : * mut::core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void, ppidllast : *mut *mut Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_UI_Shell_Common")] +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHBindToFolderIDListParentEx(psfroot : * mut::core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, ppbc : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void, ppidllast : *mut *mut Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_UI_Shell_Common")] +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHBindToObject(psf : * mut::core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, pbc : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHBindToParent(pidl : *const Common:: ITEMIDLIST, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void, ppidllast : *mut *mut Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] @@ -437,12 +415,12 @@ pub mod PropertiesSystem; #[cfg(feature = "Win32_System_Registry")] ::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn SHCopyKeyW(hkeysrc : super::super::System::Registry:: HKEY, pszsrcsubkey : ::windows_sys::core::PCWSTR, hkeydest : super::super::System::Registry:: HKEY, freserved : u32) -> super::super::Foundation:: WIN32_ERROR); ::windows_targets::link!("shell32.dll" "system" fn SHCreateAssociationRegistration(riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] fn SHCreateDataObject(pidlfolder : *const Common:: ITEMIDLIST, cidl : u32, apidl : *const *const Common:: ITEMIDLIST, pdtinner : super::super::System::Com:: IDataObject, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_UI_Shell_Common")] +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHCreateDataObject(pidlfolder : *const Common:: ITEMIDLIST, cidl : u32, apidl : *const *const Common:: ITEMIDLIST, pdtinner : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Registry", feature = "Win32_UI_Shell_Common"))] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`"] fn SHCreateDefaultContextMenu(pdcm : *const DEFCONTEXTMENU, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHCreateDefaultExtractIcon(riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("shell32.dll" "system" fn SHCreateDefaultPropertiesOp(psi : IShellItem, ppfileop : *mut IFileOperation) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHCreateDefaultPropertiesOp(psi : * mut::core::ffi::c_void, ppfileop : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHCreateDirectory(hwnd : super::super::Foundation:: HWND, pszpath : ::windows_sys::core::PCWSTR) -> i32); #[cfg(feature = "Win32_Security")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn SHCreateDirectoryExA(hwnd : super::super::Foundation:: HWND, pszpath : ::windows_sys::core::PCSTR, psa : *const super::super::Security:: SECURITY_ATTRIBUTES) -> i32); @@ -451,44 +429,35 @@ pub mod PropertiesSystem; ::windows_targets::link!("shell32.dll" "system" fn SHCreateFileExtractIconW(pszfile : ::windows_sys::core::PCWSTR, dwfileattributes : u32, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHCreateItemFromIDList(pidl : *const Common:: ITEMIDLIST, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHCreateItemFromParsingName(pszpath : ::windows_sys::core::PCWSTR, pbc : super::super::System::Com:: IBindCtx, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHCreateItemFromRelativeName(psiparent : IShellItem, pszname : ::windows_sys::core::PCWSTR, pbc : super::super::System::Com:: IBindCtx, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHCreateItemFromParsingName(pszpath : ::windows_sys::core::PCWSTR, pbc : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHCreateItemFromRelativeName(psiparent : * mut::core::ffi::c_void, pszname : ::windows_sys::core::PCWSTR, pbc : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHCreateItemInKnownFolder(kfid : *const ::windows_sys::core::GUID, dwkfflags : u32, pszitem : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHCreateItemWithParent(pidlparent : *const Common:: ITEMIDLIST, psfparent : IShellFolder, pidl : *const Common:: ITEMIDLIST, riid : *const ::windows_sys::core::GUID, ppvitem : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHCreateMemStream(pinit : *const u8, cbinit : u32) -> super::super::System::Com:: IStream); +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHCreateItemWithParent(pidlparent : *const Common:: ITEMIDLIST, psfparent : * mut::core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, riid : *const ::windows_sys::core::GUID, ppvitem : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shlwapi.dll" "system" fn SHCreateMemStream(pinit : *const u8, cbinit : u32) -> * mut::core::ffi::c_void); #[cfg(all(feature = "Win32_Security", feature = "Win32_System_Threading"))] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`, `\"Win32_System_Threading\"`"] fn SHCreateProcessAsUserW(pscpi : *mut SHCREATEPROCESSINFOW) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_System_Registry")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn SHCreatePropSheetExtArray(hkey : super::super::System::Registry:: HKEY, pszsubkey : ::windows_sys::core::PCWSTR, max_iface : u32) -> HPSXA); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHCreateQueryCancelAutoPlayMoniker(ppmoniker : *mut super::super::System::Com:: IMoniker) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Ole")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Ole\"`"] fn SHCreateShellFolderView(pcsfv : *const SFV_CREATE, ppsv : *mut IShellView) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`"] fn SHCreateShellFolderViewEx(pcsfv : *const CSFV, ppsv : *mut IShellView) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHCreateQueryCancelAutoPlayMoniker(ppmoniker : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHCreateShellFolderView(pcsfv : *const SFV_CREATE, ppsv : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHCreateShellItem(pidlparent : *const Common:: ITEMIDLIST, psfparent : IShellFolder, pidl : *const Common:: ITEMIDLIST, ppsi : *mut IShellItem) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHCreateShellFolderViewEx(pcsfv : *const CSFV, ppsv : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHCreateShellItemArray(pidlparent : *const Common:: ITEMIDLIST, psf : IShellFolder, cidl : u32, ppidl : *const *const Common:: ITEMIDLIST, ppsiitemarray : *mut IShellItemArray) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHCreateShellItemArrayFromDataObject(pdo : super::super::System::Com:: IDataObject, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHCreateShellItem(pidlparent : *const Common:: ITEMIDLIST, psfparent : * mut::core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, ppsi : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHCreateShellItemArrayFromIDLists(cidl : u32, rgpidl : *const *const Common:: ITEMIDLIST, ppsiitemarray : *mut IShellItemArray) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("shell32.dll" "system" fn SHCreateShellItemArrayFromShellItem(psi : IShellItem, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHCreateShellItemArray(pidlparent : *const Common:: ITEMIDLIST, psf : * mut::core::ffi::c_void, cidl : u32, ppidl : *const *const Common:: ITEMIDLIST, ppsiitemarray : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHCreateShellItemArrayFromDataObject(pdo : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_UI_Shell_Common")] +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHCreateShellItemArrayFromIDLists(cidl : u32, rgpidl : *const *const Common:: ITEMIDLIST, ppsiitemarray : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHCreateShellItemArrayFromShellItem(psi : * mut::core::ffi::c_void, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn SHCreateShellPalette(hdc : super::super::Graphics::Gdi:: HDC) -> super::super::Graphics::Gdi:: HPALETTE); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHCreateStdEnumFmtEtc(cfmt : u32, afmt : *const super::super::System::Com:: FORMATETC, ppenumformatetc : *mut super::super::System::Com:: IEnumFORMATETC) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHCreateStreamOnFileA(pszfile : ::windows_sys::core::PCSTR, grfmode : u32, ppstm : *mut super::super::System::Com:: IStream) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHCreateStreamOnFileEx(pszfile : ::windows_sys::core::PCWSTR, grfmode : u32, dwattributes : u32, fcreate : super::super::Foundation:: BOOL, pstmtemplate : super::super::System::Com:: IStream, ppstm : *mut super::super::System::Com:: IStream) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHCreateStreamOnFileW(pszfile : ::windows_sys::core::PCWSTR, grfmode : u32, ppstm : *mut super::super::System::Com:: IStream) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHCreateStdEnumFmtEtc(cfmt : u32, afmt : *const super::super::System::Com:: FORMATETC, ppenumformatetc : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shlwapi.dll" "system" fn SHCreateStreamOnFileA(pszfile : ::windows_sys::core::PCSTR, grfmode : u32, ppstm : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shlwapi.dll" "system" fn SHCreateStreamOnFileEx(pszfile : ::windows_sys::core::PCWSTR, grfmode : u32, dwattributes : u32, fcreate : super::super::Foundation:: BOOL, pstmtemplate : * mut::core::ffi::c_void, ppstm : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shlwapi.dll" "system" fn SHCreateStreamOnFileW(pszfile : ::windows_sys::core::PCWSTR, grfmode : u32, ppstm : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Threading")] ::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Threading\"`"] fn SHCreateThread(pfnthreadproc : super::super::System::Threading:: LPTHREAD_START_ROUTINE, pdata : *const ::core::ffi::c_void, flags : u32, pfncallback : super::super::System::Threading:: LPTHREAD_START_ROUTINE) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shlwapi.dll" "system" fn SHCreateThreadRef(pcref : *mut i32, ppunk : *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); @@ -511,8 +480,8 @@ pub mod PropertiesSystem; #[cfg(feature = "Win32_System_Registry")] ::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn SHDeleteValueW(hkey : super::super::System::Registry:: HKEY, pszsubkey : ::windows_sys::core::PCWSTR, pszvalue : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR); ::windows_targets::link!("shell32.dll" "system" fn SHDestroyPropSheetExtArray(hpsxa : HPSXA)); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] fn SHDoDragDrop(hwnd : super::super::Foundation:: HWND, pdata : super::super::System::Com:: IDataObject, pdsrc : super::super::System::Ole:: IDropSource, dweffect : super::super::System::Ole:: DROPEFFECT, pdweffect : *mut super::super::System::Ole:: DROPEFFECT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_System_Ole")] +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Ole\"`"] fn SHDoDragDrop(hwnd : super::super::Foundation:: HWND, pdata : * mut::core::ffi::c_void, pdsrc : * mut::core::ffi::c_void, dweffect : super::super::System::Ole:: DROPEFFECT, pdweffect : *mut super::super::System::Ole:: DROPEFFECT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHEmptyRecycleBinA(hwnd : super::super::Foundation:: HWND, pszrootpath : ::windows_sys::core::PCSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHEmptyRecycleBinW(hwnd : super::super::Foundation:: HWND, pszrootpath : ::windows_sys::core::PCWSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Registry")] @@ -531,7 +500,7 @@ pub mod PropertiesSystem; #[cfg(feature = "Win32_UI_Shell_Common")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHFindFiles(pidlfolder : *const Common:: ITEMIDLIST, pidlsavefile : *const Common:: ITEMIDLIST) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_UI_WindowsAndMessaging")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn SHFind_InitMenuPopup(hmenu : super::WindowsAndMessaging:: HMENU, hwndowner : super::super::Foundation:: HWND, idcmdfirst : u32, idcmdlast : u32) -> IContextMenu); +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn SHFind_InitMenuPopup(hmenu : super::WindowsAndMessaging:: HMENU, hwndowner : super::super::Foundation:: HWND, idcmdfirst : u32, idcmdlast : u32) -> * mut::core::ffi::c_void); ::windows_targets::link!("shell32.dll" "system" fn SHFlushSFCache()); ::windows_targets::link!("shlwapi.dll" "system" fn SHFormatDateTimeA(pft : *const super::super::Foundation:: FILETIME, pdwflags : *mut u32, pszbuf : ::windows_sys::core::PSTR, cchbuf : u32) -> i32); ::windows_targets::link!("shlwapi.dll" "system" fn SHFormatDateTimeW(pft : *const super::super::Foundation:: FILETIME, pdwflags : *mut u32, pszbuf : ::windows_sys::core::PWSTR, cchbuf : u32) -> i32); @@ -539,13 +508,12 @@ pub mod PropertiesSystem; ::windows_targets::link!("shell32.dll" "system" fn SHFree(pv : *const ::core::ffi::c_void)); ::windows_targets::link!("shell32.dll" "system" fn SHFreeNameMappings(hnamemappings : super::super::Foundation:: HANDLE)); ::windows_targets::link!("shlwapi.dll" "system" fn SHFreeShared(hdata : super::super::Foundation:: HANDLE, dwprocessid : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHGetAttributesFromDataObject(pdo : super::super::System::Com:: IDataObject, dwattributemask : u32, pdwattributes : *mut u32, pcitems : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHGetAttributesFromDataObject(pdo : * mut::core::ffi::c_void, dwattributemask : u32, pdwattributes : *mut u32, pcitems : *mut u32) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHGetDataFromIDListA(psf : IShellFolder, pidl : *const Common:: ITEMIDLIST, nformat : SHGDFIL_FORMAT, pv : *mut ::core::ffi::c_void, cb : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHGetDataFromIDListA(psf : * mut::core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, nformat : SHGDFIL_FORMAT, pv : *mut ::core::ffi::c_void, cb : i32) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHGetDataFromIDListW(psf : IShellFolder, pidl : *const Common:: ITEMIDLIST, nformat : SHGDFIL_FORMAT, pv : *mut ::core::ffi::c_void, cb : i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("shell32.dll" "system" fn SHGetDesktopFolder(ppshf : *mut IShellFolder) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHGetDataFromIDListW(psf : * mut::core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, nformat : SHGDFIL_FORMAT, pv : *mut ::core::ffi::c_void, cb : i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHGetDesktopFolder(ppshf : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHGetDiskFreeSpaceExA(pszdirectoryname : ::windows_sys::core::PCSTR, pulfreebytesavailabletocaller : *mut u64, pultotalnumberofbytes : *mut u64, pultotalnumberoffreebytes : *mut u64) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shell32.dll" "system" fn SHGetDiskFreeSpaceExW(pszdirectoryname : ::windows_sys::core::PCWSTR, pulfreebytesavailabletocaller : *mut u64, pultotalnumberofbytes : *mut u64, pultotalnumberoffreebytes : *mut u64) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shell32.dll" "system" fn SHGetDriveMedia(pszdrive : ::windows_sys::core::PCWSTR, pdwmediacontent : *mut u32) -> ::windows_sys::core::HRESULT); @@ -566,16 +534,14 @@ pub mod PropertiesSystem; ::windows_targets::link!("shell32.dll" "system" fn SHGetImageList(iimagelist : i32, riid : *const ::windows_sys::core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHGetInstanceExplorer(ppunk : *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn SHGetInverseCMAP(pbmap : *mut u8, cbmap : u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHGetItemFromDataObject(pdtobj : super::super::System::Com:: IDataObject, dwflags : DATAOBJ_GET_ITEM_FLAGS, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHGetItemFromDataObject(pdtobj : * mut::core::ffi::c_void, dwflags : DATAOBJ_GET_ITEM_FLAGS, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHGetItemFromObject(punk : ::windows_sys::core::IUnknown, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHGetKnownFolderIDList(rfid : *const ::windows_sys::core::GUID, dwflags : u32, htoken : super::super::Foundation:: HANDLE, ppidl : *mut *mut Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHGetKnownFolderItem(rfid : *const ::windows_sys::core::GUID, flags : KNOWN_FOLDER_FLAG, htoken : super::super::Foundation:: HANDLE, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHGetKnownFolderPath(rfid : *const ::windows_sys::core::GUID, dwflags : u32, htoken : super::super::Foundation:: HANDLE, ppszpath : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHGetLocalizedName(pszpath : ::windows_sys::core::PCWSTR, pszresmodule : ::windows_sys::core::PWSTR, cch : u32, pidsres : *mut i32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHGetMalloc(ppmalloc : *mut super::super::System::Com:: IMalloc) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHGetMalloc(ppmalloc : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHGetNameFromIDList(pidl : *const Common:: ITEMIDLIST, sigdnname : SIGDN, ppszname : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHGetNewLinkInfoA(pszlinkto : ::windows_sys::core::PCSTR, pszdir : ::windows_sys::core::PCSTR, pszname : ::windows_sys::core::PSTR, pfmustcopy : *mut super::super::Foundation:: BOOL, uflags : u32) -> super::super::Foundation:: BOOL); @@ -587,7 +553,7 @@ pub mod PropertiesSystem; #[cfg(feature = "Win32_UI_Shell_Common")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHGetPathFromIDListW(pidl : *const Common:: ITEMIDLIST, pszpath : ::windows_sys::core::PWSTR) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_UI_Shell_Common")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHGetRealIDL(psf : IShellFolder, pidlsimple : *const Common:: ITEMIDLIST, ppidlreal : *mut *mut Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHGetRealIDL(psf : * mut::core::ffi::c_void, pidlsimple : *const Common:: ITEMIDLIST, ppidlreal : *mut *mut Common:: ITEMIDLIST) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHGetSetFolderCustomSettings(pfcs : *mut SHFOLDERCUSTOMSETTINGS, pszpath : ::windows_sys::core::PCWSTR, dwreadwrite : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHGetSetSettings(lpss : *mut SHELLSTATEA, dwmask : SSF_MASK, bset : super::super::Foundation:: BOOL)); ::windows_targets::link!("shell32.dll" "system" fn SHGetSettings(psfs : *mut SHELLFLAGSTATE, dwmask : u32)); @@ -598,7 +564,7 @@ pub mod PropertiesSystem; #[cfg(feature = "Win32_UI_WindowsAndMessaging")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] fn SHGetStockIconInfo(siid : SHSTOCKICONID, uflags : SHGSI_FLAGS, psii : *mut SHSTOCKICONINFO) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn SHGetTemporaryPropertyForItem(psi : IShellItem, propkey : *const PropertiesSystem:: PROPERTYKEY, ppropvar : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn SHGetTemporaryPropertyForItem(psi : * mut::core::ffi::c_void, propkey : *const PropertiesSystem:: PROPERTYKEY, ppropvar : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn SHGetThreadRef(ppunk : *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Registry")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn SHGetUnreadMailCountW(hkeyuser : super::super::System::Registry:: HKEY, pszmailaddress : ::windows_sys::core::PCWSTR, pdwcount : *mut u32, pfiletime : *mut super::super::Foundation:: FILETIME, pszshellexecutecommand : ::windows_sys::core::PWSTR, cchshellexecutecommand : i32) -> ::windows_sys::core::HRESULT); @@ -619,33 +585,32 @@ pub mod PropertiesSystem; ::windows_targets::link!("shell32.dll" "system" fn SHInvokePrinterCommandW(hwnd : super::super::Foundation:: HWND, uaction : u32, lpbuf1 : ::windows_sys::core::PCWSTR, lpbuf2 : ::windows_sys::core::PCWSTR, fmodal : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shell32.dll" "system" fn SHIsFileAvailableOffline(pwszpath : ::windows_sys::core::PCWSTR, pdwstatus : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn SHIsLowMemoryMachine(dwtype : u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("shell32.dll" "system" fn SHLimitInputEdit(hwndedit : super::super::Foundation:: HWND, psf : IShellFolder) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHLimitInputEdit(hwndedit : super::super::Foundation:: HWND, psf : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHLoadInProc(rclsid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn SHLoadIndirectString(pszsource : ::windows_sys::core::PCWSTR, pszoutbuf : ::windows_sys::core::PWSTR, cchoutbuf : u32, ppvreserved : *const *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHLoadNonloadedIconOverlayIdentifiers() -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn SHLockShared(hdata : super::super::Foundation:: HANDLE, dwprocessid : u32) -> *mut ::core::ffi::c_void); #[cfg(feature = "Win32_UI_Shell_Common")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHMapPIDLToSystemImageListIndex(pshf : IShellFolder, pidl : *const Common:: ITEMIDLIST, piindexsel : *mut i32) -> i32); +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHMapPIDLToSystemImageListIndex(pshf : * mut::core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, piindexsel : *mut i32) -> i32); ::windows_targets::link!("shlwapi.dll" "system" fn SHMessageBoxCheckA(hwnd : super::super::Foundation:: HWND, psztext : ::windows_sys::core::PCSTR, pszcaption : ::windows_sys::core::PCSTR, utype : u32, idefault : i32, pszregval : ::windows_sys::core::PCSTR) -> i32); ::windows_targets::link!("shlwapi.dll" "system" fn SHMessageBoxCheckW(hwnd : super::super::Foundation:: HWND, psztext : ::windows_sys::core::PCWSTR, pszcaption : ::windows_sys::core::PCWSTR, utype : u32, idefault : i32, pszregval : ::windows_sys::core::PCWSTR) -> i32); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHMultiFileProperties(pdtobj : super::super::System::Com:: IDataObject, dwflags : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHMultiFileProperties(pdtobj : * mut::core::ffi::c_void, dwflags : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHObjectProperties(hwnd : super::super::Foundation:: HWND, shopobjecttype : u32, pszobjectname : ::windows_sys::core::PCWSTR, pszpropertypage : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_UI_Shell_Common")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHOpenFolderAndSelectItems(pidlfolder : *const Common:: ITEMIDLIST, cidl : u32, apidl : *const *const Common:: ITEMIDLIST, dwflags : u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Registry"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Registry\"`"] fn SHOpenPropSheetW(pszcaption : ::windows_sys::core::PCWSTR, ahkeys : *const super::super::System::Registry:: HKEY, ckeys : u32, pclsiddefault : *const ::windows_sys::core::GUID, pdtobj : super::super::System::Com:: IDataObject, psb : IShellBrowser, pstartpage : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Registry"))] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`"] fn SHOpenRegStream2A(hkey : super::super::System::Registry:: HKEY, pszsubkey : ::windows_sys::core::PCSTR, pszvalue : ::windows_sys::core::PCSTR, grfmode : u32) -> super::super::System::Com:: IStream); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Registry"))] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`"] fn SHOpenRegStream2W(hkey : super::super::System::Registry:: HKEY, pszsubkey : ::windows_sys::core::PCWSTR, pszvalue : ::windows_sys::core::PCWSTR, grfmode : u32) -> super::super::System::Com:: IStream); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Registry"))] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`"] fn SHOpenRegStreamA(hkey : super::super::System::Registry:: HKEY, pszsubkey : ::windows_sys::core::PCSTR, pszvalue : ::windows_sys::core::PCSTR, grfmode : u32) -> super::super::System::Com:: IStream); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Registry"))] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`"] fn SHOpenRegStreamW(hkey : super::super::System::Registry:: HKEY, pszsubkey : ::windows_sys::core::PCWSTR, pszvalue : ::windows_sys::core::PCWSTR, grfmode : u32) -> super::super::System::Com:: IStream); +#[cfg(feature = "Win32_System_Registry")] +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn SHOpenPropSheetW(pszcaption : ::windows_sys::core::PCWSTR, ahkeys : *const super::super::System::Registry:: HKEY, ckeys : u32, pclsiddefault : *const ::windows_sys::core::GUID, pdtobj : * mut::core::ffi::c_void, psb : * mut::core::ffi::c_void, pstartpage : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_System_Registry")] +::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn SHOpenRegStream2A(hkey : super::super::System::Registry:: HKEY, pszsubkey : ::windows_sys::core::PCSTR, pszvalue : ::windows_sys::core::PCSTR, grfmode : u32) -> * mut::core::ffi::c_void); +#[cfg(feature = "Win32_System_Registry")] +::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn SHOpenRegStream2W(hkey : super::super::System::Registry:: HKEY, pszsubkey : ::windows_sys::core::PCWSTR, pszvalue : ::windows_sys::core::PCWSTR, grfmode : u32) -> * mut::core::ffi::c_void); +#[cfg(feature = "Win32_System_Registry")] +::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn SHOpenRegStreamA(hkey : super::super::System::Registry:: HKEY, pszsubkey : ::windows_sys::core::PCSTR, pszvalue : ::windows_sys::core::PCSTR, grfmode : u32) -> * mut::core::ffi::c_void); +#[cfg(feature = "Win32_System_Registry")] +::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn SHOpenRegStreamW(hkey : super::super::System::Registry:: HKEY, pszsubkey : ::windows_sys::core::PCWSTR, pszvalue : ::windows_sys::core::PCWSTR, grfmode : u32) -> * mut::core::ffi::c_void); ::windows_targets::link!("shell32.dll" "system" fn SHOpenWithDialog(hwndparent : super::super::Foundation:: HWND, poainfo : *const OPENASINFO) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] fn SHParseDisplayName(pszname : ::windows_sys::core::PCWSTR, pbc : super::super::System::Com:: IBindCtx, ppidl : *mut *mut Common:: ITEMIDLIST, sfgaoin : u32, psfgaoout : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_UI_Shell_Common")] +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHParseDisplayName(pszname : ::windows_sys::core::PCWSTR, pbc : * mut::core::ffi::c_void, ppidl : *mut *mut Common:: ITEMIDLIST, sfgaoin : u32, psfgaoout : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHPathPrepareForWriteA(hwnd : super::super::Foundation:: HWND, punkenablemodless : ::windows_sys::core::IUnknown, pszpath : ::windows_sys::core::PCSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHPathPrepareForWriteW(hwnd : super::super::Foundation:: HWND, punkenablemodless : ::windows_sys::core::IUnknown, pszpath : ::windows_sys::core::PCWSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Registry")] @@ -705,18 +670,18 @@ pub mod PropertiesSystem; ::windows_targets::link!("shell32.dll" "system" fn SHRemoveLocalizedName(pszpath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Controls")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Controls\"`"] fn SHReplaceFromPropSheetExtArray(hpsxa : HPSXA, upageid : u32, lpfnreplacewith : super::Controls:: LPFNSVADDPROPSHEETPAGE, lparam : super::super::Foundation:: LPARAM) -> u32); -::windows_targets::link!("shell32.dll" "system" fn SHResolveLibrary(psilibrary : IShellItem) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHResolveLibrary(psilibrary : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHRestricted(rest : RESTRICTIONS) -> u32); ::windows_targets::link!("shlwapi.dll" "system" fn SHSendMessageBroadcastA(umsg : u32, wparam : super::super::Foundation:: WPARAM, lparam : super::super::Foundation:: LPARAM) -> super::super::Foundation:: LRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn SHSendMessageBroadcastW(umsg : u32, wparam : super::super::Foundation:: WPARAM, lparam : super::super::Foundation:: LPARAM) -> super::super::Foundation:: LRESULT); -::windows_targets::link!("shell32.dll" "system" fn SHSetDefaultProperties(hwnd : super::super::Foundation:: HWND, psi : IShellItem, dwfileopflags : u32, pfops : IFileOperationProgressSink) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHSetDefaultProperties(hwnd : super::super::Foundation:: HWND, psi : * mut::core::ffi::c_void, dwfileopflags : u32, pfops : * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHSetFolderPathA(csidl : i32, htoken : super::super::Foundation:: HANDLE, dwflags : u32, pszpath : ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHSetFolderPathW(csidl : i32, htoken : super::super::Foundation:: HANDLE, dwflags : u32, pszpath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHSetInstanceExplorer(punk : ::windows_sys::core::IUnknown)); ::windows_targets::link!("shell32.dll" "system" fn SHSetKnownFolderPath(rfid : *const ::windows_sys::core::GUID, dwflags : u32, htoken : super::super::Foundation:: HANDLE, pszpath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHSetLocalizedName(pszpath : ::windows_sys::core::PCWSTR, pszresmodule : ::windows_sys::core::PCWSTR, idsres : i32) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn SHSetTemporaryPropertyForItem(psi : IShellItem, propkey : *const PropertiesSystem:: PROPERTYKEY, propvar : *const super::super::System::Com::StructuredStorage:: PROPVARIANT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn SHSetTemporaryPropertyForItem(psi : * mut::core::ffi::c_void, propkey : *const PropertiesSystem:: PROPERTYKEY, propvar : *const super::super::System::Com::StructuredStorage:: PROPVARIANT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn SHSetThreadRef(punk : ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shell32.dll" "system" fn SHSetUnreadMailCountW(pszmailaddress : ::windows_sys::core::PCWSTR, dwcount : u32, pszshellexecutecommand : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Registry")] @@ -724,11 +689,10 @@ pub mod PropertiesSystem; #[cfg(feature = "Win32_System_Registry")] ::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn SHSetValueW(hkey : super::super::System::Registry:: HKEY, pszsubkey : ::windows_sys::core::PCWSTR, pszvalue : ::windows_sys::core::PCWSTR, dwtype : u32, pvdata : *const ::core::ffi::c_void, cbdata : u32) -> i32); ::windows_targets::link!("shell32.dll" "system" fn SHShellFolderView_Message(hwndmain : super::super::Foundation:: HWND, umsg : u32, lparam : super::super::Foundation:: LPARAM) -> super::super::Foundation:: LRESULT); -::windows_targets::link!("shell32.dll" "system" fn SHShowManageLibraryUI(psilibrary : IShellItem, hwndowner : super::super::Foundation:: HWND, psztitle : ::windows_sys::core::PCWSTR, pszinstruction : ::windows_sys::core::PCWSTR, lmdoptions : LIBRARYMANAGEDIALOGOPTIONS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn SHShowManageLibraryUI(psilibrary : * mut::core::ffi::c_void, hwndowner : super::super::Foundation:: HWND, psztitle : ::windows_sys::core::PCWSTR, pszinstruction : ::windows_sys::core::PCWSTR, lmdoptions : LIBRARYMANAGEDIALOGOPTIONS) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_UI_Shell_Common")] ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SHSimpleIDListFromPath(pszpath : ::windows_sys::core::PCWSTR) -> *mut Common:: ITEMIDLIST); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("shlwapi.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SHSkipJunction(pbc : super::super::System::Com:: IBindCtx, pclsid : *const ::windows_sys::core::GUID) -> super::super::Foundation:: BOOL); +::windows_targets::link!("shlwapi.dll" "system" fn SHSkipJunction(pbc : * mut::core::ffi::c_void, pclsid : *const ::windows_sys::core::GUID) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shell32.dll" "system" fn SHStartNetConnectionDialogW(hwnd : super::super::Foundation:: HWND, pszremotename : ::windows_sys::core::PCWSTR, dwtype : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn SHStrDupA(psz : ::windows_sys::core::PCSTR, ppwsz : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn SHStrDupW(psz : ::windows_sys::core::PCWSTR, ppwsz : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); @@ -778,8 +742,7 @@ pub mod PropertiesSystem; ::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] fn SignalFileOpen(pidl : *const Common:: ITEMIDLIST) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_System_Com_Urlmon")] ::windows_targets::link!("shdocvw.dll" "system" #[doc = "Required features: `\"Win32_System_Com_Urlmon\"`"] fn SoftwareUpdateMessageBox(hwnd : super::super::Foundation:: HWND, pszdistunit : ::windows_sys::core::PCWSTR, dwflags : u32, psdi : *mut super::super::System::Com::Urlmon:: SOFTDISTINFO) -> u32); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_targets::link!("shell32.dll" "system" #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] fn StgMakeUniqueName(pstgparent : super::super::System::Com::StructuredStorage:: IStorage, pszfilespec : ::windows_sys::core::PCWSTR, grfmode : u32, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("shell32.dll" "system" fn StgMakeUniqueName(pstgparent : * mut::core::ffi::c_void, pszfilespec : ::windows_sys::core::PCWSTR, grfmode : u32, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn StrCSpnA(pszstr : ::windows_sys::core::PCSTR, pszset : ::windows_sys::core::PCSTR) -> i32); ::windows_targets::link!("shlwapi.dll" "system" fn StrCSpnIA(pszstr : ::windows_sys::core::PCSTR, pszset : ::windows_sys::core::PCSTR) -> i32); ::windows_targets::link!("shlwapi.dll" "system" fn StrCSpnIW(pszstr : ::windows_sys::core::PCWSTR, pszset : ::windows_sys::core::PCWSTR) -> i32); @@ -890,8 +853,8 @@ pub mod PropertiesSystem; ::windows_targets::link!("shlwapi.dll" "system" fn UrlIsW(pszurl : ::windows_sys::core::PCWSTR, urlis : URLIS) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shlwapi.dll" "system" fn UrlUnescapeA(pszurl : ::windows_sys::core::PSTR, pszunescaped : ::windows_sys::core::PSTR, pcchunescaped : *mut u32, dwflags : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn UrlUnescapeW(pszurl : ::windows_sys::core::PWSTR, pszunescaped : ::windows_sys::core::PWSTR, pcchunescaped : *mut u32, dwflags : u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_Common"))] -::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`"] fn VariantToStrRet(varin : *const super::super::System::Variant:: VARIANT, pstrret : *mut Common:: STRRET) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_Common"))] +::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`"] fn VariantToStrRet(varin : *const super::super::System::Variant:: VARIANT, pstrret : *mut Common:: STRRET) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn WhichPlatform() -> u32); ::windows_targets::link!("shell32.dll" "system" fn Win32DeleteFile(pszpath : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); ::windows_targets::link!("user32.dll" "system" fn WinHelpA(hwndmain : super::super::Foundation:: HWND, lpszhelp : ::windows_sys::core::PCSTR, ucommand : u32, dwdata : usize) -> super::super::Foundation:: BOOL); @@ -901,422 +864,6 @@ pub mod PropertiesSystem; ::windows_targets::link!("shlwapi.dll" "cdecl" fn wnsprintfW(pszdest : ::windows_sys::core::PWSTR, cchdest : i32, pszfmt : ::windows_sys::core::PCWSTR, ...) -> i32); ::windows_targets::link!("shlwapi.dll" "system" fn wvnsprintfA(pszdest : ::windows_sys::core::PSTR, cchdest : i32, pszfmt : ::windows_sys::core::PCSTR, arglist : *const i8) -> i32); ::windows_targets::link!("shlwapi.dll" "system" fn wvnsprintfW(pszdest : ::windows_sys::core::PWSTR, cchdest : i32, pszfmt : ::windows_sys::core::PCWSTR, arglist : *const i8) -> i32); -pub type CIE4ConnectionPoint = *mut ::core::ffi::c_void; -pub type DFConstraint = *mut ::core::ffi::c_void; -pub type DShellFolderViewEvents = *mut ::core::ffi::c_void; -pub type DShellNameSpaceEvents = *mut ::core::ffi::c_void; -pub type DShellWindowsEvents = *mut ::core::ffi::c_void; -pub type DWebBrowserEvents = *mut ::core::ffi::c_void; -pub type DWebBrowserEvents2 = *mut ::core::ffi::c_void; -pub type Folder = *mut ::core::ffi::c_void; -pub type Folder2 = *mut ::core::ffi::c_void; -pub type Folder3 = *mut ::core::ffi::c_void; -pub type FolderItem = *mut ::core::ffi::c_void; -pub type FolderItem2 = *mut ::core::ffi::c_void; -pub type FolderItemVerb = *mut ::core::ffi::c_void; -pub type FolderItemVerbs = *mut ::core::ffi::c_void; -pub type FolderItems = *mut ::core::ffi::c_void; -pub type FolderItems2 = *mut ::core::ffi::c_void; -pub type FolderItems3 = *mut ::core::ffi::c_void; -pub type IACList = *mut ::core::ffi::c_void; -pub type IACList2 = *mut ::core::ffi::c_void; -pub type IAccessibilityDockingService = *mut ::core::ffi::c_void; -pub type IAccessibilityDockingServiceCallback = *mut ::core::ffi::c_void; -pub type IAccessibleObject = *mut ::core::ffi::c_void; -pub type IActionProgress = *mut ::core::ffi::c_void; -pub type IActionProgressDialog = *mut ::core::ffi::c_void; -pub type IAppActivationUIInfo = *mut ::core::ffi::c_void; -pub type IAppPublisher = *mut ::core::ffi::c_void; -pub type IAppVisibility = *mut ::core::ffi::c_void; -pub type IAppVisibilityEvents = *mut ::core::ffi::c_void; -pub type IApplicationActivationManager = *mut ::core::ffi::c_void; -pub type IApplicationAssociationRegistration = *mut ::core::ffi::c_void; -pub type IApplicationAssociationRegistrationUI = *mut ::core::ffi::c_void; -pub type IApplicationDesignModeSettings = *mut ::core::ffi::c_void; -pub type IApplicationDesignModeSettings2 = *mut ::core::ffi::c_void; -pub type IApplicationDestinations = *mut ::core::ffi::c_void; -pub type IApplicationDocumentLists = *mut ::core::ffi::c_void; -pub type IAssocHandler = *mut ::core::ffi::c_void; -pub type IAssocHandlerInvoker = *mut ::core::ffi::c_void; -pub type IAttachmentExecute = *mut ::core::ffi::c_void; -pub type IAutoComplete = *mut ::core::ffi::c_void; -pub type IAutoComplete2 = *mut ::core::ffi::c_void; -pub type IAutoCompleteDropDown = *mut ::core::ffi::c_void; -pub type IBandHost = *mut ::core::ffi::c_void; -pub type IBandSite = *mut ::core::ffi::c_void; -pub type IBannerNotificationHandler = *mut ::core::ffi::c_void; -pub type IBanneredBar = *mut ::core::ffi::c_void; -pub type IBrowserFrameOptions = *mut ::core::ffi::c_void; -pub type IBrowserService = *mut ::core::ffi::c_void; -pub type IBrowserService2 = *mut ::core::ffi::c_void; -pub type IBrowserService3 = *mut ::core::ffi::c_void; -pub type IBrowserService4 = *mut ::core::ffi::c_void; -pub type ICDBurn = *mut ::core::ffi::c_void; -pub type ICDBurnExt = *mut ::core::ffi::c_void; -pub type ICategorizer = *mut ::core::ffi::c_void; -pub type ICategoryProvider = *mut ::core::ffi::c_void; -pub type IColumnManager = *mut ::core::ffi::c_void; -pub type IColumnProvider = *mut ::core::ffi::c_void; -pub type ICommDlgBrowser = *mut ::core::ffi::c_void; -pub type ICommDlgBrowser2 = *mut ::core::ffi::c_void; -pub type ICommDlgBrowser3 = *mut ::core::ffi::c_void; -pub type IComputerInfoChangeNotify = *mut ::core::ffi::c_void; -pub type IConnectableCredentialProviderCredential = *mut ::core::ffi::c_void; -pub type IContactManagerInterop = *mut ::core::ffi::c_void; -pub type IContextMenu = *mut ::core::ffi::c_void; -pub type IContextMenu2 = *mut ::core::ffi::c_void; -pub type IContextMenu3 = *mut ::core::ffi::c_void; -pub type IContextMenuCB = *mut ::core::ffi::c_void; -pub type IContextMenuSite = *mut ::core::ffi::c_void; -pub type ICopyHookA = *mut ::core::ffi::c_void; -pub type ICopyHookW = *mut ::core::ffi::c_void; -pub type ICreateProcessInputs = *mut ::core::ffi::c_void; -pub type ICreatingProcess = *mut ::core::ffi::c_void; -pub type ICredentialProvider = *mut ::core::ffi::c_void; -pub type ICredentialProviderCredential = *mut ::core::ffi::c_void; -pub type ICredentialProviderCredential2 = *mut ::core::ffi::c_void; -pub type ICredentialProviderCredentialEvents = *mut ::core::ffi::c_void; -pub type ICredentialProviderCredentialEvents2 = *mut ::core::ffi::c_void; -pub type ICredentialProviderCredentialWithFieldOptions = *mut ::core::ffi::c_void; -pub type ICredentialProviderEvents = *mut ::core::ffi::c_void; -pub type ICredentialProviderFilter = *mut ::core::ffi::c_void; -pub type ICredentialProviderSetUserArray = *mut ::core::ffi::c_void; -pub type ICredentialProviderUser = *mut ::core::ffi::c_void; -pub type ICredentialProviderUserArray = *mut ::core::ffi::c_void; -pub type ICurrentItem = *mut ::core::ffi::c_void; -pub type ICurrentWorkingDirectory = *mut ::core::ffi::c_void; -pub type ICustomDestinationList = *mut ::core::ffi::c_void; -pub type IDataObjectAsyncCapability = *mut ::core::ffi::c_void; -pub type IDataObjectProvider = *mut ::core::ffi::c_void; -pub type IDataTransferManagerInterop = *mut ::core::ffi::c_void; -pub type IDefaultExtractIconInit = *mut ::core::ffi::c_void; -pub type IDefaultFolderMenuInitialize = *mut ::core::ffi::c_void; -pub type IDelegateFolder = *mut ::core::ffi::c_void; -pub type IDelegateItem = *mut ::core::ffi::c_void; -pub type IDeskBand = *mut ::core::ffi::c_void; -pub type IDeskBand2 = *mut ::core::ffi::c_void; -pub type IDeskBandInfo = *mut ::core::ffi::c_void; -pub type IDeskBar = *mut ::core::ffi::c_void; -pub type IDeskBarClient = *mut ::core::ffi::c_void; -pub type IDesktopGadget = *mut ::core::ffi::c_void; -pub type IDesktopWallpaper = *mut ::core::ffi::c_void; -pub type IDestinationStreamFactory = *mut ::core::ffi::c_void; -pub type IDisplayItem = *mut ::core::ffi::c_void; -pub type IDocViewSite = *mut ::core::ffi::c_void; -pub type IDockingWindow = *mut ::core::ffi::c_void; -pub type IDockingWindowFrame = *mut ::core::ffi::c_void; -pub type IDockingWindowSite = *mut ::core::ffi::c_void; -pub type IDragSourceHelper = *mut ::core::ffi::c_void; -pub type IDragSourceHelper2 = *mut ::core::ffi::c_void; -pub type IDropTargetHelper = *mut ::core::ffi::c_void; -pub type IDynamicHWHandler = *mut ::core::ffi::c_void; -pub type IEnumACString = *mut ::core::ffi::c_void; -pub type IEnumAssocHandlers = *mut ::core::ffi::c_void; -pub type IEnumExplorerCommand = *mut ::core::ffi::c_void; -pub type IEnumExtraSearch = *mut ::core::ffi::c_void; -pub type IEnumFullIDList = *mut ::core::ffi::c_void; -pub type IEnumHLITEM = *mut ::core::ffi::c_void; -pub type IEnumIDList = *mut ::core::ffi::c_void; -pub type IEnumObjects = *mut ::core::ffi::c_void; -pub type IEnumPublishedApps = *mut ::core::ffi::c_void; -pub type IEnumReadyCallback = *mut ::core::ffi::c_void; -pub type IEnumResources = *mut ::core::ffi::c_void; -pub type IEnumShellItems = *mut ::core::ffi::c_void; -pub type IEnumSyncMgrConflict = *mut ::core::ffi::c_void; -pub type IEnumSyncMgrEvents = *mut ::core::ffi::c_void; -pub type IEnumSyncMgrSyncItems = *mut ::core::ffi::c_void; -pub type IEnumTravelLogEntry = *mut ::core::ffi::c_void; -pub type IEnumerableView = *mut ::core::ffi::c_void; -pub type IExecuteCommand = *mut ::core::ffi::c_void; -pub type IExecuteCommandApplicationHostEnvironment = *mut ::core::ffi::c_void; -pub type IExecuteCommandHost = *mut ::core::ffi::c_void; -pub type IExpDispSupport = *mut ::core::ffi::c_void; -pub type IExpDispSupportXP = *mut ::core::ffi::c_void; -pub type IExplorerBrowser = *mut ::core::ffi::c_void; -pub type IExplorerBrowserEvents = *mut ::core::ffi::c_void; -pub type IExplorerCommand = *mut ::core::ffi::c_void; -pub type IExplorerCommandProvider = *mut ::core::ffi::c_void; -pub type IExplorerCommandState = *mut ::core::ffi::c_void; -pub type IExplorerPaneVisibility = *mut ::core::ffi::c_void; -pub type IExtensionServices = *mut ::core::ffi::c_void; -pub type IExtractIconA = *mut ::core::ffi::c_void; -pub type IExtractIconW = *mut ::core::ffi::c_void; -pub type IExtractImage = *mut ::core::ffi::c_void; -pub type IExtractImage2 = *mut ::core::ffi::c_void; -pub type IFileDialog = *mut ::core::ffi::c_void; -pub type IFileDialog2 = *mut ::core::ffi::c_void; -pub type IFileDialogControlEvents = *mut ::core::ffi::c_void; -pub type IFileDialogCustomize = *mut ::core::ffi::c_void; -pub type IFileDialogEvents = *mut ::core::ffi::c_void; -pub type IFileIsInUse = *mut ::core::ffi::c_void; -pub type IFileOpenDialog = *mut ::core::ffi::c_void; -pub type IFileOperation = *mut ::core::ffi::c_void; -pub type IFileOperation2 = *mut ::core::ffi::c_void; -pub type IFileOperationProgressSink = *mut ::core::ffi::c_void; -pub type IFileSaveDialog = *mut ::core::ffi::c_void; -pub type IFileSearchBand = *mut ::core::ffi::c_void; -pub type IFileSyncMergeHandler = *mut ::core::ffi::c_void; -pub type IFileSystemBindData = *mut ::core::ffi::c_void; -pub type IFileSystemBindData2 = *mut ::core::ffi::c_void; -pub type IFolderBandPriv = *mut ::core::ffi::c_void; -pub type IFolderFilter = *mut ::core::ffi::c_void; -pub type IFolderFilterSite = *mut ::core::ffi::c_void; -pub type IFolderView = *mut ::core::ffi::c_void; -pub type IFolderView2 = *mut ::core::ffi::c_void; -pub type IFolderViewHost = *mut ::core::ffi::c_void; -pub type IFolderViewOC = *mut ::core::ffi::c_void; -pub type IFolderViewOptions = *mut ::core::ffi::c_void; -pub type IFolderViewSettings = *mut ::core::ffi::c_void; -pub type IFrameworkInputPane = *mut ::core::ffi::c_void; -pub type IFrameworkInputPaneHandler = *mut ::core::ffi::c_void; -pub type IGetServiceIds = *mut ::core::ffi::c_void; -pub type IHWEventHandler = *mut ::core::ffi::c_void; -pub type IHWEventHandler2 = *mut ::core::ffi::c_void; -pub type IHandlerActivationHost = *mut ::core::ffi::c_void; -pub type IHandlerInfo = *mut ::core::ffi::c_void; -pub type IHandlerInfo2 = *mut ::core::ffi::c_void; -pub type IHlink = *mut ::core::ffi::c_void; -pub type IHlinkBrowseContext = *mut ::core::ffi::c_void; -pub type IHlinkFrame = *mut ::core::ffi::c_void; -pub type IHlinkSite = *mut ::core::ffi::c_void; -pub type IHlinkTarget = *mut ::core::ffi::c_void; -pub type IHomeGroup = *mut ::core::ffi::c_void; -pub type IIOCancelInformation = *mut ::core::ffi::c_void; -pub type IIdentityName = *mut ::core::ffi::c_void; -pub type IImageRecompress = *mut ::core::ffi::c_void; -pub type IInitializeCommand = *mut ::core::ffi::c_void; -pub type IInitializeNetworkFolder = *mut ::core::ffi::c_void; -pub type IInitializeObject = *mut ::core::ffi::c_void; -pub type IInitializeWithBindCtx = *mut ::core::ffi::c_void; -pub type IInitializeWithItem = *mut ::core::ffi::c_void; -pub type IInitializeWithPropertyStore = *mut ::core::ffi::c_void; -pub type IInitializeWithWindow = *mut ::core::ffi::c_void; -pub type IInputObject = *mut ::core::ffi::c_void; -pub type IInputObject2 = *mut ::core::ffi::c_void; -pub type IInputObjectSite = *mut ::core::ffi::c_void; -pub type IInputPaneAnimationCoordinator = *mut ::core::ffi::c_void; -pub type IInputPanelConfiguration = *mut ::core::ffi::c_void; -pub type IInputPanelInvocationConfiguration = *mut ::core::ffi::c_void; -pub type IInsertItem = *mut ::core::ffi::c_void; -pub type IItemNameLimits = *mut ::core::ffi::c_void; -pub type IKnownFolder = *mut ::core::ffi::c_void; -pub type IKnownFolderManager = *mut ::core::ffi::c_void; -pub type ILaunchSourceAppUserModelId = *mut ::core::ffi::c_void; -pub type ILaunchSourceViewSizePreference = *mut ::core::ffi::c_void; -pub type ILaunchTargetMonitor = *mut ::core::ffi::c_void; -pub type ILaunchTargetViewSizePreference = *mut ::core::ffi::c_void; -pub type ILaunchUIContext = *mut ::core::ffi::c_void; -pub type ILaunchUIContextProvider = *mut ::core::ffi::c_void; -pub type IMenuBand = *mut ::core::ffi::c_void; -pub type IMenuPopup = *mut ::core::ffi::c_void; -pub type IModalWindow = *mut ::core::ffi::c_void; -pub type INameSpaceTreeAccessible = *mut ::core::ffi::c_void; -pub type INameSpaceTreeControl = *mut ::core::ffi::c_void; -pub type INameSpaceTreeControl2 = *mut ::core::ffi::c_void; -pub type INameSpaceTreeControlCustomDraw = *mut ::core::ffi::c_void; -pub type INameSpaceTreeControlDropHandler = *mut ::core::ffi::c_void; -pub type INameSpaceTreeControlEvents = *mut ::core::ffi::c_void; -pub type INameSpaceTreeControlFolderCapabilities = *mut ::core::ffi::c_void; -pub type INamedPropertyBag = *mut ::core::ffi::c_void; -pub type INamespaceWalk = *mut ::core::ffi::c_void; -pub type INamespaceWalkCB = *mut ::core::ffi::c_void; -pub type INamespaceWalkCB2 = *mut ::core::ffi::c_void; -pub type INetworkFolderInternal = *mut ::core::ffi::c_void; -pub type INewMenuClient = *mut ::core::ffi::c_void; -pub type INewShortcutHookA = *mut ::core::ffi::c_void; -pub type INewShortcutHookW = *mut ::core::ffi::c_void; -pub type INewWDEvents = *mut ::core::ffi::c_void; -pub type INewWindowManager = *mut ::core::ffi::c_void; -pub type INotifyReplica = *mut ::core::ffi::c_void; -pub type IObjMgr = *mut ::core::ffi::c_void; -pub type IObjectProvider = *mut ::core::ffi::c_void; -pub type IObjectWithAppUserModelID = *mut ::core::ffi::c_void; -pub type IObjectWithBackReferences = *mut ::core::ffi::c_void; -pub type IObjectWithCancelEvent = *mut ::core::ffi::c_void; -pub type IObjectWithFolderEnumMode = *mut ::core::ffi::c_void; -pub type IObjectWithProgID = *mut ::core::ffi::c_void; -pub type IObjectWithSelection = *mut ::core::ffi::c_void; -pub type IOpenControlPanel = *mut ::core::ffi::c_void; -pub type IOpenSearchSource = *mut ::core::ffi::c_void; -pub type IOperationsProgressDialog = *mut ::core::ffi::c_void; -pub type IPackageDebugSettings = *mut ::core::ffi::c_void; -pub type IPackageDebugSettings2 = *mut ::core::ffi::c_void; -pub type IPackageExecutionStateChangeNotification = *mut ::core::ffi::c_void; -pub type IParentAndItem = *mut ::core::ffi::c_void; -pub type IParseAndCreateItem = *mut ::core::ffi::c_void; -pub type IPersistFolder = *mut ::core::ffi::c_void; -pub type IPersistFolder2 = *mut ::core::ffi::c_void; -pub type IPersistFolder3 = *mut ::core::ffi::c_void; -pub type IPersistIDList = *mut ::core::ffi::c_void; -pub type IPreviewHandler = *mut ::core::ffi::c_void; -pub type IPreviewHandlerFrame = *mut ::core::ffi::c_void; -pub type IPreviewHandlerVisuals = *mut ::core::ffi::c_void; -pub type IPreviewItem = *mut ::core::ffi::c_void; -pub type IPreviousVersionsInfo = *mut ::core::ffi::c_void; -pub type IProfferService = *mut ::core::ffi::c_void; -pub type IProgressDialog = *mut ::core::ffi::c_void; -pub type IPropertyKeyStore = *mut ::core::ffi::c_void; -pub type IPublishedApp = *mut ::core::ffi::c_void; -pub type IPublishedApp2 = *mut ::core::ffi::c_void; -pub type IPublishingWizard = *mut ::core::ffi::c_void; -pub type IQueryAssociations = *mut ::core::ffi::c_void; -pub type IQueryCancelAutoPlay = *mut ::core::ffi::c_void; -pub type IQueryCodePage = *mut ::core::ffi::c_void; -pub type IQueryContinue = *mut ::core::ffi::c_void; -pub type IQueryContinueWithStatus = *mut ::core::ffi::c_void; -pub type IQueryInfo = *mut ::core::ffi::c_void; -pub type IRegTreeItem = *mut ::core::ffi::c_void; -pub type IRelatedItem = *mut ::core::ffi::c_void; -pub type IRemoteComputer = *mut ::core::ffi::c_void; -pub type IResolveShellLink = *mut ::core::ffi::c_void; -pub type IResultsFolder = *mut ::core::ffi::c_void; -pub type IRunnableTask = *mut ::core::ffi::c_void; -pub type IScriptErrorList = *mut ::core::ffi::c_void; -pub type ISearchBoxInfo = *mut ::core::ffi::c_void; -pub type ISearchContext = *mut ::core::ffi::c_void; -pub type ISearchFolderItemFactory = *mut ::core::ffi::c_void; -pub type ISharedBitmap = *mut ::core::ffi::c_void; -pub type ISharingConfigurationManager = *mut ::core::ffi::c_void; -pub type IShellApp = *mut ::core::ffi::c_void; -pub type IShellBrowser = *mut ::core::ffi::c_void; -pub type IShellChangeNotify = *mut ::core::ffi::c_void; -pub type IShellDetails = *mut ::core::ffi::c_void; -pub type IShellDispatch = *mut ::core::ffi::c_void; -pub type IShellDispatch2 = *mut ::core::ffi::c_void; -pub type IShellDispatch3 = *mut ::core::ffi::c_void; -pub type IShellDispatch4 = *mut ::core::ffi::c_void; -pub type IShellDispatch5 = *mut ::core::ffi::c_void; -pub type IShellDispatch6 = *mut ::core::ffi::c_void; -pub type IShellExtInit = *mut ::core::ffi::c_void; -pub type IShellFavoritesNameSpace = *mut ::core::ffi::c_void; -pub type IShellFolder = *mut ::core::ffi::c_void; -pub type IShellFolder2 = *mut ::core::ffi::c_void; -pub type IShellFolderBand = *mut ::core::ffi::c_void; -pub type IShellFolderView = *mut ::core::ffi::c_void; -pub type IShellFolderViewCB = *mut ::core::ffi::c_void; -pub type IShellFolderViewDual = *mut ::core::ffi::c_void; -pub type IShellFolderViewDual2 = *mut ::core::ffi::c_void; -pub type IShellFolderViewDual3 = *mut ::core::ffi::c_void; -pub type IShellIcon = *mut ::core::ffi::c_void; -pub type IShellIconOverlay = *mut ::core::ffi::c_void; -pub type IShellIconOverlayIdentifier = *mut ::core::ffi::c_void; -pub type IShellIconOverlayManager = *mut ::core::ffi::c_void; -pub type IShellImageData = *mut ::core::ffi::c_void; -pub type IShellImageDataAbort = *mut ::core::ffi::c_void; -pub type IShellImageDataFactory = *mut ::core::ffi::c_void; -pub type IShellItem = *mut ::core::ffi::c_void; -pub type IShellItem2 = *mut ::core::ffi::c_void; -pub type IShellItemArray = *mut ::core::ffi::c_void; -pub type IShellItemFilter = *mut ::core::ffi::c_void; -pub type IShellItemImageFactory = *mut ::core::ffi::c_void; -pub type IShellItemResources = *mut ::core::ffi::c_void; -pub type IShellLibrary = *mut ::core::ffi::c_void; -pub type IShellLinkA = *mut ::core::ffi::c_void; -pub type IShellLinkDataList = *mut ::core::ffi::c_void; -pub type IShellLinkDual = *mut ::core::ffi::c_void; -pub type IShellLinkDual2 = *mut ::core::ffi::c_void; -pub type IShellLinkW = *mut ::core::ffi::c_void; -pub type IShellMenu = *mut ::core::ffi::c_void; -pub type IShellMenuCallback = *mut ::core::ffi::c_void; -pub type IShellNameSpace = *mut ::core::ffi::c_void; -pub type IShellPropSheetExt = *mut ::core::ffi::c_void; -pub type IShellRunDll = *mut ::core::ffi::c_void; -pub type IShellService = *mut ::core::ffi::c_void; -pub type IShellTaskScheduler = *mut ::core::ffi::c_void; -pub type IShellUIHelper = *mut ::core::ffi::c_void; -pub type IShellUIHelper2 = *mut ::core::ffi::c_void; -pub type IShellUIHelper3 = *mut ::core::ffi::c_void; -pub type IShellUIHelper4 = *mut ::core::ffi::c_void; -pub type IShellUIHelper5 = *mut ::core::ffi::c_void; -pub type IShellUIHelper6 = *mut ::core::ffi::c_void; -pub type IShellUIHelper7 = *mut ::core::ffi::c_void; -pub type IShellUIHelper8 = *mut ::core::ffi::c_void; -pub type IShellUIHelper9 = *mut ::core::ffi::c_void; -pub type IShellView = *mut ::core::ffi::c_void; -pub type IShellView2 = *mut ::core::ffi::c_void; -pub type IShellView3 = *mut ::core::ffi::c_void; -pub type IShellWindows = *mut ::core::ffi::c_void; -pub type ISortColumnArray = *mut ::core::ffi::c_void; -pub type IStartMenuPinnedList = *mut ::core::ffi::c_void; -pub type IStorageProviderBanners = *mut ::core::ffi::c_void; -pub type IStorageProviderCopyHook = *mut ::core::ffi::c_void; -pub type IStorageProviderHandler = *mut ::core::ffi::c_void; -pub type IStorageProviderPropertyHandler = *mut ::core::ffi::c_void; -pub type IStreamAsync = *mut ::core::ffi::c_void; -pub type IStreamUnbufferedInfo = *mut ::core::ffi::c_void; -pub type ISuspensionDependencyManager = *mut ::core::ffi::c_void; -pub type ISyncMgrConflict = *mut ::core::ffi::c_void; -pub type ISyncMgrConflictFolder = *mut ::core::ffi::c_void; -pub type ISyncMgrConflictItems = *mut ::core::ffi::c_void; -pub type ISyncMgrConflictPresenter = *mut ::core::ffi::c_void; -pub type ISyncMgrConflictResolutionItems = *mut ::core::ffi::c_void; -pub type ISyncMgrConflictResolveInfo = *mut ::core::ffi::c_void; -pub type ISyncMgrConflictStore = *mut ::core::ffi::c_void; -pub type ISyncMgrControl = *mut ::core::ffi::c_void; -pub type ISyncMgrEnumItems = *mut ::core::ffi::c_void; -pub type ISyncMgrEvent = *mut ::core::ffi::c_void; -pub type ISyncMgrEventLinkUIOperation = *mut ::core::ffi::c_void; -pub type ISyncMgrEventStore = *mut ::core::ffi::c_void; -pub type ISyncMgrHandler = *mut ::core::ffi::c_void; -pub type ISyncMgrHandlerCollection = *mut ::core::ffi::c_void; -pub type ISyncMgrHandlerInfo = *mut ::core::ffi::c_void; -pub type ISyncMgrRegister = *mut ::core::ffi::c_void; -pub type ISyncMgrResolutionHandler = *mut ::core::ffi::c_void; -pub type ISyncMgrScheduleWizardUIOperation = *mut ::core::ffi::c_void; -pub type ISyncMgrSessionCreator = *mut ::core::ffi::c_void; -pub type ISyncMgrSyncCallback = *mut ::core::ffi::c_void; -pub type ISyncMgrSyncItem = *mut ::core::ffi::c_void; -pub type ISyncMgrSyncItemContainer = *mut ::core::ffi::c_void; -pub type ISyncMgrSyncItemInfo = *mut ::core::ffi::c_void; -pub type ISyncMgrSyncResult = *mut ::core::ffi::c_void; -pub type ISyncMgrSynchronize = *mut ::core::ffi::c_void; -pub type ISyncMgrSynchronizeCallback = *mut ::core::ffi::c_void; -pub type ISyncMgrSynchronizeInvoke = *mut ::core::ffi::c_void; -pub type ISyncMgrUIOperation = *mut ::core::ffi::c_void; -pub type ITaskbarList = *mut ::core::ffi::c_void; -pub type ITaskbarList2 = *mut ::core::ffi::c_void; -pub type ITaskbarList3 = *mut ::core::ffi::c_void; -pub type ITaskbarList4 = *mut ::core::ffi::c_void; -pub type IThumbnailCache = *mut ::core::ffi::c_void; -pub type IThumbnailCachePrimer = *mut ::core::ffi::c_void; -pub type IThumbnailCapture = *mut ::core::ffi::c_void; -pub type IThumbnailHandlerFactory = *mut ::core::ffi::c_void; -pub type IThumbnailProvider = *mut ::core::ffi::c_void; -pub type IThumbnailSettings = *mut ::core::ffi::c_void; -pub type IThumbnailStreamCache = *mut ::core::ffi::c_void; -pub type ITrackShellMenu = *mut ::core::ffi::c_void; -pub type ITranscodeImage = *mut ::core::ffi::c_void; -pub type ITransferAdviseSink = *mut ::core::ffi::c_void; -pub type ITransferDestination = *mut ::core::ffi::c_void; -pub type ITransferMediumItem = *mut ::core::ffi::c_void; -pub type ITransferSource = *mut ::core::ffi::c_void; -pub type ITravelEntry = *mut ::core::ffi::c_void; -pub type ITravelLog = *mut ::core::ffi::c_void; -pub type ITravelLogClient = *mut ::core::ffi::c_void; -pub type ITravelLogEntry = *mut ::core::ffi::c_void; -pub type ITravelLogStg = *mut ::core::ffi::c_void; -pub type ITrayDeskBand = *mut ::core::ffi::c_void; -pub type IURLSearchHook = *mut ::core::ffi::c_void; -pub type IURLSearchHook2 = *mut ::core::ffi::c_void; -pub type IUniformResourceLocatorA = *mut ::core::ffi::c_void; -pub type IUniformResourceLocatorW = *mut ::core::ffi::c_void; -pub type IUpdateIDList = *mut ::core::ffi::c_void; -pub type IUseToBrowseItem = *mut ::core::ffi::c_void; -pub type IUserAccountChangeCallback = *mut ::core::ffi::c_void; -pub type IUserNotification = *mut ::core::ffi::c_void; -pub type IUserNotification2 = *mut ::core::ffi::c_void; -pub type IUserNotificationCallback = *mut ::core::ffi::c_void; -pub type IViewStateIdentityItem = *mut ::core::ffi::c_void; -pub type IVirtualDesktopManager = *mut ::core::ffi::c_void; -pub type IVisualProperties = *mut ::core::ffi::c_void; -pub type IWebBrowser = *mut ::core::ffi::c_void; -pub type IWebBrowser2 = *mut ::core::ffi::c_void; -pub type IWebBrowserApp = *mut ::core::ffi::c_void; -pub type IWebWizardExtension = *mut ::core::ffi::c_void; -pub type IWebWizardHost = *mut ::core::ffi::c_void; -pub type IWebWizardHost2 = *mut ::core::ffi::c_void; -pub type IWizardExtension = *mut ::core::ffi::c_void; -pub type IWizardSite = *mut ::core::ffi::c_void; pub const ABE_BOTTOM: u32 = 3u32; pub const ABE_LEFT: u32 = 0u32; pub const ABE_RIGHT: u32 = 2u32; @@ -5608,7 +5155,7 @@ pub struct BANDINFOSFB { pub crBtnDk: super::super::Foundation::COLORREF, pub wViewMode: u16, pub wAlign: u16, - pub psf: IShellFolder, + pub psf: *mut ::core::ffi::c_void, pub pidl: *mut Common::ITEMIDLIST, } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -5644,28 +5191,28 @@ impl ::core::clone::Clone for BANNER_NOTIFICATION { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] +#[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] +#[cfg(feature = "Win32_UI_Shell_Common")] pub struct BASEBROWSERDATALH { pub _hwnd: super::super::Foundation::HWND, - pub _ptl: ITravelLog, - pub _phlf: IHlinkFrame, - pub _pautoWB2: IWebBrowser2, - pub _pautoEDS: IExpDispSupport, - pub _pautoSS: IShellService, + pub _ptl: *mut ::core::ffi::c_void, + pub _phlf: *mut ::core::ffi::c_void, + pub _pautoWB2: *mut ::core::ffi::c_void, + pub _pautoEDS: *mut ::core::ffi::c_void, + pub _pautoSS: *mut ::core::ffi::c_void, pub _eSecureLockIcon: i32, pub _bitfield: u32, pub _uActivateState: u32, pub _pidlViewState: *mut Common::ITEMIDLIST, - pub _pctView: super::super::System::Ole::IOleCommandTarget, + pub _pctView: *mut ::core::ffi::c_void, pub _pidlCur: *mut Common::ITEMIDLIST, - pub _psv: IShellView, - pub _psf: IShellFolder, + pub _psv: *mut ::core::ffi::c_void, + pub _psf: *mut ::core::ffi::c_void, pub _hwndView: super::super::Foundation::HWND, pub _pszTitleCur: ::windows_sys::core::PWSTR, pub _pidlPending: *mut Common::ITEMIDLIST, - pub _psvPending: IShellView, - pub _psfPending: IShellFolder, + pub _psvPending: *mut ::core::ffi::c_void, + pub _psfPending: *mut ::core::ffi::c_void, pub _hwndViewPending: super::super::Foundation::HWND, pub _pszTitlePending: ::windows_sys::core::PWSTR, pub _fIsViewMSHTML: super::super::Foundation::BOOL, @@ -5675,37 +5222,37 @@ pub struct BASEBROWSERDATALH { pub _hwndFrame: super::super::Foundation::HWND, pub _lPhishingFilterStatus: i32, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] +#[cfg(feature = "Win32_UI_Shell_Common")] impl ::core::marker::Copy for BASEBROWSERDATALH {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] +#[cfg(feature = "Win32_UI_Shell_Common")] impl ::core::clone::Clone for BASEBROWSERDATALH { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] +#[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] +#[cfg(feature = "Win32_UI_Shell_Common")] pub struct BASEBROWSERDATAXP { pub _hwnd: super::super::Foundation::HWND, - pub _ptl: ITravelLog, - pub _phlf: IHlinkFrame, - pub _pautoWB2: IWebBrowser2, - pub _pautoEDS: IExpDispSupportXP, - pub _pautoSS: IShellService, + pub _ptl: *mut ::core::ffi::c_void, + pub _phlf: *mut ::core::ffi::c_void, + pub _pautoWB2: *mut ::core::ffi::c_void, + pub _pautoEDS: *mut ::core::ffi::c_void, + pub _pautoSS: *mut ::core::ffi::c_void, pub _eSecureLockIcon: i32, pub _bitfield: u32, pub _uActivateState: u32, pub _pidlViewState: *mut Common::ITEMIDLIST, - pub _pctView: super::super::System::Ole::IOleCommandTarget, + pub _pctView: *mut ::core::ffi::c_void, pub _pidlCur: *mut Common::ITEMIDLIST, - pub _psv: IShellView, - pub _psf: IShellFolder, + pub _psv: *mut ::core::ffi::c_void, + pub _psf: *mut ::core::ffi::c_void, pub _hwndView: super::super::Foundation::HWND, pub _pszTitleCur: ::windows_sys::core::PWSTR, pub _pidlPending: *mut Common::ITEMIDLIST, - pub _psvPending: IShellView, - pub _psfPending: IShellFolder, + pub _psvPending: *mut ::core::ffi::c_void, + pub _psfPending: *mut ::core::ffi::c_void, pub _hwndViewPending: super::super::Foundation::HWND, pub _pszTitlePending: ::windows_sys::core::PWSTR, pub _fIsViewMSHTML: super::super::Foundation::BOOL, @@ -5714,9 +5261,9 @@ pub struct BASEBROWSERDATAXP { pub _clsidViewPending: ::windows_sys::core::GUID, pub _hwndFrame: super::super::Foundation::HWND, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] +#[cfg(feature = "Win32_UI_Shell_Common")] impl ::core::marker::Copy for BASEBROWSERDATAXP {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] +#[cfg(feature = "Win32_UI_Shell_Common")] impl ::core::clone::Clone for BASEBROWSERDATAXP { fn clone(&self) -> Self { *self @@ -5884,7 +5431,7 @@ impl ::core::clone::Clone for CM_COLUMNINFO { } #[repr(C)] pub struct CONFIRM_CONFLICT_ITEM { - pub pShellItem: IShellItem2, + pub pShellItem: *mut ::core::ffi::c_void, pub pszOriginalName: ::windows_sys::core::PWSTR, pub pszAlternateName: ::windows_sys::core::PWSTR, pub pszLocationShort: ::windows_sys::core::PWSTR, @@ -5948,20 +5495,20 @@ impl ::core::clone::Clone for CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`"] -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] +#[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] +#[cfg(feature = "Win32_UI_Shell_Common")] pub struct CSFV { pub cbSize: u32, - pub pshf: IShellFolder, - pub psvOuter: IShellView, + pub pshf: *mut ::core::ffi::c_void, + pub psvOuter: *mut ::core::ffi::c_void, pub pidl: *mut Common::ITEMIDLIST, pub lEvents: i32, pub pfnCallback: LPFNVIEWCALLBACK, pub fvm: FOLDERVIEWMODE, } -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] +#[cfg(feature = "Win32_UI_Shell_Common")] impl ::core::marker::Copy for CSFV {} -#[cfg(all(feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] +#[cfg(feature = "Win32_UI_Shell_Common")] impl ::core::clone::Clone for CSFV { fn clone(&self) -> Self { *self @@ -5983,9 +5530,9 @@ impl ::core::clone::Clone for DATABLOCK_HEADER { #[cfg(all(feature = "Win32_System_Registry", feature = "Win32_UI_Shell_Common"))] pub struct DEFCONTEXTMENU { pub hwnd: super::super::Foundation::HWND, - pub pcmcb: IContextMenuCB, + pub pcmcb: *mut ::core::ffi::c_void, pub pidlFolder: *mut Common::ITEMIDLIST, - pub psf: IShellFolder, + pub psf: *mut ::core::ffi::c_void, pub cidl: u32, pub apidl: *mut *mut Common::ITEMIDLIST, pub punkAssociationInfo: ::windows_sys::core::IUnknown, @@ -6792,7 +6339,7 @@ impl ::core::clone::Clone for NRESARRAY { #[doc = "Required features: `\"Win32_UI_Controls\"`"] #[cfg(feature = "Win32_UI_Controls")] pub struct NSTCCUSTOMDRAW { - pub psi: IShellItem, + pub psi: *mut ::core::ffi::c_void, pub uItemState: u32, pub nstcis: u32, pub pszText: ::windows_sys::core::PCWSTR, @@ -7128,17 +6675,13 @@ impl ::core::clone::Clone for SFVM_PROPPAGE_DATA { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Ole\"`"] -#[cfg(feature = "Win32_System_Ole")] pub struct SFV_CREATE { pub cbSize: u32, - pub pshf: IShellFolder, - pub psvOuter: IShellView, - pub psfvcb: IShellFolderViewCB, + pub pshf: *mut ::core::ffi::c_void, + pub psvOuter: *mut ::core::ffi::c_void, + pub psfvcb: *mut ::core::ffi::c_void, } -#[cfg(feature = "Win32_System_Ole")] impl ::core::marker::Copy for SFV_CREATE {} -#[cfg(feature = "Win32_System_Ole")] impl ::core::clone::Clone for SFV_CREATE { fn clone(&self) -> Self { *self @@ -7161,7 +6704,7 @@ impl ::core::clone::Clone for SFV_SETITEMPOS { } #[repr(C, packed(1))] pub struct SHARDAPPIDINFO { - pub psi: IShellItem, + pub psi: *mut ::core::ffi::c_void, pub pszAppID: ::windows_sys::core::PCWSTR, } impl ::core::marker::Copy for SHARDAPPIDINFO {} @@ -7187,7 +6730,7 @@ impl ::core::clone::Clone for SHARDAPPIDINFOIDLIST { } #[repr(C, packed(1))] pub struct SHARDAPPIDINFOLINK { - pub psl: IShellLinkA, + pub psl: *mut ::core::ffi::c_void, pub pszAppID: ::windows_sys::core::PCWSTR, } impl ::core::marker::Copy for SHARDAPPIDINFOLINK {} @@ -8002,7 +7545,7 @@ pub struct SMDATA { pub punk: ::windows_sys::core::IUnknown, pub pidlFolder: *mut Common::ITEMIDLIST, pub pidlItem: *mut Common::ITEMIDLIST, - pub psf: IShellFolder, + pub psf: *mut ::core::ffi::c_void, pub pvUserData: *mut ::core::ffi::c_void, } #[cfg(all(feature = "Win32_UI_Shell_Common", feature = "Win32_UI_WindowsAndMessaging"))] @@ -8042,20 +7585,16 @@ impl ::core::clone::Clone for SORTCOLUMN { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Ole\"`"] -#[cfg(feature = "Win32_System_Ole")] pub struct SV2CVW2_PARAMS { pub cbSize: u32, - pub psvPrev: IShellView, + pub psvPrev: *mut ::core::ffi::c_void, pub pfs: *mut FOLDERSETTINGS, - pub psbOwner: IShellBrowser, + pub psbOwner: *mut ::core::ffi::c_void, pub prcView: *mut super::super::Foundation::RECT, pub pvid: *const ::windows_sys::core::GUID, pub hwndView: super::super::Foundation::HWND, } -#[cfg(feature = "Win32_System_Ole")] impl ::core::marker::Copy for SV2CVW2_PARAMS {} -#[cfg(feature = "Win32_System_Ole")] impl ::core::clone::Clone for SV2CVW2_PARAMS { fn clone(&self) -> Self { *self @@ -8173,18 +7712,18 @@ impl ::core::clone::Clone for THUMBBUTTON { } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Ole\"`"] -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Ole"))] +#[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] +#[cfg(feature = "Win32_Graphics_Gdi")] pub struct TOOLBARITEM { - pub ptbar: IDockingWindow, + pub ptbar: *mut ::core::ffi::c_void, pub rcBorderTool: super::super::Foundation::RECT, pub pwszItem: ::windows_sys::core::PWSTR, pub fShow: super::super::Foundation::BOOL, pub hMon: super::super::Graphics::Gdi::HMONITOR, } -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Ole"))] +#[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::marker::Copy for TOOLBARITEM {} -#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Ole"))] +#[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::clone::Clone for TOOLBARITEM { fn clone(&self) -> Self { *self @@ -8248,12 +7787,8 @@ impl ::core::clone::Clone for WTS_THUMBNAILID { pub type APPLET_PROC = ::core::option::Option i32>; pub type BFFCALLBACK = ::core::option::Option i32>; pub type DLLGETVERSIONPROC = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_System_Com\"`"] -#[cfg(feature = "Win32_System_Com")] -pub type LPFNDFMCALLBACK = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "Required features: `\"Win32_System_Ole\"`"] -#[cfg(feature = "Win32_System_Ole")] -pub type LPFNVIEWCALLBACK = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type LPFNDFMCALLBACK = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type LPFNVIEWCALLBACK = ::core::option::Option ::windows_sys::core::HRESULT>; pub type PAPPCONSTRAIN_CHANGE_ROUTINE = ::core::option::Option; pub type PAPPSTATE_CHANGE_ROUTINE = ::core::option::Option; pub type PFNCANSHAREFOLDERW = ::core::option::Option ::windows_sys::core::HRESULT>; diff --git a/crates/libs/sys/src/Windows/Win32/UI/TabletPC/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/TabletPC/mod.rs index c3bb58aed7..fc214d2feb 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/TabletPC/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/TabletPC/mod.rs @@ -26,75 +26,6 @@ ::windows_targets::link!("inkobjcore.dll" "system" fn SetGuide(hrc : HRECOCONTEXT, pguide : *const RECO_GUIDE, iindex : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("inkobjcore.dll" "system" fn SetTextContext(hrc : HRECOCONTEXT, cwcbefore : u32, pwcbefore : ::windows_sys::core::PCWSTR, cwcafter : u32, pwcafter : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("inkobjcore.dll" "system" fn SetWordList(hrc : HRECOCONTEXT, hwl : HRECOWORDLIST) -> ::windows_sys::core::HRESULT); -pub type IDynamicRenderer = *mut ::core::ffi::c_void; -pub type IGestureRecognizer = *mut ::core::ffi::c_void; -pub type IHandwrittenTextInsertion = *mut ::core::ffi::c_void; -pub type IInk = *mut ::core::ffi::c_void; -pub type IInkCollector = *mut ::core::ffi::c_void; -pub type IInkCursor = *mut ::core::ffi::c_void; -pub type IInkCursorButton = *mut ::core::ffi::c_void; -pub type IInkCursorButtons = *mut ::core::ffi::c_void; -pub type IInkCursors = *mut ::core::ffi::c_void; -pub type IInkCustomStrokes = *mut ::core::ffi::c_void; -pub type IInkDisp = *mut ::core::ffi::c_void; -pub type IInkDivider = *mut ::core::ffi::c_void; -pub type IInkDivisionResult = *mut ::core::ffi::c_void; -pub type IInkDivisionUnit = *mut ::core::ffi::c_void; -pub type IInkDivisionUnits = *mut ::core::ffi::c_void; -pub type IInkDrawingAttributes = *mut ::core::ffi::c_void; -pub type IInkEdit = *mut ::core::ffi::c_void; -pub type IInkExtendedProperties = *mut ::core::ffi::c_void; -pub type IInkExtendedProperty = *mut ::core::ffi::c_void; -pub type IInkGesture = *mut ::core::ffi::c_void; -pub type IInkLineInfo = *mut ::core::ffi::c_void; -pub type IInkOverlay = *mut ::core::ffi::c_void; -pub type IInkPicture = *mut ::core::ffi::c_void; -pub type IInkRecognitionAlternate = *mut ::core::ffi::c_void; -pub type IInkRecognitionAlternates = *mut ::core::ffi::c_void; -pub type IInkRecognitionResult = *mut ::core::ffi::c_void; -pub type IInkRecognizer = *mut ::core::ffi::c_void; -pub type IInkRecognizer2 = *mut ::core::ffi::c_void; -pub type IInkRecognizerContext = *mut ::core::ffi::c_void; -pub type IInkRecognizerContext2 = *mut ::core::ffi::c_void; -pub type IInkRecognizerGuide = *mut ::core::ffi::c_void; -pub type IInkRecognizers = *mut ::core::ffi::c_void; -pub type IInkRectangle = *mut ::core::ffi::c_void; -pub type IInkRenderer = *mut ::core::ffi::c_void; -pub type IInkStrokeDisp = *mut ::core::ffi::c_void; -pub type IInkStrokes = *mut ::core::ffi::c_void; -pub type IInkTablet = *mut ::core::ffi::c_void; -pub type IInkTablet2 = *mut ::core::ffi::c_void; -pub type IInkTablet3 = *mut ::core::ffi::c_void; -pub type IInkTablets = *mut ::core::ffi::c_void; -pub type IInkTransform = *mut ::core::ffi::c_void; -pub type IInkWordList = *mut ::core::ffi::c_void; -pub type IInkWordList2 = *mut ::core::ffi::c_void; -pub type IInputPanelWindowHandle = *mut ::core::ffi::c_void; -pub type IMathInputControl = *mut ::core::ffi::c_void; -pub type IPenInputPanel = *mut ::core::ffi::c_void; -pub type IRealTimeStylus = *mut ::core::ffi::c_void; -pub type IRealTimeStylus2 = *mut ::core::ffi::c_void; -pub type IRealTimeStylus3 = *mut ::core::ffi::c_void; -pub type IRealTimeStylusSynchronization = *mut ::core::ffi::c_void; -pub type ISketchInk = *mut ::core::ffi::c_void; -pub type IStrokeBuilder = *mut ::core::ffi::c_void; -pub type IStylusAsyncPlugin = *mut ::core::ffi::c_void; -pub type IStylusPlugin = *mut ::core::ffi::c_void; -pub type IStylusSyncPlugin = *mut ::core::ffi::c_void; -pub type ITextInputPanel = *mut ::core::ffi::c_void; -pub type ITextInputPanelEventSink = *mut ::core::ffi::c_void; -pub type ITextInputPanelRunInfo = *mut ::core::ffi::c_void; -pub type ITipAutoCompleteClient = *mut ::core::ffi::c_void; -pub type ITipAutoCompleteProvider = *mut ::core::ffi::c_void; -pub type _IInkCollectorEvents = *mut ::core::ffi::c_void; -pub type _IInkEditEvents = *mut ::core::ffi::c_void; -pub type _IInkEvents = *mut ::core::ffi::c_void; -pub type _IInkOverlayEvents = *mut ::core::ffi::c_void; -pub type _IInkPictureEvents = *mut ::core::ffi::c_void; -pub type _IInkRecognitionEvents = *mut ::core::ffi::c_void; -pub type _IInkStrokesEvents = *mut ::core::ffi::c_void; -pub type _IMathInputControlEvents = *mut ::core::ffi::c_void; -pub type _IPenInputPanelEvents = *mut ::core::ffi::c_void; pub const ALT_BREAKS_FULL: ALT_BREAKS = 2i32; pub const ALT_BREAKS_SAME: ALT_BREAKS = 0i32; pub const ALT_BREAKS_UNIQUE: ALT_BREAKS = 1i32; @@ -1412,7 +1343,7 @@ impl ::core::clone::Clone for CHARACTER_RANGE { #[repr(C)] pub struct DYNAMIC_RENDERER_CACHED_DATA { pub strokeId: i32, - pub dynamicRenderer: IDynamicRenderer, + pub dynamicRenderer: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for DYNAMIC_RENDERER_CACHED_DATA {} impl ::core::clone::Clone for DYNAMIC_RENDERER_CACHED_DATA { @@ -1458,48 +1389,48 @@ pub type HRECOGNIZER = isize; pub type HRECOLATTICE = isize; pub type HRECOWORDLIST = isize; #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Controls\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant", feature = "Win32_UI_Controls"))] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Controls\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant", feature = "Win32_UI_Controls"))] pub struct IEC_GESTUREINFO { pub nmhdr: super::Controls::NMHDR, - pub Cursor: IInkCursor, - pub Strokes: IInkStrokes, + pub Cursor: *mut ::core::ffi::c_void, + pub Strokes: *mut ::core::ffi::c_void, pub Gestures: super::super::System::Variant::VARIANT, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant", feature = "Win32_UI_Controls"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant", feature = "Win32_UI_Controls"))] impl ::core::marker::Copy for IEC_GESTUREINFO {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant", feature = "Win32_UI_Controls"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant", feature = "Win32_UI_Controls"))] impl ::core::clone::Clone for IEC_GESTUREINFO { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Controls\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Controls"))] +#[doc = "Required features: `\"Win32_UI_Controls\"`"] +#[cfg(feature = "Win32_UI_Controls")] pub struct IEC_RECOGNITIONRESULTINFO { pub nmhdr: super::Controls::NMHDR, - pub RecognitionResult: IInkRecognitionResult, + pub RecognitionResult: *mut ::core::ffi::c_void, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Controls"))] +#[cfg(feature = "Win32_UI_Controls")] impl ::core::marker::Copy for IEC_RECOGNITIONRESULTINFO {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Controls"))] +#[cfg(feature = "Win32_UI_Controls")] impl ::core::clone::Clone for IEC_RECOGNITIONRESULTINFO { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Controls\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Controls"))] +#[doc = "Required features: `\"Win32_UI_Controls\"`"] +#[cfg(feature = "Win32_UI_Controls")] pub struct IEC_STROKEINFO { pub nmhdr: super::Controls::NMHDR, - pub Cursor: IInkCursor, - pub Stroke: IInkStrokeDisp, + pub Cursor: *mut ::core::ffi::c_void, + pub Stroke: *mut ::core::ffi::c_void, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Controls"))] +#[cfg(feature = "Win32_UI_Controls")] impl ::core::marker::Copy for IEC_STROKEINFO {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Controls"))] +#[cfg(feature = "Win32_UI_Controls")] impl ::core::clone::Clone for IEC_STROKEINFO { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/UI/TextServices/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/TextServices/mod.rs index f3d36143eb..a14055f0ca 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/TextServices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/TextServices/mod.rs @@ -1,162 +1,6 @@ ::windows_targets::link!("msctfmonitor.dll" "system" fn DoMsCtfMonitor(dwflags : u32, heventforservicestop : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); ::windows_targets::link!("msctfmonitor.dll" "system" fn InitLocalMsCtfMonitor(dwflags : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("msctfmonitor.dll" "system" fn UninitLocalMsCtfMonitor() -> ::windows_sys::core::HRESULT); -pub type IAccClientDocMgr = *mut ::core::ffi::c_void; -pub type IAccDictionary = *mut ::core::ffi::c_void; -pub type IAccServerDocMgr = *mut ::core::ffi::c_void; -pub type IAccStore = *mut ::core::ffi::c_void; -pub type IAnchor = *mut ::core::ffi::c_void; -pub type IClonableWrapper = *mut ::core::ffi::c_void; -pub type ICoCreateLocally = *mut ::core::ffi::c_void; -pub type ICoCreatedLocally = *mut ::core::ffi::c_void; -pub type IDocWrap = *mut ::core::ffi::c_void; -pub type IEnumITfCompositionView = *mut ::core::ffi::c_void; -pub type IEnumSpeechCommands = *mut ::core::ffi::c_void; -pub type IEnumTfCandidates = *mut ::core::ffi::c_void; -pub type IEnumTfContextViews = *mut ::core::ffi::c_void; -pub type IEnumTfContexts = *mut ::core::ffi::c_void; -pub type IEnumTfDisplayAttributeInfo = *mut ::core::ffi::c_void; -pub type IEnumTfDocumentMgrs = *mut ::core::ffi::c_void; -pub type IEnumTfFunctionProviders = *mut ::core::ffi::c_void; -pub type IEnumTfInputProcessorProfiles = *mut ::core::ffi::c_void; -pub type IEnumTfLangBarItems = *mut ::core::ffi::c_void; -pub type IEnumTfLanguageProfiles = *mut ::core::ffi::c_void; -pub type IEnumTfLatticeElements = *mut ::core::ffi::c_void; -pub type IEnumTfProperties = *mut ::core::ffi::c_void; -pub type IEnumTfPropertyValue = *mut ::core::ffi::c_void; -pub type IEnumTfRanges = *mut ::core::ffi::c_void; -pub type IEnumTfUIElements = *mut ::core::ffi::c_void; -pub type IInternalDocWrap = *mut ::core::ffi::c_void; -pub type ISpeechCommandProvider = *mut ::core::ffi::c_void; -pub type ITextStoreACP = *mut ::core::ffi::c_void; -pub type ITextStoreACP2 = *mut ::core::ffi::c_void; -pub type ITextStoreACPEx = *mut ::core::ffi::c_void; -pub type ITextStoreACPServices = *mut ::core::ffi::c_void; -pub type ITextStoreACPSink = *mut ::core::ffi::c_void; -pub type ITextStoreACPSinkEx = *mut ::core::ffi::c_void; -pub type ITextStoreAnchor = *mut ::core::ffi::c_void; -pub type ITextStoreAnchorEx = *mut ::core::ffi::c_void; -pub type ITextStoreAnchorSink = *mut ::core::ffi::c_void; -pub type ITextStoreSinkAnchorEx = *mut ::core::ffi::c_void; -pub type ITfActiveLanguageProfileNotifySink = *mut ::core::ffi::c_void; -pub type ITfCandidateList = *mut ::core::ffi::c_void; -pub type ITfCandidateListUIElement = *mut ::core::ffi::c_void; -pub type ITfCandidateListUIElementBehavior = *mut ::core::ffi::c_void; -pub type ITfCandidateString = *mut ::core::ffi::c_void; -pub type ITfCategoryMgr = *mut ::core::ffi::c_void; -pub type ITfCleanupContextDurationSink = *mut ::core::ffi::c_void; -pub type ITfCleanupContextSink = *mut ::core::ffi::c_void; -pub type ITfClientId = *mut ::core::ffi::c_void; -pub type ITfCompartment = *mut ::core::ffi::c_void; -pub type ITfCompartmentEventSink = *mut ::core::ffi::c_void; -pub type ITfCompartmentMgr = *mut ::core::ffi::c_void; -pub type ITfComposition = *mut ::core::ffi::c_void; -pub type ITfCompositionSink = *mut ::core::ffi::c_void; -pub type ITfCompositionView = *mut ::core::ffi::c_void; -pub type ITfConfigureSystemKeystrokeFeed = *mut ::core::ffi::c_void; -pub type ITfContext = *mut ::core::ffi::c_void; -pub type ITfContextComposition = *mut ::core::ffi::c_void; -pub type ITfContextKeyEventSink = *mut ::core::ffi::c_void; -pub type ITfContextOwner = *mut ::core::ffi::c_void; -pub type ITfContextOwnerCompositionServices = *mut ::core::ffi::c_void; -pub type ITfContextOwnerCompositionSink = *mut ::core::ffi::c_void; -pub type ITfContextOwnerServices = *mut ::core::ffi::c_void; -pub type ITfContextView = *mut ::core::ffi::c_void; -pub type ITfCreatePropertyStore = *mut ::core::ffi::c_void; -pub type ITfDisplayAttributeInfo = *mut ::core::ffi::c_void; -pub type ITfDisplayAttributeMgr = *mut ::core::ffi::c_void; -pub type ITfDisplayAttributeNotifySink = *mut ::core::ffi::c_void; -pub type ITfDisplayAttributeProvider = *mut ::core::ffi::c_void; -pub type ITfDocumentMgr = *mut ::core::ffi::c_void; -pub type ITfEditRecord = *mut ::core::ffi::c_void; -pub type ITfEditSession = *mut ::core::ffi::c_void; -pub type ITfEditTransactionSink = *mut ::core::ffi::c_void; -pub type ITfFnAdviseText = *mut ::core::ffi::c_void; -pub type ITfFnBalloon = *mut ::core::ffi::c_void; -pub type ITfFnConfigure = *mut ::core::ffi::c_void; -pub type ITfFnConfigureRegisterEudc = *mut ::core::ffi::c_void; -pub type ITfFnConfigureRegisterWord = *mut ::core::ffi::c_void; -pub type ITfFnCustomSpeechCommand = *mut ::core::ffi::c_void; -pub type ITfFnGetLinguisticAlternates = *mut ::core::ffi::c_void; -pub type ITfFnGetPreferredTouchKeyboardLayout = *mut ::core::ffi::c_void; -pub type ITfFnGetSAPIObject = *mut ::core::ffi::c_void; -pub type ITfFnLMInternal = *mut ::core::ffi::c_void; -pub type ITfFnLMProcessor = *mut ::core::ffi::c_void; -pub type ITfFnLangProfileUtil = *mut ::core::ffi::c_void; -pub type ITfFnPlayBack = *mut ::core::ffi::c_void; -pub type ITfFnPropertyUIStatus = *mut ::core::ffi::c_void; -pub type ITfFnReconversion = *mut ::core::ffi::c_void; -pub type ITfFnSearchCandidateProvider = *mut ::core::ffi::c_void; -pub type ITfFnShowHelp = *mut ::core::ffi::c_void; -pub type ITfFunction = *mut ::core::ffi::c_void; -pub type ITfFunctionProvider = *mut ::core::ffi::c_void; -pub type ITfInputProcessorProfileActivationSink = *mut ::core::ffi::c_void; -pub type ITfInputProcessorProfileMgr = *mut ::core::ffi::c_void; -pub type ITfInputProcessorProfileSubstituteLayout = *mut ::core::ffi::c_void; -pub type ITfInputProcessorProfiles = *mut ::core::ffi::c_void; -pub type ITfInputProcessorProfilesEx = *mut ::core::ffi::c_void; -pub type ITfInputScope = *mut ::core::ffi::c_void; -pub type ITfInputScope2 = *mut ::core::ffi::c_void; -pub type ITfInsertAtSelection = *mut ::core::ffi::c_void; -pub type ITfIntegratableCandidateListUIElement = *mut ::core::ffi::c_void; -pub type ITfKeyEventSink = *mut ::core::ffi::c_void; -pub type ITfKeyTraceEventSink = *mut ::core::ffi::c_void; -pub type ITfKeystrokeMgr = *mut ::core::ffi::c_void; -pub type ITfLMLattice = *mut ::core::ffi::c_void; -pub type ITfLangBarEventSink = *mut ::core::ffi::c_void; -pub type ITfLangBarItem = *mut ::core::ffi::c_void; -pub type ITfLangBarItemBalloon = *mut ::core::ffi::c_void; -pub type ITfLangBarItemBitmap = *mut ::core::ffi::c_void; -pub type ITfLangBarItemBitmapButton = *mut ::core::ffi::c_void; -pub type ITfLangBarItemButton = *mut ::core::ffi::c_void; -pub type ITfLangBarItemMgr = *mut ::core::ffi::c_void; -pub type ITfLangBarItemSink = *mut ::core::ffi::c_void; -pub type ITfLangBarMgr = *mut ::core::ffi::c_void; -pub type ITfLanguageProfileNotifySink = *mut ::core::ffi::c_void; -pub type ITfMSAAControl = *mut ::core::ffi::c_void; -pub type ITfMenu = *mut ::core::ffi::c_void; -pub type ITfMessagePump = *mut ::core::ffi::c_void; -pub type ITfMouseSink = *mut ::core::ffi::c_void; -pub type ITfMouseTracker = *mut ::core::ffi::c_void; -pub type ITfMouseTrackerACP = *mut ::core::ffi::c_void; -pub type ITfPersistentPropertyLoaderACP = *mut ::core::ffi::c_void; -pub type ITfPreservedKeyNotifySink = *mut ::core::ffi::c_void; -pub type ITfProperty = *mut ::core::ffi::c_void; -pub type ITfPropertyStore = *mut ::core::ffi::c_void; -pub type ITfQueryEmbedded = *mut ::core::ffi::c_void; -pub type ITfRange = *mut ::core::ffi::c_void; -pub type ITfRangeACP = *mut ::core::ffi::c_void; -pub type ITfRangeBackup = *mut ::core::ffi::c_void; -pub type ITfReadOnlyProperty = *mut ::core::ffi::c_void; -pub type ITfReadingInformationUIElement = *mut ::core::ffi::c_void; -pub type ITfReverseConversion = *mut ::core::ffi::c_void; -pub type ITfReverseConversionList = *mut ::core::ffi::c_void; -pub type ITfReverseConversionMgr = *mut ::core::ffi::c_void; -pub type ITfSource = *mut ::core::ffi::c_void; -pub type ITfSourceSingle = *mut ::core::ffi::c_void; -pub type ITfSpeechUIServer = *mut ::core::ffi::c_void; -pub type ITfStatusSink = *mut ::core::ffi::c_void; -pub type ITfSystemDeviceTypeLangBarItem = *mut ::core::ffi::c_void; -pub type ITfSystemLangBarItem = *mut ::core::ffi::c_void; -pub type ITfSystemLangBarItemSink = *mut ::core::ffi::c_void; -pub type ITfSystemLangBarItemText = *mut ::core::ffi::c_void; -pub type ITfTextEditSink = *mut ::core::ffi::c_void; -pub type ITfTextInputProcessor = *mut ::core::ffi::c_void; -pub type ITfTextInputProcessorEx = *mut ::core::ffi::c_void; -pub type ITfTextLayoutSink = *mut ::core::ffi::c_void; -pub type ITfThreadFocusSink = *mut ::core::ffi::c_void; -pub type ITfThreadMgr = *mut ::core::ffi::c_void; -pub type ITfThreadMgr2 = *mut ::core::ffi::c_void; -pub type ITfThreadMgrEventSink = *mut ::core::ffi::c_void; -pub type ITfThreadMgrEx = *mut ::core::ffi::c_void; -pub type ITfToolTipUIElement = *mut ::core::ffi::c_void; -pub type ITfTransitoryExtensionSink = *mut ::core::ffi::c_void; -pub type ITfTransitoryExtensionUIElement = *mut ::core::ffi::c_void; -pub type ITfUIElement = *mut ::core::ffi::c_void; -pub type ITfUIElementMgr = *mut ::core::ffi::c_void; -pub type ITfUIElementSink = *mut ::core::ffi::c_void; -pub type IUIManagerEventSink = *mut ::core::ffi::c_void; -pub type IVersionInfo = *mut ::core::ffi::c_void; pub const AccClientDocMgr: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfc48cc30_4f3e_4fa1_803b_ad0e196a83b1); pub const AccDictionary: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6572ee16_5fe5_4331_bb6d_76a49c56e423); pub const AccServerDocMgr: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6089a37e_eb8a_482d_bd6f_f9f46904d16d); @@ -825,7 +669,7 @@ impl ::core::clone::Clone for TF_DISPLAYATTRIBUTE { } #[repr(C)] pub struct TF_HALTCOND { - pub pHaltRange: ITfRange, + pub pHaltRange: *mut ::core::ffi::c_void, pub aHaltPos: TfAnchor, pub dwFlags: u32, } @@ -943,15 +787,15 @@ impl ::core::clone::Clone for TF_PRESERVEDKEY { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct TF_PROPERTYVAL { pub guidId: ::windows_sys::core::GUID, pub varValue: super::super::System::Variant::VARIANT, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for TF_PROPERTYVAL {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for TF_PROPERTYVAL { fn clone(&self) -> Self { *self @@ -959,7 +803,7 @@ impl ::core::clone::Clone for TF_PROPERTYVAL { } #[repr(C)] pub struct TF_SELECTION { - pub range: ITfRange, + pub range: *mut ::core::ffi::c_void, pub style: TF_SELECTIONSTYLE, } impl ::core::marker::Copy for TF_SELECTION {} @@ -980,16 +824,16 @@ impl ::core::clone::Clone for TF_SELECTIONSTYLE { } } #[repr(C)] -#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] pub struct TS_ATTRVAL { pub idAttr: ::windows_sys::core::GUID, pub dwOverlapId: u32, pub varValue: super::super::System::Variant::VARIANT, } -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::marker::Copy for TS_ATTRVAL {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +#[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] impl ::core::clone::Clone for TS_ATTRVAL { fn clone(&self) -> Self { *self @@ -1031,8 +875,8 @@ impl ::core::clone::Clone for TS_SELECTION_ACP { } #[repr(C)] pub struct TS_SELECTION_ANCHOR { - pub paStart: IAnchor, - pub paEnd: IAnchor, + pub paStart: *mut ::core::ffi::c_void, + pub paEnd: *mut ::core::ffi::c_void, pub style: TS_SELECTIONSTYLE, } impl ::core::marker::Copy for TS_SELECTION_ANCHOR {} diff --git a/crates/libs/sys/src/Windows/Win32/Web/InternetExplorer/mod.rs b/crates/libs/sys/src/Windows/Win32/Web/InternetExplorer/mod.rs index 1a774e6768..a495a9fe99 100644 --- a/crates/libs/sys/src/Windows/Win32/Web/InternetExplorer/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Web/InternetExplorer/mod.rs @@ -1,12 +1,10 @@ #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("imgutil.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn ComputeInvCMAP(prgbcolors : *const super::super::Graphics::Gdi:: RGBQUAD, ncolors : u32, pinvtable : *mut u8, cbtable : u32) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] -::windows_targets::link!("imgutil.dll" "system" #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"] fn CreateDDrawSurfaceOnDIB(hbmdib : super::super::Graphics::Gdi:: HBITMAP, ppsurface : *mut super::super::Graphics::DirectDraw:: IDirectDrawSurface) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("imgutil.dll" "system" fn CreateMIMEMap(ppmap : *mut IMapMIMEToCLSID) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("imgutil.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn DecodeImage(pstream : super::super::System::Com:: IStream, pmap : IMapMIMEToCLSID, peventsink : ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("imgutil.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn DecodeImageEx(pstream : super::super::System::Com:: IStream, pmap : IMapMIMEToCLSID, peventsink : ::windows_sys::core::IUnknown, pszmimetypeparam : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("imgutil.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn CreateDDrawSurfaceOnDIB(hbmdib : super::super::Graphics::Gdi:: HBITMAP, ppsurface : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("imgutil.dll" "system" fn CreateMIMEMap(ppmap : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("imgutil.dll" "system" fn DecodeImage(pstream : * mut::core::ffi::c_void, pmap : * mut::core::ffi::c_void, peventsink : ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("imgutil.dll" "system" fn DecodeImageEx(pstream : * mut::core::ffi::c_void, pmap : * mut::core::ffi::c_void, peventsink : ::windows_sys::core::IUnknown, pszmimetypeparam : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("imgutil.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn DitherTo8(pdestbits : *mut u8, ndestpitch : i32, psrcbits : *mut u8, nsrcpitch : i32, bfidsrc : *const ::windows_sys::core::GUID, prgbdestcolors : *mut super::super::Graphics::Gdi:: RGBQUAD, prgbsrccolors : *mut super::super::Graphics::Gdi:: RGBQUAD, pbdestinvmap : *mut u8, x : i32, y : i32, cx : i32, cy : i32, ldesttrans : i32, lsrctrans : i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("imgutil.dll" "system" fn GetMaxMIMEIDBytes(pnmaxbytes : *mut u32) -> ::windows_sys::core::HRESULT); @@ -66,83 +64,7 @@ ::windows_targets::link!("msrating.dll" "system" fn RatingObtainQueryW(psztargeturl : ::windows_sys::core::PCWSTR, dwuserdata : u32, fcallback : isize, phratingobtainquery : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("msrating.dll" "system" fn RatingSetupUI(hdlg : super::super::Foundation:: HWND, pszusername : ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("msrating.dll" "system" fn RatingSetupUIW(hdlg : super::super::Foundation:: HWND, pszusername : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("imgutil.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn SniffStream(pinstream : super::super::System::Com:: IStream, pnformat : *mut u32, ppoutstream : *mut super::super::System::Com:: IStream) -> ::windows_sys::core::HRESULT); -pub type IActiveXUIHandlerSite = *mut ::core::ffi::c_void; -pub type IActiveXUIHandlerSite2 = *mut ::core::ffi::c_void; -pub type IActiveXUIHandlerSite3 = *mut ::core::ffi::c_void; -pub type IAnchorClick = *mut ::core::ffi::c_void; -pub type IAudioSessionSite = *mut ::core::ffi::c_void; -pub type ICaretPositionProvider = *mut ::core::ffi::c_void; -pub type IDeviceRect = *mut ::core::ffi::c_void; -pub type IDithererImpl = *mut ::core::ffi::c_void; -pub type IDocObjectService = *mut ::core::ffi::c_void; -pub type IDownloadBehavior = *mut ::core::ffi::c_void; -pub type IDownloadManager = *mut ::core::ffi::c_void; -pub type IEnumManagerFrames = *mut ::core::ffi::c_void; -pub type IEnumOpenServiceActivity = *mut ::core::ffi::c_void; -pub type IEnumOpenServiceActivityCategory = *mut ::core::ffi::c_void; -pub type IEnumSTATURL = *mut ::core::ffi::c_void; -pub type IExtensionValidation = *mut ::core::ffi::c_void; -pub type IHTMLPersistData = *mut ::core::ffi::c_void; -pub type IHTMLPersistDataOM = *mut ::core::ffi::c_void; -pub type IHTMLUserDataOM = *mut ::core::ffi::c_void; -pub type IHeaderFooter = *mut ::core::ffi::c_void; -pub type IHeaderFooter2 = *mut ::core::ffi::c_void; -pub type IHomePage = *mut ::core::ffi::c_void; -pub type IHomePageSetting = *mut ::core::ffi::c_void; -pub type IIEWebDriverManager = *mut ::core::ffi::c_void; -pub type IIEWebDriverSite = *mut ::core::ffi::c_void; -pub type IImageDecodeEventSink = *mut ::core::ffi::c_void; -pub type IImageDecodeEventSink2 = *mut ::core::ffi::c_void; -pub type IImageDecodeFilter = *mut ::core::ffi::c_void; -pub type IIntelliForms = *mut ::core::ffi::c_void; -pub type IInternetExplorerManager = *mut ::core::ffi::c_void; -pub type IInternetExplorerManager2 = *mut ::core::ffi::c_void; -pub type ILayoutRect = *mut ::core::ffi::c_void; -pub type IMapMIMEToCLSID = *mut ::core::ffi::c_void; -pub type IMediaActivityNotifySite = *mut ::core::ffi::c_void; -pub type IOpenService = *mut ::core::ffi::c_void; -pub type IOpenServiceActivity = *mut ::core::ffi::c_void; -pub type IOpenServiceActivityCategory = *mut ::core::ffi::c_void; -pub type IOpenServiceActivityInput = *mut ::core::ffi::c_void; -pub type IOpenServiceActivityManager = *mut ::core::ffi::c_void; -pub type IOpenServiceActivityOutputContext = *mut ::core::ffi::c_void; -pub type IOpenServiceManager = *mut ::core::ffi::c_void; -pub type IPeerFactory = *mut ::core::ffi::c_void; -pub type IPersistHistory = *mut ::core::ffi::c_void; -pub type IPrintTaskRequestFactory = *mut ::core::ffi::c_void; -pub type IPrintTaskRequestHandler = *mut ::core::ffi::c_void; -pub type IScrollableContextMenu = *mut ::core::ffi::c_void; -pub type IScrollableContextMenu2 = *mut ::core::ffi::c_void; -pub type ISniffStream = *mut ::core::ffi::c_void; -pub type ISurfacePresenterFlip = *mut ::core::ffi::c_void; -pub type ISurfacePresenterFlip2 = *mut ::core::ffi::c_void; -pub type ISurfacePresenterFlipBuffer = *mut ::core::ffi::c_void; -pub type ITargetContainer = *mut ::core::ffi::c_void; -pub type ITargetEmbedding = *mut ::core::ffi::c_void; -pub type ITargetFrame = *mut ::core::ffi::c_void; -pub type ITargetFrame2 = *mut ::core::ffi::c_void; -pub type ITargetFramePriv = *mut ::core::ffi::c_void; -pub type ITargetFramePriv2 = *mut ::core::ffi::c_void; -pub type ITargetNotify = *mut ::core::ffi::c_void; -pub type ITargetNotify2 = *mut ::core::ffi::c_void; -pub type ITimer = *mut ::core::ffi::c_void; -pub type ITimerEx = *mut ::core::ffi::c_void; -pub type ITimerService = *mut ::core::ffi::c_void; -pub type ITimerSink = *mut ::core::ffi::c_void; -pub type ITridentTouchInput = *mut ::core::ffi::c_void; -pub type ITridentTouchInputSite = *mut ::core::ffi::c_void; -pub type IUrlHistoryNotify = *mut ::core::ffi::c_void; -pub type IUrlHistoryStg = *mut ::core::ffi::c_void; -pub type IUrlHistoryStg2 = *mut ::core::ffi::c_void; -pub type IViewObjectPresentFlip = *mut ::core::ffi::c_void; -pub type IViewObjectPresentFlip2 = *mut ::core::ffi::c_void; -pub type IViewObjectPresentFlipSite = *mut ::core::ffi::c_void; -pub type IViewObjectPresentFlipSite2 = *mut ::core::ffi::c_void; -pub type IWebBrowserEventsService = *mut ::core::ffi::c_void; -pub type IWebBrowserEventsUrlService = *mut ::core::ffi::c_void; -pub type Iwfolders = *mut ::core::ffi::c_void; +::windows_targets::link!("imgutil.dll" "system" fn SniffStream(pinstream : * mut::core::ffi::c_void, pnformat : *mut u32, ppoutstream : *mut * mut::core::ffi::c_void) -> ::windows_sys::core::HRESULT); pub const ADDRESSBAND: u32 = 2u32; pub const ADDURL_ADDTOCACHE: ADDURL_FLAG = 1i32; pub const ADDURL_ADDTOHISTORYANDCACHE: ADDURL_FLAG = 0i32; diff --git a/crates/tests/standalone/src/b_nested.rs b/crates/tests/standalone/src/b_nested.rs index 218b112ba8..c69d785191 100644 --- a/crates/tests/standalone/src/b_nested.rs +++ b/crates/tests/standalone/src/b_nested.rs @@ -139,10 +139,6 @@ pub type HBITMAP = isize; pub type HENHMETAFILE = isize; pub type HGLOBAL = *mut ::core::ffi::c_void; pub type HRESULT = i32; -pub type IEnumSTATSTG = *mut ::core::ffi::c_void; -pub type ISequentialStream = *mut ::core::ffi::c_void; -pub type IStorage = *mut ::core::ffi::c_void; -pub type IStream = *mut ::core::ffi::c_void; pub type IUnknown = *mut ::core::ffi::c_void; pub type PCWSTR = *const u16; #[repr(C)] @@ -197,8 +193,8 @@ pub union STGMEDIUM_0 { pub hEnhMetaFile: HENHMETAFILE, pub hGlobal: HGLOBAL, pub lpszFileName: PWSTR, - pub pstm: IStream, - pub pstg: IStorage, + pub pstm: *mut ::core::ffi::c_void, + pub pstg: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for STGMEDIUM_0 {} impl ::core::clone::Clone for STGMEDIUM_0 { diff --git a/crates/tests/standalone/src/b_variant.rs b/crates/tests/standalone/src/b_variant.rs index 9a541965d7..414e78d240 100644 --- a/crates/tests/standalone/src/b_variant.rs +++ b/crates/tests/standalone/src/b_variant.rs @@ -24,7 +24,7 @@ impl ::core::clone::Clone for ARRAYDESC { pub union BINDPTR { pub lpfuncdesc: *mut FUNCDESC, pub lpvardesc: *mut VARDESC, - pub lptcomp: ITypeComp, + pub lptcomp: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for BINDPTR {} impl ::core::clone::Clone for BINDPTR { @@ -228,13 +228,8 @@ impl ::core::clone::Clone for IDLDESC { } } pub type IDLFLAGS = u16; -pub type IDispatch = *mut ::core::ffi::c_void; pub type IMPLTYPEFLAGS = i32; pub type INVOKEKIND = i32; -pub type IRecordInfo = *mut ::core::ffi::c_void; -pub type ITypeComp = *mut ::core::ffi::c_void; -pub type ITypeInfo = *mut ::core::ffi::c_void; -pub type ITypeLib = *mut ::core::ffi::c_void; pub type IUnknown = *mut ::core::ffi::c_void; pub type LPEXCEPFINO_DEFERRED_FILLIN = ::core::option::Option HRESULT>; @@ -435,7 +430,7 @@ pub union VARIANT_0_0_0 { pub date: f64, pub bstrVal: BSTR, pub punkVal: IUnknown, - pub pdispVal: IDispatch, + pub pdispVal: *mut ::core::ffi::c_void, pub parray: *mut SAFEARRAY, pub pbVal: *mut u8, pub piVal: *mut i16, @@ -450,7 +445,7 @@ pub union VARIANT_0_0_0 { pub pdate: *mut f64, pub pbstrVal: *mut BSTR, pub ppunkVal: *mut IUnknown, - pub ppdispVal: *mut IDispatch, + pub ppdispVal: *mut *mut ::core::ffi::c_void, pub pparray: *mut *mut SAFEARRAY, pub pvarVal: *mut VARIANT, pub byref: *mut ::core::ffi::c_void, @@ -478,7 +473,7 @@ impl ::core::clone::Clone for VARIANT_0_0_0 { #[repr(C)] pub struct VARIANT_0_0_0_0 { pub pvRecord: *mut ::core::ffi::c_void, - pub pRecInfo: IRecordInfo, + pub pRecInfo: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for VARIANT_0_0_0_0 {} impl ::core::clone::Clone for VARIANT_0_0_0_0 {